Re: GtkMenu ?
| From: | Jonas Delfs | Date: | Mon, 16 Jul 2001 16:20:24 +0000 |
| Subject: | Re: GtkMenu ? | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-2205@lists.php.net to get a copy of this message | ||
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