Re: get source of pixmap

From: Date: Thu, 16 May 2002 05:24:53 +0000
Subject: Re: get source of pixmap
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1995@lists.php.net to get a copy of this message
;) I thought of that *after* I posted ----- Original Message ----- From: "Michael Dransfield" <mike@blueroot.net> To: "Steph" <sfox@php.net>; "firepages.com.au" <fire@firepages.com.au>; "PHP-GTK" <php-gtk-general@lists.php.net> Sent: Wednesday, May 15, 2002 11:18 PM Subject: Re: [PHP-GTK] get source of pixmap > 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 >

« previous php.gtk.general (#1995) next »