[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Clipboard



Quoting Gerhard Stoll <gerhard_stoll@gmx.de>:

Is there a lib for reading/writing text or other formats from/to
the clipboard ?

The cf-lib have the function:
int get_scrapdir(char *scrap);
void scrap_clear(void);
char *scrap_rtxt(char *buf, long *len, long maxlen);
void scrap_wtxt(char *buf);

Gerhard
--

I must have a look at the cflib docs to see if it helps.

Do you need to know the size of the clipboard file before
calling that ?

The routine I am writing for Highwire does not use a fixed
file size.

Peter