Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2000-02

Linux Clipboard

11 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Marc Weustink: You probably already looked there but I'll give them anyway. If I understand it corectly,…
Hongli Lai wrote 7 lines
Op Tue, 29 Feb 2000, schreef Marc Weustink: > You probably already looked there but I'll give them anyway. If I > understand it corectly, the clipboard is just a selection with a predifind > target CLIPBOARD. Yes, but by using GDK TClipboard will loss it's platform/widget independencie.

That's OK if you are creating the clipboard code in the interfacobject.

All platform dependent calls are called like

LCL --> InterfaceObject == GTKObject --> GTK calls == QTObject --> QT calls
== WIN32Object --> WIN32 calls

You said something about API calls. What API calls do you mean?

There exists also WINAPI code and for now it is part of the InterfaceObject (I have some ideas to split this up and have a WINAPIObject per Control per Platrform, but thats for later)

The API functions I mentioned were the normal WINAPI clipboard functions.

If you start to implement some platform functions it is sometimes a nice starting point to first implement them in the WINAPI and after that implemet it on LCL (which should be easy then). This way you can test every single function before inserting them in a complex environment. As a nice side effect, porting will be easier in the future.

Marc

Reply by email

Alexander Mehlhorn AHM
to Hongli Lai: Op Tue, 29 Feb 2000, schreef Marc Weustink: Yes, but by using GDK TClipboard will loss…

Verstehe ich das richtig das du schon einen Ersatz fuer TmwEditList hast ?

Kindest regards, Alexander Mehlhorn (AHM)
_____________________________________________________________________ Home of the AHM Triton Tools 2000 for Delphi and C++ Builder URL: http://www.tritontools.com
E-Mail :
You are welcome to contact in regards to any
questions, ideas or problems you might have.
______________________________________________________________________ Copyright � 2000 Alexander Mehlhorn (AHM) and Tritontools.com. All rights reserved.

Earlier message 27 lines
-----Original Message----- From: Hongli Lai Sent: 29 February 2000 14:48 To: Subject: Re: [lazarus] Linux Clipboard Op Tue, 29 Feb 2000, schreef Marc Weustink: > At 22:44 29-02-2000 +0100, you wrote: > You probably already looked there but I'll give them anyway. If I > understand it corectly, the clipboard is just a selection with a predifind > target CLIPBOARD. > > http://developer.gnome.org/doc/API/gdk/gdk-selections.html > > http://developer.gnome.org/doc/API/gtk/gtk-selections.html > > Marc Yes, but by using GDK TClipboard will loss it's platform/widget independencie. You said something about API calls. What API calls do you mean? _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Hongli Lai
to Marc Weustink: You probably already looked there but I'll give them anyway. If I understand it corectly,…

Op Tue, 29 Feb 2000, schreef Marc Weustink:

Show quoted text 10 lines
At 22:44 29-02-2000 +0100, you wrote: You probably already looked there but I'll give them anyway. If I understand it corectly, the clipboard is just a selection with a predifind target CLIPBOARD. http://developer.gnome.org/doc/API/gdk/gdk-selections.html http://developer.gnome.org/doc/API/gtk/gtk-selections.html Marc

Yes, but by using GDK TClipboard will loss it's platform/widget independencie. You said something about API calls. What API calls do you mean?

Reply by email

Alexander Mehlhorn AHM
to Sebastian Guenther: Ersatz = Replacement - Sebastian
Marc Weustink wrote
At 00:16 01-03-2000 -0800, Alexander Mehlhorn wrote: >Verstehe ich das richtig das du schon einen Ersatz fuer TmwEditList hast

?

OK my german is a bit rusty, aber was ist einen Ersatz ?

Ersatz = Replacement

Sorry ... that message went to the wrong address. Was busy replying to Martin Waldenburg (mwEdit).

- Sebastian

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marc Weustink
to Hongli Lai: Does someone know how to access the Linux clipboard (??gpm??) ? I've already looked into…
you wrote 5 lines
Does someone know how to access the Linux clipboard (??gpm??) ? I've already looked into the GTK+ sources, gpm.h and other thing as well, and I tried to ask this question in a few discussion groups, but I couldn't find anything or didn't get any awnsers.

You probably already looked there but I'll give them anyway. If I understand it corectly, the clipboard is just a selection with a predifind target CLIPBOARD.

http://developer.gnome.org/doc/API/gdk/gdk-selections.html

http://developer.gnome.org/doc/API/gtk/gtk-selections.html

Marc

Reply by email

Hongli Lai

Does someone know how to access the Linux clipboard (??gpm??) ? I've already looked into the GTK+ sources, gpm.h and other thing as well, and I tried to ask this question in a few discussion groups, but I couldn't find anything or didn't get any awnsers.

Reply by email