Re: get source of pixmap
| From: | Michael Dransfield | Date: | Wed, 15 May 2002 22:18:42 +0000 |
| Subject: | Re: get source of pixmap | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-1993@lists.php.net to get a copy of this message | ||
or set_data();
should work with pixmaps as well (?)
At 18:22 15/05/2002 +0100, Steph wrote:
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. -- PHP-GTK General Mailing List (http://gtk.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php