Bamf.View¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
active |
||
r |
path |
||
r |
running |
||
r |
starting |
||
r |
urgent |
||
r |
user-visible |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class Bamf.View(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- get_children()¶
- Returns:
Returns a list of
Bamf.View
which must be freed after usage. Elements of the list are owned by bamf and should not be unreffed.- Return type:
Note: Makes sever dbus calls the first time this is called on a view. Dbus messaging is reduced afterwards.
- get_click_suggestion()¶
- Return type:
- get_icon()¶
- Return type:
Gets the icon of a view. This icon is used to visually represent the view.
- get_name()¶
- Return type:
Gets the name of a view. This name is a short name best used to represent the view with text.
- get_view_type()¶
- Return type:
The view type of a window is a short string used to represent all views of the same class. These descriptions should not be used to do casting as they are not considered stable.
- has_child(child)¶
- is_active()¶
- Return type:
Determines if the view is currently active and focused by the user. Useful for an active window indicator.
- is_running()¶
- Return type:
Determines if the view is currently running. Useful for a running window indicator.
- is_starting()¶
- Return type:
Determines if the view is currently starting. Useful for the startup animation.
- is_urgent()¶
- Return type:
Determines if the view is currently requiring attention. Useful for a running window indicator.
- is_user_visible()¶
- Returns:
a boolean useful for determining if a particular view is “user visible”. User visible is a concept relating to whether or not a window should be shown in a launcher tasklist.
- Return type:
New in version 0.4.0.
- peek_children()¶
- Returns:
Returns a list of
Bamf.View
which is owned by theBamf.View
and should not freed or modified after usage.- Return type:
Note: Makes sever dbus calls the first time this is called on a view. Dbus messaging is reduced afterwards.
New in version 0.5.2.
- do_click_behavior() virtual¶
- Return type:
- do_closed() virtual¶
- do_get_children() virtual¶
- Returns:
Returns a list of
Bamf.View
which must be freed after usage. Elements of the list are owned by bamf and should not be unreffed.- Return type:
Note: Makes sever dbus calls the first time this is called on a view. Dbus messaging is reduced afterwards.
- do_get_icon() virtual¶
- Return type:
Gets the icon of a view. This icon is used to visually represent the view.
- do_get_name() virtual¶
- Return type:
Gets the name of a view. This name is a short name best used to represent the view with text.
- do_is_active() virtual¶
- Return type:
Determines if the view is currently active and focused by the user. Useful for an active window indicator.
- do_is_running() virtual¶
- Return type:
Determines if the view is currently running. Useful for a running window indicator.
- do_is_starting() virtual¶
- Return type:
Determines if the view is currently starting. Useful for the startup animation.
- do_is_urgent() virtual¶
- Return type:
Determines if the view is currently requiring attention. Useful for a running window indicator.
- do_is_user_visible() virtual¶
- Returns:
a boolean useful for determining if a particular view is “user visible”. User visible is a concept relating to whether or not a window should be shown in a launcher tasklist.
- Return type:
New in version 0.4.0.
Signal Details¶
- Bamf.View.signals.active_changed(view, object)¶
- Bamf.View.signals.child_added(view, object)¶
- Bamf.View.signals.child_moved(view, object)¶
- Bamf.View.signals.child_removed(view, object)¶
- Bamf.View.signals.closed(view)¶
- Bamf.View.signals.icon_changed(view, object)¶
- Bamf.View.signals.name_changed(view, object, p0)¶
- Bamf.View.signals.running_changed(view, object)¶
- Bamf.View.signals.starting_changed(view, object)¶
- Bamf.View.signals.urgent_changed(view, object)¶