diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-29 22:59:45 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2001-09-29 22:59:45 +0000 |
| commit | 72b56edc2940e0279a551fa9182d5ffb16cc1953 (patch) | |
| tree | 224ee91888baf40fb040e8854d7105885f94ab27 /src/Fl_File_Chooser.cxx | |
| parent | e7f3ad8691e0d2ef1b9c589d0fe702774182541d (diff) | |
Tooltips, and more tooltips.
Fl_Browser_, Fl_Choice, and Fl_Input_ did not do the tooltip stuff.
Fix write_properties so it writes tooltips properly from FLUID.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_File_Chooser.cxx')
| -rw-r--r-- | src/Fl_File_Chooser.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Fl_File_Chooser.cxx b/src/Fl_File_Chooser.cxx index 42e4747a0..2f17dda52 100644 --- a/src/Fl_File_Chooser.cxx +++ b/src/Fl_File_Chooser.cxx @@ -127,20 +127,24 @@ Fl_File_Chooser::Fl_File_Chooser(const char *d, const char *p, int t, const char fileName->when(FL_WHEN_CHANGED | FL_WHEN_ENTER_KEY_ALWAYS); } { Fl_Button* o = upButton = new Fl_Button(280, 10, 25, 25); + o->tooltip("Show the parent directory."); o->image(bitmap_up); o->labelsize(8); o->callback((Fl_Callback*)cb_upButton); } { Fl_Button* o = newButton = new Fl_Button(310, 10, 25, 25); + o->tooltip("Create a new directory."); o->image(bitmap_new); o->labelsize(8); o->callback((Fl_Callback*)cb_newButton); } { Fl_Choice* o = dirMenu = new Fl_Choice(95, 10, 180, 25, "Directory:"); + o->tooltip("Choose a parent directory."); o->down_box(FL_BORDER_BOX); o->callback((Fl_Callback*)cb_dirMenu); } { Fl_Button* o = new Fl_Button(340, 10, 25, 25); + o->tooltip("Change the filename filter."); o->image(bitmap_allfiles); o->labelsize(28); o->labelcolor(4); |
