PHP-GTK
Saturday, July 04, 2009 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGdkWindow::set_child_shapes
GdkWindow::set_decorationsnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese

GdkWindow::set_cursor

Sets the cursor for this GdkWindow. This method is useful i.e. if you want to show that this widget executes a long-running operation and does not react.

You could set the cursor to Gdk::WATCH before running the operation, and set it back to normal afterwards.

Example 10.

//something before
 
$widget->window->set_cursor(new GdkCursor(Gdk::WATCH));
while (Gtk::events_pending()) {
    Gtk::main_iteration();
}
 
//do some operation
 
$widget->window->set_cursor(new GdkCursor(Gdk::LEFT_PTR));

User Contributed Notes
gdk.gdkwindow.method.set_cursor.php
add a note about notes
There are no user contributed notes for this page.


previousGdkWindow::set_child_shapes
GdkWindow::set_decorationsnext

Last updated: Sat, 04 Jul 2009
view this page in English | Bulgarian | Japanese | Brazilian | Simplified Chinese


credits 

PHP  Copyright © 2001-2009 The PHP Group
 All rights reserved.
Last updated: Sat Jul 4 01:51:45 2009 UTC