C++ Learning Community Forum
August 01, 2010, 03:24:44 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Hello. Smiley
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Copy text to clipboard  (Read 1213 times)
Stefab
N00b!!1
*
Posts: 1


View Profile
« on: December 11, 2007, 08:54:08 PM »

Hi all,

I need to know if there is a way to copy text to the clipboard.
I don't have a linux based Os and i have never worked in one.
Is there a clipboard in linux os-es like there is in windows?
I want to make an application that could copy a string to the clipboard
so that you can paste it in another aplication.
How can i do that?

Thank you very much.
Logged
myork
Global Moderator
C++ guru
*****
Posts: 1147


View Profile
« Reply #1 on: December 11, 2007, 09:22:20 PM »


Not in Linux per say.

But the Windowing environments built on-top of Linux all have the concept of a clipboard.
You need to look at the GTK or KDE toolkits.
Logged
biggoron
C++ Freak
***
Posts: 351


View Profile
« Reply #2 on: December 11, 2007, 11:20:04 PM »

http://library.gnome.org/devel/gtk/2.12/gtk-Clipboards.html
Good GTK reference.
Logged

AquaFox
Visionary Programmer
Jr. Nerd
***
Posts: 61


I use my brain kthx


View Profile WWW
« Reply #3 on: February 02, 2008, 02:13:06 PM »


Not in Linux per say.

But the Windowing environments built on-top of Linux all have the concept of a clipboard.
You need to look at the GTK or KDE toolkits.

I think there's an Xorg standard, is there not?
Logged


Sitez0rz, Blogz0rz, Mindz0rz
Lead the right life try Islam.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!