Lazarus

Programming => Widgetset => Other => Topic started by: benohb on January 12, 2014, 04:15:44 pm

Title: Advice please
Post by: benohb on January 12, 2014, 04:15:44 pm
I use fpgui In my  project ..there are no clipboard pictures *AFAIK*
The operating system is Linux and I try making a library for linking the program with clipboard GUI

Explanation
Fpgui application <--> Gtk-clipboard.SO or  Qt-clipboard.SO

I've used LCL in library but this is not effective ....there is no error messages ...only the clipboard content does not change
Generally speaking ... I do not want to use the libraries in the program (if can) ...

Any advice  :)


Thank you
Title: Re: Advice please
Post by: Graeme on January 12, 2014, 08:41:20 pm
Do you mean you want to copy and paste images to/from the clipboard?

If so, is that functionality only required inside your application, or do you want to copy say an Image from a OpenOffice document to your fpGUI based application?
Title: Re: Advice please
Post by: benohb on January 13, 2014, 03:55:04 am
Yes .. I want to copy images (from - to) an external program.. like GIMP  or OpenOffice
Title: Re: Advice please
Post by: Graeme on January 15, 2014, 08:11:54 pm
OK, thanks for explaining further. The bulk workings of clipboard support is implemented, so I'll just have to read up a bit more on non-text [clipboard content types] items in the clipboard. I'll take a look and post back here as soon as it is implemented.
Title: Re: Advice please
Post by: benohb on January 17, 2014, 07:20:28 am
Code: [Select]
I'll take a look and post back here as soon as it is implemented.
Take your time  :D

I search for a way to support them in FPgui special xlib ....there are not many examples
https://github.com/Cloudef/xcmenu (https://github.com/Cloudef/xcmenu) ...it saves the  clipboard content to databas (to and from)..type image/txt.
I hope this helps
TinyPortal © 2005-2018