Re: mousewheel + gtkoptionmenu



jacob berkman <jacob ximian com> writes:

> i just noticed that scrolling the mouse wheel on a gtkoptionmenu scrolls
> through the menu there.
> 
> however, it doesn't activate the menu items as they get selected.  i
> haven't found very many apps which correctly handle this.
> 
> should gtkoptionmenu be "fixed" to activate the menu item as it scrolls,
> or should bugs be filed against almost every gtk 2 app?

I don't think we want to force apps to use get_history(). 

Does putting a gtk_menu_item_activate() call in 
gtk_option_menu_scroll_event () after the call to set_history() 
work?

[ putting the activate call *in* set_history() would be pretty
  much guaranteed to break programs ]

Regards,
                                        Owen



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