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