mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 05:31:07 +00:00
scrolledwindow: update GtkPolicyType docs
The policy is not determining the visibility of the scrollbars anymore, but the how the size is to be computed to achive the selected visibility.
This commit is contained in:
parent
0f4751c08e
commit
406974fdb1
@ -120,12 +120,15 @@ typedef enum
|
||||
|
||||
/**
|
||||
* GtkPolicyType:
|
||||
* @GTK_POLICY_ALWAYS: The scrollbar is always visible.
|
||||
* @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary. For example,
|
||||
* when all of a #GtkTreeView can not be seen.
|
||||
* @GTK_POLICY_NEVER: The scrollbar will never appear.
|
||||
* @GTK_POLICY_ALWAYS: The scrollbar is always visible. The view size is
|
||||
* independent of the content.
|
||||
* @GTK_POLICY_AUTOMATIC: The scrollbar will appear and disappear as necessary.
|
||||
* For example, when all of a #GtkTreeView can not be seen.
|
||||
* @GTK_POLICY_NEVER: The scrollbar should never appear. In this mode the
|
||||
* content determines the size.
|
||||
*
|
||||
* Determines when a scroll bar will be visible.
|
||||
* Determines how the size should be computed to achieve the one of the
|
||||
* visibility mode for the scrollbars.
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user