set_context_by_name


Description:

[ Version ( since = "3.26" ) ]
public void set_context_by_name (string? name)

Changes the context for the controller to the context matching name.

Contexts are resolved at runtime through the current theme (and possibly a parent theme if it inherits from one).

Parameters:

this

a ShortcutController

name

The name of the context




2022 vala-language.org