Hoogle Search

Within LTS Haskell 24.32 (ghc-9.10.3)

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

  1. volumeEnumerateIdentifiers :: (HasCallStack, MonadIO m, IsVolume a) => a -> m [Text]

    gi-gio GI.Gio.Interfaces.Volume

    Gets the kinds of identifiers that volume has. Use volumeGetIdentifier to obtain the identifiers themselves.

  2. dBusConnectionExportMenuModel :: (HasCallStack, MonadIO m, IsDBusConnection a, IsMenuModel b) => a -> Text -> b -> m Word32

    gi-gio GI.Gio.Objects.DBusConnection

    Exports menu on connection at objectPath. The implemented D-Bus API should be considered private. It is subject to change in the future. An object path can only have one menu model exported on it. If this constraint is violated, the export will fail and 0 will be returned (with error set accordingly). Exporting menus with sections containing more than MENU_EXPORTER_MAX_SECTION_SIZE items is not supported and results in undefined behavior. You can unexport the menu model using dBusConnectionUnexportMenuModel with the return value of this function. Since: 2.32

  3. dBusConnectionUnexportMenuModel :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> Word32 -> m ()

    gi-gio GI.Gio.Objects.DBusConnection

    Reverses the effect of a previous call to dBusConnectionExportMenuModel. It is an error to call this function with an ID that wasn't returned from dBusConnectionExportMenuModel or to call it with the same ID more than once. Since: 2.32

  4. module GI.Gio.Objects.DBusMenuModel

    GDBusMenuModel is an implementation of MenuModel that can be used as a proxy for a menu model that is exported over D-Bus with dBusConnectionExportMenuModel.

  5. newtype DBusMenuModel

    gi-gio GI.Gio.Objects.DBusMenuModel

    Memory-managed wrapper type.

  6. DBusMenuModel :: ManagedPtr DBusMenuModel -> DBusMenuModel

    gi-gio GI.Gio.Objects.DBusMenuModel

    No documentation available.

  7. class (GObject o, IsDescendantOf DBusMenuModel o) => IsDBusMenuModel o

    gi-gio GI.Gio.Objects.DBusMenuModel

    Type class for types which can be safely cast to DBusMenuModel, for instance with toDBusMenuModel.

  8. dBusMenuModelGet :: (HasCallStack, MonadIO m, IsDBusConnection a) => a -> Maybe Text -> Text -> m DBusMenuModel

    gi-gio GI.Gio.Objects.DBusMenuModel

    Obtains a DBusMenuModel for the menu model which is exported at the given busName and objectPath. The thread default main context is taken at the time of this call. All signals on the menu model (and any linked models) are reported with respect to this context. All calls on the returned menu model (and linked models) must also originate from this same context, with the thread default main context unchanged. Since: 2.32

  9. toDBusMenuModel :: (MonadIO m, IsDBusMenuModel o) => o -> m DBusMenuModel

    gi-gio GI.Gio.Objects.DBusMenuModel

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

  10. module GI.Gio.Objects.FileEnumerator

    GFileEnumerator allows you to operate on a set of File objects, returning a FileInfo structure for each file enumerated (e.g. fileEnumerateChildren will return a GFileEnumerator for each of the children within a directory). To get the next file's information from a GFileEnumerator, use fileEnumeratorNextFile or its asynchronous version, fileEnumeratorNextFilesAsync. Note that the asynchronous version will return a list of FileInfo objects, whereas the synchronous will only return the next file in the enumerator. The ordering of returned files is unspecified for non-Unix platforms; for more information, see dirReadName. On Unix, when operating on local files, returned files will be sorted by inode number. Effectively you can assume that the ordering of returned files will be stable between successive calls (and applications) assuming the directory is unchanged. If your application needs a specific ordering, such as by name or modification time, you will have to implement that in your application code. To close a GFileEnumerator, use fileEnumeratorClose, or its asynchronous version, fileEnumeratorCloseAsync. Once a GFileEnumerator is closed, no further actions may be performed on it, and it should be freed with objectUnref.

Page 115 of many | Previous | Next