hide mouse cursor..

2005-01-26 Thread ALLs soft
this is good: gdk_window_set_cursor (GTK_WIDGET(window) -> window, cursor); thanks on help.No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21.1.2005 ___ gtk-app-devel-list ma

hide mouse cursor...

2005-01-26 Thread ALLs soft
when i compile i get this error.. 'struct _GtkWindow' has no member named 'window' what I can do? help please. >gdk_window_set_cursor(GTK_WINDOW(window)->window, cursor); ALLs soft wrote: >how i can hide cursor in this window (not GDK, it is GTK)? (code down don't >work but i can compile it

Re: how hide mouse cursor?

2005-01-26 Thread Paolo Costabel
gdk_window_set_cursor(GTK_WINDOW(window)->window, cursor); ALLs soft wrote: how i can hide cursor in this window (not GDK, it is GTK)? (code down don't work but i can compile it without errors.) do somebody can send me an example, maybe in gdk (with full source ready for compile)? thanks #includ

how hide mouse cursor?

2005-01-26 Thread ALLs soft
how i can hide cursor in this window (not GDK, it is GTK)? (code down don't work but i can compile it without errors.) do somebody can send me an example, maybe in gdk (with full source ready for compile)? thanks #include int main( int argc, char *argv[] ) { GtkWidget *window; G

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread David Necas (Yeti)
On Wed, Jan 26, 2005 at 03:31:06PM +0100, ALLs soft wrote: > gdk_window_set_cursor(GDK_WINDOW(window), cursor); GDK_WINDOW(window) is not widget->window. Widgets are not GdkWindows (they *contain* GdkWindows), so you can't cast them to, and you should get a Crtical message here... > gtk_widget_s

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread Marc Santhoff
Am Mi, den 26.01.2005 schrieb ALLs soft um 15:31: > my code is here [...] > pixmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1); > cursor = gdk_cursor_new_from_pixmap(pixmap, pixmap, &color, &color, 0, 0); > gdk_window_set_cursor(GDK_WINDOW(window), cursor); > > gtk_widget_show (window); I've

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread ALLs soft
t; Cc: Sent: Wednesday, January 26, 2005 12:48 PM Subject: Re: how to hide mouse cursor (GTK + CPP)? On Wed, Jan 26, 2005 at 11:13:16AM +0100, ALLs soft wrote: Please send example if you have it. guchar bits[] = { 0 }; GdkColor color = { 0, 0, 0, 0 }; GdkPixmap *pixmap; GdkCursor *curs

Re: how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread David Necas (Yeti)
On Wed, Jan 26, 2005 at 11:13:16AM +0100, ALLs soft wrote: > Please send example if you have it. guchar bits[] = { 0 }; GdkColor color = { 0, 0, 0, 0 }; GdkPixmap *pixmap; GdkCursor *cursor; pixmap = gdk_bitmap_create_from_data(NULL, bits, 1, 1); cursor = gdk_cursor_new_from_pixmap(pi

how to hide mouse cursor (GTK + CPP)?

2005-01-26 Thread ALLs soft
Please send example if you have it. thx.No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.7.2 - Release Date: 21.1.2005 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.