[gtkmm] Popup menu



Hello all.

Is it possible to create a MenuElement which have a slot with arguments? I see from the reference documentation that CallSlot is typedef:ed to a Slot0<void>. Is there another way? What I want is to have a dynamic popup-menu that call the same function with different arguments for each MenuElement a push into the MenuList.

Thanks in advance.

David



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