Webhosting and cheap domain registration service
  

 Home

Prev GtkStyle::bg_pixmap Next

GtkStyle::bg_pixmap

Access: Read Write
Type: Array

Returns an array of 5 pixmaps, one for each state a widget can reach. You can set it the following way:

$bookicon = array("16 16 6 1",
"       c None s None",".      c black","X      c red","o      c yellow","O      c #808080",
"#      c white","                ","       ..       ","     ..XX.      ","   ..XXXXX.     ",
" ..XXXXXXXX.    ",".ooXXXXXXXXX.   ","..ooXXXXXXXXX.  ",".X.ooXXXXXXXXX. ",".XX.ooXXXXXX..  ",
" .XX.ooXXX..#O  ","  .XX.oo..##OO. ","   .XX..##OO..  ","    .X.#OO..    ","     ..O..      ",
"      ..        ","                ");
$transparent = &new GdkColor(0, 0, 0);
list( $pixmap, $mask) = Gdk::pixmap_create_from_xpm_d($window->window, $transparent, $bookicon);

$style	= &new GtkStyle;
$style->bg_pixmap[GTK_STATE_NORMAL]	= $pixmap;


Prev Home Next
GtkStyle::base_gc Up GtkTable

 

  

Network sites:

Cheap domain registrar's cheap domain registration service

$8.95 domain registration : Buy domain name or register domain name 

 
 
Quotes:
Children who could be seen and not heard have been replaced by those who can be heard even when they're out of sight.  
 
 

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