PHP-GTK
Saturday, October 25, 2014 
download | documentation | applications | faq | changelog | resources 


search for in the  


previousGtkScrolledWindow::set_placement
GtkScrolledWindow::set_shadow_typenext

Last updated: Sun, 12 May 2013
view this page in English

GtkScrolledWindow::set_policy

void set_policy(GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy);

Sets the scrollbar policy for the horizontal and vertical scrollbars.

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).

See also: get_policy()


User Contributed Notes
gtk.gtkscrolledwindow.method.set_policy.php
add a note about notes
There are no user contributed notes for this page.


previousGtkScrolledWindow::set_placement
GtkScrolledWindow::set_shadow_typenext

Last updated: Sun, 12 May 2013
view this page in English


credits 

PHP  Copyright © 2001-2014 The PHP Group
 All rights reserved.
Last updated: Sun May 12 20:51:00 2013 CEST