RE: GtkEntry Cursor



> -----Original Message-----
> From: Tal Rosen [mailto:tal@security7.com]
> Sent: dinsdag 6 juni 2000 11:18
> To: gtk-list@redhat.com
> Subject: GtkEntry Cursor


> Hi.

hi,

> The Scenario:
> I'm displaying a disabled dialog ( since I'm waiting for a thread result ) , I've
> change the cursor to GDK_CLOCK,
> inside my dialog there is a short, one line GtkEntry,  I've UNSET the 
> GTK_CAN_FOCUS flag for this entry,

> The Problem:
> When the GDK_CLOCK cursor hover over the GtkEntry it changes to GDK_XTERM.
> ( other disabled controls behave correctly )

> The Questions:
> * can someone send me an example how to disable the GtkEntry cursor change?

The default cursor for GtkEntry is set to GDK_XTERM. You have to set the cursor to  GDK_CLOCK after you created the entry (or unset the cursor) 

> * Is this behavior of the disabled GtkEntry a Bug, will it be fixed ?,

You can still select text in it AFAIK.

> -----------------------------------------------------------------------------------------------------------------------
> Just another question
> Is there a code example of a thread waiting for a condition, and for GUI X signal
> the same time?
> ( its something like Win32 MsgWaitForMultipleObjects ).

dunno... take a look at gtkmain.h...

Regards,

Arjan




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