/ gwstatusbar.h / Functions / Description

Functions



gw_status_bar_create

Creates a status bar.
GtkWidget * gw_status_bar_create ( GtkWindow *w);
This function creates a status bar.

Parameters
w refence to the main window

Result: the status bar.
Returns NULL when an error occured..


gw_status_bar_create_and_add

Creates a status bar and adds to the container.
GtkWidget * gw_status_bar_create_and_add ( GtkWindow *w, GtkWidget *parent);
This function creates a status bar and add to the container.

Parameters
w refence to the main window
parent parent container

Result: the status bar.
Returns NULL when an error occured..


gw_status_bar_get_first_status

Gets the first status.
GtkStatusbar * gw_status_bar_get_first_status ( GtkWindow *w);
This function gets the first status.

Parameters
w refence to the main window

Result: the first status.
Returns NULL when an error occured..


gw_status_bar_get_second_status

Gets the second status.
GtkStatusbar * gw_status_bar_get_second_status ( GtkWindow *w);
This function gets the second status.

Parameters
w refence to the main window

Result: the second status.
Returns NULL when an error occured..


gw_status_bar_put_messages

Puts messages into status bar.
gint gw_status_bar_put_messages ( GtkWindow *w, gchar *first_msg, gchar *second_msg);
This function puts messages into status bar.


Parameters
w refence to the main window
first_msg the first message
second_msg the second message

Result: an error code.
Returns 0 when it's done. Returns -1 when an error occured..