diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-17 21:41:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-17 21:41:17 +0000 |
commit | 4e20c2df0538fe238473a96e3c6b3e98a70c0d31 (patch) | |
tree | e932215e7cde0b37bbacb0f1fd12b8f7f40450aa | |
parent | 7976d195653a3d788655f9a3ff7fce8c22c2880f (diff) | |
download | drakx-4e20c2df0538fe238473a96e3c6b3e98a70c0d31.tar drakx-4e20c2df0538fe238473a96e3c6b3e98a70c0d31.tar.gz drakx-4e20c2df0538fe238473a96e3c6b3e98a70c0d31.tar.bz2 drakx-4e20c2df0538fe238473a96e3c6b3e98a70c0d31.tar.xz drakx-4e20c2df0538fe238473a96e3c6b3e98a70c0d31.zip |
(_gtk__Layout) add support for 'Layout' widgets
-rw-r--r-- | perl-install/mygtk2.pm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 117529bab..9702c0ec1 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -640,6 +640,16 @@ sub _gtk__Fixed { $w; } +sub _gtk__Layout { + my ($w, $opts, $_class, $_action) = @_; + + if (!$w) { + $w = Gtk2::Layout->new; + _gtknew_handle_layout_children($w, $opts); + } + $w; +} + sub _gtknew_handle_layout_children { my ($w, $opts) = @_; $opts->{children} ||= []; |