diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-24 12:27:30 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-24 12:27:30 +0000 |
commit | 63bb2610ad4fc714ab172c33ae144ca590e27d1a (patch) | |
tree | 711b86eb6846b9cf91f516d30dbb14c7b3c0593e /perl-install/mygtk2.pm | |
parent | 269412a82b1beda842b209010544579c340b1e86 (diff) | |
download | drakx-backup-do-not-use-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar drakx-backup-do-not-use-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar.gz drakx-backup-do-not-use-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar.bz2 drakx-backup-do-not-use-63bb2610ad4fc714ab172c33ae144ca590e27d1a.tar.xz drakx-backup-do-not-use-63bb2610ad4fc714ab172c33ae144ca590e27d1a.zip |
(_gtk) enable to set handler for 'realize' signal on any widget
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index fff267850..642b97906 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -119,6 +119,7 @@ sub _gtk { $w->set_padding(@{delete $opts->{padding}}) if exists $opts->{padding}; $w->set_sensitive(delete $opts->{sensitive}) if exists $opts->{sensitive}; $w->signal_connect(expose_event => delete $opts->{expose_event}) if exists $opts->{expose_event}; + $w->signal_connect(realize => delete $opts->{realize}) if exists $opts->{realize}; (delete $opts->{size_group})->add_widget($w) if $opts->{size_group}; if (my $tip = delete $opts->{tip}) { $global_tooltips ||= Gtk2::Tooltips->new; |