| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
- add tab and treeview
- change focus variables: use alt_ prefix instead of coloured_ and descend focus_border_color from selected_bg_color
|
|
|
|
|
|
| |
- introduce two new colors: $focus_border_color for focused / outlined elements and $_coloured_focus_border_color for focused / outlined elements with a colored background color, like suggested/destructive buttons or selected elements
- set outline / focus color, offset and style accordingly for all widgets
- adapt entry focus color
|
|\
| |
| |
| |
| | |
entry: Document buildable support
See merge request GNOME/gtk!1643
|
|/ |
|
|
|
|
|
|
|
| |
Make entries support the same <attributes> syntax
as labels.
Closes: #1335
|
|
|
|
|
| |
We want to reuse the parser for <attributes> in several
widgets, so move it to a shared place.
|
|\
| |
| |
| |
| | |
meson: Don't execute post-install.py if cross compiling
See merge request GNOME/gtk!1636
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
shortcuttrigger: Don't trigger on key releases
See merge request GNOME/gtk!1642
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This broke when the event type check in gdk_key_event_matches
was removed and replaced by a precondition that accepts both
key press and release events.
Add the check in gtk_keyval_trigger_trigger instead.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
widget: fix parameter ordering to match implementation
Closes #2586
See merge request GNOME/gtk!1641
|
|/ /
| |
| |
| | |
Fixes https://gitlab.gnome.org/GNOME/gtk/issues/2586
|
| |
| |
| |
| |
| |
| | |
The only place where we are still using <Primary> is
in tests, to ensure we keep parsing it. Otherwise,
<Control> is now the preferred syntax.
|
|\ \
| | |
| | |
| | |
| | | |
Keymap rework 2
See merge request GNOME/gtk!1635
|
| | |
| | |
| | |
| | |
| | | |
Fixing such only-in-ci failures is just too hard,
unfortunately.
|
| | |
| | |
| | |
| | |
| | | |
Rewrite the sections about keymaps and menus, and add
hints about modifiers.
|
| | |
| | |
| | |
| | |
| | | |
Mention GtkShortcutTrigger, and remove references
to <Release>.
|
| | |
| | |
| | |
| | |
| | | |
Since GdkKeymap api is on longer public, move relevant
documentation to the long description.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Our new approach to modifiers works with a fixed set,
there is really no need to customize the modifier
masks if the backends are all supposed to deliver
the same modifiers.
|
| | |
| | |
| | |
| | | |
This function is no longer public and no longer used.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes the use of the context menu and shift group
intents in gdkevents.c. If it turns out to be important,
we need to introduce vfuncs for gdk_event_triggers_context_menu
and gdk_event_matches.
|
| | |
| | |
| | |
| | | |
This is not used anymore.
|
| | |
| | |
| | |
| | | |
This is not used anymore.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reviewing the existing settings, the only backend with
some differences in the modifier intent settings is OS X,
and we would rather have that implemented by interpreting
the existing modifiers in the appropriate way.
X11 Wayland Win32 OS X
primary ctrl ctrl ctrl mod2
mnemonic alt alt alt alt
context menu - - - ctrl
extend sel shift shift shift shift
modify sel ctrl ctrl ctrl mod2
no text alt|ctrl alt|ctrl alt|ctrl mod2|ctrl
shift group varies - - alt
GTK now uses the following modifiers:
primary ctrl
mnemonic alt
extend sel shift
modify sel ctrl
no text alt|ctrl
The context menu and shift group intents were not used
in GTK at all.
Update tests to no longer expect <Primary> to roundtrip
through the accelerator parsing and formatting code.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These are not used anymore.
Drop the vfuncs and their implementations in the
broadway, x11, wayland and win32 backends as well.
|
| | |
| | |
| | |
| | | |
We have replacement apis in GdkDevice and GdkDisplay.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This code needs to be redone differently, since keymaps are no
longer going to be exposed. There should really not be this much
ifdef-ed backend-specific code here anyway. Or any, really.
|
| | |
| | |
| | |
| | |
| | | |
Remove MOD2..MOD5. Backends are expected to just set
the named modifiers.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Add all of the keyboard translation results in the key event,
so we can translate the keyboard state at the time the event
is created, and avoid doing state translation at match time.
We actually need to carry two sets of translation results,
since we ignore CapsLock when matching accelerators, in
gdk_event_matches().
At the same time, drop the scancode field - it is only ever
set on win32, and is basically unused in GTK.
Update all callers.
|
| | |
| | |
| | |
| | |
| | |
| | | |
These are going away. We expect to just have
named modifiers in modifier masks now, so we
longer juggle 'real' and 'virtual' modifiers.
|
| | |
| | |
| | |
| | |
| | | |
These are going away in the GdkModifierType cleanup.
Just compare the modifiers we got.
|
| | |
| | |
| | |
| | | |
These are going away in the GdkModifierType cleanup.
|
| | |
| | |
| | |
| | |
| | |
| | | |
The win32 backend is using GDK_MOD2_MASK for AltGr,
so define GDK_MOD2_MASK locally to keep this working,
but remove any mention of GDK_MOD3_MASK,...,GDK_MOD5_MASK.
|
| | |
| | |
| | |
| | | |
These are going away in the GdkModifierType cleanup.
|
| | |
| | |
| | |
| | | |
This really has no purpose and obscures the header.
|
| | |
| | |
| | |
| | |
| | |
| | | |
These are never used in practice, and we never want to
see them in the UI, so stop supporting them. This is
in preparation for cleaning up GdkModifierType.
|
| | |
| | |
| | |
| | |
| | | |
We've hardcoded Mod1 = Alt for a long time, there is
no need to keep the confusing naming around anymore.
|
| | |
| | |
| | |
| | | |
This is not doing anything useful here.
|
| | | |
|
| | |
| | |
| | |
| | | |
This removes the last uses of GdkKeymap from GTK.
|
| | |
| | |
| | |
| | |
| | | |
Stop using most keymap apis in GTK. Only a few calls
related to virtual modifiers are left.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
We want to stop exposing GdkKeymap, so this
functionality needs a new home.
|
| | |
| | |
| | |
| | | |
We are going to use this type in a different header.
|
| | |
| | |
| | |
| | | |
GdkKeymap is on the way out.
|
| | |
| | |
| | |
| | | |
GdkKeymap is on the way out.
|
| | |
| | |
| | |
| | |
| | | |
Show the caps lock warning regardless of whether we
have the peek icon or not.
|
| | | |
|
| | | |
|