Re: get source of pixmap
| From: | Steph | Date: | Wed, 15 May 2002 17:22:21 +0000 |
| Subject: | Re: get source of pixmap | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1985@lists.php.net to get a copy of this message | ||
You could try using set_name() on the pixmap and give it the root path as its name perhaps?
get_name() will return whatever you set the name as rather than GtkPixmap if this is used.
----- Original Message -----
From: "firepages.com.au" <fire@firepages.com.au>
To: "PHP-GTK" <php-gtk-general@lists.php.net>
Sent: Wednesday, May 15, 2002 5:02 PM
Subject: [PHP-GTK] get source of pixmap
Hi again ,
wondering if I can get the source of a GtkPixmap via its properties... i.e., when interrogating a
widget I can find that one of its children is a pixmap easily enough as $whatever->get_name();
returns 'GtkPixmap' , now if this was a list item or a GtkEntry etc I can grab the
contents via $gtkentry->get_text(); etc but what about a pixmap? can I get its source? I need to
find out which image a user chose and inserted into a window.
get_args() ? whats that do BTW ??
Regards,
Simon Wheeler
firepages.