Re: [gtk-list] gtk_option_menu_set_menu() weirdness



On 25 Feb 2000, Owen Taylor wrote:

> Well, the big question in my mind is what is the '*' in your ascii
> art... My best guess is that you might be using radio menu items in
> your menu.

You called it.  The '*' was the selected radio menu item.
Using regular menu items fixes my problem here.

> If that is the case, then that would explain your problem - I don't
> think set_history, by itself, is going to switch the selected member
> of the radio group. And also gives an easy solution: just use
> regular menu items. An option menu is _already_ a user interface
> for selecting one element from a group. You don't need radio menu
> items.
> 
> The example in testgtk with the radio menu items in an option menu
> is not supposed to be a UI suggestion. (That's the problem with
> testgtk - it combines tests for weird situations where there were
> bugs with more normal usage of widgets.)

Good point, maybe I shouldn't rely so heavily on testgtk for example 
code.

Thanks,
-Jamie



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