| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fix a few typos in the docs.
|
|
|
|
|
| |
We are only using this as a boolean, so change it
to a boolean property named has-frame.
|
|
|
|
|
|
|
| |
This is necessary since apps no longer have direct
access to the label.
Closes: https://gitlab.gnome.org/GNOME/gtk/-/issues/2489
|
| |
|
|
|
|
| |
Some use cases require a menu button to create the popup on demand.
|
| |
|
|
|
|
| |
These are needed, after all.
|
|
|
|
| |
This is used in various places.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
These functions were never in a stable release, and have
been renamed to gtk_menu_button_[sg]et_popup.
|
|
|
|
| |
Don't include gtk.h, but just include whats needed.
|
|
|
|
| |
Or the introspection scanner will emit a warning.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
This reverts commit 9d35f7e5121c863685375d1afb7e14e886e46348.
|
|
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
|