Widget.setScrollAdjustments

For widgets that support scrolling, sets the scroll adjustments and returns TRUE. For widgets that don't support scrolling, does nothing and returns FALSE. Widgets that don't support scrolling can be scrolled by placing them in a GtkViewport, which does support scrolling.

class Widget
int
setScrollAdjustments

Parameters

hadjustment Adjustment

an adjustment for horizontal scrolling, or NULL. [allow-none]

vadjustment Adjustment

an adjustment for vertical scrolling, or NULL. [allow-none]

Return Value

Type: int

TRUE if the widget supports scrolling

Meta