[gtkmm] Question to dynamically added menu items



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"??


Thx in adavance,
Andi




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