RE: [PHP-GTK] Re: maximize window

From: Date: Sun, 18 Jul 2004 12:25:28 +0000
Subject: RE: [PHP-GTK] Re: maximize window
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4773@lists.php.net to get a copy of this message
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

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