Class
ShellGlobal
Instance methods
shell_global_begin_work
Marks that we are currently doing work. This is used to to track
whether we are busy for the purposes of shell_global_run_at_leisure().
A count is kept and shell_global_end_work()
must be called exactly
as many times as shell_global_begin_work().
shell_global_create_app_launch_context
Create a GAppLaunchContext
set up with the correct timestamp, and
targeted to activate on workspace
.
shell_global_end_work
Marks the end of work that we started with shell_global_begin_work(). If no other work is ongoing and functions have been added with shell_global_run_at_leisure(), they will be run at the next opportunity.
shell_global_get_persistent_state
The shell maintains “persistent” state which will persist after logout or reboot.
shell_global_get_runtime_state
The shell maintains “runtime” state which does not persist across logout or reboot.
shell_global_get_switcheroo_control
Get the global GDBusProxy
instance for the switcheroo-control daemon.
shell_global_notify_error
Show a system error notification. Use this function when a user-initiated action results in a non-fatal problem from causes that may not be under system control. For example, an application crash.
shell_global_run_at_leisure
Schedules a function to be called the next time the shell is idle. Idle means here no animations, no redrawing, and no ongoing background work. Since there is currently no way to hook into the Clutter master clock and know when is running, the implementation here is somewhat approximation. Animations may be detected as terminating early if they can be drawn fast enough so that the event loop goes idle between frames.
shell_global_set_stage_input_region
Sets the area of the stage that is responsive to mouse clicks when we don’t have a modal or grab.
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.