Tom Smith wrote:
> One more question... is there a way to allow users to cut or copy
> the output from Fl_Browser and paste it into a text editor or word processor?

        I've done this by making a shortcut for ^C to take the selected
        text and apply it to Fl::copy():

        DOCS FOR Fl::copy()
        http://fltk.org/documentation.php/doc-1.1/Fl.html#Fl.copy

        Basically in response to a ^C, have your app accumulate all
        the selected items into a single string with CRLFs, and then
        pass that string to Fl::copy() for both the selection clipboard
        (used under linux for "middle click" pastes) and the primary clipboards.
        (for ^V pastes).
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to