Re: Combo box and grab_focus()

Jan-Marek Glogowski wrote:
Hi Arto

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.

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