ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/kgsueme/kgsueme/gtk.pl
(Generate patch)

Comparing kgsueme/kgsueme/gtk.pl (file contents):
Revision 1.10 by pcg, Sun Jun 1 06:07:12 2003 UTC vs.
Revision 1.11 by pcg, Sun Jun 1 07:20:56 2003 UTC

16 for ($obj->list_properties) { 16 for ($obj->list_properties) {
17 printf "%-16s %-24s %-24s %s\n", $_->{name}, $_->{type}, (join ":", @{$_->{flags}}), $_->{descr}; 17 printf "%-16s %-24s %-24s %s\n", $_->{name}, $_->{type}, (join ":", @{$_->{flags}}), $_->{descr};
18 } 18 }
19} 19}
20 20
21# grr... more gtk+ brokenness
22my %get = ( 21my %get = (
23 window_size => sub { [ ($_[0]->allocation->values)[2,3] ] }, 22 window_size => sub { [ ($_[0]->allocation->values)[2,3] ] },
24 #window_pos => sub { die KGS::Listener::Debug::dumpval [ $_[0]->get_root_origin ] }, 23 #window_pos => sub { die KGS::Listener::Debug::dumpval [ $_[0]->get_root_origin ] },
25 column_size => sub { $_[0]->get("width") || $_[0]->get("fixed_width") }, 24 column_size => sub { $_[0]->get("width") || $_[0]->get("fixed_width") },
26 modelsortorder => sub { [ $_[0]->get_sort_column_id ] }, 25 modelsortorder => sub { [ $_[0]->get_sort_column_id ] },

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines