gobject.GObject+-- gtk.Object +-- gtk.Widget +-- gtk.Container +-- gtk.Bin +-- gtk.Viewport
widget provides a view into a portion of a larger widget. A
usually used to provide adjustment capability for a widget to be used in a
For example, a label widget doesn't have any adjustments (does not support
the "set-scroll-adjustments" signal) and would need a viewport when added to
to make the scrollbars functional. See the
method for more information.
|a horizontal adjustment.|
|a vertical adjustment.|
|a new |
Creates a new
the horizontal and vertical adjustments specified by
None a new
adjustment will be created.
|the horizontal adjustment|
get_hadjustment() method returns
the value of the "hadjustment" property that contains the horizontal
of the viewport.
|the vertical adjustment|
get_vadjustment() method returns
the value of the "vadjustment" property that contains the vertical
of the viewport.
set_hadjustment() method sets the
"hadjustment" property to the value of
that becomes the horizontal adjustment of the viewport.
set_vadjustment() method sets the
"vadjustment" property to the value of
that becomes the vertical adjustment of the viewport.
|the new shadow type.|
set_shadow_type() method sets the
"shadow-type" property to the value of
type must be one of:
|the viewport that received the signal|
|the horizontal |
|the vertical |
|the first user parameter (if any) specified
with the |
|additional user parameters (if any)|
The "set-scroll-adjustments" signal is emitted when one or both
of the horizontal and vertical
objects is changed.
© manpagez.com 2000-2017 Individual documents may contain additional copyright information.