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.
class (GObject o, IsDescendantOf DBusMenuModel o) =>
IsDBusMenuModel ogi-gio GI.Gio.Objects.DBusMenuModel Type class for types which can be safely cast to DBusMenuModel, for instance with toDBusMenuModel.
-
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
toDBusMenuModel :: (MonadIO m, IsDBusMenuModel o) => o -> m DBusMenuModelgi-gio GI.Gio.Objects.DBusMenuModel Cast to DBusMenuModel, for types for which this is known to be safe. For general casts, use castTo.
dBusMessageGetNumUnixFds :: (HasCallStack, MonadIO m, IsDBusMessage a) => a -> m Word32gi-gio GI.Gio.Objects.DBusMessage Convenience getter for the DBusMessageHeaderFieldNumUnixFds header field. Since: 2.26
dBusMessageSetNumUnixFds :: (HasCallStack, MonadIO m, IsDBusMessage a) => a -> Word32 -> m ()gi-gio GI.Gio.Objects.DBusMessage Convenience setter for the DBusMessageHeaderFieldNumUnixFds header field. Since: 2.26
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.
-
gi-gio GI.Gio.Objects.FileEnumerator Memory-managed wrapper type.
FileEnumerator :: ManagedPtr FileEnumerator -> FileEnumeratorgi-gio GI.Gio.Objects.FileEnumerator No documentation available.
class (GObject o, IsDescendantOf FileEnumerator o) =>
IsFileEnumerator ogi-gio GI.Gio.Objects.FileEnumerator Type class for types which can be safely cast to FileEnumerator, for instance with toFileEnumerator.
-
gi-gio GI.Gio.Objects.FileEnumerator Construct a GValueConstruct with valid value for the “container” property. This is rarely needed directly, but it is used by new.