Re: maximize window

From: Date: Sat, 17 Jul 2004 12:11:28 +0000
Subject: Re: maximize window
References: 1  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4770@lists.php.net to get a copy of this message
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."

Attachment: [application/pgp-signature]
« previous php.gtk.general (#4770) next »