Hoogle Search

Within LTS Haskell 24.35 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. 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
    

  2. menuButtonGetMenuModel :: (HasCallStack, MonadIO m, IsMenuButton a) => a -> m (Maybe MenuModel)

    gi-gtk4 GI.Gtk.Objects.MenuButton

    Returns the GMenuModel used to generate the popup.

  3. menuButtonSetMenuModel :: (HasCallStack, MonadIO m, IsMenuButton a, IsMenuModel b) => a -> Maybe b -> m ()

    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.

  4. 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 ]
    

  5. notebookPageNum :: (HasCallStack, MonadIO m, IsNotebook a, IsWidget b) => a -> b -> m Int32

    gi-gtk4 GI.Gtk.Objects.Notebook

    Finds the index of the page which contains the given child widget.

  6. clearPopoverMenuMenuModel :: (MonadIO m, IsPopoverMenu o) => o -> m ()

    gi-gtk4 GI.Gtk.Objects.PopoverMenu

    Set the value of the “menu-model” property to Nothing. When overloading is enabled, this is equivalent to

    clear #menuModel
    

  7. constructPopoverMenuMenuModel :: (IsPopoverMenu o, MonadIO m, IsMenuModel a) => a -> m (GValueConstruct o)

    gi-gtk4 GI.Gtk.Objects.PopoverMenu

    Construct a GValueConstruct with valid value for the “menu-model” property. This is rarely needed directly, but it is used by new.

  8. getPopoverMenuMenuModel :: (MonadIO m, IsPopoverMenu o) => o -> m (Maybe MenuModel)

    gi-gtk4 GI.Gtk.Objects.PopoverMenu

    Get the value of the “menu-model” property. When overloading is enabled, this is equivalent to

    get popoverMenu #menuModel
    

  9. popoverMenuGetMenuModel :: (HasCallStack, MonadIO m, IsPopoverMenu a) => a -> m (Maybe MenuModel)

    gi-gtk4 GI.Gtk.Objects.PopoverMenu

    Returns the menu model used to populate the popover.

  10. popoverMenuSetMenuModel :: (HasCallStack, MonadIO m, IsPopoverMenu a, IsMenuModel b) => a -> Maybe b -> m ()

    gi-gtk4 GI.Gtk.Objects.PopoverMenu

    Sets a new menu model on popover. The existing contents of popover are removed, and the popover is populated with new contents according to model.

Page 175 of many | Previous | Next