Mgraesslin (Talk | contribs) (update Workspace) |
Mgraesslin (Talk | contribs) (Options added) |
||
Line 100: | Line 100: | ||
* ''QString'' '''desktopName(int desktop) const ''': Returns the name for the given desktop. | * ''QString'' '''desktopName(int desktop) const ''': Returns the name for the given desktop. | ||
* ''QString'' '''supportInformation() const ''': Provides support information about the currently running KWin instance. | * ''QString'' '''supportInformation() const ''': Provides support information about the currently running KWin instance. | ||
+ | |||
+ | == KWin::Options == | ||
+ | The Options provide access to KWin internal configuration values. They are available as global '''options''' object. | ||
+ | |||
+ | '''Inherits:''' KDecorationOptions | ||
+ | === Read-only Properties === | ||
+ | |||
+ | * ''FocusPolicy'' '''focusPolicy''' | ||
+ | * ''bool'' '''nextFocusPrefersMouse''' | ||
+ | * ''bool'' '''clickRaise''': Whether clicking on a window raises it in FocusFollowsMouse mode or not. | ||
+ | * ''bool'' '''autoRaise''': whether autoraise is enabled FocusFollowsMouse mode or not. | ||
+ | * ''int'' '''autoRaiseInterval''': autoraise interval | ||
+ | * ''int'' '''delayFocusInterval''': delayed focus interval | ||
+ | * ''bool'' '''shadeHover''': Whether shade hover is enabled or not | ||
+ | * ''int'' '''shadeHoverInterval''': shade hover interval | ||
+ | * ''int'' '''tilingLayout''' | ||
+ | * ''int'' '''tilingRaisePolicy''': Tiling window raise policy. | ||
+ | * ''bool'' '''separateScreenFocus''': whether to see Xinerama screens separately for focus (in Alt+Tab, when activating next client) | ||
+ | * ''bool'' '''activeMouseScreen''': whether active Xinerama screen is the one with mouse (or with the active window) | ||
+ | * ''int'' '''placement''' | ||
+ | * ''bool'' '''focusPolicyIsReasonable''' | ||
+ | * ''int'' '''borderSnapZone''': the size of the zone that triggers snapping on desktop borders | ||
+ | * ''int'' '''windowSnapZone''': the size of the zone that triggers snapping with other windows | ||
+ | * ''int'' '''centerSnapZone''': the size of the zone that triggers snapping on the screen center | ||
+ | * ''bool'' '''snapOnlyWhenOverlapping''': snap only when windows will overlap | ||
+ | * ''bool'' '''showDesktopIsMinimizeAll''' | ||
+ | * ''bool'' '''rollOverDesktops''': whether or not we roll over to the other edge when switching desktops past the edge | ||
+ | * ''int'' '''focusStealingPreventionLevel''': 0 - 4 , see Workspace::allowClientActivation() | ||
+ | * ''bool'' '''legacyFullscreenSupport''': support legacy fullscreen windows hack: borderless non-netwm windows with screen geometry | ||
+ | * ''WindowOperation'' '''operationTitlebarDblClick''' | ||
+ | * ''MouseCommand'' '''commandActiveTitlebar1''' | ||
+ | * ''MouseCommand'' '''commandActiveTitlebar2''' | ||
+ | * ''MouseCommand'' '''commandActiveTitlebar3''' | ||
+ | * ''MouseCommand'' '''commandInactiveTitlebar1''' | ||
+ | * ''MouseCommand'' '''commandInactiveTitlebar2''' | ||
+ | * ''MouseCommand'' '''commandInactiveTitlebar3''' | ||
+ | * ''MouseCommand'' '''commandWindow1''' | ||
+ | * ''MouseCommand'' '''commandWindow2''' | ||
+ | * ''MouseCommand'' '''commandWindow3''' | ||
+ | * ''MouseCommand'' '''commandWindowWheel''' | ||
+ | * ''MouseCommand'' '''commandAll1''' | ||
+ | * ''MouseCommand'' '''commandAll2''' | ||
+ | * ''MouseCommand'' '''commandAll3''' | ||
+ | * ''uint'' '''keyCmdAllModKey''' | ||
+ | * ''bool'' '''showGeometryTip''': whether the Geometry Tip should be shown during a window move/resize. | ||
+ | * ''bool'' '''electricBorders''': Whether electric borders are enabled. With electric borders you can change desktop by moving the mouse pointer towards the edge of the screen | ||
+ | * ''int'' '''electricBorderDelay''': the activation delay for electric borders in milliseconds. | ||
+ | * ''int'' '''electricBorderCooldown''': the trigger cooldown for electric borders in milliseconds. | ||
+ | * ''int'' '''electricBorderPushbackPixels''': the number of pixels the mouse cursor is pushed back when it reaches the screen edge. | ||
+ | * ''bool'' '''electricBorderMaximize''': Whether a window gets maximized when it reaches top screen edge while being moved. | ||
+ | * ''bool'' '''electricBorderTiling''': Whether a window is tiled to half screen when reaching left or right screen edge while been moved | ||
+ | * ''bool'' '''borderlessMaximizedWindows''' | ||
+ | * ''int'' '''killPingTimeout''': timeout before non-responding application will be killed after attempt to close | ||
+ | * ''bool'' '''hideUtilityWindowsForInactive''': Whether to hide utility windows for inactive applications. | ||
+ | * ''bool'' '''inactiveTabsSkipTaskbar''' | ||
+ | * ''bool'' '''autogroupSimilarWindows''' | ||
+ | * ''bool'' '''autogroupInForeground''' | ||
+ | * ''int'' '''compositingMode''' | ||
+ | * ''bool'' '''useCompositing''' | ||
+ | * ''int'' '''hiddenPreviews''' | ||
+ | * ''bool'' '''unredirectFullscreen''' | ||
+ | * ''int'' '''glSmoothScale''': 0 = no, 1 = yes when transformed, 2 = try trilinear when transformed; else 1, -1 = auto | ||
+ | * ''bool'' '''glVSync''' | ||
+ | * ''bool'' '''xrenderSmoothScale''' | ||
+ | * ''uint'' '''maxFpsInterval''' | ||
+ | * ''uint'' '''refreshRate''' | ||
+ | * ''bool'' '''glDirect''' | ||
+ | * ''bool'' '''glStrictBinding''' | ||
+ | === Read-write Properties === | ||
+ | |||
+ | * ''bool'' '''tiling''': Whether tiling is enabled or not | ||
+ | * ''bool'' '''compositingInitialized''' | ||
+ | === Signals === | ||
+ | |||
+ | * '''configChanged()''' | ||
== KWin::Toplevel == | == KWin::Toplevel == |
Workspace is the global object injected into each script as workspace. It provides access to core functionality of the window manager.
The Options provide access to KWin internal configuration values. They are available as global options object.
Inherits: KDecorationOptions
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