Fl_File_Chooser Binding Map

Back to Index
Package name
Fl_File_Chooser FLTK.File_Choosers

Note:

See Fl_Ask for related symbols that are not members of the Fl_File_Chooser class.

Types
Fl_File_Chooser File_Chooser
  File_Chooser_Reference
enum {SINGLE=0, MULTI=1, CREATE=2, DIRECTORY=4} Chooser_Kind
void (*cb)(Fl_File_Chooser *, void *) Chooser_Callback
uchar Icon_Size
Static Attributes
static const char * add_favorites_label = "Add to Favorites";
function Get_Add_Favorites_Label
    return String;

procedure Set_Add_Favorites_Label
       (Value : in String);
static const char * all_files_label = "All Files (*)";
function Get_All_Files_Label
    return String;

procedure Set_All_Files_Label
       (Value : in String);
static const char * custom_filter_label = "Custom Filter";
function Get_Custom_Filter_Label
    return String;

procedure Set_Custom_Filter_Label
       (Value : in String);
static const char * existing_file_label =
    "Please choose an existing file!";
function Get_Existing_File_Label
    return String;

procedure Set_Existing_File_Label
       (Value : in String);
static const char * favorites_label = "Favorites";
function Get_Favorites_Label
    return String;

procedure Set_Favorites_Label
       (Value : in String);
static const char * filename_label = "Filename:";
function Get_Filename_Label
    return String;

procedure Set_Filename_Label
       (Value : in String);
static const char * filesystems_label = "File Systems";
function Get_Filesystems_Label
    return String;

procedure Set_Filesystems_Label
       (Value : in String);
static const char * hidden_label = "Show hidden files";
function Get_Hidden_Label
    return String;

procedure Set_Hidden_Label
       (Value : in String);
static const char * manage_favorites_label =
    "Manage Favorites";
function Get_Manage_Favorites_Label
    return String;

procedure Set_Manage_Favorites_Label
       (Value : in String);
static const char * new_directory_label = "New Directory?";
function Get_New_Directory_Label
    return String;

procedure Set_New_Directory_Label
       (Value : in String);
static const char * new_directory_tooltip =
    "Create a new directory.";
function Get_New_Directory_Tooltip
    return String;

procedure Set_New_Directory_Tooltip
       (Value : in String);
static const char * preview_label = "Preview";
function Get_Preview_Label
    return String;

procedure Set_Preview_Label
       (Value : in String);
static const char * save_label = "Save";
function Get_Save_Label
    return String;

procedure Set_Save_Label
       (Value : in String);
static const char * show_label = "Show:";
function Get_Show_Label
    return String;

procedure Set_Show_Label
       (Value : in String);
static Fl_File_Sort_F * sort = fl_numericsort;
Sort_Method : not null FLTK.Filenames.Compare_Function :=
    FLTK.Filenames.Numeric_Sort'Access;
Attributes
Fl_Button * newButton;
function New_Button
       (This : in out File_Chooser)
    return FLTK.Widgets.Buttons.Button_Reference;
Fl_Check_Button * previewButton;
function Preview_Button
       (This : in out File_Chooser)
    return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference;
Fl_Check_Button * showHiddenButton;
function Show_Hidden_Button
       (This : in out File_Chooser)
    return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference;
Constructors
Fl_File_Chooser(const char *d, const char *p, int t,
    const char *title);
function Create
       (Title    : in String;
        Pattern  : in String;
        Pathname : in String;
        Kind     : in Chooser_Kind := Single)
    return File_Chooser;
Functions and Procedures
Fl_Widget * add_extra(Fl_Widget *gr);
procedure Add_Extra
       (This : in out File_Chooser;
        Item : in out Widgets.Widget'Class);

procedure Remove_Extra
       (This : in out File_Chooser);

function Eject_Extra
       (This : in out File_Chooser;
        Item : in out Widgets.Widget'Class)
    return access Widgets.Widget'Class;
void callback(void(*cb)(Fl_File_Chooser *, void *), void *d=0);
procedure Set_Callback
       (This : in out File_Chooser;
        Func : in     Chooser_Callback);
Fl_Color color();
function Get_Background_Color
       (This : in File_Chooser)
    return Color;
void color(Fl_Color c);
procedure Set_Background_Color
       (This  : in out File_Chooser;
        Value : in     Color);
int count();
function Number_Selected
       (This : in File_Chooser)
    return Natural;
char * directory();
function Get_Directory
       (This : in File_Chooser)
    return String;
void directory(const char *d);
procedure Set_Directory
       (This  : in out File_Chooser;
        Value : in     String);
const char * filter();
function Get_Filter
       (This : in File_Chooser)
    return String;
void filter(const char *p);
procedure Set_Filter
       (This  : in out File_Chooser;
        Value : in     String);
int filter_value();
function Get_Filter_Index
       (This : in File_Chooser)
    return Positive;
void filter_value(int f);
procedure Set_Filter_Index
       (This  : in out File_Chooser;
        Value : in     Positive);
void hide();
procedure Hide
       (This : in out File_Chooser);
uchar iconsize();
function Get_Icon_Size
       (This : in File_Chooser)
    return Icon_Size;
void iconsize(uchar s);
procedure Set_Icon_Size
       (This  : in out File_Chooser;
        Value : in     Icon_Size);
const char * label();
function Get_Label
       (This : in File_Chooser)
    return String;
void label(const char *l);
procedure Set_Label
       (This : in out File_Chooser;
        Text : in     String);
const char * ok_label();
function Get_OK_Label
       (This : in File_Chooser)
    return String;
void ok_label(const char *l);
procedure Set_OK_Label
       (This : in out File_Chooser;
        Text : in     String);
int preview() const;
function Has_Preview
       (This : in File_Chooser)
    return Boolean;
void preview(int e);
procedure Set_Preview
       (This  : in out File_Chooser;
        Value : in     Boolean);
void rescan();
procedure Rescan
       (This : in out File_Chooser);
void rescan_keep_filename();
procedure Rescan_Keep_Filename
       (This : in out File_Chooser);
void show();
procedure Show
       (This : in out File_Chooser);
int shown();
function Is_Shown
       (This : in File_Chooser)
    return Boolean;
Fl_Color textcolor();
function Get_Text_Color
       (This : in File_Chooser)
    return Color;
void textcolor(Fl_Color c);
procedure Set_Text_Color
       (This  : in out File_Chooser;
        Value : in     Color);
Fl_Font textfont();
function Get_Text_Font
       (This : in File_Chooser)
    return Font_Kind;
void textfont(Fl_Font f);
procedure Set_Text_Font
       (This : in out File_Chooser;
        Font : in     Font_Kind);
Fl_Fontsize textsize();
function Get_Text_Size
       (This : in File_Chooser)
    return Font_Size;
void textsize(Fl_Fontsize s);
procedure Set_Text_Size
       (This : in out File_Chooser;
        Size : in     Font_Size);
int type();
function Get_Chooser_Kind
       (This : in File_Chooser)
    return Chooser_Kind;
void type(int t);
procedure Set_Chooser_Kind
       (This : in out File_Chooser;
        Kind : in     Chooser_Kind);
void * user_data() const;
Not used in public API.
void user_data(void *d);
Not used in public API.
void value(const char *filename);
procedure Set_Selected
       (This  : in out File_Chooser;
        Value : in     String);
const char * value(int f=1);
function Get_Selected
       (This  : in File_Chooser;
        Index : in Positive := 1)
    return String
with Pre => Index <= This.Number_Selected;
int visible();
function Is_Visible
       (This : in File_Chooser)
    return Boolean;