AnjutaStatus

AnjutaStatus — Program status such as status message, progress etc.

Stability Level

Unstable, unless otherwise indicated

Synopsis


#include <libanjuta/anjuta-status.h>


                    AnjutaStatusPriv;
                    AnjutaStatus;
GtkWidget*          anjuta_status_new                   (void);
void                anjuta_status_set                   (AnjutaStatus *status,
                                                         const gchar *mesg,
                                                         ...);
void                anjuta_status_push                  (AnjutaStatus *status,
                                                         const gchar *mesg,
                                                         ...);
#define             anjuta_status_pop                   (obj)
#define             anjuta_status_clear_stack           (obj)
void                anjuta_status_busy_push             (AnjutaStatus *status);
void                anjuta_status_busy_pop              (AnjutaStatus *status);
void                anjuta_status_set_default           (AnjutaStatus *status,
                                                         const gchar *label,
                                                         const gchar *value_format,
                                                         ...);
void                anjuta_status_add_widget            (AnjutaStatus *status,
                                                         GtkWidget *widget);
void                anjuta_status                       (AnjutaStatus *status,
                                                         const gchar *mesg,
                                                         gint timeout);
void                anjuta_status_set_title_window      (AnjutaStatus *status,
                                                         GtkWidget *window);
void                anjuta_status_set_title             (AnjutaStatus *status,
                                                         const gchar *title);
void                anjuta_status_progress_add_ticks    (AnjutaStatus *status,
                                                         gint ticks);
void                anjuta_status_progress_tick         (AnjutaStatus *status,
                                                         GdkPixbuf *icon,
                                                         const gchar *text);
void                anjuta_status_progress_reset        (AnjutaStatus *status);

Object Hierarchy


  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkContainer
                           +----GtkBox
                                 +----GtkHBox
                                       +----GnomeAppBar
                                             +----AnjutaStatus

Implemented Interfaces

AnjutaStatus implements AtkImplementorIface.

Signals


  "busy"                                           : Run Last

Description

Details

AnjutaStatusPriv

typedef struct _AnjutaStatusPriv AnjutaStatusPriv;


AnjutaStatus

typedef struct _AnjutaStatus AnjutaStatus;


anjuta_status_new ()

GtkWidget*          anjuta_status_new                   (void);

Returns :

anjuta_status_set ()

void                anjuta_status_set                   (AnjutaStatus *status,
                                                         const gchar *mesg,
                                                         ...);

status :
mesg :
... :

anjuta_status_push ()

void                anjuta_status_push                  (AnjutaStatus *status,
                                                         const gchar *mesg,
                                                         ...);

status :
mesg :
... :

anjuta_status_pop()

#define anjuta_status_pop(obj) gnome_appbar_pop(GNOME_APPBAR((obj)));

obj :

anjuta_status_clear_stack()

#define anjuta_status_clear_stack(obj) gnome_appbar_clear_stack(GNOME_APPBAR((obj)));

obj :

anjuta_status_busy_push ()

void                anjuta_status_busy_push             (AnjutaStatus *status);

status :

anjuta_status_busy_pop ()

void                anjuta_status_busy_pop              (AnjutaStatus *status);

status :

anjuta_status_set_default ()

void                anjuta_status_set_default           (AnjutaStatus *status,
                                                         const gchar *label,
                                                         const gchar *value_format,
                                                         ...);

status :
label :
value_format :
... :

anjuta_status_add_widget ()

void                anjuta_status_add_widget            (AnjutaStatus *status,
                                                         GtkWidget *widget);

status :
widget :

anjuta_status ()

void                anjuta_status                       (AnjutaStatus *status,
                                                         const gchar *mesg,
                                                         gint timeout);

status :
mesg :
timeout :

anjuta_status_set_title_window ()

void                anjuta_status_set_title_window      (AnjutaStatus *status,
                                                         GtkWidget *window);

status :
window :

anjuta_status_set_title ()

void                anjuta_status_set_title             (AnjutaStatus *status,
                                                         const gchar *title);

status :
title :

anjuta_status_progress_add_ticks ()

void                anjuta_status_progress_add_ticks    (AnjutaStatus *status,
                                                         gint ticks);

status :
ticks :

anjuta_status_progress_tick ()

void                anjuta_status_progress_tick         (AnjutaStatus *status,
                                                         GdkPixbuf *icon,
                                                         const gchar *text);

status :
icon :
text :

anjuta_status_progress_reset ()

void                anjuta_status_progress_reset        (AnjutaStatus *status);

status :

Signal Details

The "busy" signal

void                user_function                      (AnjutaStatus *anjutastatus,
                                                        gboolean      arg1,
                                                        gpointer      user_data)         : Run Last

anjutastatus : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.