Web page hosting and cheap domains registration services
  

 Home

GDK Functions
Prev gdk::pixmap_create_from_xpm Next

gdk::pixmap_create_from_xpm

array gdk::pixmap_create_from_xpm (GdkWindow window , GdkColor transparent_color , string filename);

gdk::pixmap_create_from_xpm() returns a array consisting of a GdkPixmap and a GdkBitmap mask that has been created from the specified .xpm file.

The GdkPixmap is the underlying structure that holds the image ready to be displayed in a GtkPixmap. In order to make that image appear on the screen, you will need to use one of the following constructs:

or

The transparent_color determines what color the None pixels will get if you don't use the pixmask.

See the tutorial for more details and some examples.


Prev Home Next
gdk::pixmap_colormap_create_from_xpm_d Up gdk::pixmap_create_from_xpm_d

 

  

Network sites:

$8.95 domain registration : cheap domains from US$5.95

Active-Domain.com: domain register and domain registration services 

 
 
 

Disclaimer: This documentation is provided only for the benefits of our webhosting customers.
For authoritative source of the documentation, please refer to http://gtk.php.net/docs.php