Re: Selecting item from combo box
- From: Harring Figueiredo <harringf yahoo com>
- To: bprasad ice-com com, gtk-app-devel-list gnome org
- Subject: Re: Selecting item from combo box
- Date: Sat, 26 Oct 2002 17:04:42 -0700 (PDT)
--- Venkata Prasad <bprasad ice-com com> wrote:
Hi All,
I am new to Gtk development .Can any one help me how to select the
combobox item into the text box automatically .Like for example
if there are three items in combo .Jim,Kim and Tim.
when the main window is displayed combo box shows Jim as it is first item
.I would like to show tim instead .How ????
Regards
Prasad
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
gtk_entry_set_text (GTK_ENTRY(my_combo->entry), "Tim");
entry is a GtkEntry widget inside the GtkCombo.
I hope this helps.
Harring.
__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]