RE: Need to get the widget focused



Hi krithika...

I am not very clear with your query.
Most of the widgets provide "activate" property, and a corresponding API to
Activate them.

Either you grab focus or not, on that widget. Its immaterial. You can
activate the widget with the API.

Other details you may require are:
Enter key Press : GDK_Return
Event               : "key_press_event"

Maybe if you can mention your exact query. It would be easier for e1.

I hope this helps.

Rgds,
Madhusudan



-----Original Message-----
From: gtk-app-devel-list-bounces gnome org
[mailto:gtk-app-devel-list-bounces gnome org] On Behalf Of
krithika sivakumar wipro com
Sent: Wednesday, December 13, 2006 7:04 PM
To: gtk-app-devel-list gnome org
Subject: Need to get the widget focused

Hi,

How can I find which widget has focus set?
I have lot of widgets so cannot explicitly check one by one.
Is there any other way to do it?

Regards,
Krithika
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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