Hoogle Search
Within LTS Haskell 24.70 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
containerSetFocusChain :: (HasCallStack, MonadIO m, IsContainer a, IsWidget b) => a -> [b] -> m ()gi-gtk3 GI.Gtk.Objects.Container Deprecated: (Since version 3.24)For overriding focus behavior, use theGtkWidgetClassfocus signal.
-
gi-gtk3 GI.Gtk.Objects.Container Sets, or unsets if child is Nothing, the focused child of container. This function emits the GtkContainerset_focus_child signal of container. Implementations of Container can override the default behaviour by overriding the class closure of this signal. This is function is mostly meant to be used by widgets. Applications can use widgetGrabFocus to manually set the focus to a specific widget.
-
gi-gtk3 GI.Gtk.Objects.Container Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the horizontal alignment. See scrolledWindowGetHadjustment for a typical way of obtaining the adjustment and containerSetFocusVadjustment for setting the vertical adjustment. The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.
-
gi-gtk3 GI.Gtk.Objects.Container Hooks up an adjustment to focus handling in a container, so when a child of the container is focused, the adjustment is scrolled to show that widget. This function sets the vertical alignment. See scrolledWindowGetVadjustment for a typical way of obtaining the adjustment and containerSetFocusHadjustment for setting the horizontal adjustment. The adjustments have to be in pixel units and in the same coordinate system as the allocation for immediate children of the container.
containerSetReallocateRedraws :: (HasCallStack, MonadIO m, IsContainer a) => a -> Bool -> m ()gi-gtk3 GI.Gtk.Objects.Container Deprecated: (Since version 3.14)Call widgetQueueDraw in your size_allocate handler.
containerSetResizeMode :: (HasCallStack, MonadIO m, IsContainer a) => a -> ResizeMode -> m ()gi-gtk3 GI.Gtk.Objects.Container Deprecated: (Since version 3.12)Resize modes are deprecated. They aren’t necessaryanymore since frame clocks and might introduce obscure bugs ifused.
containerUnsetFocusChain :: (HasCallStack, MonadIO m, IsContainer a) => a -> m ()gi-gtk3 GI.Gtk.Objects.Container Deprecated: (Since version 3.24)For overriding focus behavior, use theGtkWidgetClassfocus signal.
-
gi-gtk3 GI.Gtk.Objects.Container Connect a signal handler for the setFocusChild signal, to be run before the default handler. When overloading is enabled, this is equivalent to
on container #setFocusChild callback
-
gi-gtk3 GI.Gtk.Objects.Dialog Deprecated: (Since version 3.10)Deprecated
dialogSetDefaultResponse :: (HasCallStack, MonadIO m, IsDialog a) => a -> Int32 -> m ()gi-gtk3 GI.Gtk.Objects.Dialog Sets the last widget in the dialog’s action area with the given responseId as the default widget for the dialog. Pressing “Enter” normally activates the default widget.