Engine
Object Hierarchy:
Description:
[
CCode ( type_id =
"xkl_engine_get_type ()" ) ]
public class Engine :
Object
Content:
Properties:
Static methods:
Creation methods:
Methods:
- public void allow_one_switch_to_secondary_group ()
Allows to switch (once) to the secondary group
- public bool backup_names_prop ()
Backups current XKB configuration into some property - if this
property is not defined yet.
- public virtual void config_notify ()
- public void delete_state (Window win)
Drops the state of a given window (of its "App window").
- public int filter_events (Event evt)
Processes X events.
- public unowned string get_backend_name ()
What kind of backend is used
- public unowned State get_current_state ()
- public Window get_current_window ()
- public int get_current_window_group ()
- public int get_default_group ()
Returns the default group set on window creation If -1, no default
group is used
- public uint get_features ()
Provides information regarding available backend features (combination
of XKLF_* constants)
- public unowned string[] get_groups_names ()
- public bool get_indicators_handling ()
- public unowned string[] get_indicators_names ()
- public uint get_max_num_groups ()
Provides the information on maximum number of simultaneously supported
groups (layouts)
- public int get_next_group ()
Calculates next group id.
- public uint get_num_groups ()
- public int get_prev_group ()
Calculates prev group id.
- public uint get_secondary_groups_mask ()
- public bool get_state (Window win, State state_out)
Finds the state for a given window (for its "App window").
- public string get_window_title (Window win)
- public bool grab_key (int keycode, uint modifiers)
Grabs some key
- public bool is_group_per_toplevel_window ()
- public bool is_window_from_same_toplevel_window (Window win1, Window win2)
Checks whether 2 windows have the same topmost window
- public bool is_window_transparent (Window win)
- public void lock_group (int group)
Locks the group.
- public virtual void new_device_notify ()
- public virtual int new_window_notify (Window win, Window parent)
- public int pause_listen ()
Temporary pauses listening for XKB-related events
- public int resume_listen ()
Resumes listening for XKB-related events
- public void save_state (Window win, State state)
Stores ths state for a given window
- public void set_default_group (int group)
Configures the default group set on window creation.
- public void set_group_per_toplevel_window (bool is_global)
Sets the configuration parameter: group per application
- public void set_indicators_handling (bool whether_handle)
Sets the configuration parameter: perform indicators handling
- public void set_secondary_groups_mask (uint mask)
Sets the secondary groups (one bit per group).
- public void set_window_transparent (Window win, bool transparent)
Sets the "transparent" flag.
- public int start_listen (uint flags)
Starts listening for XKB-related events
- public virtual void state_notify (EngineStateChange change_type, int group, bool restore)
- public int stop_listen (uint flags)
Stops listening for XKB-related events
- public bool ungrab_key (int keycode, uint modifiers)
Ungrabs some key
Signals:
Inherited Members:
All known members inherited from class GLib.Object