get_context_for_phase


Description:

[ Version ( since = "3.26" ) ]
public unowned ShortcutContext? get_context_for_phase (ShortcutPhase phase)

Controllers can have a different context for a particular phase, which allows them to activate different keybindings depending if the event in capture, bubble, or dispatch.

Parameters:

this

a ShortcutController

phase

the phase for the shorcut delivery

Returns:

A ShortcutContext or null.




2022 vala-language.org