Murray Cumming
d23fb64d97
Fix a typo to fix the build.
2010-12-06 16:01:55 +01:00
Matthias Clasen
5f75ffc974
Add gtk_widget_path_get_type to the headers
...
Bug 636591
2010-12-06 09:50:01 -05:00
Carlos Garnacho
47add6c7c3
Block direct #including in style headers
2010-12-04 15:39:55 +01:00
Carlos Garnacho
6d1cf76822
GtkWidgetPath: Make iter API deal with gints.
...
now gtk_widget_path_iter_* takes gints instead of guints, and also accept
numbers == -1 or > path_length for the path head.
2010-12-04 15:39:18 +01:00
Carlos Garnacho
5f88997297
GtkWidgetPath: Make gtk_widget_path_prepend_type() return nothing.
...
It's senseless to always return 0
2010-12-04 15:39:18 +01:00
Carlos Garnacho
a79626b7fb
Add theming docs
...
Both API and file format is documented, there's still missing
a migration doc though.
2010-12-04 15:38:21 +01:00
Carlos Garnacho
88b78953b6
GtkContainer: Add method to get the GtkWidgetPath for a child.
...
This is now used throughout in order to have the full path for a given widget,
including intermediate named regions, the default implementation just returns
the GtkContainer's path copy, no intermediate regions between.
2010-12-04 15:38:19 +01:00
Carlos Garnacho
8a1b6e8224
GtkWidgetPath: Add methods to include class info in paths.
2010-12-04 15:37:36 +01:00
Carlos Garnacho
a3637ec60d
s/child class/region/ everywhere.
...
"Child class" is an invented term anyway, and it conceptually defines
identifiable regions in widgets.
2010-12-04 15:37:35 +01:00
Carlos Garnacho
56e4ffabea
Compare widget names as GQuarks in style matching.
2010-12-04 15:37:34 +01:00
Carlos Garnacho
09d8592b5b
GtkWidgetPath: Make API more consistent.
2010-12-04 15:37:34 +01:00
Carlos Garnacho
ad08330fae
Compare region names as quarks in style matching.
2010-12-04 15:37:34 +01:00
Sven Herzberg
27bc581dca
GtkWidgetPath: properly use const
...
* gtk/gtkwidgetpath.c,
* gtk/gtkwidgetpath.h: use const where possible
2010-12-04 15:37:32 +01:00
Carlos Garnacho
37335fbb6f
GtkWidgetPath: Add methods to check topmost widget type.
2010-12-04 15:37:12 +01:00
Carlos Garnacho
11c874619b
GtkWidgetPath: Add API for named regions.
2010-12-04 15:37:07 +01:00
Carlos Garnacho
71949e05c4
Refurbish GtkWidgetPath API.
...
The foreach() function is now gone, there's now API to get
GTypes and names from the position in the path.
2010-12-04 15:37:07 +01:00
Carlos Garnacho
61360dfddf
Add GtkWidgetPath.
...
GtkWidgetPath represents a widget path. It will mainly used by theming
engines to know detail about the widget hierarchy without actually
accessing the widget.
2010-12-04 15:36:51 +01:00