summaryrefslogtreecommitdiff
path: root/gtk/gtkheaderbar.h
Commit message (Collapse)AuthorAgeFilesLines
* Redo header bar decorations once moreMatthias Clasen2013-12-211-0/+6
| | | | | | | | | | | | | | | Applications need a way to fix or adapt the decoration layout, for situations like split header bars. Setting the layout from the theme with a style property did not offer a good way to do this, and the ::show-close-button property does not provide fine-grained control. To improve the situation, move the layout string to a property of GtkHeaderBar which is backed by a setting. This allows platforms to set a default button layout independent of the theme, while applications can override the default. The style GtkWindow style property is now deprecated and ignored.
* headerbar: Support all kinds of CSD decorationsJasper St. Pierre2013-12-121-7/+0
| | | | | | | Move the gtkwindow.c CSD code into GtkHeaderBar, and make it triggerable by the show-close-button property, and remove shows-fallback-app-menu. https://bugzilla.gnome.org/show_bug.cgi?id=720233
* GtkHeaderBar: Add a ::has-subtitle propertyMatthias Clasen2013-12-101-0/+6
| | | | | | | It is a fairly common case to just want a title, and not reserve extra space for a subtitle. This is much easier to get right by setting a boolean property than by constructing a custom title widget.
* GtkHeaderBar: Add a fallback app menu implementationMatthias Clasen2013-11-161-0/+7
| | | | | | Allow showing the fallback app menu with a menu button in the header bar. Applications have to explicitly enable this by calling gtk_header_bar_set_show_fallback_app_menu.
* GtkHeaderBar: optionally add a close buttonMatthias Clasen2013-08-051-0/+7
| | | | | | | | Add a boolean property that controls whether a window close button will be shown in the header bar or not. Doing this in the toolkit will ensure consistency of the visual apperance. https://bugzilla.gnome.org/show_bug.cgi?id=702971
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-3/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* GtkHeaderBar: Add subtitle supportMatthias Clasen2013-03-191-0/+7
| | | | As seen in GdHeaderBar.
* Add GtkHeaderBarMatthias Clasen2013-03-171-0/+84
This widget has been developed as GdHeaderBar in libgd. The copy here has been renamed and changed to use GTK+ internals.