object list - object type
| From: | Iuri Fiedoruk | Date: | Mon, 12 Mar 2001 19:54:59 +0000 |
| Subject: | object list - object type | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-718@lists.php.net to get a copy of this message | ||
Hi, I want to creat a button like the "reset" button from html with resets
all enties and texts on a window.
My doubts are:
Is there a command to get all gtk elements of a window?
something like array_objects = elements($window/box);
If so, is there a command to get the type of this object?
Something like: $type = gtk_type($object) (returns, entry, box, etc...)
Those functions should be really usefull, even if they don't exists on gtk,
it's a good idea implement on php-gtk (embrace and extend? :))
And please, when someone gets a way to identify what is the selected element
on a list (not clist), post a mail on this list :-)
--
Iuri Fiedoruk
Santa Maria, RS, Brazil