PHP-GTK
Friday, September 19, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGdkWindow::set_child_shapes
GdkWindow::set_decorationsnext

Last updated: Sun, 12 May 2013
view this page in English

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 12.

//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: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:50:55 2013 CEST