Hoogle Search

Within LTS Haskell 24.70 (ghc-9.10.3)

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

  1. menuSetAccelGroup :: (HasCallStack, MonadIO m, IsMenu a, IsAccelGroup b) => a -> Maybe b -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Set the AccelGroup which holds global accelerators for the menu. This accelerator group needs to also be added to all windows that this menu is being used in with windowAddAccelGroup, in order for those windows to support all the accelerators contained in this group.

  2. menuSetAccelPath :: (HasCallStack, MonadIO m, IsMenu a) => a -> Maybe Text -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Sets an accelerator path for this menu from which accelerator paths for its immediate children, its menu items, can be constructed. The main purpose of this function is to spare the programmer the inconvenience of having to call menuItemSetAccelPath on each menu item that should support runtime user changable accelerators. Instead, by just calling menuSetAccelPath on their parent, each menu item of this menu, that contains a label describing its purpose, automatically gets an accel path assigned. For example, a menu containing menu items “New” and “Exit”, will, after gtk_menu_set_accel_path (menu, "<Gnumeric-Sheet>/File"); has been called, assign its items the accel paths: "<Gnumeric-Sheet>/File/New" and "<Gnumeric-Sheet>/File/Exit". Assigning accel paths to menu items then enables the user to change their accelerators at runtime. More details about accelerator paths and their default setups can be found at accelMapAddEntry. Note that accelPath string will be stored in a GQuark. Therefore, if you pass a static string, you can save some memory by interning it first with internStaticString.

  3. menuSetActive :: (HasCallStack, MonadIO m, IsMenu a) => a -> Word32 -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Selects the specified menu item within the menu. This is used by the ComboBox and should not be used by anyone else.

  4. menuSetMonitor :: (HasCallStack, MonadIO m, IsMenu a) => a -> Int32 -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Informs GTK+ on which monitor a menu should be popped up. See monitorGetGeometry. This function should be called from a MenuPositionFunc if the menu should not appear on the same monitor as the pointer. This information can’t be reliably inferred from the coordinates returned by a MenuPositionFunc, since, for very long menus, these coordinates may extend beyond the monitor boundaries or even the screen boundaries. Since: 2.4

  5. menuSetReserveToggleSize :: (HasCallStack, MonadIO m, IsMenu a) => a -> Bool -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Sets whether the menu should reserve space for drawing toggles or icons, regardless of their actual presence. Since: 2.18

  6. menuSetScreen :: (HasCallStack, MonadIO m, IsMenu a, IsScreen b) => a -> Maybe b -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Sets the Screen on which the menu will be displayed. Since: 2.2

  7. menuSetTearoffState :: (HasCallStack, MonadIO m, IsMenu a) => a -> Bool -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Deprecated: (Since version 3.10)

  8. menuSetTitle :: (HasCallStack, MonadIO m, IsMenu a) => a -> Maybe Text -> m ()

    gi-gtk3 GI.Gtk.Objects.Menu

    Deprecated: (Since version 3.10)

  9. menuBarSetChildPackDirection :: (HasCallStack, MonadIO m, IsMenuBar a) => a -> PackDirection -> m ()

    gi-gtk3 GI.Gtk.Objects.MenuBar

    Sets how widgets should be packed inside the children of a menubar. Since: 2.8

  10. menuBarSetPackDirection :: (HasCallStack, MonadIO m, IsMenuBar a) => a -> PackDirection -> m ()

    gi-gtk3 GI.Gtk.Objects.MenuBar

    Sets how items should be packed inside a menubar. Since: 2.8

Page 1743 of many | Previous | Next