Changeset 3057
- Timestamp:
- 06/29/08 16:23:43 (5 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branch/BluetoothScanner/umitBluetooth/interface.py
r3056 r3057 155 155 #Output test 156 156 pixbuf = gtk.gdk.pixbuf_new_from_file(os.path.abspath(os.path.join("pixmaps", "bt.png"))) 157 self.mapmodel.append(["Test", pixbuf]) 158 157 self.mapmodel.append(["Test1", pixbuf]) 158 self.mapmodel.append(["Test2", pixbuf]) 159 159 160 self.window.show_all() 160 161 … … 176 177 def iconclick_cb(self, path, action): 177 178 print "clicked" 178 iter = self.btmap.get_model().get_iter(0) 179 print "\n" + str(iter) 179 iter = self.btmap.get_cursor() 180 #outputs the location of the icon numerically 181 print "\n" + str(iter[0])[:2].replace("(","") 180 182 181 183 def on_about(self, action):
