Re: GtkCombo Question



You can set the selected item on the combo->list widget.

   gtk_list_select_item(GTK_LIST(combo->list), n);

Darin


Chris Freeze wrote:

Is there a way to set a combo to a specified index?  I have a set number of
strings, but given some display's I need to have it default to displaying a
certain index instead of the zeroth index.

Regards,

Chris

-----
Chris Freeze           Email: cfreeze cs clemson edu
Web: http://www.cs.clemson.edu/~cfreeze
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list





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