Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Features/GTK3/Porting/Jukebox
(view source)
Revision as of 06:20, 16 July 2012
229 bytes added
,
06:20, 16 July 2012
→Gtk.TreeView
Line 68:
Line 68:
index = sel_model.get_value(sel_model.get_iter(row), 0)
index = sel_model.get_value(sel_model.get_iter(row), 0)
self._playlist.pop(index)
self._playlist.pop(index)
+
+
The function that '''Gtk.TreeViewColumn.set_cell_data_func''' receives needs a new required argument: ''data''
+
+
def _set_number(self, column, cell, model, it):
+
+
replaced:
+
+
def _set_number(self, column, cell, model, it, data):
== Sugar ObjectChooser ==
== Sugar ObjectChooser ==
Humitos
266
edits