PHP-GTK
Wednesday, May 16, 2012 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGdkWindow::set_child_shapes
GdkWindow::set_decorationsnext

Last updated: Wed, 16 May 2012
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: Wed, 16 May 2012
view this page in English


credits 

PHP  Copyright © 2001-2012 The PHP Group
 All rights reserved.
Last updated: Wed May 16 01:46:11 2012 UTC