|  |  |  | libbamf Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
struct BamfApplication; struct BamfApplicationClass; const gchar * bamf_application_get_application_type (BamfApplication *application); const gchar * bamf_application_get_desktop_file (BamfApplication *application); gboolean bamf_application_get_show_menu_stubs (BamfApplication *application); GList * bamf_application_get_windows (BamfApplication *application); GArray * bamf_application_get_xids (BamfApplication *application);
const gchar *       bamf_application_get_application_type
                                                        (BamfApplication *application);
const gchar *       bamf_application_get_desktop_file   (BamfApplication *application);
Used to fetch the path to the .desktop file associated with the passed application. If none exists, the result is NULL.
| 
 | a BamfApplication | 
| Returns : | A string representing the path to the desktop file. | 
gboolean            bamf_application_get_show_menu_stubs
                                                        (BamfApplication *application);
GList *             bamf_application_get_windows        (BamfApplication *application);
Used to fetch all BamfWindow's associated with the passed BamfApplication.
| 
 | a BamfApplication | 
| Returns : | A list of BamfWindow's. [element-type Bamf.Window][transfer container] | 
GArray *            bamf_application_get_xids           (BamfApplication *application);
Used to fetch all BamfWindow's xids associated with the passed BamfApplication.
| 
 | a BamfApplication | 
| Returns : | An array of xids. [transfer full] | 
"window-added" signalvoid user_function (BamfApplication *bamfapplication, BamfView *arg1, gpointer user_data)
| 
 | the object which received the signal. | 
| 
 | user data set when the signal handler was connected. | 
"window-removed" signalvoid user_function (BamfApplication *bamfapplication, BamfView *arg1, gpointer user_data)
| 
 | the object which received the signal. | 
| 
 | user data set when the signal handler was connected. |