summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-12-15 15:20:54 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-12-15 15:20:54 +0000
commit6c3a9ec36a4cc68ee241a96511d36f611370e947 (patch)
tree92e47f195725a5e95f328013c13eabc1c1bb2240 /FL
parent4ef0817b83113c7231e3866942d71708026d30d6 (diff)
Add "shown()" method to Fl_File_Chooser.
Use "while shown" instead of "while visible" in chooser functions, since a desktop switch will make FLTK think the window is not visible and prematurely return whatever file you have selected. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1849 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_File_Chooser.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_File_Chooser.H b/FL/Fl_File_Chooser.H
index 6faa205f9..4be5bb883 100644
--- a/FL/Fl_File_Chooser.H
+++ b/FL/Fl_File_Chooser.H
@@ -68,6 +68,7 @@ public:
const char * label();
void rescan();
void show();
+ int shown();
void textcolor(Fl_Color c);
Fl_Color textcolor();
void textfont(uchar f);