Top |
GList * | bamf_view_get_children () |
GList * | bamf_view_peek_children () |
gboolean | bamf_view_has_child () |
gboolean | bamf_view_is_closed () |
gboolean | bamf_view_is_active () |
gboolean | bamf_view_is_starting () |
gboolean | bamf_view_is_running () |
gboolean | bamf_view_is_urgent () |
gboolean | bamf_view_is_user_visible () |
gchar * | bamf_view_get_name () |
gchar * | bamf_view_get_icon () |
const gchar * | bamf_view_get_view_type () |
void | bamf_view_set_sticky () |
gboolean | bamf_view_is_sticky () |
BamfClickBehavior | bamf_view_get_click_suggestion () |
gboolean | bamf_view_user_visible () |
void | active-changed | Run First |
void | child-added | Run First |
void | child-moved | Run First |
void | child-removed | Run First |
void | closed | Run Last |
void | icon-changed | |
void | name-changed | |
void | running-changed | Run First |
void | starting-changed | Run First |
void | urgent-changed | Run First |
void | user-visible-changed | Run First |
#define | BAMF_TYPE_VIEW |
#define | BAMF_VIEW_SIGNAL_ACTIVE_CHANGED |
#define | BAMF_VIEW_SIGNAL_RUNNING_CHANGED |
#define | BAMF_VIEW_SIGNAL_STARTING_CHANGED |
#define | BAMF_VIEW_SIGNAL_URGENT_CHANGED |
#define | BAMF_VIEW_SIGNAL_USER_VISIBLE_CHANGED |
#define | BAMF_VIEW_SIGNAL_NAME_CHANGED |
#define | BAMF_VIEW_SIGNAL_ICON_CHANGED |
#define | BAMF_VIEW_SIGNAL_CHILD_ADDED |
#define | BAMF_VIEW_SIGNAL_CHILD_REMOVED |
#define | BAMF_VIEW_SIGNAL_CHILD_MOVED |
#define | BAMF_VIEW_SIGNAL_CLOSED |
enum | BamfClickBehavior |
struct | BamfViewClass |
BamfView |
GObject ╰── GInitiallyUnowned ╰── BamfView ├── BamfApplication ├── BamfTab ╰── BamfWindow
GList *
bamf_view_get_children (BamfView *view
);
Note: Makes sever dbus calls the first time this is called on a view. Dbus messaging is reduced afterwards.
Returns a list of BamfView which must be freed after usage. Elements of the list are owned by bamf and should not be unreffed.
[element-type Bamf.View][transfer container]
GList *
bamf_view_peek_children (BamfView *view
);
Note: Makes sever dbus calls the first time this is called on a view. Dbus messaging is reduced afterwards.
Returns a list of BamfView which is owned by the BamfView and should not freed or modified after usage.
[element-type Bamf.View][transfer none]
Since: 0.5.2
gboolean
bamf_view_is_closed (BamfView *view
);
Determines if the view is closed or not.
gboolean
bamf_view_is_active (BamfView *view
);
Determines if the view is currently active and focused by the user. Useful for an active window indicator.
gboolean
bamf_view_is_starting (BamfView *view
);
Determines if the view is currently starting. Useful for the startup animation.
gboolean
bamf_view_is_running (BamfView *view
);
Determines if the view is currently running. Useful for a running window indicator.
gboolean
bamf_view_is_urgent (BamfView *view
);
Determines if the view is currently requiring attention. Useful for a running window indicator.
gboolean
bamf_view_is_user_visible (BamfView *view
);
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.
Since: 0.4.0
gchar *
bamf_view_get_name (BamfView *view
);
Gets the name of a view. This name is a short name best used to represent the view with text.
gchar *
bamf_view_get_icon (BamfView *view
);
Gets the icon of a view. This icon is used to visually represent the view.
const gchar *
bamf_view_get_view_type (BamfView *view
);
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.
[virtual view_type]
BamfClickBehavior
bamf_view_get_click_suggestion (BamfView *view
);
bamf_view_get_click_suggestion
is deprecated and should not be used in newly-written code.
gboolean
bamf_view_user_visible (BamfView *view
);
bamf_view_user_visible
has been deprecated since version 0.4.0 and should not be used in newly-written code.
[skip]
#define BAMF_VIEW_SIGNAL_USER_VISIBLE_CHANGED "user-visible-changed"
struct BamfViewClass { GInitiallyUnownedClass parent_class; GList * (*get_children) (BamfView *view); gboolean (*is_active) (BamfView *view); gboolean (*is_running) (BamfView *view); gboolean (*is_urgent) (BamfView *view); gboolean (*is_user_visible) (BamfView *view); gchar * (*get_name) (BamfView *view); gchar * (*get_icon) (BamfView *view); const gchar * (*view_type) (BamfView *view); void (*set_path) (BamfView *view, const gchar *path); void (*set_sticky) (BamfView *view, gboolean value); BamfClickBehavior (*click_behavior) (BamfView *view); /*< signals >*/ void (*active_changed) (BamfView *view, gboolean active); void (*closed) (BamfView *view); void (*child_added) (BamfView *view, BamfView *child); void (*child_removed) (BamfView *view, BamfView *child); void (*running_changed) (BamfView *view, gboolean running); void (*urgent_changed) (BamfView *view, gboolean urgent); void (*user_visible_changed) (BamfView *view, gboolean user_visible); void (*name_changed) (BamfView *view, gchar* old_name, gchar* new_name); void (*icon_changed) (BamfView *view, gchar* icon); void (*child_moved) (BamfView *view, BamfView *child); gboolean (*is_starting) (BamfView *view); void (*starting_changed) (BamfView *view, gboolean starting); };
“starting”
property “starting” gboolean
starting.
Owner: BamfView
Flags: Read
Default value: FALSE
“active-changed”
signalvoid user_function (BamfView *bamfview, gboolean arg1, gpointer user_data)
Flags: Run First
“child-added”
signalvoid user_function (BamfView *bamfview, BamfView *arg1, gpointer user_data)
Flags: Run First
“child-moved”
signalvoid user_function (BamfView *bamfview, BamfView *arg1, gpointer user_data)
Flags: Run First
“child-removed”
signalvoid user_function (BamfView *bamfview, BamfView *arg1, gpointer user_data)
Flags: Run First
“name-changed”
signalvoid user_function (BamfView *bamfview, char *arg1, char *arg2, gpointer user_data)
“running-changed”
signalvoid user_function (BamfView *bamfview, gboolean arg1, gpointer user_data)
Flags: Run First
“starting-changed”
signalvoid user_function (BamfView *bamfview, gboolean arg1, gpointer user_data)
Flags: Run First
“urgent-changed”
signalvoid user_function (BamfView *bamfview, gboolean arg1, gpointer user_data)
Flags: Run First
“user-visible-changed”
signalvoid user_function (BamfView *bamfview, gboolean arg1, gpointer user_data)
Flags: Run First