An adapter which makes widgets scrollable
Derives from
<gtk-bin>
.This class defines the following slots:
hadjustment
- The GtkAdjustment that determines the values of the horizontal position for this viewport
vadjustment
- The GtkAdjustment that determines the values of the vertical position for this viewport
shadow-type
- Determines how the shadowed box around the viewport is drawn
<gtk-adjustment>
) (vadjustment <gtk-adjustment>
) ⇒ (ret <gtk-widget>
)Creates a new
<gtk-viewport>
with the given adjustments.
- hadjustment
- horizontal adjustment.
- vadjustment
- vertical adjustment.
- ret
- a new
<gtk-viewport>
.
<gtk-viewport>
) ⇒ (ret <gtk-adjustment>
)Returns the horizontal adjustment of the viewport.
- viewport
- a
<gtk-viewport>
.- ret
- the horizontal adjustment of viewport.
<gtk-viewport>
) ⇒ (ret <gtk-adjustment>
)Returns the vertical adjustment of the viewport.
- viewport
- a
<gtk-viewport>
.- ret
- the vertical adjustment of viewport.
<gtk-viewport>
) (adjustment <gtk-adjustment>
)Sets the horizontal adjustment of the viewport.
- viewport
- a
<gtk-viewport>
.- adjustment
- a
<gtk-adjustment>
.
<gtk-viewport>
) (adjustment <gtk-adjustment>
)Sets the vertical adjustment of the viewport.
- viewport
- a
<gtk-viewport>
.- adjustment
- a
<gtk-adjustment>
.