RE: RE: RE: [PHP-GTK] Re: maximize window
| From: | Steph | Date: | Sun, 18 Jul 2004 16:07:27 +0000 |
| Subject: | RE: RE: RE: [PHP-GTK] Re: maximize window | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4778@lists.php.net to get a copy of this message | ||
ah, the icon. If you're on nix there's a function called sth like
set_icon() (check manual), I _think_ it's a gdkwindow method but could be
wrong.
If you're on win32 there's no way to do it without recompiling PHP-GTK (from
C source).
> -----Original Message-----
> From: Wim Stockman [mailto:jazzboy@front.ru]
> Sent: 18 July 2004 16:51
> To: php-gtk-general@lists.php.net
> Subject: Re: RE: RE: [PHP-GTK] Re: maximize window
>
>
> The little picture on the left of the title of the window.
>
> can you change that
>
>
> Steph wrote:
>
> > I've absolutely no idea what you're talking about :) sorry.
> >
> > > -----Original Message-----
> > > From: Wim Stockman [mailto:jazzboy@front.ru]
> > > Sent: 18 July 2004 16:10
> > > To: php-gtk-general@lists.php.net
> > > Subject: Re: RE: [PHP-GTK] Re: maximize window
> > >
> > >
> > > Thx Steph,
> > >
> > > and is it the same for the program pictogram or can you change this?
> > >
> > > Thx
> > > Steph wrote:
> > >
> > > > It's some weirdy low-level GDK thing and Wim's correct, it was
> > > never exposed
> > > > in PHP-GTK 1. set_usize() is as close as you can get at present.
> > > >
> > > > > -----Original Message-----
> > > > > From: Anders K. Madsen [mailto:madsen@lillesvin.linux.dk]
> > > > > Sent: 17 July 2004 13:11
> > > > > To: php-gtk-general@lists.php.net
> > > > > Subject: [PHP-GTK] Re: maximize window
> > > > >
> > > > >
> > > > > --Signature=_Sat__17_Jul_2004_14_11_28_+0200_xKW3JdLcxPYrNAFC
> > > > > Content-Type: text/plain; charset=US-ASCII
> > > > > Content-Disposition: inline
> > > > > Content-Transfer-Encoding: 7bit
> > > > >
> > > > > On Sat, 17 Jul 2004 12:02:19 +0200
> > > > > jazzboy@front.ru (Wim Stockman) wrote:
> > > > >
> > > > > > Hello,
> > > > > >
> > > > > > I want to maximize my window from the code, but I can't find the
> > > > > > function for it.
> > > > > >
> > > > > > $window->set_usize(gdk::screen_width(),gdk::screen_height());
> > > > > > but this only sets the window size equal to maximize , it
> > > is not truly
> > > > > > maximized.
> > > > >
> > > > > I'm not terribly much into PHP-GTK, but I have done some
> > > Ruby/Gtk2 where
> > > > > windows simply are maximized with Gtk::Window#maximize,
> which would be
> > > > > $window->maximize(); in PHP.
> > > > > Don't know if this works in Gtk1 though, there's no mention
> > > of it in the
> > > > > API reference on gtk.org, neither can I find such a
> method should be
> > > > > inherited from any super-classes... :/
> > > > >
> > > > > // Madsen
> > > > >
> > > > >
> > > > > --
> > > > > Anders K. Madsen ---
> > > > > http://lillesvin.linux.dk
> > > > >
> > > > > "There are 10 types of people in the world.
> > > > > Those who understand binary - and those who don't."
> > > > >
> > > > > --Signature=_Sat__17_Jul_2004_14_11_28_+0200_xKW3JdLcxPYrNAFC
> > > > > Content-Type: application/pgp-signature
> > > > >
> > > > > -----BEGIN PGP SIGNATURE-----
> > > > > Version: GnuPG v1.2.4 (GNU/Linux)
> > > > >
> > > > > iD8DBQFA+Rd0lNHJe/JASHcRAj/7AJ43AkTJyRs8nc5Dx52mCD2dHn+NQwCfVtUT
> > > > > bCppop1nwgAg8L9TefnVP+Q=
> > > > > =xA9O
> > > > > -----END PGP SIGNATURE-----
> > > > >
> > > > > --Signature=_Sat__17_Jul_2004_14_11_28_+0200_xKW3JdLcxPYrNAFC
> > >
> > > --
> > > PHP-GTK General Mailing List (http://gtk.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>