Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Features/TableView Widget/Testing
(view source)
Revision as of 03:30, 28 November 2009
7 bytes added
,
03:30, 28 November 2009
→Simple example for SmootTable widget
Line 12:
Line 12:
class Cell(gtk.Button):
class Cell(gtk.Button):
−
def do_fill_in(self, row, column):
+
def do_fill_in(self
, table
, row, column):
self.props.label = '%s:%s' % (row, column)
self.props.label = '%s:%s' % (row, column)
Alsroot
Bots
,
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
5,705
edits