OK, I've added this to the TODO list for Fl_Native_File_Chooser:

> Christophe points out differences with FLTK's API:

    * type enums are different (Fl_File_Chooser::MULTI vs. 
Fl_Native_File_Chooser::BROWSE_MULTI_FILE)
      SOLUTION: mark old names legacy, implement FLTK's names as alternate, 
modify docs.

    * show() works differently (Native's show() blocks)
      SOLUTION: Meh, not sure there is one, native choosers have to block.

    * filters have slightly different syntax ("type (*.ext)\t" vs.  
"type\t*.ext\n")
      SOLUTION: Might be as simple as just ignoring parens around filter when 
specified.
                Document FLTK's syntax, and indicate old syntax is legacy.

    * filename() is indexed from 0 instead of 1
    * filename() should be changed to value()

      SOLUTION: Kill above two birds with one stone:
                Mark filename() as obsolete/legacy in docs, keep method code.
                Implement value(int) and friends to replace filename(),
                making sure value(int) is 1 based. Make docs and for() loop
                example 1 based.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to