Hoogle Search

Within LTS Haskell 24.33 (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-gtk3 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-gtk3 GI.Gtk.Objects.MenuButton

    Returns the MenuModel used to generate the popup. Since: 3.6

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

    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

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

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

    gi-gtk3 GI.Gtk.Objects.Notebook

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

  6. rcPropertyParseEnum :: (HasCallStack, MonadIO m) => GParamSpec -> String -> GValue -> m Bool

    gi-gtk3 GI.Gtk.Structs.RcProperty

    A RcPropertyParser for use with settingsInstallPropertyParser or gtk_widget_class_install_style_property_parser() which parses a single enumeration value. The enumeration value can be specified by its name, its nickname or its numeric value. For consistency with flags parsing, the value may be surrounded by parentheses.

  7. data IOErrorEnum

    gio System.GIO.Enums

    Error codes returned by GIO functions.

  8. fileEnumerateChildren :: FileClass file => file -> String -> [FileQueryInfoFlags] -> Maybe Cancellable -> IO FileEnumerator

    gio System.GIO.File.File

    Gets the requested information about the files in a directory. The result is a FileEnumerator object that will give out FileInfo objects for all the files in the directory. The attribute value is a string that specifies the file attributes that should be gathered. It is not an error if it's not possible to read a particular requested attribute from a file - it just won't be set. attribute should be a comma-separated list of attribute or attribute wildcards. The wildcard "*" means all attributes, and a wildcard like "standard::*" means all attributes in the standard namespace. An example attribute query be "standard::*,user". The standard attributes are available as defines, like FileAttributeStandardName. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IoErrorCancelled will be returned. If the file does not exist, the IoErrorNotFound error will be returned. If the file is not a directory, the FileErrorNotdir error will be returned. Other errors are possible too.

  9. fileEnumerateChildrenAsync :: (FileClass file, GlibString string) => file -> string -> [FileQueryInfoFlags] -> Int -> Maybe Cancellable -> AsyncReadyCallback -> IO ()

    gio System.GIO.File.File

    Asynchronously gets the requested information about the files in a directory. The result is a FileEnumerator object that will give out FileInfo objects for all the files in the directory. For more details, see fileEnumerateChildren which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call fileEnumerateChildrenFinish to get the result of the operation.

  10. fileEnumerateChildrenFinish :: FileClass file => file -> AsyncResult -> IO FileEnumerator

    gio System.GIO.File.File

    Finishes an async enumerate children operation. See fileEnumerateChildrenAsync.

Page 174 of many | Previous | Next