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.
-
gi-gtk3 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-gtk3 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-gtk3 GI.Gtk.Objects.MenuButton Returns the MenuModel used to generate the popup. Since: 3.6
-
gi-gtk3 GI.Gtk.Objects.MenuButton Sets the MenuModel from which the popup will be constructed, or Nothing to dissociate any existing menu model and disable the button. Depending on the value of MenuButton:usePopover, either a Menu will be created with menuNewFromModel, or a Popover with popoverNewFromModel. In either case, actions will be connected as documented for these functions. If MenuButton:popup or MenuButton:popover are already set, those widgets are dissociated from the menuButton, and those properties are set to Nothing. Since: 3.6
setMenuButtonMenuModel :: (MonadIO m, IsMenuButton o, IsMenuModel a) => o -> a -> m ()gi-gtk3 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-gtk3 GI.Gtk.Objects.Notebook Finds the index of the page which contains the given child widget.
class (GObject o, IsDescendantOf NumerableIcon o) =>
IsNumerableIcon ogi-gtk3 GI.Gtk.Objects.NumerableIcon Type class for types which can be safely cast to NumerableIcon, for instance with toNumerableIcon.
clearNumerableIconBackgroundIcon :: (MonadIO m, IsNumerableIcon o) => o -> m ()gi-gtk3 GI.Gtk.Objects.NumerableIcon Set the value of the “background-icon” property to Nothing. When overloading is enabled, this is equivalent to
clear #backgroundIcon
clearNumerableIconBackgroundIconName :: (MonadIO m, IsNumerableIcon o) => o -> m ()gi-gtk3 GI.Gtk.Objects.NumerableIcon Set the value of the “background-icon-name” property to Nothing. When overloading is enabled, this is equivalent to
clear #backgroundIconName
clearNumerableIconLabel :: (MonadIO m, IsNumerableIcon o) => o -> m ()gi-gtk3 GI.Gtk.Objects.NumerableIcon Set the value of the “label” property to Nothing. When overloading is enabled, this is equivalent to
clear #label