Re: GtkImage

From: Date: Fri, 10 Feb 2006 21:06:41 +0000
Subject: Re: GtkImage
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-6711@lists.php.net to get a copy of this message
Breizh Micro Services wrote:
My new program : $window = new GtkWindow(); $window->set_title('PHP Test');
$window->connect("destroy"    , "OnDestroy");
$widget = GtkImage::new_from_file("test.jpg"); $window->add($widget); $window->show_all(); Gtk::main(); I Have the same bug...Any Idea ? Hi Breizh,
If you'd like some general help on programming PHP-Gtk2, please check out my blog at: http://www.writingup.com/blog/phpgtk2 Lesson #0012 deals with putting an image on a button, but starts with an overview of how to use the GtkImage widget. Because the scripts I use as examples are written with cross-platform applications in mind, they should work on Windows or Linux without changes. Lesson #0003 talks about setting up a "test rig foundation" script that can be used for testing any widget you want to play around with. Hope you find something helpful. -Ron T. -- Ron Tarrant Blog:<A HREF="http://www.writingup.com/blog/phpgtk2">PHP-Gtk2</A>

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