MenuButton.setAlignWidget

Sets the gtk.Widget to use to line the menu with when popped up. Note that the align_widget must contain the gtk.MenuButton itself.

Setting it to NULL means that the menu will be aligned with the button itself.

Note that this property is only used with menus currently, and not for popovers.

class MenuButton
void
setAlignWidget

Parameters

alignWidget Widget

Meta