Tristan Van Berkom
b4d09fd5fb
Fixed possible devision by zero in size negotiations
...
Fixed GtkToolItemGroup to avoid deviding by zero when all children
are invisible or there are no children. bgo #613974 .
2010-03-29 13:27:40 -04:00
Tristan Van Berkom
7e43059e84
Added missing default events in realize() implementations
...
Added gtk_widget_get_events() to the event masks declared by
GtkToolPalette & GtkToolItemGroup.
2010-03-29 13:22:18 -04:00
Tristan Van Berkom
133e3e84a7
Added missing break statement to mutator: gtk_tool_item_group_set_property()
2010-03-29 13:16:54 -04:00
Javier Jardón
1934de4b65
Don't use GTK_WIDGET_*SET_FLAGS (wid, GTK_REALIZED)
...
Use new API instead: gtk_widget_set_realized ()
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-06 11:51:33 +01:00
Javier Jardón
16a59ad912
Deprecate widget flag: GTK_WIDGET_REALIZED
...
Use gtk_widget_get_realized() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:41:05 +01:00
Javier Jardón
1fe7d3cefd
Deprecate widget flag: GTK_WIDGET_MAPPED
...
Use gtk_widget_get_mapped() instead.
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-03 20:19:03 +01:00
Javier Jardón
214a023e91
Deprecate widget flag: GTK_WIDGET_VISIBLE
...
Use gtk_widget_get_visible() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
2010-03-01 07:52:07 +01:00
Matthias Clasen
e601f6c478
doc fixes
2010-02-23 14:14:02 -05:00
Matthias Clasen
1f8d468123
Adjust default value for GtkToolItemGroup::label
2009-11-27 00:14:37 -05:00
Matthias Clasen
837775af7b
Fix up docs, and set up the aliasing machinery
2009-11-26 23:52:20 -05:00
Johannes Schmid
bffd43bd8f
toolpalette: Don't call gdk_window_process_updates() in the animation callback
...
That does not seem to make any difference.
2009-11-18 10:38:45 +01:00
Johannes Schmid
ffce5223fc
toolpalette: Fixed inconsistent spacing
2009-11-11 10:02:36 +01:00
Johannes Schmid
0e2a5509f6
toolpalette: fixed trailing whitespaces
2009-11-11 09:42:49 +01:00
Johannes Schmid
3b2ae9dc3e
toolpalettte: Fixed some style issues
2009-11-11 09:32:15 +01:00
Johannes Schmid
e8b640104e
toolpalette: Always show text horizontally
2009-11-11 09:27:00 +01:00
Johannes Schmid
1de2a55eaf
Ported gtktoolpalette from a custom array to GPtrArray.
...
...and some mixed fixes of things mentioned in the bug report
2009-11-09 22:16:15 +01:00
Johannes Schmid
02a9d9afd8
Remove G_GNUC_UNUSED
2009-11-07 10:56:59 +01:00
Johannes Schmid
ed41fa8b50
Fixed GtkToolPalette API docs to mention 2.20 instead of 2.18
2009-10-28 13:17:13 +01:00
Johannes Schmid
e83013c066
Fix custom label handling in gtktoolitemgroup
2009-10-28 13:11:37 +01:00
Murray Cumming
a14e05fa59
GtkToolItemGroup now has label and label-widget properties.
...
* demos/gtk-demo/toolpalette.c (load_special_items): Demonstrate
gtk_tool_item_group_set_label_widget().
* gtk/gtktoolitemgroup.[h|c]: Rename the "item-group-name" property to
"label" because that is what it is. Likewise rename the functions.
Add a "label-widget" propert and get/set_label_widget() functions,
based on the same code/API in GtkExpander.
2009-07-14 23:46:49 +02:00
Murray Cumming
fc226767eb
GtkToolItemGroup: Rename the name property. GtkToolPalette: Added class padding.
...
* gtk/gtktoolitemgroup.[h|c]: Rename the name property to item-group-name
and rename get/set_name() to get/set_item_group_name(), to avoid a clash with
GtkWidget::name.
* gtk/gtktoolpalette.h: GtkToolPaletteClass: Add padding for future use.
2009-07-14 19:53:28 +02:00
Murray Cumming
ac7b0c91ae
ToolPalette: Implement GtkOrientable.
...
* gtk/gtktoolpalette.[h|c]: Remove gtk_tool_palette_get/set_property(),
implementing GtkOrientable instead.
* gtk/gtktoolitemgroup.c:
* demos/gtk-demo/toolpalette.c: Use gtk_orientable_* instead.
2009-07-14 19:11:20 +02:00
Murray Cumming
2976f4d98c
GtkTool*: Removed the HAVE_EXTENDED_TOOL_SHELL_SUPPORT_BUG_535090 ifdefs. This gives us nicer text alignment among other things.
2009-07-13 19:37:25 +02:00
Johannes Schmid
5a1415feda
Added GtkToolPalette.
...
* gtk/gtktoolpallete.[h|cc]:
* gtk/gtktoolitemgroup.[h|cc]: Added a tool pallete container widget,
with groups of toolbar items that can be shown as a grid of icons
or a list of names.
* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtkmarshal.list: Mentioned the new files.
Bug #567729
2009-07-13 17:38:34 +02:00