76
76
GType bamf_application_get_type (void) G_GNUC_CONST;
79
* bamf_application_get_applicaton_type:
80
* @application: a #BamfApplication
82
* Used to determine what type of application a .desktop file represents. Current values are:
83
* "system" : A normal application, like firefox or evolution
84
* "web" : A web application, like facebook or twitter
88
78
const gchar * bamf_application_get_application_type (BamfApplication *application);
91
* bamf_application_get_desktop_file:
92
* @application: a #BamfApplication
94
* Used to fetch the path to the .desktop file associated with the passed application. If
95
* none exists, the result is NULL.
97
* Returns: A string representing the path to the desktop file.
99
80
const gchar * bamf_application_get_desktop_file (BamfApplication *application);
102
* bamf_application_get_windows:
103
* @application: a #BamfApplication
105
* Used to fetch all #BamfWindow's associated with the passed #BamfApplication.
107
* Returns: (element-type Bamf.Window) (transfer container): A list of #BamfWindow's.
109
GList * bamf_application_get_windows (BamfApplication *application);
112
* bamf_application_get_xids:
113
* @application: a #BamfApplication
115
* Used to fetch all #BamfWindow's xids associated with the passed #BamfApplication.
117
* Returns: (transfer full): An array of xids.
119
GArray * bamf_application_get_xids (BamfApplication *application);
122
* bamf_application_get_show_stubs:
123
* @application: a #BamfApplication
125
* Used to discover whether the application wants menu stubs shown.
127
* Returns: Whether the stubs should be shown.
129
gboolean bamf_application_get_show_menu_stubs (BamfApplication *application);
82
GList * bamf_application_get_windows (BamfApplication *application);
84
GArray * bamf_application_get_xids (BamfApplication *application);
86
gboolean bamf_application_get_show_menu_stubs (BamfApplication *application);