Re: Combo box and grab_focus()
- From: Arto Huusko <arto huusko utu fi>
- To: Jan-Marek Glogowski <glogow fbihome de>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Combo box and grab_focus()
- Date: Sun, 21 Nov 2004 17:42:32 +0200
Jan-Marek Glogowski wrote:
Hi, a simple question:
how can I grab focus to a combo box?
Just a guess: for gtk_combo_box_entry_new(), you have grab the focus for
the entry via gtk_widget_grab_focus( GTK_BIN( my_combo )->child ). But I
don't know, if a GtkComboBox has a valid child.
No, this does not work. I didn't check whether there is any usable
child, but either way the result is no focus.
] [Thread Prev