EZ
Up Prev Next Contents


3.19 FileSelectors

An FileSelector allows users to select a filename interactively. It consists of two listboxes, two optional entries and a set of buttons. This widget uses the gnu glob library and the gnu tilde library (both are provided).

To create a file selector, use EZ_CreateWidget with type EZ_WIDGET_FILE_SELECTOR or use the next function.

EZ_Widget *EZ_CreateFileSelector(EZ_Widget *parent,

\verb + char *init_pattern)+

To get the components of a FileSelector, use

void EZ_GetFileSelectorComponents(EZ_Widget *fileSelector,

EZ_Widget **patternEntry_ret,

EZ_Widget **selectionEntry_ret,

EZ_Widget **dirListbox_ret,

EZ_Widget **fileListbox_ret,

EZ_Widget **okBtn_ret,

EZ_Widget **filterBtn_ret,

EZ_Widget **cancelBtn_ret)


HTML Documentation Maintainance:Arturo Espinosa <arturo@nuclecu.unam.mx>