[gtk+] Document text handle styling
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Document text handle styling
- Date: Tue, 10 Nov 2015 04:50:06 +0000 (UTC)
commit 0a136004c935f7dbce36bbfae643dadf17b5fe52
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Nov 9 23:45:29 2015 -0500
Document text handle styling
Since GtkTextHandle is private, document text handle style
classes in the GtkEntry and GtkTextView documentation.
gtk/gtkentry.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index e5d3886..fba26f8 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -132,6 +132,12 @@
*
* When the entry shows progress, it adds a subnode with the name progress.
* The node has the style class .pulse when the shown progress is pulsing.
+ *
+ * When touch is used and touch selection handles are shown, they are using
+ * CSS nodes with name cursor-handle. They get the .top or .bottom style class
+ * depending on where they are shown in relation to the selection. If there is
+ * just a single handle for the text cursor, it gets the style class
+ * .insertion-cursor.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]