Gtk.MenuButton.prototype.set_align_widget
function set_align_widget(align_widget:Gtk.Widget):void { // Gjs wrapper for gtk_menu_button_set_align_widget() }
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 popup menu will be aligned with the button itself.
Since 3.6
- align_widget