summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/toolpalette.c
Commit message (Collapse)AuthorAgeFilesLines
* Some cleanups for the toolpalette demoMatthias Clasen2009-11-261-123/+157
|
* toolpalette: Added dnd code to the gtk-demoJohannes Schmid2009-11-181-1/+424
|
* GtkToolPalette: Use gtk-toolbar-style and gtk-toolbar-icon-size settings.Murray Cumming2009-07-161-1/+7
| | | | | | | | | | | | | | | * gtk/gtksettings.c: (settings_install_property_parser): Handle enums too. * gtk/gtktoolbar.c (gtk_toolbar_class_init): Move the gtk-toolbar-style and gtk-toolbar-icon-size settings into GtkSettings because we now use it in GtkToolPalette too. * gtk/gtktoolpalette.[h|c]: Add gtk_tool_palette_unset_style() and gtk_tool_palette_unset_icon_size(), and use the toolbar-style and icon-size from GtkSettings if these are not set via the set functions. * demos/gtk-demo/toolpalette.c (on_combo_style_changed), (do_toolpalette): Add and handle a -1 value to mean the desktop "Default" toolbar style.
* GtkToolItemGroup now has label and label-widget properties.Murray Cumming2009-07-141-1/+6
| | | | | | | | | * 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.
* Also flip scrollbars in the toolpalette exampleMatthias Clasen2009-07-141-0/+6
|
* ToolPalette: Implement GtkOrientable.Murray Cumming2009-07-141-1/+1
| | | | | | | * 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.
* gtk+/demos/gtk-demo/: Added GtkToolPalette demo.Murray Cumming2009-07-131-0/+318