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. applicationSetResourceBasePath :: (HasCallStack, MonadIO m, IsApplication a) => a -> Maybe Text -> m ()

    gi-gio GI.Gio.Objects.Application

    Sets (or unsets) the base resource path of application. The path is used to automatically load various [application resources][gresource] such as menu layouts and action descriptions. The various types of resources will be found at fixed names relative to the given base path. By default, the resource base path is determined from the application ID by prefixing '/' and replacing each '.' with '/'. This is done at the time that the Application object is constructed. Changes to the application ID after that point will not have an impact on the resource base path. As an example, if the application has an ID of "org.example.app" then the default resource base path will be "/org/example/app". If this is a GtkApplication (and you have not manually changed the path) then Gtk will then search for the menus of the application at "/org/example/app/gtk/menus.ui". See Resource for more information about adding resources to your application. You can disable automatic resource loading functionality by setting the path to Nothing. Changing the resource base path once the application is running is not recommended. The point at which the resource path is consulted for forming paths for various purposes is unspecified. When writing a sub-class of Application you should either set the Application:resourceBasePath property at construction time, or call this function during the instance initialization. Alternatively, you can call this function in the ApplicationClass.startup virtual function, before chaining up to the parent implementation. Since: 2.42

  2. applicationSetVersion :: (HasCallStack, MonadIO m, IsApplication a) => a -> Text -> m ()

    gi-gio GI.Gio.Objects.Application

    Sets the version number of application. This will be used to implement a --version command line argument The application version can only be modified if application has not yet been registered. Since: 2.80

  3. applicationCommandLineSetExitStatus :: (HasCallStack, MonadIO m, IsApplicationCommandLine a) => a -> Int32 -> m ()

    gi-gio GI.Gio.Objects.ApplicationCommandLine

    Sets the exit status that will be used when the invoking process exits. The return value of the Application::commandLine signal is passed to this function when the handler returns. This is the usual way of setting the exit status. In the event that you want the remote invocation to continue running and want to decide on the exit status in the future, you can use this call. For the case of a remote invocation, the remote process will typically exit when the last reference is dropped on cmdline. The exit status of the remote process will be equal to the last value that was set with this function. In the case that the commandline invocation is local, the situation is slightly more complicated. If the commandline invocation results in the mainloop running (ie: because the use-count of the application increased to a non-zero value) then the application is considered to have been 'successful' in a certain sense, and the exit status is always zero. If the application use count is zero, though, the exit status of the local ApplicationCommandLine is used. This method is a no-op if applicationCommandLineDone has been called. Since: 2.28

  4. bufferedInputStreamSetBufferSize :: (HasCallStack, MonadIO m, IsBufferedInputStream a) => a -> CSize -> m ()

    gi-gio GI.Gio.Objects.BufferedInputStream

    Sets the size of the internal buffer of stream to size, or to the size of the contents of the buffer. The buffer can never be resized smaller than its current contents.

  5. bufferedOutputStreamSetAutoGrow :: (HasCallStack, MonadIO m, IsBufferedOutputStream a) => a -> Bool -> m ()

    gi-gio GI.Gio.Objects.BufferedOutputStream

    Sets whether or not the stream's buffer should automatically grow. If autoGrow is true, then each write will just make the buffer larger, and you must manually flush the buffer to actually write out the data to the underlying stream.

  6. bufferedOutputStreamSetBufferSize :: (HasCallStack, MonadIO m, IsBufferedOutputStream a) => a -> CSize -> m ()

    gi-gio GI.Gio.Objects.BufferedOutputStream

    Sets the size of the internal buffer to size.

  7. cancellableReset :: (HasCallStack, MonadIO m, IsCancellable a) => Maybe a -> m ()

    gi-gio GI.Gio.Objects.Cancellable

    Resets cancellable to its uncancelled state. If cancellable is currently in use by any cancellable operation then the behavior of this function is undefined. Note that it is generally not a good idea to reuse an existing cancellable for more operations after it has been cancelled once, as this function might tempt you to do. The recommended practice is to drop the reference to a cancellable after cancelling it, and let it die with the outstanding async operations. You should create a fresh cancellable for further async operations.

  8. cancellableSetErrorIfCancelled :: (HasCallStack, MonadIO m, IsCancellable a) => Maybe a -> m ()

    gi-gio GI.Gio.Objects.Cancellable

    If the cancellable is cancelled, sets the error to notify that the operation was cancelled.

  9. module GI.Gio.Objects.CharsetConverter

    GCharsetConverter is an implementation of Converter based on GLib.IConv.

  10. newtype CharsetConverter

    gi-gio GI.Gio.Objects.CharsetConverter

    Memory-managed wrapper type.

Page 1233 of many | Previous | Next