RE: Need to get the widget focused

2006-12-13 Thread Madhusudan E
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

Re: Need to get the widget focused

2006-12-13 Thread Gian Mario Tagliaretti
2006/12/13, [EMAIL PROTECTED] [EMAIL PROTECTED]: 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? gtk_window_get_focus () will get the focused widget whithin the main window. cheers -- Gian Mario