Mgraesslin (Talk | contribs) (→KWin::Toplevel) |
Mgraesslin (Talk | contribs) (→KWin::Client) |
||
| Line 187: | Line 187: | ||
* ''bool'' '''wantsInput''': Whether the Client can accept keyboard focus. The value is evaluated each time the getter is called. Because of that no changed signal is provided. | * ''bool'' '''wantsInput''': Whether the Client can accept keyboard focus. The value is evaluated each time the getter is called. Because of that no changed signal is provided. | ||
* ''QPixmap'' '''icon''' | * ''QPixmap'' '''icon''' | ||
| − | * ''KWin:: | + | * ''KWin::TabGroup'' '''tabGroup''': The "Window Tabs" Group this Client belongs to. |
| + | * ''bool'' '''isCurrentTab''': Whether this Client is the currently visible Client in its Client Group (Window Tabs). For change connect to the visibleChanged signal on the Client's Group. | ||
| + | * ''QSize'' '''minSize''': Minimum size as specified in WM_NORMAL_HINTS | ||
| + | * ''QSize'' '''maxSize''': Maximum size as specified in WM_NORMAL_HINTS | ||
=== Read-write Properties === | === Read-write Properties === | ||
| Line 198: | Line 201: | ||
* ''bool'' '''shade''': Whether the Client is shaded. | * ''bool'' '''shade''': Whether the Client is shaded. | ||
* ''bool'' '''skipSwitcher''': Whether the Client should be excluded from window switching effects. | * ''bool'' '''skipSwitcher''': Whether the Client should be excluded from window switching effects. | ||
| + | * ''bool'' '''skipTaskbar''': Indicates that the window should not be included on a taskbar. | ||
| + | * ''bool'' '''skipPager''': Indicates that the window should not be included on a Pager. | ||
| + | * ''bool'' '''noBorder''': Whether the window has a decoration or not. This property is not allowed to be set by applications themselves. The decision whether a window has a border or not belongs to the window manager. If this property gets abused by application developers, it will be removed again. | ||
=== Signals === | === Signals === | ||
* '''clientManaging(KWin::Client *)''' | * '''clientManaging(KWin::Client *)''' | ||
| − | * ''' | + | * '''clientFullScreenSet(KWin::Client *, bool, bool)''' |
| − | * | + | |
* '''clientMaximizedStateChanged(KWin::Client *, KDecorationDefines::MaximizeMode)''' | * '''clientMaximizedStateChanged(KWin::Client *, KDecorationDefines::MaximizeMode)''' | ||
| + | * '''clientMaximizedStateChanged(KWin::Client *c, bool h, bool v)''' | ||
* '''clientMinimized(KWin::Client *client, bool animate)''' | * '''clientMinimized(KWin::Client *client, bool animate)''' | ||
* '''clientUnminimized(KWin::Client *client, bool animate)''' | * '''clientUnminimized(KWin::Client *client, bool animate)''' | ||
| Line 222: | Line 228: | ||
* '''iconChanged()''' | * '''iconChanged()''' | ||
* '''skipSwitcherChanged()''' | * '''skipSwitcherChanged()''' | ||
| − | * ''' | + | * '''skipTaskbarChanged()''' |
| − | + | * '''skipPagerChanged()''' | |
| − | === Functions === | + | * '''tabGroupChanged()''': Emitted whenever the Client's TabGroup changed. That is whenever the Client is moved to another group, but not when a Client gets added or removed to the Client's ClientGroup. |
| + | === Functions === | ||
| + | |||
* '''closeWindow()''': Closes the window by either sending a delete_window message or using XKill. | * '''closeWindow()''': Closes the window by either sending a delete_window message or using XKill. | ||
| + | * ''Q_INVOKABLE bool'' '''tabBefore(Client *other, bool activate)''' | ||
| + | * ''Q_INVOKABLE bool'' '''tabBehind(Client *other, bool activate)''' | ||
| + | * ''Q_INVOKABLE bool'' '''untab(const QRect &toGeometry=QRect())''' | ||
== KWin::ClientGroup == | == KWin::ClientGroup == | ||
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