The GtkScrolledWindow class is a container for classes that require vertical and horizontal scroll bars.
The class heirarchy
Object +---GtkWidget +---GtkContainer +---GtkScrolledWindow |
The methods for the GtkRadioButton class are documented below.
This method creates and initializes the widget. This window contains both a horizontal and a vertical scroll bar.
This is a example of how to create a new scrolled window widget.
myscrolledwin = .GtkScrolledWindow~new() |
None.
The new GtkScrolledWindow object.
This method sets the policy for the horizontal and vertical scrollbars.
This is a example of how to set the policy.
hpolicy = 'GTK_POLICY_NEVER' vpolicy = 'GTK_POLICY_ALWAYS' myscrolledwin~setpolicy(hpolicy, vpolicy) |
Sets the policy.
The scrollbar policy must be one of the following strings.
GTK_POLICY_ALWAYS (this is the default)