Re: How do you select an item in a gtk_option_menu?



On 30 Apr 2001 18:13:57 +0200, Kent Nyberg wrote:

I have a gtk_option_menu with some items in it and now i want
my program to select the default item which i get from gnome_config.. 
But i cant seem to find out how to select an item in the option_menu
:(

I tried:
gtk_menu_item_select(GTK_MENU_ITEM(blabla));

But thats not what i need.
If i use that function then the option_menu dont change the item that
is
displayd, 
it only makes it so that if i klick on the option_menu then that item
is
"selected" there..     if you know what i mean..
My english is not so good so find it hard to explain :(

All i want is a function that can change the item in the option_menu
that is 
displayd to the user. Is there any function that does that?

Im not subscribed to this list anymore since there is to much trafic
here so 
if some one could answere to me private i would be very happy!!!
Thanks.. 

/Kent Nyberg.



_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

use the gtk_option_menu_set_history function

detlef
-- 

|  Multipliciter Lingua  |
|  muli.sourceforge.net  |






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