Re: [gtk-list] Setting option menus
- From: "Iain" <nodatadj webtribe net>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] Setting option menus
- Date: Mon, 16 Aug 1999 02:15:37 +0100
> the user currently has kOhms or mOhms selected, I want to reset the
> option menu to display Ohms. I have been looking through the GTK+
> tutorial at www.gtk.org and have also been looking through "Developing
> Linux Applications" on how to do this, but to no avail. I found a
> gtk_menu_set_active() function, is that the way to go
Try gtk_option_menu_set_history (GtkOptionMenu *, int)
where int is the option number
Iain
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]