| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
We were not updating submenu-action state
for items in menubars.
|
|
|
|
| |
Replace leftover gtk-doc syntax (#Type) with backquotes.
|
|
|
|
|
|
|
|
| |
Remove a boatload of "or %NULL" from nullable parameters
and return values. gi-docgen generates suitable text from
the annotation that we don't need to duplicate.
This adds a few missing nullable annotations too.
|
|
|
|
|
| |
allow-none has been deprecated for a long time
already. Instead use optional and nullable everywhere.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Rework surface state and geometry computation
See merge request GNOME/gtk!2885
|
| |
| |
| |
| | |
This makes it more explicit that managers of popovers make it "present".
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
Using GList is a bit lame, and makes the API more complicated to use
than necessary in the common case.
The only real use case for a GList is gtk_widget_add_mnemonic_label(),
and for that we can use the GValue-based API instead.
Fixes: #3343
|
|
|
|
|
|
| |
Support <child type="ID"> to fill custom child slots
in both GtkPopoverMenus and GtkPopoverMenuBars that
are created in ui files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a way to add children at certain places in
the generated menu for both GtkPopoverMenu and
GtkPopoverMenuBar.
New apis:
gtk_popover_menu_add_child
gtk_popover_menu_remove_child
gtk_popover_menu_bar_add_child
gtk_popover_menu_bar_remove_child
Fixes: #3260
|
|
|
|
|
|
| |
Set roles, properties and relations according to the
ARIA authoring practices document. This is not quite
complete.
|
| |
|
| |
|
|
|
|
| |
It's not used and nobody has documented how it's meant to work anyway.
|
|
|
|
|
|
|
|
|
|
| |
Add back a property that determines whether an individual
widget will accept focus or not. :can-focus prevents the
focus from ever entering the entire widget hierarchy
below a widget, and :focusable just determines if grabbing
the focus to the widget itself will succeed.
See #2686
|
| |
|
|
|
|
|
|
|
|
|
| |
It is enough to just set the parent (and make the parent
call gtk_native_check_resize in size_allocate).
This commit removes the relative_to argument to the
constructors of GtkPopover and GtkPopoverMenu, and
updates all callers.
|
|
|
|
|
| |
These signals are behaving a little differently from
what ::focus-in/::focus-out used to do.
|
| |
|
|
|
|
| |
These were outdated and did not reflect current api.
|
| |
|
| |
|
|
|
|
|
|
| |
Don't allow manual creation of popover menus
anymore. This lets us also make GtkModelButton
private
|
|
|
|
|
|
| |
Make the popover menubar use nested menus, to
better match the expected behavior of traditional
menus.
|
|
|
|
|
|
| |
Add a variant of popover menus that are nesting
like traditional menus. This is a better fit for
replacing traditional main menus.
|
|
|
|
|
| |
Use :selected instead of .active to
mark the active item.
|
|
|
|
| |
When the mouse leaves the bar, turn the lights off.
|
|
|
|
|
| |
We want to follow the convention that all
private headers have names ending in private.h
|
| |
|
|
Clarity over beauty.
|