hildon-status-bar-item.h File Reference

#include <gtk/gtkcontainer.h>
#include <gtk/gtkimage.h>
#include <gdk/gdkpixbuf.h>
#include <libosso.h>

Go to the source code of this file.

Classes

struct  _HildonStatusBarItem
struct  _HildonStatusBarItemClass
struct  _HildonStatusBarPluginFn_st

Defines

#define HILDON_STATUS_BAR_ITEM_TYPE   ( hildon_status_bar_item_get_type() )
#define HILDON_STATUS_BAR_ITEM(obj)
#define HILDON_STATUS_BAR_ITEM_CLASS(klass)
#define HILDON_IS_STATUS_BAR_ITEM(obj)
#define HILDON_IS_STATUS_BAR_ITEM_CLASS(klass)
#define HILDON_STATUS_BAR_ITEM_GET_PRIVATE(obj)

Typedefs

typedef _HildonStatusBarItem HildonStatusBarItem
typedef _HildonStatusBarItemClass HildonStatusBarItemClass
typedef _HildonStatusBarPluginFn_st HildonStatusBarPluginFn_st
typedef void(* HildonStatusBarItemEntryFn )(HildonStatusBarPluginFn_st *fn)
typedef void *(* HildonStatusBarItemInitializeFn )(HildonStatusBarItem *item, GtkWidget **button)
typedef void(* HildonStatusBarItemDestroyFn )(void *data)
typedef void(* HildonStatusBarItemUpdateFn )(void *data, gint value1, gint value2, const gchar *str)
typedef int(* HildonStatusBarItemGetPriorityFn )(void *data)

Functions

GType hildon_status_bar_item_get_type (void)
HildonStatusBarItem * hildon_status_bar_item_new (const char *path, const char *name)
void hildon_status_bar_item_update (HildonStatusBarItem *item, gint value1, gint value2, const gchar *str)
gint hildon_status_bar_item_get_priority (HildonStatusBarItem *item)
const gchar * hildon_status_bar_item_get_name (HildonStatusBarItem *item)


Detailed Description


Define Documentation

#define HILDON_IS_STATUS_BAR_ITEM obj   ) 
 

Value:

(GTK_CHECK_TYPE (obj, \
            HILDON_STATUS_BAR_ITEM_TYPE))

#define HILDON_IS_STATUS_BAR_ITEM_CLASS klass   ) 
 

Value:

(GTK_CHECK_CLASS_TYPE ((klass), \
            HILDON_STATUS_BAR_ITEM_TYPE))

#define HILDON_STATUS_BAR_ITEM obj   ) 
 

Value:

(GTK_CHECK_CAST (obj, \
            HILDON_STATUS_BAR_ITEM_TYPE, \
            HildonStatusBarItem))

#define HILDON_STATUS_BAR_ITEM_CLASS klass   ) 
 

Value:

(GTK_CHECK_CLASS_CAST ((klass), \
            HILDON_STATUS_BAR_ITEM_TYPE, HildonStatusBarItemClass))

#define HILDON_STATUS_BAR_ITEM_GET_PRIVATE obj   ) 
 

Value:

(G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
        HILDON_STATUS_BAR_ITEM_TYPE, HildonStatusBarItemPrivate));


Function Documentation

const gchar* hildon_status_bar_item_get_name HildonStatusBarItem *  item  ) 
 

Parameters:
*item item to get the name
Returns:
*gchar name
accessor function to get plugin name

gint hildon_status_bar_item_get_priority HildonStatusBarItem *  item  ) 
 

Parameters:
*item item to get priority from
Returns:
gint priority of the item
accessor function to get plugin priority

GType hildon_status_bar_item_get_type void   ) 
 

Returns:
GType GType of HildonStatusBarItem
This function registers the status bar item type.

HildonStatusBarItem* hildon_status_bar_item_new const char *  path,
const char *  name
 

Parameters:
*path full path to the plugin library file
*name string naming the plugin
Returns:
HildonStatusBarItem the newly created plugin reference
Creates a new statusbar item.

void hildon_status_bar_item_update HildonStatusBarItem *  item,
gint  value1,
gint  value2,
const gchar *  str
 

Parameters:
*item the item to update
value1 parameter to be given to the plugin's own update function
value2 parameter to be given to the plugin's own update function
str parameter to be given to the plugin's own update function
Call's the item's update function and passes on the parameters.


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