Recent

Author Topic: Advice please  (Read 5373 times)

benohb

  • Full Member
  • ***
  • Posts: 213
Advice please
« 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
« Last Edit: January 12, 2014, 04:58:31 pm by benohb »

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Advice please
« Reply #1 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?
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

benohb

  • Full Member
  • ***
  • Posts: 213
Re: Advice please
« Reply #2 on: January 13, 2014, 03:55:04 am »
Yes .. I want to copy images (from - to) an external program.. like GIMP  or OpenOffice
« Last Edit: January 13, 2014, 04:02:46 am by benohb »

Graeme

  • Hero Member
  • *****
  • Posts: 1428
    • Graeme on the web
Re: Advice please
« Reply #3 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.
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

benohb

  • Full Member
  • ***
  • Posts: 213
Re: Advice please
« Reply #4 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 ...it saves the  clipboard content to databas (to and from)..type image/txt.
I hope this helps
« Last Edit: January 17, 2014, 07:29:05 am by benohb »

 

TinyPortal © 2005-2018