openldev/openldev-widgets/openldev-status-bar.h File Reference

StatusBar. More...

#include <iostream>
#include <vector>
#include <gtk/gtk.h>
#include <libgnomeui/libgnomeui.h>

Data Structures

struct  StatusBar
 A GnomeAppBar widget to show messages to the user. More...

Functions

StatusBaropenldev_status_bar_new ()
void openldev_status_bar_set_message (StatusBar *bar, gchar *message)
void openldev_status_bar_lock_message (StatusBar *bar, gchar *message)
void openldev_status_bar_unlock_message (StatusBar *bar)


Detailed Description


Function Documentation

void openldev_status_bar_lock_message StatusBar bar,
gchar *  message
 

Set the current message on the status bar. This message is locked, so other parts of the application cannot edit it. Make sure to unlock the message when you are done! This will append a message on the stack, so when you unlock the message, it will revert to the prior.

Parameters:
bar A StatusBar object.
message The message to show on the status bar.

StatusBar* openldev_status_bar_new  ) 
 

Create a new StatusBar object. This is useful if you want a generic GnomeAppBar widget somewhere else in the application.

Returns:
A new StatusBar object.

void openldev_status_bar_set_message StatusBar bar,
gchar *  message
 

Set the current message on the status bar. This is not locked, so it can be changed by other parts of the application.

Parameters:
bar A StatusBar object.
message The message to show on the status bar.

void openldev_status_bar_unlock_message StatusBar bar  ) 
 

Unlock the status bar message and revert to the prior message. Make sure you do this when locking is no longer necessary!

Parameters:
bar A StatusBar object.


Generated on Sun May 14 14:57:41 2006 for OpenLDev by  doxygen 1.4.6