Re: Which events does a widget listen for
| From: | Scott Mattocks | Date: | Fri, 11 Jun 2004 20:40:47 +0000 |
| Subject: | Re: Which events does a widget listen for | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4653@lists.php.net to get a copy of this message | ||
Steph wrote:
You can either trawl through GTK src looking for attributes.event_mask, or you could steal the bit of PHP-GTK code from the signals/events chapter in the manual and play with the widgets to see what you get.Thanks for your help Steph. Trawling source is out for me because I need to know what is being accepted at run time. I am wrapping an event box in another class that will allow me to connect events to some of its methods. I need to check that the event will be accepted before I call the connect method thought. (See http://www.crisscott.com/PHP-Gtk/ScrollingLabel/Docs/ScrollingLabel/ for a better idea of what I am talking about.) Anyways, I will have to play with widgets to try and get the info as I need it. I'll keep the list updated if/when I figure out how to get the info I need. Thanks, Scott Mattocks