Re: newbie question: clipboard

On Mon, 2003-06-02 at 20:25, Scott Russell wrote:
On Mon, Jun 02, 2003 at 04:34:26PM +0100, Bruno Tavares wrote:
I am using gtk 1.2 and cant find a way to copy some text to the
clipboard (when the widget is not an editable).

Can you help me?

You don't say what type of widget 
but I'm going to assume a Gtk::Text
widget. I have the following method attached to a 'copy' button in one
of my apps. 
Well :) thats true, but i said "when the widget is not an editable", and
text widget inherits from editable.

The problem is when i dont have the "copy_clipboard" method available,
let sai in a Gtk::HRef. I would like to give a 'right-click' option like
'copy link location'. 

I cant find a way to do this.

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