Class

ShellGlobal

Description

final class Shell.Global : GObject.Object
{
  /* No available fields */
}

No description available.

Ancestors

Functions

shell_global_get

Gets the singleton global object that represents the desktop.

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_app_system

Gets app system.

shell_global_get_app_usage

Gets app usage.

shell_global_get_context
No description available.

shell_global_get_current_time
No description available.

shell_global_get_display
No description available.

shell_global_get_persistent_state

The shell maintains “persistent” state which will persist after logout or reboot.

shell_global_get_pointer

Gets the pointer coordinates and current modifier key state.

shell_global_get_runtime_state

The shell maintains “runtime” state which does not persist across logout or reboot.

shell_global_get_session_mode
No description available.

shell_global_get_settings

Get the global GSettings instance.

shell_global_get_stage
No description available.

shell_global_get_switcheroo_control

Get the global GDBusProxy instance for the switcheroo-control daemon.

shell_global_get_window_actors

Gets the list of MetaWindowActor for the plugin’s screen.

shell_global_get_window_tracker

Gets window tracker.

shell_global_get_workspace_manager
No description available.

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_reexec_self

Restart the current process. Only intended for development purposes.

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_persistent_state

Change the value of serialized persistent state.

shell_global_set_runtime_state

Change the value of serialized runtime state.

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.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Shell.Global:automation-script
No description available.

Shell.Global:backend
No description available.

Shell.Global:compositor
No description available.

Shell.Global:context
No description available.

Shell.Global:datadir
No description available.

Shell.Global:display
No description available.

Shell.Global:focus-manager
No description available.

Shell.Global:force-animations
No description available.

Shell.Global:frame-finish-timestamp
No description available.

Shell.Global:frame-timestamps
No description available.

Shell.Global:imagedir
No description available.

Shell.Global:screen-height
No description available.

Shell.Global:screen-width
No description available.

Shell.Global:session-mode
No description available.

Shell.Global:settings
No description available.

Shell.Global:stage
No description available.

Shell.Global:switcheroo-control
No description available.

Shell.Global:top-window-group
No description available.

Shell.Global:userdatadir
No description available.

Shell.Global:window-group
No description available.

Shell.Global:window-manager
No description available.

Shell.Global:workspace-manager
No description available.

Signals

Shell.Global::locate-pointer
No description available.

Shell.Global::notify-error
No description available.

Shell.Global::shutdown
No description available.

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.

Class structure

struct ShellGlobalClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.