c - GtkComboBox related qusestion -


how set gtkcombobox default selectio?
how adjust x, y location of drop down menu of gtkcombobox?
want display drop down menu @ lower edge of gtkcomobox.

also want set text color of selected text in combo box white.

thank,
pp.

gtk_combo_box_set_active function use set default selection.

here's example:

gtk_combo_box_set_active(gtk_combo_box(combo), index); 

where index integer value corresponds index number of item want default. value entirely dependent on data within gtktreemodel have combo box using.

as other questions, don't know, suggest install dev-help, or scour gtk documentation @ gtk website.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -