> I'd like to use the 'ctrl c' and 'ctrl v' shortcuts in order 
> to copy/paste the text from my app to the Windows Note Pad 
> (for exemple).
> So I tried to use the Fl_Text_Buffer
> 
> Fl_Text_Buffer *buff = new Fl_Text_Buffer();
> buff->text(text->value());
> 
> It doesn't work and I know I surely missed something but I 
> just don't know what.
> Can someone help me ?

I'm not clear why are you using Fl_Text_Buffer here? It is the back-end
mechansim for the Fl_Text_Editor type widgets and is not (particularly)
related to cut'n'paste.

You probably want to check the docs for Fl::paste() and Fl::event_text()
and so forth, maybe that is what you want?






SELEX Sensors and Airborne Systems Limited
Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 
3EL
A company registered in England & Wales.  Company no. 02426132
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to