You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to open a PopoverMenu in my DrawingArea as a right click context menu, but DrawingArea does not support set_popover method. My current hacky solution involves cloning a popover into the drawing area's set_draw_func closure and calling popover.popup(). It is faulty as the popover cannot open more than once, and I get trying to snapshot popover without a current allocation and finalized drawing area but it still has children errors.
Would appreciate any pointers, including any ideas for potentially substituting PopoverMenu with a supported widget. Thanks!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to open a PopoverMenu in my DrawingArea as a right click context menu, but DrawingArea does not support
set_popovermethod. My current hacky solution involves cloning a popover into the drawing area'sset_draw_funcclosure and callingpopover.popup(). It is faulty as the popover cannot open more than once, and I gettrying to snapshot popover without a current allocationandfinalized drawing area but it still has childrenerrors.Would appreciate any pointers, including any ideas for potentially substituting PopoverMenu with a supported widget. Thanks!
Beta Was this translation helpful? Give feedback.
All reactions