summaryrefslogtreecommitdiff
path: root/gtk/gtkmenubutton.h
Commit message (Collapse)AuthorAgeFilesLines
* menubutton: CosmeticsMatthias Clasen2020-05-111-3/+2
| | | | Fix a few typos in the docs.
* menubutton: Drop reliefMatthias Clasen2020-04-171-3/+3
| | | | | We are only using this as a boolean, so change it to a boolean property named has-frame.
* menubutton: Add a use-underline propertyMatthias Clasen2020-03-281-0/+6
| | | | | | | This is necessary since apps no longer have direct access to the label. Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2489
* menubutton: Stop supporting menusMatthias Clasen2019-12-291-14/+0
|
* menubutton: Add a create_popup_funcTimm Bäder2019-09-091-0/+17
| | | | Some use cases require a menu button to create the popup on demand.
* menu button: Make finalMatthias Clasen2019-05-261-21/+0
|
* menu button: Add popup/popdown functionsMatthias Clasen2019-05-241-0/+6
| | | | These are needed, after all.
* menu button: Add a relief propertyMatthias Clasen2019-05-211-0/+5
| | | | This is used in various places.
* menubutton: Don't derive from GtkToggleButtonMatthias Clasen2019-05-181-2/+14
| | | | | | | | | Make GtkMenuButton a widget that has a toggle button, instead of deriving from it. We give it icon-name and label properties, to let people do what they expect to do with menu buttons.
* menubutton: Remove priv pointerTimm Bäder2018-03-071-4/+1
|
* The big versioning cleanupMatthias Clasen2018-02-061-14/+14
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* GtkMenuButton: Support popoversMatthias Clasen2014-02-081-1/+16
| | | | | | | | | | | | | Add api to allow explicitly setting a GtkPopover instead of a GtkMenu as the popup of a GtkMenuButton. Also, add api to instruct the menu button to construct a popover when given a menu model. We set the style class "menu-button" on the button only when it pops up a menu, to allow different treatment for the active state of the button in the two cases. https://bugzilla.gnome.org/show_bug.cgi?id=723878
* Move single-include guards inside include guardsMatthias Clasen2012-12-281-3/+3
| | | | | | gcc has optimizations for include guards that only work if they are outermost in the the header. https://bugzilla.gnome.org/show_bug.cgi?id=689810
* Remove gtk_menu_button_[sg]et_menuMatthias Clasen2012-09-241-6/+0
| | | | | These functions were never in a stable release, and have been renamed to gtk_menu_button_[sg]et_popup.
* Straigthen includes in gtkmenubutton.[hc]Matthias Clasen2012-09-241-1/+2
| | | | Don't include gtk.h, but just include whats needed.
* menubutton: use consistent parameter namesCosimo Cecchi2012-08-211-1/+1
| | | | Or the introspection scanner will emit a warning.
* GtkMenuButton: rename _set_menu() to _set_popup()Ryan Lortie2012-08-201-1/+7
| | | | | | | | It's too close to the release so we'll keep _set_menu() around, but deprecate it, pointing to the new API. It will be removed (and the name reused) before the 3.6.0 release. https://bugzilla.gnome.org/show_bug.cgi?id=682235
* gtkmenubutton: Add menu button widgetBastien Nocera2012-06-151-0/+93
| | | | | | | | | As used in Totem and gnome-contacts. The widget takes either a GtkMenu or a GMenuModel to construct its menu, and can be given a parent widget to use to position the drop-down (as used in GtkMenuToolButton). https://bugzilla.gnome.org/show_bug.cgi?id=668013
* Revert "gtkmenubutton: Add menu button widget"Matthias Clasen2012-05-301-78/+0
| | | | This reverts commit 9d35f7e5121c863685375d1afb7e14e886e46348.
* gtkmenubutton: Add menu button widgetBastien Nocera2012-05-301-0/+78
As used in Totem and gnome-contacts. The widget takes either a GtkMenu or a GMenuModel to construct its menu, and can be given a parent widget to use to position the drop-down (as used in GtkMenuToolButton). https://bugzilla.gnome.org/show_bug.cgi?id=668013