FLTK logo

[fltk.general] fl_message copy/paste

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

fl_message copy/paste Rob McDonald Feb 08, 2022  
  Is it possible to enable the end-user to copy the text from a fl_message to the OS clipboard?

I'm not interested in making the fl_message work with drag-n-drop events or an application specific clipboard.  When I use a fl_message to display an error message to my users, I'd like for them to be able to copy/paste that message into an email for error reporting (and other use cases).

My wish is that this would be a simple behavior flag to turn on/off.  I suspect it will involve inheriting a custom fl_message_copyable and implementing an event handler with some magic sauce...  I have no experience with the system clipboard through FLTK, so I'm not sure where to start here.

Best,

Rob

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/a129daa1-035e-4837-82c2-7ba7f209df83n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.