On 08 Jan, t...@netsurf-browser.org wrote:

> The Atari, Amiga, and BeOS front ends all need updated.

In case it isn't clear, if you need to implement a menu option to
cut/copy/paste, you pass the approprate key to the core.

So for browser windows:

  browser_window_key_press(bw, KEY_CUT_SELECTION);
  browser_window_key_press(bw, KEY_COPY_SELECTION);
  browser_window_key_press(bw, KEY_PASTE);

Then the gui_{get|set}_clipboard functions will be called by the core if
the core is able to deal with the action.

(e.g. for KEY_PASTE, there must be an editable feature with input focus in
the core for it to act on the KEY_PASTE and call gui_get_clipboard).

-- 

Michael Drake (tlsa)                  http://www.netsurf-browser.org/

Reply via email to