Re: GtkMenu ?

From: Date: Mon, 16 Jul 2001 16:41:57 +0000
Subject: Re: GtkMenu ?
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2208@lists.php.net to get a copy of this message
Yes i do. The functionNAME is a string - and PHP btw. gives a warning when functionnames arent quoted in such cases. -- Mvh./Best Regards Jonas Delfs, http://delfs.dk ----- Original Message ----- From: "Steph" <Steph.Fox@btinternet.com> To: "Jonas Delfs" <jonas@delfs.dk> Sent: Monday, July 16, 2001 6:26 PM Subject: Re: [PHP-GTK] GtkMenu ? ps you don't need quotemarks for the function ----- Original Message ----- From: "Jonas Delfs" <jonas@delfs.dk> To: "Geoff A. Virgo" <wig@mithril.ca> Cc: <php-gtk@lists.php.net> Sent: Monday, July 16, 2001 5:20 PM Subject: Re: [PHP-GTK] GtkMenu ? Hi HTH > The easiest way to do what you're looking for is to use > GtkItemFactory. There are a couple good tutorials on it out there: > > 1) http://www.deafcat.f2s.com/gubbins.php?class=GtkItemFactory Thanks. I use this eksample. I just have one little problem: In the item-array, i specifi a funktion to be executed when a button is clicked. The problem is that when i click on one of theese buttons i get an error: <br> <b>Warning</b>: unable to call item factory callback 'newFileInst' specified in C:\backup\PROGRA~1\php-gtk\edit4-f\edit4-f.php on line 53 in <b>C:\backup\PROGRA~1\php-gtk\edit4-f\edit4-f.php</b> on line <b>17</b><br> How do i then call another function in my class? Thanks! -- Mvh./Best Regards Jonas Delfs, http://delfs.dk -- PHP GTK Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net For additional commands, e-mail: php-gtk-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.gtk (#2208) next »