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.
-
gi-gtk3 GI.Gtk.Objects.RecentChooserWidget Creates a new RecentChooserWidget with a specified recent manager. This is useful if you have implemented your own recent manager, or if you have a customized instance of a RecentManager object. Since: 2.10
recentFilterAddPixbufFormats :: (HasCallStack, MonadIO m, IsRecentFilter a) => a -> m ()gi-gtk3 GI.Gtk.Objects.RecentFilter Adds a rule allowing image files in the formats supported by GdkPixbuf. Since: 2.10
type
ScaleFormatValueCallback = Double -> IO Textgi-gtk3 GI.Gtk.Objects.Scale Signal which allows you to change how the scale value is displayed. Connect a signal handler which returns an allocated string representing value. That string will then be used to display the scale's value. If no user-provided handlers are installed, the value will be displayed on its own, rounded according to the value of the Scale:digits property. Here's an example signal handler which displays a value 1.0 as with "-->1.0<--".
C code
static gchar* format_value_callback (GtkScale *scale, gdouble value) { return g_strdup_printf ("-->\%0.*g<--", gtk_scale_get_digits (scale), value); }-
gi-gtk3 GI.Gtk.Objects.Scale Connect a signal handler for the formatValue signal, to be run after the default handler. When overloading is enabled, this is equivalent to
after scale #formatValue callback
By default the object invoking the signal is not passed to the callback. If you need to access it, you can use the implit ?self parameter. Note that this requires activating the ImplicitParams GHC extension. -
gi-gtk3 GI.Gtk.Objects.Scale Connect a signal handler for the formatValue signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on scale #formatValue callback
settingsGetForScreen :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Settingsgi-gtk3 GI.Gtk.Objects.Settings Gets the Settings object for screen, creating it if necessary. Since: 2.2
-
gi-gtk3 GI.Gtk.Objects.StyleContext Adds a global style provider to screen, which will be used in style construction for all GtkStyleContexts under screen. GTK+ uses this to make styling information from Settings available. Note: If both priorities are the same, A StyleProvider added through styleContextAddProvider takes precedence over another added through this function. Since: 3.0
-
gi-gtk3 GI.Gtk.Objects.StyleContext Removes provider from the global style providers list in screen. Since: 3.0
textBufferGetDeserializeFormats :: (HasCallStack, MonadIO m, IsTextBuffer a) => a -> m [Atom]gi-gtk3 GI.Gtk.Objects.TextBuffer This function returns the rich text deserialize formats registered with buffer using textBufferRegisterDeserializeFormat or textBufferRegisterDeserializeTagset Since: 2.10
textBufferGetSerializeFormats :: (HasCallStack, MonadIO m, IsTextBuffer a) => a -> m [Atom]gi-gtk3 GI.Gtk.Objects.TextBuffer This function returns the rich text serialize formats registered with buffer using textBufferRegisterSerializeFormat or textBufferRegisterSerializeTagset Since: 2.10