Re: converting from gtk2-perl to gtk2-perl-xs (work in progress)
- From: Thierry Vignaud <tvignaud mandrakesoft com>
- To: Steve Fox <drfickle k-lug org>
- Cc: gtk-perl list <gtk-perl-list gnome org>
- Subject: Re: converting from gtk2-perl to gtk2-perl-xs (work in progress)
- Date: Tue, 08 Jul 2003 17:06:05 +0200
Steve Fox <drfickle k-lug org> writes:
# ItemFactory creation from hash is bogus: switch to arrays
# this way, you won't miss <type> anyway ...
the current implementation supports both array and hash forms,
like gtk-perl did. personally, i found the hash form nicely
self-documenting, if verbose; the array form is more concise.
I strongly agree that the hash form is _very_ nice. That's one of
the first things I missed when toying with gtk-perl-inline.
when i swtich from gtk2-perl to gtk2-perl-xs, i got new warnings on
menu building:
(drakboot:5766): Gtk-WARNING **: Attempting to add a widget with type GtkMenuItem to a GtkMenuItem, but as a
GtkBin subclass a GtkMenuItem can only contain one widget at a time; it already contains a widget of type
GtkAccelLabel
when i replace:
{ path => N("/_File"), type => '<Branch>' },
by:
[ N("/_File"), undef, undef, undef, '<Branch>' ],
these gtk+ warnings disappear ...
so there's something odd somewhere
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]