Hi all,
i try tio use the "Widget.add_accelerator" funktion...
I do not want a "Gdk.ModifierType", but "Gdk.ModifierType.NONE" is not avail
How to do this?
add_accelerator ("activate", accel_group, Gdk.Key.F5,
Gdk.ModifierType.**, Gtk.AccelFlags.VISIBLE);
Thanks for Help!
Wolfgang
__
Works...
Thanks a lot!
Am 08.02.19 um 21:07 schrieb Stephen Brandt:
Hi Wolfgang,
You should be able to use the literal number zero, like this:
add_accelerator ("activate", accel_group, Gdk.Key.F5, 0,
Gtk.AccelFlags.VISIBLE);
I used it here in my own application:
https://github.com/ztefn
Hi Wolfgang,
You should be able to use the literal number zero, like this:
add_accelerator ("activate", accel_group, Gdk.Key.F5, 0,
Gtk.AccelFlags.VISIBLE);
I used it here in my own application:
https://github.com/ztefn/haguichi/blob/master/src/headerbar.vala#L187
Cheers,
Stephen
Wolfgang M