gtk-css-engine r172 - trunk



Author: robsta
Date: Fri Oct 24 13:09:22 2008
New Revision: 172
URL: http://svn.gnome.org/viewvc/gtk-css-engine?rev=172&view=rev

Log:
* TODO: initial list of widget roles.

Modified:
   trunk/ChangeLog
   trunk/TODO

Modified: trunk/TODO
==============================================================================
--- trunk/TODO	(original)
+++ trunk/TODO	Fri Oct 24 13:09:22 2008
@@ -21,7 +21,19 @@
 * Support per-object style attributes in libccss (and maybe also the engine, but how?).
   The node-class interface would have to be extended to support a `get_style()`
   method.
-* Subcontrol selectors like QT? (requires patching libcroco). We'll probably go with widget roles, c.f. http://mail.gnome.org/archives/gtk-devel-list/2008-October/msg00107.html
+* Subcontrol selectors like QT? (requires patching libcroco). We'll probably go with widget roles, c.f. http://mail.gnome.org/archives/gtk-devel-list/2008-October/msg00107.html . Here's an initial list, orientation would have to be queried otherwise (e.g. "GtkVScrollbar > *.gtk-forward-stepper" or ".gtk-forward-stepper[orientation=vertical]"):
+    * .gtk-check-mark: GtkCheckButton, GtkCheckMenuItem, GtkCellRendererToggle
+    * .gtk-radio-knob: GtkRadioButton, GtkRadioMenuItem, GtkCellRendererToggle
+    * .gtk-dropdown-button: GtkComboBox, GtkComboBoxEntry, GtkMenuToolButton, GtkOptionMenu
+    * .gtk-expander: GtkExpander, GtkTreeView
+    * .gtk-handle: GtkHandleBox, GtkStatusbar, GtkPaned
+    * .gtk-tab: GtkNotebook
+    * .gtk-header: GtkTreeView, GtkCalendar
+    * .gtk-forward-stepper, .gtk-backward-stepper: GtkSpinButton, GtkHScrollbar, GtkVScrollbar
+    * .gtk-secondary-forward-stepper, .gtk-secondary-backward-stepper: GtkHScrollbar, GtkVScrollbar
+    * .gtk-progress-indicator: GtkProgressBar
+  Libccss' `get_class()` could be extended to return `char**` or `GSList<char *>` so we could still support app-defined classes besides the built in ones. Or we do it via an optional `get_classes()`.
+
 
 #### Done:
 * Support system gtk system colors, e.g. `color: gtk-color(bg_color);`.



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