Hi all,

As suggested by Micah, we have to discuss about clipboard management.

A first clipboard implementation in PicoGUI is the one done by Chuck
Groom in his textedit widget. Which could be used with the textedit_branch
server and the apps/textedit/ application.

It provide selected text through the PG_WP_SELECTION property of the
widget. But the management have to be done client side which don't permit
copy/paste support through applications.

As each widget manages its own behavior, this implementation is the right
one at the widget level. Each widget is in charge of filling the clipboard
if it integrate select/copy support as of pasting the content of the
clipboard on itself if supported.

We have to think about a server level clipboard manager which will be in
charge of memory management, clipboard type (text, image, ... ), ....
This manager will provide a copy/paste api to the widgets that need one.

Copy on select seems to be a normal behavior for linux users. But only for
linux users... Then certainly a 'replace' (selection by clipboard content)
support will be a must. Which means multiple copy levels in the clipboard
manager.

Discussion is open!
-philippe


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to