Bamf.View – libbamf3 Reference Manual
Packages
libbamf3
Bamf
View
active
path
running
starting
urgent
user_visible
View
click_behavior
get_children
get_click_suggestion
get_icon
get_name
get_view_type
has_child
is_active
is_closed
is_running
is_starting
is_sticky
is_urgent
is_user_visible
peek_children
set_path
set_sticky
active_changed
child_added
child_moved
child_removed
closed
icon_changed
name_changed
running_changed
starting_changed
urgent_changed
user_visible_changed
View
Object Hierarchy:
Description:
[
CCode
( type_id =
"bamf_view_get_type ()"
) ]
public
class
View
:
InitiallyUnowned
All known sub-classes:
Application
Tab
Window
Namespace:
Bamf
Package:
libbamf3
Content:
Properties:
public
bool
active
{
get
; }
public
string
path
{
owned
get
; }
public
bool
running
{
get
; }
public
bool
starting
{
get
; }
public
bool
urgent
{
get
; }
public
bool
user_visible
{
get
; }
Creation methods:
protected
View
()
Methods:
public
virtual
ClickBehavior
click_behavior
()
public
virtual
List
<
unowned
View
>
get_children
()
Note: Makes sever dbus calls the first time this is called on a view.
public
ClickBehavior
get_click_suggestion
()
public
virtual
string
get_icon
()
Gets the icon of a view.
public
virtual
string
get_name
()
Gets the name of a view.
public
virtual
unowned
string
get_view_type
()
The view type of a window is a short string used to represent all views of the same class.
public
bool
has_child
(
View
child)
public
virtual
bool
is_active
()
Determines if the view is currently active and focused by the user.
public
bool
is_closed
()
Determines if the view is closed or not.
public
virtual
bool
is_running
()
Determines if the view is currently running.
public
virtual
bool
is_starting
()
Determines if the view is currently starting.
public
bool
is_sticky
()
public
virtual
bool
is_urgent
()
Determines if the view is currently requiring attention.
public
virtual
bool
is_user_visible
()
public
unowned
List
<
View
>
peek_children
()
Note: Makes sever dbus calls the first time this is called on a view.
public
virtual
void
set_path
(
string
path)
public
virtual
void
set_sticky
(
bool
value)
Signals:
public
virtual
signal
void
active_changed
(
bool
active)
public
virtual
signal
void
child_added
(
View
child)
public
virtual
signal
void
child_moved
(
View
child)
public
virtual
signal
void
child_removed
(
View
child)
public
virtual
signal
void
closed
()
public
virtual
signal
void
icon_changed
(
string
icon)
public
virtual
signal
void
name_changed
(
string
old_name,
string
new_name)
public
virtual
signal
void
running_changed
(
bool
running)
public
virtual
signal
void
starting_changed
(
bool
starting)
public
virtual
signal
void
urgent_changed
(
bool
urgent)
public
virtual
signal
void
user_visible_changed
(
bool
user_visible)
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref