| Top |
| const gchar * | bamf_application_get_application_type () |
| const gchar * | bamf_application_get_desktop_file () |
| gchar ** | bamf_application_get_supported_mime_types () |
| GList * | bamf_application_get_windows () |
| GArray * | bamf_application_get_xids () |
| BamfView * | bamf_application_get_focusable_child () |
| gboolean | bamf_application_get_show_menu_stubs () |
| BamfWindow * | bamf_application_get_window_for_xid () |
| gboolean | bamf_application_get_application_menu () |
| #define | BAMF_TYPE_APPLICATION |
| #define | BAMF_APPLICATION_SIGNAL_DESKTOP_FILE_UPDATED |
| #define | BAMF_APPLICATION_SIGNAL_WINDOW_ADDED |
| #define | BAMF_APPLICATION_SIGNAL_WINDOW_REMOVED |
| struct | BamfApplicationClass |
| BamfApplication |
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.
gchar **
bamf_application_get_supported_mime_types
(BamfApplication *application);
GList *
bamf_application_get_windows (BamfApplication *application);
Used to fetch all BamfWindow's associated with the passed BamfApplication.
GArray *
bamf_application_get_xids (BamfApplication *application);
Used to fetch all BamfWindow's xids associated with the passed BamfApplication.
BamfView *
bamf_application_get_focusable_child (BamfApplication *application);
gboolean
bamf_application_get_show_menu_stubs (BamfApplication *application);
Used to discover whether the application wants menu stubs shown.
BamfWindow * bamf_application_get_window_for_xid (BamfApplication *application,guint32 xid);
Used to fetch the application contains a Window with given xid
.
Since: 0.5.2
gboolean bamf_application_get_application_menu (BamfApplication *application,gchar **name,gchar **object_path);
bamf_application_get_application_menu has been deprecated since version 0.5.0 and should not be used in newly-written code.
Used to fetch the bus name and the object path of the remote application menu.
#define BAMF_APPLICATION_SIGNAL_DESKTOP_FILE_UPDATED "desktop-file-updated"
#define BAMF_APPLICATION_SIGNAL_WINDOW_REMOVED "window-removed"
“desktop-file-updated” signalvoid user_function (BamfApplication *bamfapplication, char *arg1, gpointer user_data)
“window-added” signalvoid user_function (BamfApplication *bamfapplication, BamfWindow *arg1, gpointer user_data)
“window-removed” signalvoid user_function (BamfApplication *bamfapplication, BamfWindow *arg1, gpointer user_data)