Re: ItemFactory things and callback doesn't working
- From: Pascal <evilynux yahoo com>
- To: Christian Hamar <krics linuxforum hu>
- Cc: gtk-perl-list gnome org
- Subject: Re: ItemFactory things and callback doesn't working
- Date: Fri, 18 Jul 2003 15:10:57 +0200 (CEST)
{
path => 'Help',
type => '<Branch>'
},
{
path => '/Help/About',
callback => \&do_about
}
there's a missinh '/' in front of the first Help.
i think you also need to specify '<LastBranch>' instead of '<Branch>' for Help.
now, hmmm... i've a diff. problem than you...
i get :
(gtk1.pl:30270): 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
(gtk1.pl:30270): 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
and the Main menu is the only one to show correctly, the other 2 don't have MenuItems... !?
-Pascal
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]