bd3b97d82b
GtkStyleContext: Relate to a GtkThemingEngine.
2010-12-04 15:36:52 +01:00
0171c76871
GtkThemingEngine: Add module loading capabilities.
2010-12-04 15:36:52 +01:00
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
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
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
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
835cc7049c
GtkStyleContext: Add getters and setter for state.
2010-12-04 15:36:51 +01:00
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
2e96770e0b
Add GtkStateFlags.
...
It basically represents GtkStateType as a flag set.
2010-12-04 15:36:50 +01:00
8a7e035ac7
GtkStateType: Add inconsistent and focused state.
2010-12-04 15:36:50 +01:00
b82355c76e
GtkStyleContext: Fix typo.
2010-12-04 15:36:50 +01:00
28b7782d78
GtkStyleSet: Add method to register border property.
2010-12-04 15:36:50 +01:00
16484f8459
GtkStyleSet: Add method to register font properties.
2010-12-04 15:36:49 +01:00
1a3d964615
GtkStyleContext: Add methods to query composed style.
2010-12-04 15:36:49 +01:00
2da033b18c
GtkStyleSet: Return default value if value is not set.
2010-12-04 15:36:49 +01:00
9fdcbd7a84
GtkStyleSet: Add valist and varargs getters/setters.
2010-12-04 15:36:48 +01:00
2bf7483e74
GtkStyleSet: Use property GQuark as store keys.
2010-12-04 15:36:48 +01:00
4c60de4783
GtkStyleSet: Add style property registration funcs.
...
Also some properties have been added as a default set.
2010-12-04 15:36:48 +01:00
2b425d89c8
Add GtkStyleContext.
...
GtkStyleContext will conglomerate the information of several
GtkStyleProviders for widgets and theme engines to query it.
2010-12-04 15:36:48 +01:00
530ae15f96
gtkstyleset.h: Add declaration for gtk_style_set_merge().
2010-12-04 15:36:48 +01:00
f969470ad8
GtkStyleSet: Implement GtkStyleProvider.
...
As simple as it can get.
2010-12-04 15:36:47 +01:00
019fa73308
Add GtkStyleProvider, an interface to provide style details.
...
The get_style() function isn't final yet, further parameters
should be added to query details based on the widget hierarchy,
name, etc.
2010-12-04 15:36:47 +01:00
f601abd25f
Add GtkStyleSet, a store of style properties.
...
At the moment there's only basic API for adding,
removing and clearing a property. There's also
API to merge 2 GtkStyleSets.
2010-12-04 15:36:47 +01:00
06288b5ae8
Add GTK_STATE_LAST to mark the end of GtkState enum.
2010-12-04 15:36:47 +01:00
0d873a61e5
Updated Hebrew translation
2010-12-04 15:28:27 +02:00
1d3961b342
Fixing gtk_cell_area_box_focus().
...
the ->focus() method was getting mixed up when more than
one cell was in the same group (not aligned), added the
proper check to break out of the loop on time.
2010-12-04 21:49:44 +09:00
c4eff8b6b0
Added some "align" checkbuttons to show configurable cell alignments in testtreeedit.
2010-12-04 21:41:48 +09:00
bbee4de33d
Fixed typo in GtkCellArea docs.
2010-12-04 20:54:36 +09:00
b0f849eafd
Changed GTK_CELL_AREA_WARN_INVALID_CHILD_PROPERTY_ID for GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
2010-12-04 20:52:03 +09:00
9c7e00f744
Fixing GtkTreeViewColumn to use the new _gtk_cell_layout_buildable_custom_tag_end correctly.
2010-12-04 17:10:31 +09:00
84eb40b57e
Added GtkEntryCompletion:cell-area construct property.
...
- Removed most of GtkCellLayout implementation in favor of ->get_area()
- This allows GtkBuildable cell layout implementation to implement
the child "cell-properties"
- Also allows feeding a custom/different GtkCellArea implementation to
layout cells.
- Share the internal area with the created GtkTreeViewColumn.
2010-12-04 16:55:49 +09:00
52ba4f49c5
Added boolean return to GtkCellLayout buildable custom tag end shared private function.
2010-12-04 16:53:28 +09:00
c8c5ed8fa1
Removing hack and fixing gtk_tree_view_column_cell_get_size().
...
Now consult gtk_cell_area_context_get_preferred_height().
It can be that height-for-widths requested here were too large
when multiple cells are in play because of the alignments stored
in the context... removing the temporary focus-line-width hack.
2010-12-04 16:04:04 +09:00
0f4a2d322b
Fixed merge conflicts from cherry-pick of construct-only GtkTreeViewColumn:cell-area property.
2010-12-04 15:52:40 +09:00
acc4dd2912
Added GtkTreeViewColumn:cell-area construct-only property.
...
Allow feeding treeviewcolumn a custom cell-area (or not a custom one,
but allow sharing the cell-area with say, the combo-box area).
This patch also:
- Fixes signal connections to the area (now they do eventually get
disconnected at dispose time, they are handled regardless if a
treeview is set but execute safely, at least there is only one
connection/disconnection).
- Fixes refcounting on the cell_area (GtkCellArea is GInitiallyUnowned).
- Adds a constructor() in order to build the cell-area if one has
not been provided by the caller before hand at g_object_new()
construct time.
2010-12-04 15:49:46 +09:00
9c6a801f52
Migrated GtkCellLayout documentation into the source code.
...
Also added a section on specifying <cell-packing> properties
in the GtkCellLayout UI description.
2010-12-04 15:41:42 +09:00
7e2571a358
Added "Cell Properties" section to the GtkCellArea documentation.
2010-12-04 15:02:53 +09:00
2a41de70b1
Removing an unused variable from GtkCellRendererText->get_preferred_width()
2010-12-04 14:31:45 +09:00
12e5e24c3e
Another attempt to fix the gdk symbol list
2010-12-03 23:50:58 -05:00
d998e7761c
Update sections
2010-12-03 15:41:37 -05:00
350fb1d55c
API: gdk: Rename GdkWindowObjectClass to GdkWindowClass
...
Be consistent in the naming of objects.
2010-12-03 19:11:13 +01:00
d916398dd2
API: Rename GdkWindowClass to GdkWindowWindowClass
...
We argued replacing GdkWindowClass with a input_only boolean, but this
is not doable in an API-stable way, so I decided against it.
2010-12-03 19:11:13 +01:00
a996a309c7
One more forgotten symbol
2010-12-03 13:05:23 -05:00
5687d7f880
Update gdk symbol list
2010-12-03 13:04:42 -05:00
3d81af670d
Updated Slovenian translation
2010-12-03 18:10:08 +01:00
17e2c5391c
Fix up parameter mismatches in the docs
...
And other minor gdk doc fixes.
2010-12-03 09:07:06 -05:00
4ef86fc500
Add annotation to gdk_screen_get_monitor_geometry
...
Pointed out by William Jon McCann.
2010-12-03 08:21:48 -05:00
c5a60e035d
Removed GtkCellAreaBoxPrivate from GtkCellAreaBox section.
2010-12-03 17:21:28 +09:00
0fa7477091
Adding documentation for GtkCellAreaBox.
2010-12-03 17:13:31 +09:00
9e3ebe4955
Marking GtkCellArea structure portions as /*< private >*/
2010-12-03 17:12:59 +09:00