|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /usr/lib/pygtk/2.0/demos/ |
Upload File : |
mò R&—Ec @ sÑ d Z d k Z d k Z d k Z e i i e i i e ƒ d ƒ Z e i i e d ƒ Z e i i e d ƒ Z e i i e d ƒ Z d „ Z d „ Z d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( sÿ Images GtkImage is used to display an image; the image can be in a number of formats. Typically, you load an image into a GdkPixbuf, then display the pixbuf. This demo code shows some of the more obscure cases, in the simple case a call to gtk_image_new_from_file() is all you need. If you want to put image data in your program as a C variable, use the make-inline-pixbuf program that comes with GTK+. This way you won't need to depend on loading external files, your application binary can be self-contained.Nt imagess alphatest.pngs gtk-logo-rgb.gifs floppybuddy.gifc C s* | i ƒ } | i d ƒ | i | ƒ d S( Ni ( t loadert get_pixbuft pixbuft fillt imaget set_from_pixbuf( R R R ( ( t"