Bamf.Tab¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The Desktop ID associated with the application hosted in the remote Tab |
||
r |
Whether the tab is the foreground tab in it’s toplevel container |
||
r |
The Current location of the remote Tab |
||
r |
XID for the toplevel window containing the remote Tab |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Bamf.Tab(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_desktop_name()¶
- Returns:
The tab desktop id or
None
if not set or available. Do not free the returned value, it belongs to self.- Return type:
Returns the desktop file for the tab.
- get_is_foreground_tab()¶
- get_xid()¶
- Returns:
The tab parent window XID id or 0 if not set or available.
- Return type:
The desktop file for the tab.
- raise_()¶
-
Selects the self tab in the parent window.
- request_preview(callback, *user_data)¶
- Parameters:
callback (
Bamf.TabPreviewReadyCallback
) – a callback function to call when the result is readyuser_data (
object
orNone
) – data to be sent to the callback.
- do_get_desktop_name() virtual¶
- Returns:
The tab desktop id or
None
if not set or available. Do not free the returned value, it belongs to self.- Return type:
Returns the desktop file for the tab.
- do_get_is_foreground_tab() virtual¶
Property Details¶
- Bamf.Tab.props.desktop_id¶
-
The Desktop ID associated with the application hosted in the remote Tab
- Bamf.Tab.props.is_foreground_tab¶
-
Whether the tab is the foreground tab in it’s toplevel container
- Bamf.Tab.props.location¶
-
The Current location of the remote Tab