Hoogle Search
Within LTS Haskell 24.51 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
clearMenuButtonMenuModel :: (MonadIO m, IsMenuButton o) => o -> m ()gi-gtk4 GI.Gtk.Objects.MenuButton Set the value of the “menu-model” property to Nothing. When overloading is enabled, this is equivalent to
clear #menuModel
-
gi-gtk4 GI.Gtk.Objects.MenuButton Construct a GValueConstruct with valid value for the “menu-model” property. This is rarely needed directly, but it is used by new.
getMenuButtonMenuModel :: (MonadIO m, IsMenuButton o) => o -> m (Maybe MenuModel)gi-gtk4 GI.Gtk.Objects.MenuButton Get the value of the “menu-model” property. When overloading is enabled, this is equivalent to
get menuButton #menuModel
menuButtonGetMenuModel :: (HasCallStack, MonadIO m, IsMenuButton a) => a -> m (Maybe MenuModel)gi-gtk4 GI.Gtk.Objects.MenuButton Returns the GMenuModel used to generate the popup.
-
gi-gtk4 GI.Gtk.Objects.MenuButton Sets the GMenuModel from which the popup will be constructed. If menuModel is Nothing, the button is disabled. A Popover will be created from the menu model with popoverMenuNewFromModel. Actions will be connected as documented for this function. If MenuButton:popover is already set, it will be dissociated from the menuButton, and the property is set to Nothing.
setMenuButtonMenuModel :: (MonadIO m, IsMenuButton o, IsMenuModel a) => o -> a -> m ()gi-gtk4 GI.Gtk.Objects.MenuButton Set the value of the “menu-model” property. When overloading is enabled, this is equivalent to
set menuButton [ #menuModel := value ]
notebookPageNum :: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) => a -> b -> m Int32gi-gtk4 GI.Gtk.Objects.Notebook Finds the index of the page which contains the given child widget.
class (GObject o, IsDescendantOf NumericSorter o) =>
IsNumericSorter ogi-gtk4 GI.Gtk.Objects.NumericSorter Type class for types which can be safely cast to NumericSorter, for instance with toNumericSorter.
clearNumericSorterExpression :: (MonadIO m, IsNumericSorter o) => o -> m ()gi-gtk4 GI.Gtk.Objects.NumericSorter Set the value of the “expression” property to Nothing. When overloading is enabled, this is equivalent to
clear #expression
-
gi-gtk4 GI.Gtk.Objects.NumericSorter Construct a GValueConstruct with valid value for the “expression” property. This is rarely needed directly, but it is used by new.