Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
clearNativeDialogTransientFor :: (MonadIO m, IsNativeDialog o) => o -> m ()gi-gtk4 GI.Gtk.Objects.NativeDialog Set the value of the “transient-for” property to Nothing. When overloading is enabled, this is equivalent to
clear #transientFor
-
gi-gtk4 GI.Gtk.Objects.NativeDialog Construct a GValueConstruct with valid value for the “transient-for” property. This is rarely needed directly, but it is used by new.
getNativeDialogTransientFor :: (MonadIO m, IsNativeDialog o) => o -> m (Maybe Window)gi-gtk4 GI.Gtk.Objects.NativeDialog Get the value of the “transient-for” property. When overloading is enabled, this is equivalent to
get nativeDialog #transientFor
nativeDialogGetTransientFor :: (HasCallStack, MonadIO m, IsNativeDialog a) => a -> m (Maybe Window)gi-gtk4 GI.Gtk.Objects.NativeDialog Fetches the transient parent for this window.
-
gi-gtk4 GI.Gtk.Objects.NativeDialog Dialog windows should be set transient for the main application window they were spawned from. This allows window managers to e.g. keep the dialog on top of the main window, or center the dialog over the main window. Passing Nothing for parent unsets the current transient window.
setNativeDialogTransientFor :: (MonadIO m, IsNativeDialog o, IsWindow a) => o -> a -> m ()gi-gtk4 GI.Gtk.Objects.NativeDialog Set the value of the “transient-for” property. When overloading is enabled, this is equivalent to
set nativeDialog [ #transientFor := value ]
pictureNewForFile :: (HasCallStack, MonadIO m, IsFile a) => Maybe a -> m Picturegi-gtk4 GI.Gtk.Objects.Picture Creates a new GtkPicture displaying the given file. If the file isn’t found or can’t be loaded, the resulting GtkPicture is empty. If you need to detect failures to load the file, use textureNewFromFile to load the file yourself, then create the GtkPicture from the texture.
pictureNewForFilename :: (HasCallStack, MonadIO m) => Maybe [Char] -> m Picturegi-gtk4 GI.Gtk.Objects.Picture Creates a new GtkPicture displaying the file filename. This is a utility function that calls pictureNewForFile. See that function for details.
pictureNewForPaintable :: (HasCallStack, MonadIO m, IsPaintable a) => Maybe a -> m Picturegi-gtk4 GI.Gtk.Objects.Picture Creates a new GtkPicture displaying paintable. The GtkPicture will track changes to the paintable and update its size and contents in response to it.
pictureNewForPixbuf :: (HasCallStack, MonadIO m, IsPixbuf a) => Maybe a -> m Picturegi-gtk4 GI.Gtk.Objects.Picture Deprecated: (Since version 4.12)Use pictureNewForPaintable andtextureNewForPixbuf instead