Re: [gtkmm] Question to dynamically added menu items



"Andreas B. Thun" <abt gmx de> writes:

> Hi!
>
> I have a MenuBar with a growing amount of MenuItems
> I add at runtime.
> All MenuItems are connected to the same CallBack-Method
> (donīt know if this is ok, any ideas are welcome)
>
> My problem is: how do I know which MenuItem is selected?
> Is there a way to get an information like "3rd MenuItem selected"??
>
Check out:
gtkmm/examples/book/menus/main_menu

Billy



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