Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkScrolledWindowSetPolicy

gtkScrolledWindowSetPolicy


Description

Sets the scrollbar policy for the horizontal and vertical scrollbars.

Usage

gtkScrolledWindowSetPolicy(object, hscrollbar.policy, vscrollbar.policy)

Arguments

object

a GtkScrolledWindow

hscrollbar.policy

policy for horizontal bar

vscrollbar.policy

policy for vertical bar

Details

The policy determines when the scrollbar should appear; it is a value from the GtkPolicyType enumeration. If GTK_POLICY_ALWAYS, the scrollbar is always present; if GTK_POLICY_NEVER, the scrollbar is never present; if GTK_POLICY_AUTOMATIC, 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).

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.