ComboBox Related Queries



Hi,

I have created a combo box using the api

gtk_combo_box_new_text(); 

and added items to it using the api's

gtk_combo_box_insert_text(GtkComboBox* widget , gint position,gchar text); ( for the first item)
and
gtk_combo_box_append_text(GtkComboBox *widget,gchar text); (for the remaining items)

Query 1: How do i view only about say 5 items at a time from a list of 100 items in the combobox

Query 2 : Can i use the keyboard arrow buttons to scroll through the items as was possible using the earlier GtkCombo ( using : gtk_combo_set_use_arrows_always( .. , ..) ).Is there a way to implement the same in GtkComboBox?

Thanking you in advance.
Renuka Kusurkar




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