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.
CursorTypeTopSide :: CursorTypegi-gdk3 GI.Gdk.Enums No documentation available.
GrabStatusInvalidTime :: GrabStatusgi-gdk3 GI.Gdk.Enums the resource was grabbed more recently than the specified time.
AnchorHintsSlide :: AnchorHintsgi-gdk3 GI.Gdk.Flags allow sliding window on both axes
AnchorHintsSlideX :: AnchorHintsgi-gdk3 GI.Gdk.Flags allow sliding window horizontally
AnchorHintsSlideY :: AnchorHintsgi-gdk3 GI.Gdk.Flags allow sliding window vertically
-
gi-gdk3 GI.Gdk.Flags Slider axis is present
disableMultidevice :: (HasCallStack, MonadIO m) => m ()gi-gdk3 GI.Gdk.Functions Disables multidevice support in GDK. This call must happen prior to displayOpen, gtk_init(), gtk_init_with_args() or gtk_init_check() in order to take effect. Most common GTK+ applications won’t ever need to call this. Only applications that do mixed GDK/Xlib calls could want to disable multidevice support if such Xlib code deals with input devices in any way and doesn’t observe the presence of XInput 2. Since: 3.0
notifyStartupCompleteWithId :: (HasCallStack, MonadIO m) => Text -> m ()gi-gdk3 GI.Gdk.Functions Indicates to the GUI environment that the application has finished loading, using a given identifier. GTK+ will call this function automatically for GtkWindow with custom startup-notification identifier unless gtk_window_set_auto_startup_notification() is called to disable that feature. Since: 2.12
threadsAddIdle :: (HasCallStack, MonadIO m) => Int32 -> SourceFunc -> m Word32gi-gdk3 GI.Gdk.Functions Adds a function to be called whenever there are no higher priority events pending. If the function returns False it is automatically removed from the list of event sources and will not be called again. This variant of idleAdd calls function with the GDK lock held. It can be thought of a MT-safe version for GTK+ widgets for the following use case, where you have to worry about idle_callback() running in thread A and accessing self after it has been finalized in thread B:
C code
static gboolean idle_callback (gpointer data) { // gdk_threads_enter(); would be needed for g_idle_add() SomeWidget *self = data; // do stuff with self self->idle_id = 0; // gdk_threads_leave(); would be needed for g_idle_add() return FALSE; } static void some_widget_do_stuff_later (SomeWidget *self) { self->idle_id = gdk_threads_add_idle (idle_callback, self) // using g_idle_add() here would require thread protection in the callback } static void some_widget_finalize (GObject *object) { SomeWidget *self = SOME_WIDGET (object); if (self->idle_id) g_source_remove (self->idle_id); G_OBJECT_CLASS (parent_class)->finalize (object); }Since: 2.12constructDeviceProductId :: (IsDevice o, MonadIO m) => Text -> m (GValueConstruct o)gi-gdk3 GI.Gdk.Objects.Device Construct a GValueConstruct with valid value for the “product-id” property. This is rarely needed directly, but it is used by new.