Re: Fw: [PHP-GTK] two-line sample of 'set_icon()', pliz, anyone? HELP?

From: Date: Fri, 15 Mar 2002 18:06:41 +0000
Subject: Re: Fw: [PHP-GTK] two-line sample of 'set_icon()', pliz, anyone? HELP?
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-1572@lists.php.net to get a copy of this message
Sweet. Thanks. ----- Original Message ----- From: "Alan Knowles" <alan@akbkhome.com> To: "Steph" <steph.fox@btinternet.com> Cc: "PHP-GTK gen" <php-gtk-general@lists.php.net> Sent: Friday, March 15, 2002 5:57 AM Subject: Re: Fw: [PHP-GTK] two-line sample of 'set_icon()', pliz, anyone? HELP? > this works for me :) > > cute :) > > regards > alan > > $this->window->connect('configure_event', > array(&$this,'callback_configure_event')); > > function callback_configure_event($window) { > $w = $window->window; > list($pixmap,$mask) = > Gdk::pixmap_create_from_xpm($w, > NULL, dirname(__FILE__).'/phpmole.xpm'); > > $w->set_icon($w, $pixmap,$mask); > } > > > Steph wrote: > > >I still haven't had any mail, private or otherwise, about this. > > > >$gdkwindow->set_icon($icon_win, $gdkpixmap, $gdkbitmap); > > > >Can someone please confirm a) that it does in fact work *somewhere* *sometime* *somehow* > >and b) what would be an appropriate window to use for the first paramter? > > > >Thanks, you're all gorgeous > >x > > > >----- Original Message ----- > >From: "Steph" <Steph.Fox@btinternet.com> > >To: "PHP-GTK gen" <php-gtk-general@lists.php.net> > >Sent: Thursday, March 14, 2002 9:55 AM > >Subject: [PHP-GTK] two-line sample of 'set_icon()', pliz, anyone? > > > > > >I just want to be absolutely certain it's not my code ... this has been a bad morning > >:-\ > > > >I *know* it works on nix, so any of you geeks out there happen to have a line that works on > >your box, please cd you throw it + a brief explanation of *where you took the window from* this way? > > > >- so I can at least doc it? - > > > >thanks, > >Steph > > > > > > > > > -- > PHP-GTK General Mailing List (http://gtk.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

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