hn-wm-watchable-app.h File Reference

#include "hn-wm.h"

Go to the source code of this file.

Functions

HNWMWatchableApp * hn_wm_watchable_app_new (const char *file)
const gchar * hn_wm_watchable_app_get_service (HNWMWatchableApp *app)
const gchar * hn_wm_watchable_app_get_exec (HNWMWatchableApp *app)
const gchar * hn_wm_watchable_app_get_name (HNWMWatchableApp *app)
const gchar * hn_wm_watchable_app_get_icon_name (HNWMWatchableApp *app)
const gchar * hn_wm_watchable_app_get_class_name (HNWMWatchableApp *app)
gboolean hn_wm_watchable_app_has_startup_notify (HNWMWatchableApp *app)
gboolean hn_wm_watchable_app_is_minimised (HNWMWatchableApp *app)
void hn_wm_watchable_app_set_minimised (HNWMWatchableApp *app, gboolean minimised)
gboolean hn_wm_watchable_app_has_windows (HNWMWatchableApp *app)
gboolean hn_wm_watchable_app_is_hibernating (HNWMWatchableApp *app)
void hn_wm_watchable_app_set_hibernate (HNWMWatchableApp *app, gboolean hibernate)
gboolean hn_wm_watchable_app_is_able_to_hibernate (HNWMWatchableApp *app)
void hn_wm_watchable_app_set_able_to_hibernate (HNWMWatchableApp *app, gboolean hibernate)
void hn_wm_watchable_app_destroy (HNWMWatchableApp *app)
void hn_wm_watchable_app_died_dialog_show (HNWMWatchableApp *app)
void hn_wm_watchable_app_launch_banner_show (GtkWidget *parent, HNWMWatchableApp *app)
void hn_wm_watchable_app_launch_banner_close (GtkWidget *parent, HNWMLaunchBannerInfo *info)
gboolean hn_wm_watchable_app_launch_banner_timeout (gpointer data)
void hn_wm_watchable_app_hibernate (HNWMWatchableApp *app)
void hn_wm_watchable_app_set_ping_timeout_note (HNWMWatchableApp *app, GtkWidget *note)
GtkWidget * hn_wm_watchable_app_get_ping_timeout_note (HNWMWatchableApp *app)
HNWMWatchedWindow * hn_wm_watchable_app_get_active_window (HNWMWatchableApp *app)
void hn_wm_watchable_app_set_active_window (HNWMWatchableApp *app, HNWMWatchedWindow *win)


Detailed Description


Function Documentation

void hn_wm_watchable_app_destroy HNWMWatchableApp *  app  ) 
 

Destroys an application instance and frees all associated memory.

Parameters:
app HNWMWatchableApp instance

void hn_wm_watchable_app_died_dialog_show HNWMWatchableApp *  app  ) 
 

Shows application died dialog

Parameters:
app HNWMWatchableApp instance

const gchar* hn_wm_watchable_app_get_class_name HNWMWatchableApp *  app  ) 
 

Get the class field set via .desktop file of an HNWMWatchableApp instance. You should not free the result.

Parameters:
app HNWMWatchableApp instance
Returns:
class field value

const gchar* hn_wm_watchable_app_get_exec HNWMWatchableApp *  app  ) 
 

Get the Exec field set via .desktop file of an HNWMWatchableApp instance. You should not free the result.

Parameters:
app HNWMWatchableApp instance
Returns:
exec field value

const gchar* hn_wm_watchable_app_get_icon_name HNWMWatchableApp *  app  ) 
 

Get the icon field set via .desktop file of an HNWMWatchableApp instance. You should not free the result.

Parameters:
app HNWMWatchableApp instance
Returns:
icon field value

const gchar* hn_wm_watchable_app_get_name HNWMWatchableApp *  app  ) 
 

Get the name field set via .desktop file of an HNWMWatchableApp instance. You should not free the result.

Parameters:
app HNWMWatchableApp instance
Returns:
name field value

const gchar* hn_wm_watchable_app_get_service HNWMWatchableApp *  app  ) 
 

Get the X-Osso-Service field set via .desktop file of an HNWMWatchableApp instance. You should not free the result.

Parameters:
app HNWMWatchableApp instance
Returns:
exec field value

gboolean hn_wm_watchable_app_has_startup_notify HNWMWatchableApp *  app  ) 
 

Check if app needs startup banner.

Parameters:
app HNWMWatchableApp instance
Returns:
TRUE if app requires banner when starting, FALSE if not

gboolean hn_wm_watchable_app_has_windows HNWMWatchableApp *  app  ) 
 

Check if windows exist referencing this app instance

Parameters:
app HNWMWatchableApp instance
Returns:
TRUE if windows exist for this app instance, FALSE if not

gboolean hn_wm_watchable_app_is_able_to_hibernate HNWMWatchableApp *  app  ) 
 

Checks if the app is able to hibernate

Parameters:
app HNWMWatchableApp instance
Returns:
TRUE if able to hibernate, FALSE if not.

gboolean hn_wm_watchable_app_is_hibernating HNWMWatchableApp *  app  ) 
 

Check if application is in hibernation state - i.e not actually running but item exists for it in application switcher.

Parameters:
app HNWMWatchableApp instance
Returns:
TRUE is application is hibernating, False if not.

gboolean hn_wm_watchable_app_is_minimised HNWMWatchableApp *  app  ) 
 

Check if app window(s) are minimised. FIXME: may break with windows as views

Parameters:
app HNWMWatchableApp instance
Returns:
TRUE if minimised, FALSE if not.

void hn_wm_watchable_app_launch_banner_close GtkWidget *  parent,
HNWMLaunchBannerInfo *  info
 

FIXME: Can be static ?

Parameters:
parent 

void hn_wm_watchable_app_launch_banner_show GtkWidget *  parent,
HNWMWatchableApp *  app
 

FIXME: CAn be static ? Shows launch banner for app

Parameters:
parent 
app HNWMWatchableApp instance

gboolean hn_wm_watchable_app_launch_banner_timeout gpointer  data  ) 
 

FIXME: this can be static

Parameters:
data 
Returns:

HNWMWatchableApp* hn_wm_watchable_app_new const char *  file  ) 
 

Create a new watchable app instance from a MBDotDesktop

Parameters:
desktop MBDotDesktop .desktop file representation
Returns:
pointer to HNWMWatchableApp instance, NULL if missing fields

void hn_wm_watchable_app_set_able_to_hibernate HNWMWatchableApp *  app,
gboolean  hibernate
 

Sets if the application can hibernate.

FIXME: should probably be static

Parameters:
app HNWMWatchableApp instance
hibernate TRUE if hibernation possible, FALSE otherwise.

void hn_wm_watchable_app_set_hibernate HNWMWatchableApp *  app,
gboolean  hibernate
 

Sets the hibernation flag of the app. Does not actually hibernate however.

FIXME: this is confusing and should somehow be removed.

Parameters:
app HNWMWatchableApp instance
hibernate TRUE if hibernating, FALSE if not

void hn_wm_watchable_app_set_minimised HNWMWatchableApp *  app,
gboolean  minimised
 

Sets minimised state of app.

Parameters:
app HNWMWatchableApp instance
minimised TRUE if app minimised, FALSE if not.


Generated on Fri Jun 9 16:23:21 2006 for maemo-af-desktop-documentation by  doxygen 1.4.6