Re: Re: Re: Re: [PHP-GTK] CList Code - Alternating row/field colors
| From: | Markus Fischer | Date: | Fri, 19 Oct 2001 07:08:28 +0000 |
| Subject: | Re: Re: Re: Re: [PHP-GTK] CList Code - Alternating row/field colors | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-335@lists.php.net to get a copy of this message | ||
On Thu, Oct 18, 2001 at 07:39:24PM -0800, PQ Administrator wrote :
> Anyone have any input on the MenuBar stuff... Im using Glade,
> Created a menu, got MenuItems, One is called Exit
>
> What widgets do i need to get() and how do I define a function
> to call when someone clicks one of these MenuItem's??
You don't need to. Glade allows you to assign a function to a
signal. Create a new GladeXML instance and call its
'signal_autoconnect()' method like I suggest earlier. This
automatically binds the specified function to the desired signal
and it should work out of the box. No need to extra get the
widget and connect by hand.
- Markus