/ gwwindowboxmail.h / Functions / Description

Functions



gw_mail_window_box_create

Creates a mail window box.
GtkWindow * gw_mail_window_box_create ( GtkWindow *window, gchar *file_name);
This function creates a mail window box.

Parameters
w the parent window
file_name the catalog file name

Result: the mail box window.
Returns NULL when an error occured..


gw_mail_window_box_get_main_window

Gets the parent window.
GtkWindow * gw_mail_window_box_get_main_window ( GtkWindow *w);
This function gets the parent window of the mail window box.

Parameters
w the mail window box

Result: the parent window of the mail window box Returns NULL when an error occured..


gw_mail_window_box_get_to

Gets the "TO" field.
gchar * gw_mail_window_box_get_to ( GtkWindow *w);
This function gets the "TO" field of the mail window box. It's a new allocated string and must be freed with g_free().


Parameters
w the mail window box

Result: the field "TO".
Returns NULL when an error occured..


gw_mail_window_box_get_cc

Gets the "CC" field.
gchar * gw_mail_window_box_get_cc ( GtkWindow *w);
This function gets the "CC" field of the mail window box. It's a new allocated string and must be freed with g_free().


Parameters
w the mail window box

Result: the field "CC".
Returns NULL when an error occured..


gw_mail_window_box_get_bcc

Gets the "BCC" field.
gchar * gw_mail_window_box_get_bcc ( GtkWindow *w);
This function gets the "BCC" field of the mail window box. It's a new allocated string and must be freed with g_free().


Parameters
w the mail window box

Result: the field "BCC".
Returns NULL when an error occured..


gw_mail_window_box_get_subject

Gets the subject.
gchar * gw_mail_window_box_get_subject ( GtkWindow *w);
This function gets the subject of the mail window box. It's a new allocated string and must be freed with g_free().


Parameters
w the mail window box

Result: the subject.
Returns NULL when an error occured..


gw_mail_window_box_get_msg

Gets the message.
gchar * gw_mail_window_box_get_msg ( GtkWindow *w);
This function gets the message of the mail window box. It's a new allocated string and must be freed with g_free().


Parameters
w the mail window box

Result: the message.
Returns NULL when an error occured..


gw_mail_window_box_get_file_path

Gets the file path.
gchar * gw_mail_window_box_get_file_path ( GtkWindow *w);
This function gets the file path of the mail window box. It's a new allocated string and must be freed with g_free().


Parameters
w the mail window box

Result: the file path.
Returns NULL when an error occured..


gw_mail_window_box_get_option_attach_file

Gets if attach file option is checked.
gboolean gw_mail_window_box_get_option_attach_file ( GtkWindow *w);
This function gets if attach file option is checked.

Parameters
w the mail window box

Result: Returns TRUE if option is checked.
Returns NULL otherwise or when an error occured..