[gtk+] text view: Expand CSS node docs



commit 07eda5920f938b65f2a089f4f6396d7003049804
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jan 18 10:51:54 2016 -0500

    text view: Expand CSS node docs
    
    Mention the selection node, and the context menu.

 gtk/gtktextview.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index c5c45fe..77aa9bd 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -78,14 +78,21 @@
  * ├── border.top
  * ├── border.left
  * ├── text
+ * │   ╰── [selection]
  * ├── border.right
- * ╰── border.bottom
+ * ├── border.bottom
+ * ╰── [window.popup]
  * ]|
  *
  * GtkTextView has a main css node with name textview and style class .view,
  * and subnodes for each of the border windows, and the main text area,
  * with names border and text, respectively. The border nodes each get
  * one of the style classes .left, .right, .top or .bottom.
+ *
+ * A node representing the selection will appear below the text node.
+ *
+ * If a context menu is opened, the window node will appear as a subnode
+ * of the main node.
  */
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]