Carlos Garnacho
7647deb417
GtkStyleSet: Make property registration take const GValues.
2010-12-04 15:37:01 +01:00
Carlos Garnacho
fdcda4b356
GtkStyleContext: allow late set_path() calls.
...
Now the properties will only be regenerated whenever there's a GtkWidgetPath
to query about.
2010-12-04 15:37:00 +01:00
Carlos Garnacho
bdadcb568c
GtkStyleContext: Fix compiler warning.
2010-12-04 15:37:00 +01:00
Carlos Garnacho
f984c39e93
GtkStyleContext: Fix typo.
2010-12-04 15:37:00 +01:00
Carlos Garnacho
f8c74ae54b
GtkStyleContext: Add gtk_render_handle().
2010-12-04 15:36:59 +01:00
Carlos Garnacho
9e5d9ff28d
GtkThemingEngine: Add vmethod to render a handle area.
2010-12-04 15:36:59 +01:00
Carlos Garnacho
160821042c
GtkStyleContext: Add gtk_render_extension().
2010-12-04 15:36:59 +01:00
Carlos Garnacho
aa1d492fe9
GtkThemingEngine: Add vmethod to render an extension.
2010-12-04 15:36:58 +01:00
Carlos Garnacho
88492a50d6
GtkStyleContext: Add gtk_render_frame_gap().
2010-12-04 15:36:58 +01:00
Carlos Garnacho
af1edc3d88
GtkThemingEngine: Add vmethod to render frames with a gap.
2010-12-04 15:36:58 +01:00
Carlos Garnacho
6a1b54f8bf
GtkStyleContext: Add gtk_render_slider().
2010-12-04 15:36:57 +01:00
Carlos Garnacho
2ebdf80adc
GtkThemingEngine: Add vmethod to render sliders.
2010-12-04 15:36:57 +01:00
Carlos Garnacho
86727adc4d
GtkStyleContext: Add gtk_render_line().
2010-12-04 15:36:57 +01:00
Carlos Garnacho
b8f6617d99
GtkThemingEngine: Add vmethod to render lines.
2010-12-04 15:36:56 +01:00
Carlos Garnacho
f80fbbd829
GtkStyleContext: Add gtk_render_layout().
2010-12-04 15:36:56 +01:00
Carlos Garnacho
92994a0129
GtkThemingEngine: Add vmethod to render layouts.
2010-12-04 15:36:56 +01:00
Carlos Garnacho
0486f5bbc0
GtkStyleContext: Add gtk_render_focus().
2010-12-04 15:36:56 +01:00
Carlos Garnacho
8439537e2f
GtkThemingEngine: Add vmethod to render focus indicator.
2010-12-04 15:36:55 +01:00
Carlos Garnacho
9c3b079c1c
GtkStyleContext: Add gtk_render_expander().
2010-12-04 15:36:55 +01:00
Carlos Garnacho
19fdaabf4c
GtkThemingEngine: Add vmethod to render expanders.
2010-12-04 15:36:55 +01:00
Carlos Garnacho
b4c8eba480
GtkStyleContext: Add gtk_render_frame().
2010-12-04 15:36:55 +01:00
Carlos Garnacho
48990bc71c
GtkThemingEngine: Add vmethod to render frames.
2010-12-04 15:36:54 +01:00
Carlos Garnacho
25488633ec
GtkStyleContext: Add gtk_render_background().
2010-12-04 15:36:54 +01:00
Carlos Garnacho
13812de971
GtkThemingEngine: Add vmethod to render backgrounds.
2010-12-04 15:36:54 +01:00
Carlos Garnacho
01a8e06842
GtkStyleContext: Add gtk_render_arrow().
2010-12-04 15:36:54 +01:00
Carlos Garnacho
b7ca7d19ee
GtkThemingEngine: Add vmethod to render arrows.
2010-12-04 15:36:54 +01:00
Carlos Garnacho
1c15b140a9
GtkStyleContext: Add gtk_render_option().
2010-12-04 15:36:53 +01:00
Carlos Garnacho
263f6de0e5
GtkThemingEngine: Add vmethod to render radio buttons.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
401625b8b3
GtkStyleContext: Add gtk_render_check().
2010-12-04 15:36:53 +01:00
Carlos Garnacho
acf4306bcd
GtkThemingEngine: Add vmethod to render checkboxes.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
bf7a9914dd
GtkThemingEngine: Add accessors to style classes.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
fe4a6cea73
GtkWidget: Add widget path to style context.
2010-12-04 15:36:53 +01:00
Carlos Garnacho
1d2aa61407
GtkStyleContext: Add child style classes.
...
Child style classes are like style classes, but with additional positional
information. This would be usually set by the parent container.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
9a76d1a332
GtkStyleContext: Add style classes.
...
Style classes are the replacement of detail strings.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
bd3b97d82b
GtkStyleContext: Relate to a GtkThemingEngine.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
0171c76871
GtkThemingEngine: Add module loading capabilities.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
57be029b15
Add GtkThemingEngine.
...
GtkThemingEngine will be the theming engines base class, with default
implementations for all paint functions, and readonly access to the
related GtkStyleContext data.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
b7e6ae3983
GtkStyleContext: Add gtk_style_context_[gs]et_path()
...
This relates a GtkStyleContext with a widget path, so
all style querying would happen based on it.
2010-12-04 15:36:52 +01:00
Carlos Garnacho
9794b6adf9
GtkWidget: Add gtk_widget_get_path().
...
This function composes and returns a GtkWidgetPath representing
the passed widget.
2010-12-04 15:36:52 +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
Carlos Garnacho
835cc7049c
GtkStyleContext: Add getters and setter for state.
2010-12-04 15:36:51 +01:00
Carlos Garnacho
3f93c714ae
GtkWidget: Add gtk_widget_get_style_context().
...
There will be one GtkStyleContext per widget, at the moment its
lifetime is tied to the widget's, but it could be narrowed down
to GTK_WIDGET_REALIZED.
2010-12-04 15:36:51 +01:00
Carlos Garnacho
2e96770e0b
Add GtkStateFlags.
...
It basically represents GtkStateType as a flag set.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
8a7e035ac7
GtkStateType: Add inconsistent and focused state.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
b82355c76e
GtkStyleContext: Fix typo.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
28b7782d78
GtkStyleSet: Add method to register border property.
2010-12-04 15:36:50 +01:00
Carlos Garnacho
16484f8459
GtkStyleSet: Add method to register font properties.
2010-12-04 15:36:49 +01:00
Carlos Garnacho
1a3d964615
GtkStyleContext: Add methods to query composed style.
2010-12-04 15:36:49 +01:00
Carlos Garnacho
2da033b18c
GtkStyleSet: Return default value if value is not set.
2010-12-04 15:36:49 +01:00
Carlos Garnacho
9fdcbd7a84
GtkStyleSet: Add valist and varargs getters/setters.
2010-12-04 15:36:48 +01:00