/ gwfileselectionbox.h / Functions / Description

Functions



gw_file_selection_box_create

Creates and shows a file selection window box.
GtkWidget * gw_file_selection_box_create ( gchar *title, GtkSignalFunc ok, GtkSignalFunc cancel);
This function creates and shows a file selection box.

Parameters
title the file selection box title
ok the function which will be call when user clicks on ok button
cancel the function which will be call when user clicks on cancel button

Result: the file selection box.
Returns NULL when an error occured..


gw_file_selection_box_create_full

Creates and shows a file selection window box.
GtkWidget * gw_file_selection_box_create_full ( gchar *title, GtkSignalFunc ok, GtkSignalFunc cancel, gpointer data);
This function creates and shows a file selection box.

Parameters
title the file selection box title
ok the function which will be call when user clicks on ok button
cancel the function which will be call when user clicks on cancel button
data user data

Result: the file selection box.
Returns NULL when an error occured..


gw_file_selection_box_hide_fileops

Hides the buttons bar.
gboolean gw_file_selection_box_hide_fileops ( GtkWidget *w, GtkFileSelection *fs);
This function hides the buttons bar.

Parameters
w the button invoker
fs the file selection box

Result: an error code.
Returns TRUE when it's done.
Returns FALSE when an error occured.
.


gw_file_selection_box_show_fileops

Shows the buttons bar.
gboolean gw_file_selection_box_show_fileops ( GtkWidget *w, GtkFileSelection *fs);
This function shows the buttons bar.

Parameters
w the button invoker
fs the file selection box

Result: an error code.
Returns TRUE when it's done.
Returns FALSE when an error occured.
.


gw_file_selection_box_get_user_data

Gets previously stored user data.
gpointer gw_file_selection_box_get_user_data ( GtkWindow *w);
This function gets previously stored user data.

Parameters
w dialog box window

Result: user data.