Web page hosting and cheap domains registration services
  

 Home

GDK Functions
Prev gdk::cursor_new_from_pixmap Next

gdk::cursor_new_from_pixmap

GdkCursor gdk::cursor_new_from_pixmap ( GdkPixmap source , GdkPixmap mask , GdkColor fg , GdkColor bg , int x, int y);

This function creates a new cursor from a pixmap. After you have created the cursor, the set_cursor() has to be used on a widget's gdk window to make the cursor active. The cursor will be visible when the mouse hovers the widget on which it has been set.

In Gtk 1.x, you can make monochrome cursors only. This means, that every color (except black and None) is converted to the fg or bg color.

The x and y parameters are the hotspot coordinates with (0,0) describing the top left position.

This function is working since PHP-Gtk 1.0.1

Prev Home Next
gdk::cursor_new Up gdk::drag_status

 

  

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