Re: [gtk-list] Setting optionmenu's value
- From: Havoc Pennington <rhpennin midway uchicago edu>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Setting optionmenu's value
- Date: Sun, 9 Aug 1998 14:34:44 -0500 (CDT)
On 9 Aug 1998, Antti Kaipila wrote:
>
> I was just wondering. How do I set the selected option in
> optionmenu? It's no trouble of setting some menu item as selected, but
> that does'nt seem to be enough in this case. When I have the following
> menu attached to a optionmenu button:
>
gtk_optionmenu_set_history should do what you want. The items are numbered
starting with 0 and you set it to the one you want.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]