[gtk+] entry: Add css node documentation
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] entry: Add css node documentation
- Date: Fri, 23 Oct 2015 20:23:41 +0000 (UTC)
commit 431089f7698c2788820f33639e103ddacb2b8b6c
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 23 16:22:25 2015 -0400
entry: Add css node documentation
List the css names and the typical style classes that can be
expected to occur with entries.
gtk/gtkentry.c | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index d56f476..75e0131 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -113,6 +113,18 @@
* able to use a mouse or other pointing device. It is therefore recommended
* that any such functionality should also be available by other means, e.g.
* via the context menu of the entry.
+ *
+ * # CSS nodes
+ *
+ * GtkEntry has a main node with the name entry. Depending on the properties
+ * of the entry, the style classes .read-only and .flat may appear. The style
+ * classes .warning and .error may also be used with entries.
+ *
+ * When the entry shows icons, it adds subnodes with the name image and the
+ * style class .left or .right, depending on where the icon appears.
+ *
+ * When the entry shows progress, it adds a subnode with the name progressbar.
+ * The node has the style class .pulse when the shown progress is pulsing.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]