In this post we use void set_size_request(int width, int height) to change the size of GtkWindow in PHP GTK
<?php /* PHP GTK tutorials website: http://phpgtktutorials.blogspot.in/ */ $window = new GtkWindow(); $window->set_size_request(400, 100); $window->connect_simple('destroy', array('Gtk','main_quit')); $label = new GtkLabel("PHP GTK Tutorials and Examples!"); $window->add($label); $window->show_all(); Gtk::main(); ?>
0 comments:
Post a Comment