[gtk+] scrolledwindow: update GtkPolicyType docs
- From: Stefan Kost <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] scrolledwindow: update GtkPolicyType docs
- Date: Sat, 14 Jun 2014 06:23:31 +0000 (UTC)
commit 406974fdb16abefe6f25f390a7b80fcfbc43c928
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Jun 13 19:04:39 2014 +0200
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.
gtk/gtkscrolledwindow.h | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h
index 9ac60f8..d666f3a 100644
--- a/gtk/gtkscrolledwindow.h
+++ b/gtk/gtkscrolledwindow.h
@@ -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
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]