/ gwtextbox.h / Functions / Description

Functions



gw_text_box_create

Creates a filled text box.
GtkWidget * gw_text_box_create ( GtkWindow *parent, gchar *title, gchar *subject, gchar *text, GtkSignalFunc ok);
This function creates a filled text box. If the ok callback function is NULL the filled text box is destroy when the user clicks on ok button.

Parameters
w refence to the parent window
title window title
subject frame title
text default text value
ok ok callback function

Result: the filled text box.
Returns NULL when an error occured..


gw_text_box_get_text

Gets the text value
gchar * gw_text_box_get_text ( GtkWidget *w);
This function gets the text value.

Parameters
w the filled text box

Result: the text value. Must be freed with g_free().
Returns NULL when an error occured..


gw_text_box_get_parent_window

Gets the parent window
GtkWindow * gw_text_box_get_parent_window ( GtkWidget *w);
This function gets the parent window.

Parameters
w the filled text box

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