Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

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

  1. toHeaderBarAccessible :: (MonadIO m, IsHeaderBarAccessible o) => o -> m HeaderBarAccessible

    gi-gtk3 GI.Gtk.Objects.HeaderBarAccessible

    Cast to HeaderBarAccessible, for types for which this is known to be safe. For general casts, use castTo.

  2. listBoxInvalidateHeaders :: (HasCallStack, MonadIO m, IsListBox a) => a -> m ()

    gi-gtk3 GI.Gtk.Objects.ListBox

    Update the separators for all rows. Call this when result of the header function on the box is changed due to an external factor. Since: 3.10

  3. listBoxSetHeaderFunc :: (HasCallStack, MonadIO m, IsListBox a) => a -> Maybe ListBoxUpdateHeaderFunc -> m ()

    gi-gtk3 GI.Gtk.Objects.ListBox

    By setting a header function on the box one can dynamically add headers in front of rows, depending on the contents of the row and its position in the list. For instance, one could use it to add headers in front of the first item of a new kind, in a list sorted by the kind. The updateHeader can look at the current header widget using listBoxRowGetHeader and either update the state of the widget as needed, or set a new one using listBoxRowSetHeader. If no header is needed, set the header to Nothing. Note that you may get many calls updateHeader to this for a particular row when e.g. changing things that don’t affect the header. In this case it is important for performance to not blindly replace an existing header with an identical one. The updateHeader function will be called for each row after the call, and it will continue to be called each time a row changes (via listBoxRowChanged) and when the row before changes (either by listBoxRowChanged on the previous row, or when the previous row becomes a different row). It is also called for all rows when listBoxInvalidateHeaders is called. Since: 3.10

  4. listBoxRowGetHeader :: (HasCallStack, MonadIO m, IsListBoxRow a) => a -> m (Maybe Widget)

    gi-gtk3 GI.Gtk.Objects.ListBoxRow

    Returns the current header of the row. This can be used in a ListBoxUpdateHeaderFunc to see if there is a header set already, and if so to update the state of it. Since: 3.10

  5. listBoxRowSetHeader :: (HasCallStack, MonadIO m, IsListBoxRow a, IsWidget b) => a -> Maybe b -> m ()

    gi-gtk3 GI.Gtk.Objects.ListBoxRow

    Sets the current header of the row. This is only allowed to be called from a ListBoxUpdateHeaderFunc. It will replace any existing header in the row, and be shown in front of the row in the listbox. Since: 3.10

  6. constructSettingsGtkDialogsUseHeader :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)

    gi-gtk3 GI.Gtk.Objects.Settings

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

  7. getSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> m Bool

    gi-gtk3 GI.Gtk.Objects.Settings

    Get the value of the “gtk-dialogs-use-header” property. When overloading is enabled, this is equivalent to

    get settings #gtkDialogsUseHeader
    

  8. setSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> Bool -> m ()

    gi-gtk3 GI.Gtk.Objects.Settings

    Set the value of the “gtk-dialogs-use-header” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkDialogsUseHeader := value ]
    

  9. constructToolItemGroupHeaderRelief :: (IsToolItemGroup o, MonadIO m) => ReliefStyle -> m (GValueConstruct o)

    gi-gtk3 GI.Gtk.Objects.ToolItemGroup

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

  10. getToolItemGroupHeaderRelief :: (MonadIO m, IsToolItemGroup o) => o -> m ReliefStyle

    gi-gtk3 GI.Gtk.Objects.ToolItemGroup

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

    get toolItemGroup #headerRelief
    

Page 255 of many | Previous | Next