Mgraesslin (Talk | contribs) (adding closeWindow()) |
Mgraesslin (Talk | contribs) (Workspace) |
||
| Line 1: | Line 1: | ||
| + | == Workspace == | ||
| + | Workspace is the global object injected into each script as '''workspace'''. It provides access to core functionality of the window manager. | ||
| + | |||
| + | === Read-only Properties === | ||
| + | |||
| + | * ''QSize'' '''desktopGridSize''' | ||
| + | * ''int'' '''desktopGridWidth''' | ||
| + | * ''int'' '''desktopGridHeight''' | ||
| + | * ''int'' '''workspaceWidth''' | ||
| + | * ''int'' '''workspaceHeight''' | ||
| + | * ''QSize'' '''workspaceSize''' | ||
| + | === Read-write Properties === | ||
| + | |||
| + | * ''int'' '''currentDesktop''' | ||
| + | * ''KWin::Client'' '''activeClient''' | ||
| + | === Signals === | ||
| + | |||
| + | * '''desktopPresenceChanged(KWin::Client *, int)''' | ||
| + | * '''currentDesktopChanged(int)''' | ||
| + | * '''clientAdded(KWin::Client *)''' | ||
| + | * '''clientRemoved(KWin::Client *)''' | ||
| + | * '''clientManaging(KWin::Client *)''' | ||
| + | * '''clientMinimized(KWin::Client *)''' | ||
| + | * '''clientUnminimized(KWin::Client *)''' | ||
| + | * '''clientRestored(KWin::Client *)''' | ||
| + | * '''clientMaximizeSet(KWin::Client *, bool, bool)''' | ||
| + | * '''killWindowCalled(KWin::Client *)''' | ||
| + | * '''clientActivated(KWin::Client *)''' | ||
| + | * '''clientFullScreenSet(KWin::Client *, bool, bool)''' | ||
| + | * '''clientSetKeepAbove(KWin::Client *, bool)''' | ||
| + | === Functions === | ||
| + | |||
| + | * '' QList< KWin::Client * >'' '''clientList() const ''' | ||
| + | |||
== KWin::Toplevel == | == KWin::Toplevel == | ||
Toplevel is an abstract base class for all "Windows". You cannot use it directly, but everything available on Toplevel is available on Client, too. | Toplevel is an abstract base class for all "Windows". You cannot use it directly, but everything available on Toplevel is available on Client, too. | ||
Contents |
Workspace is the global object injected into each script as workspace. It provides access to core functionality of the window manager.
Toplevel is an abstract base class for all "Windows". You cannot use it directly, but everything available on Toplevel is available on Client, too.
The Client class encapsulates a window decoration frame. Inherits: KWin::Toplevel