Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- addWithViewport
- getCaptureButtonPress
- getHadjustment
- getHscrollbar
- getKineticScrolling
- getMaxContentHeight
- getMaxContentWidth
- getMinContentHeight
- getMinContentWidth
- getOverlayScrolling
- getPlacement
- getPolicy
- getPropagateNaturalHeight
- getPropagateNaturalWidth
- getShadowType
- getVadjustment
- getVscrollbar
- new
- setCaptureButtonPress
- setHadjustment
- setKineticScrolling
- setMaxContentHeight
- setMaxContentWidth
- setMinContentHeight
- setMinContentWidth
- setOverlayScrolling
- setPlacement
- setPolicy
- setPropagateNaturalHeight
- setPropagateNaturalWidth
- setShadowType
- setVadjustment
- unsetPlacement
- Properties
- Signals
GtkScrolledWindow is a Bin
subclass: it’s a container
the accepts a single child widget. GtkScrolledWindow adds scrollbars
to the child widget and optionally draws a beveled frame around the
child widget.
The scrolled window can work in two ways. Some widgets have native
scrolling support; these widgets implement the Scrollable
interface.
Widgets with native scroll support include TreeView
, TextView
,
and Layout
.
For widgets that lack native scrolling support, the Viewport
widget acts as an adaptor class, implementing scrollability for child
widgets that lack their own scrolling capabilities. Use Viewport
to scroll child widgets such as Grid
, Box
, and so on.
If a widget has native scrolling abilities, it can be added to the
GtkScrolledWindow with containerAdd
. If a widget does not, you
must first add the widget to a Viewport
, then add the Viewport
to the scrolled window. containerAdd
will do this for you for
widgets that don’t implement Scrollable
natively, so you can
ignore the presence of the viewport.
If containerAdd
has added a Viewport
for you, you can remove
both your added child widget from the Viewport
and the Viewport
from the GtkScrolledWindow with either of the calls
C code
gtk_container_remove (GTK_CONTAINER (scrolled_window), child_widget); // or gtk_container_remove (GTK_CONTAINER (scrolled_window), gtk_bin_get_child (GTK_BIN (scrolled_window)));
The position of the scrollbars is controlled by the scroll adjustments.
See Adjustment
for the fields in an adjustment — for
Scrollbar
, used by GtkScrolledWindow, the “value” field
represents the position of the scrollbar, which must be between the
“lower” field and “upper - page_size.” The “page_size” field
represents the size of the visible scrollable area. The
“step_increment” and “page_increment” fields are used when the user
asks to step down (using the small stepper arrows) or page down (using
for example the PageDown key).
If a GtkScrolledWindow doesn’t behave quite as you would like, or
doesn’t have exactly the right layout, it’s very possible to set up
your own scrolling with Scrollbar
and for example a Grid
.
Touch support
GtkScrolledWindow has built-in support for touch devices. When a
touchscreen is used, swiping will move the scrolled window, and will
expose 'kinetic' behavior. This can be turned off with the
ScrolledWindow
:kinetic-scrolling
property if it is undesired.
GtkScrolledWindow also displays visual 'overshoot' indication when
the content is pulled beyond the end, and this situation can be
captured with the ScrolledWindow
::edge-overshot
signal.
If no mouse device is present, the scrollbars will overlayed as
narrow, auto-hiding indicators over the content. If traditional
scrollbars are desired although no mouse is present, this behaviour
can be turned off with the ScrolledWindow
:overlay-scrolling
property.
CSS nodes
GtkScrolledWindow has a main CSS node with name scrolledwindow.
It uses subnodes with names overshoot and undershoot to draw the overflow and underflow indications. These nodes get the .left, .right, .top or .bottom style class added depending on where the indication is drawn.
GtkScrolledWindow also sets the positional style classes (.left, .right, .top, .bottom) and style classes related to overlay scrolling (.overlay-indicator, .dragging, .hovering) on its scrollbars.
If both scrollbars are visible, the area where they meet is drawn with a subnode named junction.
- newtype ScrolledWindow = ScrolledWindow (ManagedPtr ScrolledWindow)
- class GObject o => IsScrolledWindow o
- toScrolledWindow :: IsScrolledWindow o => o -> IO ScrolledWindow
- noScrolledWindow :: Maybe ScrolledWindow
- data ScrolledWindowAddWithViewportMethodInfo
- scrolledWindowAddWithViewport :: (HasCallStack, MonadIO m, IsScrolledWindow a, IsWidget b) => a -> b -> m ()
- data ScrolledWindowGetCaptureButtonPressMethodInfo
- scrolledWindowGetCaptureButtonPress :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Bool
- data ScrolledWindowGetHadjustmentMethodInfo
- scrolledWindowGetHadjustment :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Adjustment
- data ScrolledWindowGetHscrollbarMethodInfo
- scrolledWindowGetHscrollbar :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Widget
- data ScrolledWindowGetKineticScrollingMethodInfo
- scrolledWindowGetKineticScrolling :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Bool
- data ScrolledWindowGetMaxContentHeightMethodInfo
- scrolledWindowGetMaxContentHeight :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Int32
- data ScrolledWindowGetMaxContentWidthMethodInfo
- scrolledWindowGetMaxContentWidth :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Int32
- data ScrolledWindowGetMinContentHeightMethodInfo
- scrolledWindowGetMinContentHeight :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Int32
- data ScrolledWindowGetMinContentWidthMethodInfo
- scrolledWindowGetMinContentWidth :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Int32
- data ScrolledWindowGetOverlayScrollingMethodInfo
- scrolledWindowGetOverlayScrolling :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Bool
- data ScrolledWindowGetPlacementMethodInfo
- scrolledWindowGetPlacement :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m CornerType
- data ScrolledWindowGetPolicyMethodInfo
- scrolledWindowGetPolicy :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m (PolicyType, PolicyType)
- data ScrolledWindowGetPropagateNaturalHeightMethodInfo
- scrolledWindowGetPropagateNaturalHeight :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Bool
- data ScrolledWindowGetPropagateNaturalWidthMethodInfo
- scrolledWindowGetPropagateNaturalWidth :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Bool
- data ScrolledWindowGetShadowTypeMethodInfo
- scrolledWindowGetShadowType :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m ShadowType
- data ScrolledWindowGetVadjustmentMethodInfo
- scrolledWindowGetVadjustment :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Adjustment
- data ScrolledWindowGetVscrollbarMethodInfo
- scrolledWindowGetVscrollbar :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m Widget
- scrolledWindowNew :: (HasCallStack, MonadIO m, IsAdjustment a, IsAdjustment b) => Maybe a -> Maybe b -> m ScrolledWindow
- data ScrolledWindowSetCaptureButtonPressMethodInfo
- scrolledWindowSetCaptureButtonPress :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Bool -> m ()
- data ScrolledWindowSetHadjustmentMethodInfo
- scrolledWindowSetHadjustment :: (HasCallStack, MonadIO m, IsScrolledWindow a, IsAdjustment b) => a -> b -> m ()
- data ScrolledWindowSetKineticScrollingMethodInfo
- scrolledWindowSetKineticScrolling :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Bool -> m ()
- data ScrolledWindowSetMaxContentHeightMethodInfo
- scrolledWindowSetMaxContentHeight :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Int32 -> m ()
- data ScrolledWindowSetMaxContentWidthMethodInfo
- scrolledWindowSetMaxContentWidth :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Int32 -> m ()
- data ScrolledWindowSetMinContentHeightMethodInfo
- scrolledWindowSetMinContentHeight :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Int32 -> m ()
- data ScrolledWindowSetMinContentWidthMethodInfo
- scrolledWindowSetMinContentWidth :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Int32 -> m ()
- data ScrolledWindowSetOverlayScrollingMethodInfo
- scrolledWindowSetOverlayScrolling :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Bool -> m ()
- data ScrolledWindowSetPlacementMethodInfo
- scrolledWindowSetPlacement :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> CornerType -> m ()
- data ScrolledWindowSetPolicyMethodInfo
- scrolledWindowSetPolicy :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> PolicyType -> PolicyType -> m ()
- data ScrolledWindowSetPropagateNaturalHeightMethodInfo
- scrolledWindowSetPropagateNaturalHeight :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Bool -> m ()
- data ScrolledWindowSetPropagateNaturalWidthMethodInfo
- scrolledWindowSetPropagateNaturalWidth :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> Bool -> m ()
- data ScrolledWindowSetShadowTypeMethodInfo
- scrolledWindowSetShadowType :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> ShadowType -> m ()
- data ScrolledWindowSetVadjustmentMethodInfo
- scrolledWindowSetVadjustment :: (HasCallStack, MonadIO m, IsScrolledWindow a, IsAdjustment b) => a -> b -> m ()
- data ScrolledWindowUnsetPlacementMethodInfo
- scrolledWindowUnsetPlacement :: (HasCallStack, MonadIO m, IsScrolledWindow a) => a -> m ()
- data ScrolledWindowHadjustmentPropertyInfo
- constructScrolledWindowHadjustment :: (IsScrolledWindow o, IsAdjustment a) => a -> IO (GValueConstruct o)
- getScrolledWindowHadjustment :: (MonadIO m, IsScrolledWindow o) => o -> m Adjustment
- scrolledWindowHadjustment :: AttrLabelProxy "hadjustment"
- setScrolledWindowHadjustment :: (MonadIO m, IsScrolledWindow o, IsAdjustment a) => o -> a -> m ()
- data ScrolledWindowHscrollbarPolicyPropertyInfo
- constructScrolledWindowHscrollbarPolicy :: IsScrolledWindow o => PolicyType -> IO (GValueConstruct o)
- getScrolledWindowHscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> m PolicyType
- scrolledWindowHscrollbarPolicy :: AttrLabelProxy "hscrollbarPolicy"
- setScrolledWindowHscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> PolicyType -> m ()
- data ScrolledWindowKineticScrollingPropertyInfo
- constructScrolledWindowKineticScrolling :: IsScrolledWindow o => Bool -> IO (GValueConstruct o)
- getScrolledWindowKineticScrolling :: (MonadIO m, IsScrolledWindow o) => o -> m Bool
- scrolledWindowKineticScrolling :: AttrLabelProxy "kineticScrolling"
- setScrolledWindowKineticScrolling :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m ()
- data ScrolledWindowMaxContentHeightPropertyInfo
- constructScrolledWindowMaxContentHeight :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o)
- getScrolledWindowMaxContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> m Int32
- scrolledWindowMaxContentHeight :: AttrLabelProxy "maxContentHeight"
- setScrolledWindowMaxContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m ()
- data ScrolledWindowMaxContentWidthPropertyInfo
- constructScrolledWindowMaxContentWidth :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o)
- getScrolledWindowMaxContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> m Int32
- scrolledWindowMaxContentWidth :: AttrLabelProxy "maxContentWidth"
- setScrolledWindowMaxContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m ()
- data ScrolledWindowMinContentHeightPropertyInfo
- constructScrolledWindowMinContentHeight :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o)
- getScrolledWindowMinContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> m Int32
- scrolledWindowMinContentHeight :: AttrLabelProxy "minContentHeight"
- setScrolledWindowMinContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m ()
- data ScrolledWindowMinContentWidthPropertyInfo
- constructScrolledWindowMinContentWidth :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o)
- getScrolledWindowMinContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> m Int32
- scrolledWindowMinContentWidth :: AttrLabelProxy "minContentWidth"
- setScrolledWindowMinContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m ()
- data ScrolledWindowOverlayScrollingPropertyInfo
- constructScrolledWindowOverlayScrolling :: IsScrolledWindow o => Bool -> IO (GValueConstruct o)
- getScrolledWindowOverlayScrolling :: (MonadIO m, IsScrolledWindow o) => o -> m Bool
- scrolledWindowOverlayScrolling :: AttrLabelProxy "overlayScrolling"
- setScrolledWindowOverlayScrolling :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m ()
- data ScrolledWindowPropagateNaturalHeightPropertyInfo
- constructScrolledWindowPropagateNaturalHeight :: IsScrolledWindow o => Bool -> IO (GValueConstruct o)
- getScrolledWindowPropagateNaturalHeight :: (MonadIO m, IsScrolledWindow o) => o -> m Bool
- scrolledWindowPropagateNaturalHeight :: AttrLabelProxy "propagateNaturalHeight"
- setScrolledWindowPropagateNaturalHeight :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m ()
- data ScrolledWindowPropagateNaturalWidthPropertyInfo
- constructScrolledWindowPropagateNaturalWidth :: IsScrolledWindow o => Bool -> IO (GValueConstruct o)
- getScrolledWindowPropagateNaturalWidth :: (MonadIO m, IsScrolledWindow o) => o -> m Bool
- scrolledWindowPropagateNaturalWidth :: AttrLabelProxy "propagateNaturalWidth"
- setScrolledWindowPropagateNaturalWidth :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m ()
- data ScrolledWindowShadowTypePropertyInfo
- constructScrolledWindowShadowType :: IsScrolledWindow o => ShadowType -> IO (GValueConstruct o)
- getScrolledWindowShadowType :: (MonadIO m, IsScrolledWindow o) => o -> m ShadowType
- scrolledWindowShadowType :: AttrLabelProxy "shadowType"
- setScrolledWindowShadowType :: (MonadIO m, IsScrolledWindow o) => o -> ShadowType -> m ()
- data ScrolledWindowVadjustmentPropertyInfo
- constructScrolledWindowVadjustment :: (IsScrolledWindow o, IsAdjustment a) => a -> IO (GValueConstruct o)
- getScrolledWindowVadjustment :: (MonadIO m, IsScrolledWindow o) => o -> m Adjustment
- scrolledWindowVadjustment :: AttrLabelProxy "vadjustment"
- setScrolledWindowVadjustment :: (MonadIO m, IsScrolledWindow o, IsAdjustment a) => o -> a -> m ()
- data ScrolledWindowVscrollbarPolicyPropertyInfo
- constructScrolledWindowVscrollbarPolicy :: IsScrolledWindow o => PolicyType -> IO (GValueConstruct o)
- getScrolledWindowVscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> m PolicyType
- scrolledWindowVscrollbarPolicy :: AttrLabelProxy "vscrollbarPolicy"
- setScrolledWindowVscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> PolicyType -> m ()
- data ScrolledWindowWindowPlacementPropertyInfo
- constructScrolledWindowWindowPlacement :: IsScrolledWindow o => CornerType -> IO (GValueConstruct o)
- getScrolledWindowWindowPlacement :: (MonadIO m, IsScrolledWindow o) => o -> m CornerType
- scrolledWindowWindowPlacement :: AttrLabelProxy "windowPlacement"
- setScrolledWindowWindowPlacement :: (MonadIO m, IsScrolledWindow o) => o -> CornerType -> m ()
- data ScrolledWindowWindowPlacementSetPropertyInfo
- constructScrolledWindowWindowPlacementSet :: IsScrolledWindow o => Bool -> IO (GValueConstruct o)
- getScrolledWindowWindowPlacementSet :: (MonadIO m, IsScrolledWindow o) => o -> m Bool
- scrolledWindowWindowPlacementSet :: AttrLabelProxy "windowPlacementSet"
- setScrolledWindowWindowPlacementSet :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m ()
- type C_ScrolledWindowEdgeOvershotCallback = Ptr () -> CUInt -> Ptr () -> IO ()
- type ScrolledWindowEdgeOvershotCallback = PositionType -> IO ()
- data ScrolledWindowEdgeOvershotSignalInfo
- afterScrolledWindowEdgeOvershot :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeOvershotCallback -> m SignalHandlerId
- genClosure_ScrolledWindowEdgeOvershot :: ScrolledWindowEdgeOvershotCallback -> IO Closure
- mk_ScrolledWindowEdgeOvershotCallback :: C_ScrolledWindowEdgeOvershotCallback -> IO (FunPtr C_ScrolledWindowEdgeOvershotCallback)
- noScrolledWindowEdgeOvershotCallback :: Maybe ScrolledWindowEdgeOvershotCallback
- onScrolledWindowEdgeOvershot :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeOvershotCallback -> m SignalHandlerId
- wrap_ScrolledWindowEdgeOvershotCallback :: ScrolledWindowEdgeOvershotCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- type C_ScrolledWindowEdgeReachedCallback = Ptr () -> CUInt -> Ptr () -> IO ()
- type ScrolledWindowEdgeReachedCallback = PositionType -> IO ()
- data ScrolledWindowEdgeReachedSignalInfo
- afterScrolledWindowEdgeReached :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeReachedCallback -> m SignalHandlerId
- genClosure_ScrolledWindowEdgeReached :: ScrolledWindowEdgeReachedCallback -> IO Closure
- mk_ScrolledWindowEdgeReachedCallback :: C_ScrolledWindowEdgeReachedCallback -> IO (FunPtr C_ScrolledWindowEdgeReachedCallback)
- noScrolledWindowEdgeReachedCallback :: Maybe ScrolledWindowEdgeReachedCallback
- onScrolledWindowEdgeReached :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeReachedCallback -> m SignalHandlerId
- wrap_ScrolledWindowEdgeReachedCallback :: ScrolledWindowEdgeReachedCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- type C_ScrolledWindowMoveFocusOutCallback = Ptr () -> CUInt -> Ptr () -> IO ()
- type ScrolledWindowMoveFocusOutCallback = DirectionType -> IO ()
- data ScrolledWindowMoveFocusOutSignalInfo
- afterScrolledWindowMoveFocusOut :: (GObject a, MonadIO m) => a -> ScrolledWindowMoveFocusOutCallback -> m SignalHandlerId
- genClosure_ScrolledWindowMoveFocusOut :: ScrolledWindowMoveFocusOutCallback -> IO Closure
- mk_ScrolledWindowMoveFocusOutCallback :: C_ScrolledWindowMoveFocusOutCallback -> IO (FunPtr C_ScrolledWindowMoveFocusOutCallback)
- noScrolledWindowMoveFocusOutCallback :: Maybe ScrolledWindowMoveFocusOutCallback
- onScrolledWindowMoveFocusOut :: (GObject a, MonadIO m) => a -> ScrolledWindowMoveFocusOutCallback -> m SignalHandlerId
- wrap_ScrolledWindowMoveFocusOutCallback :: ScrolledWindowMoveFocusOutCallback -> Ptr () -> CUInt -> Ptr () -> IO ()
- type C_ScrolledWindowScrollChildCallback = Ptr () -> CUInt -> CInt -> Ptr () -> IO CInt
- type ScrolledWindowScrollChildCallback = ScrollType -> Bool -> IO Bool
- data ScrolledWindowScrollChildSignalInfo
- afterScrolledWindowScrollChild :: (GObject a, MonadIO m) => a -> ScrolledWindowScrollChildCallback -> m SignalHandlerId
- genClosure_ScrolledWindowScrollChild :: ScrolledWindowScrollChildCallback -> IO Closure
- mk_ScrolledWindowScrollChildCallback :: C_ScrolledWindowScrollChildCallback -> IO (FunPtr C_ScrolledWindowScrollChildCallback)
- noScrolledWindowScrollChildCallback :: Maybe ScrolledWindowScrollChildCallback
- onScrolledWindowScrollChild :: (GObject a, MonadIO m) => a -> ScrolledWindowScrollChildCallback -> m SignalHandlerId
- wrap_ScrolledWindowScrollChildCallback :: ScrolledWindowScrollChildCallback -> Ptr () -> CUInt -> CInt -> Ptr () -> IO CInt
Exported types
newtype ScrolledWindow Source #
GObject ScrolledWindow Source # | |
IsImplementorIface ScrolledWindow Source # | |
IsObject ScrolledWindow Source # | |
IsWidget ScrolledWindow Source # | |
IsScrolledWindow ScrolledWindow Source # | |
IsContainer ScrolledWindow Source # | |
IsBin ScrolledWindow Source # | |
IsBuildable ScrolledWindow Source # | |
((~) * info (ResolveScrolledWindowMethod t ScrolledWindow), MethodInfo * info ScrolledWindow p) => IsLabel t (ScrolledWindow -> p) Source # | |
((~) * info (ResolveScrolledWindowMethod t ScrolledWindow), MethodInfo * info ScrolledWindow p) => IsLabelProxy t (ScrolledWindow -> p) Source # | |
HasAttributeList * ScrolledWindow Source # | |
type AttributeList ScrolledWindow Source # | |
type SignalList ScrolledWindow Source # | |
class GObject o => IsScrolledWindow o Source #
toScrolledWindow :: IsScrolledWindow o => o -> IO ScrolledWindow Source #
Methods
addWithViewport
data ScrolledWindowAddWithViewportMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsScrolledWindow a, IsWidget b) => MethodInfo * ScrolledWindowAddWithViewportMethodInfo a signature Source # | |
scrolledWindowAddWithViewport Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a, IsWidget b) | |
=> a |
|
-> b |
|
-> m () |
Deprecated: (Since version 3.8)containerAdd
will automatically adda Viewport
if the child doesn’t implement Scrollable
.
Used to add children without native scrolling capabilities. This
is simply a convenience function; it is equivalent to adding the
unscrollable child to a viewport, then adding the viewport to the
scrolled window. If a child has native scrolling, use
containerAdd
instead of this function.
The viewport scrolls the child by moving its Window
, and takes
the size of the child to be the size of its toplevel Window
.
This will be very wrong for most widgets that support native scrolling;
for example, if you add a widget such as TreeView
with a viewport,
the whole widget will scroll, including the column headings. Thus,
widgets with native scrolling support should not be used with the
Viewport
proxy.
A widget supports scrolling natively if it implements the
Scrollable
interface.
getCaptureButtonPress
data ScrolledWindowGetCaptureButtonPressMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetCaptureButtonPressMethodInfo a signature Source # | |
scrolledWindowGetCaptureButtonPress Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Bool | Returns: |
Return whether button presses are captured during kinetic
scrolling. See scrolledWindowSetCaptureButtonPress
.
Since: 3.4
getHadjustment
data ScrolledWindowGetHadjustmentMethodInfo Source #
((~) * signature (m Adjustment), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetHadjustmentMethodInfo a signature Source # | |
scrolledWindowGetHadjustment Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Adjustment | Returns: the horizontal |
Returns the horizontal scrollbar’s adjustment, used to connect the horizontal scrollbar to the child widget’s horizontal scroll functionality.
getHscrollbar
data ScrolledWindowGetHscrollbarMethodInfo Source #
((~) * signature (m Widget), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetHscrollbarMethodInfo a signature Source # | |
scrolledWindowGetHscrollbar Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Widget | Returns: the horizontal scrollbar of the scrolled window. |
Returns the horizontal scrollbar of scrolledWindow
.
Since: 2.8
getKineticScrolling
data ScrolledWindowGetKineticScrollingMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetKineticScrollingMethodInfo a signature Source # | |
scrolledWindowGetKineticScrolling Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Bool | Returns: the scrolling behavior flags. |
Returns the specified kinetic scrolling behavior.
Since: 3.4
getMaxContentHeight
data ScrolledWindowGetMaxContentHeightMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetMaxContentHeightMethodInfo a signature Source # | |
scrolledWindowGetMaxContentHeight Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Int32 | Returns: the maximum content height, or -1 |
Returns the maximum content height set.
Since: 3.22
getMaxContentWidth
data ScrolledWindowGetMaxContentWidthMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetMaxContentWidthMethodInfo a signature Source # | |
scrolledWindowGetMaxContentWidth Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Int32 | Returns: the maximum content width, or -1 |
Returns the maximum content width set.
Since: 3.22
getMinContentHeight
data ScrolledWindowGetMinContentHeightMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetMinContentHeightMethodInfo a signature Source # | |
scrolledWindowGetMinContentHeight Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Int32 | Returns: the minimal content height |
Gets the minimal content height of scrolledWindow
, or -1 if not set.
Since: 3.0
getMinContentWidth
data ScrolledWindowGetMinContentWidthMethodInfo Source #
((~) * signature (m Int32), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetMinContentWidthMethodInfo a signature Source # | |
scrolledWindowGetMinContentWidth Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Int32 | Returns: the minimum content width |
Gets the minimum content width of scrolledWindow
, or -1 if not set.
Since: 3.0
getOverlayScrolling
data ScrolledWindowGetOverlayScrollingMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetOverlayScrollingMethodInfo a signature Source # | |
scrolledWindowGetOverlayScrolling Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether overlay scrolling is enabled for this scrolled window.
Since: 3.16
getPlacement
data ScrolledWindowGetPlacementMethodInfo Source #
((~) * signature (m CornerType), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetPlacementMethodInfo a signature Source # | |
scrolledWindowGetPlacement Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m CornerType | Returns: the current placement value. See also |
Gets the placement of the contents with respect to the scrollbars
for the scrolled window. See scrolledWindowSetPlacement
.
getPolicy
data ScrolledWindowGetPolicyMethodInfo Source #
((~) * signature (m (PolicyType, PolicyType)), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetPolicyMethodInfo a signature Source # | |
scrolledWindowGetPolicy Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m (PolicyType, PolicyType) |
Retrieves the current policy values for the horizontal and vertical
scrollbars. See scrolledWindowSetPolicy
.
getPropagateNaturalHeight
data ScrolledWindowGetPropagateNaturalHeightMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetPropagateNaturalHeightMethodInfo a signature Source # | |
scrolledWindowGetPropagateNaturalHeight Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Bool | Returns: whether natural height propagation is enabled. |
Reports whether the natural height of the child will be calculated and propagated through the scrolled windows requested natural height.
Since: 3.22
getPropagateNaturalWidth
data ScrolledWindowGetPropagateNaturalWidthMethodInfo Source #
((~) * signature (m Bool), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetPropagateNaturalWidthMethodInfo a signature Source # | |
scrolledWindowGetPropagateNaturalWidth Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Bool | Returns: whether natural width propagation is enabled. |
Reports whether the natural width of the child will be calculated and propagated through the scrolled windows requested natural width.
Since: 3.22
getShadowType
data ScrolledWindowGetShadowTypeMethodInfo Source #
((~) * signature (m ShadowType), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetShadowTypeMethodInfo a signature Source # | |
scrolledWindowGetShadowType Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m ShadowType | Returns: the current shadow type |
Gets the shadow type of the scrolled window. See
scrolledWindowSetShadowType
.
getVadjustment
data ScrolledWindowGetVadjustmentMethodInfo Source #
((~) * signature (m Adjustment), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetVadjustmentMethodInfo a signature Source # | |
scrolledWindowGetVadjustment Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Adjustment | Returns: the vertical |
Returns the vertical scrollbar’s adjustment, used to connect the vertical scrollbar to the child widget’s vertical scroll functionality.
getVscrollbar
data ScrolledWindowGetVscrollbarMethodInfo Source #
((~) * signature (m Widget), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowGetVscrollbarMethodInfo a signature Source # | |
scrolledWindowGetVscrollbar Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m Widget | Returns: the vertical scrollbar of the scrolled window. |
Returns the vertical scrollbar of scrolledWindow
.
Since: 2.8
new
:: (HasCallStack, MonadIO m, IsAdjustment a, IsAdjustment b) | |
=> Maybe a |
|
-> Maybe b |
|
-> m ScrolledWindow | Returns: a new scrolled window |
Creates a new scrolled window.
The two arguments are the scrolled window’s adjustments; these will be
shared with the scrollbars and the child widget to keep the bars in sync
with the child. Usually you want to pass Nothing
for the adjustments, which
will cause the scrolled window to create them for you.
setCaptureButtonPress
data ScrolledWindowSetCaptureButtonPressMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetCaptureButtonPressMethodInfo a signature Source # | |
scrolledWindowSetCaptureButtonPress Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Bool |
|
-> m () |
Changes the behaviour of scrolledWindow
with regard to the initial
event that possibly starts kinetic scrolling. When captureButtonPress
is set to True
, the event is captured by the scrolled window, and
then later replayed if it is meant to go to the child widget.
This should be enabled if any child widgets perform non-reversible
actions on Widget
::button-press-event
. If they don't, and handle
additionally handle Widget
::grab-broken-event
, it might be better
to set captureButtonPress
to False
.
This setting only has an effect if kinetic scrolling is enabled.
Since: 3.4
setHadjustment
data ScrolledWindowSetHadjustmentMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsScrolledWindow a, IsAdjustment b) => MethodInfo * ScrolledWindowSetHadjustmentMethodInfo a signature Source # | |
scrolledWindowSetHadjustment Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a, IsAdjustment b) | |
=> a |
|
-> b |
|
-> m () |
Sets the Adjustment
for the horizontal scrollbar.
setKineticScrolling
data ScrolledWindowSetKineticScrollingMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetKineticScrollingMethodInfo a signature Source # | |
scrolledWindowSetKineticScrolling Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Bool |
|
-> m () |
Turns kinetic scrolling on or off.
Kinetic scrolling only applies to devices with source
InputSourceTouchscreen
.
Since: 3.4
setMaxContentHeight
data ScrolledWindowSetMaxContentHeightMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetMaxContentHeightMethodInfo a signature Source # | |
scrolledWindowSetMaxContentHeight Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the maximum height that scrolledWindow
should keep visible. The
scrolledWindow
will grow up to this height before it starts scrolling
the content.
It is a programming error to set the maximum content height to a value
smaller than ScrolledWindow
:min-content-height
.
Since: 3.22
setMaxContentWidth
data ScrolledWindowSetMaxContentWidthMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetMaxContentWidthMethodInfo a signature Source # | |
scrolledWindowSetMaxContentWidth Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the maximum width that scrolledWindow
should keep visible. The
scrolledWindow
will grow up to this width before it starts scrolling
the content.
It is a programming error to set the maximum content width to a value
smaller than ScrolledWindow
:min-content-width
.
Since: 3.22
setMinContentHeight
data ScrolledWindowSetMinContentHeightMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetMinContentHeightMethodInfo a signature Source # | |
scrolledWindowSetMinContentHeight Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the minimum height that scrolledWindow
should keep visible.
Note that this can and (usually will) be smaller than the minimum
size of the content.
It is a programming error to set the minimum content height to a
value greater than ScrolledWindow
:max-content-height
.
Since: 3.0
setMinContentWidth
data ScrolledWindowSetMinContentWidthMethodInfo Source #
((~) * signature (Int32 -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetMinContentWidthMethodInfo a signature Source # | |
scrolledWindowSetMinContentWidth Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Int32 |
|
-> m () |
Sets the minimum width that scrolledWindow
should keep visible.
Note that this can and (usually will) be smaller than the minimum
size of the content.
It is a programming error to set the minimum content width to a
value greater than ScrolledWindow
:max-content-width
.
Since: 3.0
setOverlayScrolling
data ScrolledWindowSetOverlayScrollingMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetOverlayScrollingMethodInfo a signature Source # | |
scrolledWindowSetOverlayScrolling Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Bool |
|
-> m () |
Enables or disables overlay scrolling for this scrolled window.
Since: 3.16
setPlacement
data ScrolledWindowSetPlacementMethodInfo Source #
((~) * signature (CornerType -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetPlacementMethodInfo a signature Source # | |
scrolledWindowSetPlacement Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> CornerType |
|
-> m () |
Sets the placement of the contents with respect to the scrollbars for the scrolled window.
The default is CornerTypeTopLeft
, meaning the child is
in the top left, with the scrollbars underneath and to the right.
Other values in CornerType
are CornerTypeTopRight
,
CornerTypeBottomLeft
, and CornerTypeBottomRight
.
See also scrolledWindowGetPlacement
and
scrolledWindowUnsetPlacement
.
setPolicy
data ScrolledWindowSetPolicyMethodInfo Source #
((~) * signature (PolicyType -> PolicyType -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetPolicyMethodInfo a signature Source # | |
scrolledWindowSetPolicy Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> PolicyType |
|
-> PolicyType |
|
-> m () |
Sets the scrollbar policy for the horizontal and vertical scrollbars.
The policy determines when the scrollbar should appear; it is a value
from the PolicyType
enumeration. If PolicyTypeAlways
, the
scrollbar is always present; if PolicyTypeNever
, the scrollbar is
never present; if PolicyTypeAutomatic
, the scrollbar is present only
if needed (that is, if the slider part of the bar would be smaller
than the trough — the display is larger than the page size).
setPropagateNaturalHeight
data ScrolledWindowSetPropagateNaturalHeightMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetPropagateNaturalHeightMethodInfo a signature Source # | |
scrolledWindowSetPropagateNaturalHeight Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether the natural height of the child should be calculated and propagated through the scrolled windows requested natural height.
Since: 3.22
setPropagateNaturalWidth
data ScrolledWindowSetPropagateNaturalWidthMethodInfo Source #
((~) * signature (Bool -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetPropagateNaturalWidthMethodInfo a signature Source # | |
scrolledWindowSetPropagateNaturalWidth Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> Bool |
|
-> m () |
Sets whether the natural width of the child should be calculated and propagated through the scrolled windows requested natural width.
Since: 3.22
setShadowType
data ScrolledWindowSetShadowTypeMethodInfo Source #
((~) * signature (ShadowType -> m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowSetShadowTypeMethodInfo a signature Source # | |
scrolledWindowSetShadowType Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> ShadowType |
|
-> m () |
Changes the type of shadow drawn around the contents of
scrolledWindow
.
setVadjustment
data ScrolledWindowSetVadjustmentMethodInfo Source #
((~) * signature (b -> m ()), MonadIO m, IsScrolledWindow a, IsAdjustment b) => MethodInfo * ScrolledWindowSetVadjustmentMethodInfo a signature Source # | |
scrolledWindowSetVadjustment Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a, IsAdjustment b) | |
=> a |
|
-> b |
|
-> m () |
Sets the Adjustment
for the vertical scrollbar.
unsetPlacement
data ScrolledWindowUnsetPlacementMethodInfo Source #
((~) * signature (m ()), MonadIO m, IsScrolledWindow a) => MethodInfo * ScrolledWindowUnsetPlacementMethodInfo a signature Source # | |
scrolledWindowUnsetPlacement Source #
:: (HasCallStack, MonadIO m, IsScrolledWindow a) | |
=> a |
|
-> m () |
Unsets the placement of the contents with respect to the scrollbars
for the scrolled window. If no window placement is set for a scrolled
window, it defaults to CornerTypeTopLeft
.
See also scrolledWindowSetPlacement
and
scrolledWindowGetPlacement
.
Since: 2.10
Properties
hadjustment
data ScrolledWindowHadjustmentPropertyInfo Source #
constructScrolledWindowHadjustment :: (IsScrolledWindow o, IsAdjustment a) => a -> IO (GValueConstruct o) Source #
getScrolledWindowHadjustment :: (MonadIO m, IsScrolledWindow o) => o -> m Adjustment Source #
scrolledWindowHadjustment :: AttrLabelProxy "hadjustment" Source #
setScrolledWindowHadjustment :: (MonadIO m, IsScrolledWindow o, IsAdjustment a) => o -> a -> m () Source #
hscrollbarPolicy
data ScrolledWindowHscrollbarPolicyPropertyInfo Source #
constructScrolledWindowHscrollbarPolicy :: IsScrolledWindow o => PolicyType -> IO (GValueConstruct o) Source #
getScrolledWindowHscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> m PolicyType Source #
scrolledWindowHscrollbarPolicy :: AttrLabelProxy "hscrollbarPolicy" Source #
setScrolledWindowHscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> PolicyType -> m () Source #
kineticScrolling
data ScrolledWindowKineticScrollingPropertyInfo Source #
constructScrolledWindowKineticScrolling :: IsScrolledWindow o => Bool -> IO (GValueConstruct o) Source #
getScrolledWindowKineticScrolling :: (MonadIO m, IsScrolledWindow o) => o -> m Bool Source #
scrolledWindowKineticScrolling :: AttrLabelProxy "kineticScrolling" Source #
setScrolledWindowKineticScrolling :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m () Source #
maxContentHeight
data ScrolledWindowMaxContentHeightPropertyInfo Source #
constructScrolledWindowMaxContentHeight :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o) Source #
getScrolledWindowMaxContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> m Int32 Source #
scrolledWindowMaxContentHeight :: AttrLabelProxy "maxContentHeight" Source #
setScrolledWindowMaxContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m () Source #
maxContentWidth
data ScrolledWindowMaxContentWidthPropertyInfo Source #
constructScrolledWindowMaxContentWidth :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o) Source #
getScrolledWindowMaxContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> m Int32 Source #
scrolledWindowMaxContentWidth :: AttrLabelProxy "maxContentWidth" Source #
setScrolledWindowMaxContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m () Source #
minContentHeight
data ScrolledWindowMinContentHeightPropertyInfo Source #
constructScrolledWindowMinContentHeight :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o) Source #
getScrolledWindowMinContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> m Int32 Source #
scrolledWindowMinContentHeight :: AttrLabelProxy "minContentHeight" Source #
setScrolledWindowMinContentHeight :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m () Source #
minContentWidth
data ScrolledWindowMinContentWidthPropertyInfo Source #
constructScrolledWindowMinContentWidth :: IsScrolledWindow o => Int32 -> IO (GValueConstruct o) Source #
getScrolledWindowMinContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> m Int32 Source #
scrolledWindowMinContentWidth :: AttrLabelProxy "minContentWidth" Source #
setScrolledWindowMinContentWidth :: (MonadIO m, IsScrolledWindow o) => o -> Int32 -> m () Source #
overlayScrolling
data ScrolledWindowOverlayScrollingPropertyInfo Source #
constructScrolledWindowOverlayScrolling :: IsScrolledWindow o => Bool -> IO (GValueConstruct o) Source #
getScrolledWindowOverlayScrolling :: (MonadIO m, IsScrolledWindow o) => o -> m Bool Source #
scrolledWindowOverlayScrolling :: AttrLabelProxy "overlayScrolling" Source #
setScrolledWindowOverlayScrolling :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m () Source #
propagateNaturalHeight
data ScrolledWindowPropagateNaturalHeightPropertyInfo Source #
constructScrolledWindowPropagateNaturalHeight :: IsScrolledWindow o => Bool -> IO (GValueConstruct o) Source #
getScrolledWindowPropagateNaturalHeight :: (MonadIO m, IsScrolledWindow o) => o -> m Bool Source #
scrolledWindowPropagateNaturalHeight :: AttrLabelProxy "propagateNaturalHeight" Source #
setScrolledWindowPropagateNaturalHeight :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m () Source #
propagateNaturalWidth
data ScrolledWindowPropagateNaturalWidthPropertyInfo Source #
constructScrolledWindowPropagateNaturalWidth :: IsScrolledWindow o => Bool -> IO (GValueConstruct o) Source #
getScrolledWindowPropagateNaturalWidth :: (MonadIO m, IsScrolledWindow o) => o -> m Bool Source #
scrolledWindowPropagateNaturalWidth :: AttrLabelProxy "propagateNaturalWidth" Source #
setScrolledWindowPropagateNaturalWidth :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m () Source #
shadowType
data ScrolledWindowShadowTypePropertyInfo Source #
constructScrolledWindowShadowType :: IsScrolledWindow o => ShadowType -> IO (GValueConstruct o) Source #
getScrolledWindowShadowType :: (MonadIO m, IsScrolledWindow o) => o -> m ShadowType Source #
scrolledWindowShadowType :: AttrLabelProxy "shadowType" Source #
setScrolledWindowShadowType :: (MonadIO m, IsScrolledWindow o) => o -> ShadowType -> m () Source #
vadjustment
data ScrolledWindowVadjustmentPropertyInfo Source #
constructScrolledWindowVadjustment :: (IsScrolledWindow o, IsAdjustment a) => a -> IO (GValueConstruct o) Source #
getScrolledWindowVadjustment :: (MonadIO m, IsScrolledWindow o) => o -> m Adjustment Source #
scrolledWindowVadjustment :: AttrLabelProxy "vadjustment" Source #
setScrolledWindowVadjustment :: (MonadIO m, IsScrolledWindow o, IsAdjustment a) => o -> a -> m () Source #
vscrollbarPolicy
data ScrolledWindowVscrollbarPolicyPropertyInfo Source #
constructScrolledWindowVscrollbarPolicy :: IsScrolledWindow o => PolicyType -> IO (GValueConstruct o) Source #
getScrolledWindowVscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> m PolicyType Source #
scrolledWindowVscrollbarPolicy :: AttrLabelProxy "vscrollbarPolicy" Source #
setScrolledWindowVscrollbarPolicy :: (MonadIO m, IsScrolledWindow o) => o -> PolicyType -> m () Source #
windowPlacement
data ScrolledWindowWindowPlacementPropertyInfo Source #
constructScrolledWindowWindowPlacement :: IsScrolledWindow o => CornerType -> IO (GValueConstruct o) Source #
getScrolledWindowWindowPlacement :: (MonadIO m, IsScrolledWindow o) => o -> m CornerType Source #
scrolledWindowWindowPlacement :: AttrLabelProxy "windowPlacement" Source #
setScrolledWindowWindowPlacement :: (MonadIO m, IsScrolledWindow o) => o -> CornerType -> m () Source #
windowPlacementSet
data ScrolledWindowWindowPlacementSetPropertyInfo Source #
constructScrolledWindowWindowPlacementSet :: IsScrolledWindow o => Bool -> IO (GValueConstruct o) Source #
getScrolledWindowWindowPlacementSet :: (MonadIO m, IsScrolledWindow o) => o -> m Bool Source #
scrolledWindowWindowPlacementSet :: AttrLabelProxy "windowPlacementSet" Source #
setScrolledWindowWindowPlacementSet :: (MonadIO m, IsScrolledWindow o) => o -> Bool -> m () Source #
Signals
edgeOvershot
type ScrolledWindowEdgeOvershotCallback = PositionType -> IO () Source #
afterScrolledWindowEdgeOvershot :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeOvershotCallback -> m SignalHandlerId Source #
mk_ScrolledWindowEdgeOvershotCallback :: C_ScrolledWindowEdgeOvershotCallback -> IO (FunPtr C_ScrolledWindowEdgeOvershotCallback) Source #
onScrolledWindowEdgeOvershot :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeOvershotCallback -> m SignalHandlerId Source #
wrap_ScrolledWindowEdgeOvershotCallback :: ScrolledWindowEdgeOvershotCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source #
edgeReached
type ScrolledWindowEdgeReachedCallback = PositionType -> IO () Source #
afterScrolledWindowEdgeReached :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeReachedCallback -> m SignalHandlerId Source #
mk_ScrolledWindowEdgeReachedCallback :: C_ScrolledWindowEdgeReachedCallback -> IO (FunPtr C_ScrolledWindowEdgeReachedCallback) Source #
onScrolledWindowEdgeReached :: (GObject a, MonadIO m) => a -> ScrolledWindowEdgeReachedCallback -> m SignalHandlerId Source #
wrap_ScrolledWindowEdgeReachedCallback :: ScrolledWindowEdgeReachedCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source #
moveFocusOut
type ScrolledWindowMoveFocusOutCallback = DirectionType -> IO () Source #
afterScrolledWindowMoveFocusOut :: (GObject a, MonadIO m) => a -> ScrolledWindowMoveFocusOutCallback -> m SignalHandlerId Source #
mk_ScrolledWindowMoveFocusOutCallback :: C_ScrolledWindowMoveFocusOutCallback -> IO (FunPtr C_ScrolledWindowMoveFocusOutCallback) Source #
onScrolledWindowMoveFocusOut :: (GObject a, MonadIO m) => a -> ScrolledWindowMoveFocusOutCallback -> m SignalHandlerId Source #
wrap_ScrolledWindowMoveFocusOutCallback :: ScrolledWindowMoveFocusOutCallback -> Ptr () -> CUInt -> Ptr () -> IO () Source #
scrollChild
type ScrolledWindowScrollChildCallback = ScrollType -> Bool -> IO Bool Source #
afterScrolledWindowScrollChild :: (GObject a, MonadIO m) => a -> ScrolledWindowScrollChildCallback -> m SignalHandlerId Source #
mk_ScrolledWindowScrollChildCallback :: C_ScrolledWindowScrollChildCallback -> IO (FunPtr C_ScrolledWindowScrollChildCallback) Source #
onScrolledWindowScrollChild :: (GObject a, MonadIO m) => a -> ScrolledWindowScrollChildCallback -> m SignalHandlerId Source #
wrap_ScrolledWindowScrollChildCallback :: ScrolledWindowScrollChildCallback -> Ptr () -> CUInt -> CInt -> Ptr () -> IO CInt Source #