Re: Change mouse pointer to hourglass?



Torsten Schoenfeld wrote:

On Fri, 2004-08-13 at 00:21, Daniel Kasak wrote:

Is there any way to change the pointer to an hourglass?

Yes, use

 Gtk2::Gdk::Window::set_cursor.

For example:

 my $window = Gtk2::Window -> new();
 $window -> show_all();
 $window -> window -> set_cursor(Gtk2::Gdk::Cursor -> new("watch"));
Cool.
Thanks :)

--
Daniel Kasak
IT Developer
NUS Consulting Group
Level 5, 77 Pacific Highway
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: dkasak nusconsulting com au
website: http://www.nusconsulting.com.au
Title: CanIt Vote for ID 82967

The following links have been inserted by the NUS Consulting internal spam filter and are for NUS Consulting staff only
Spam
Not spam
Forget previous vote


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]