Re: Loading the X selection (e.g. Edit, Copy)

From: Date: Tue, 01 Jun 2004 05:22:13 +0000
Subject: Re: Loading the X selection (e.g. Edit, Copy)
References: 1 2 3  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4597@lists.php.net to get a copy of this message
You can put it in a hidden entry and the copy it to the clipboard Something like this: $entry = &new GtkEntry(); $entry->hide(); $entry->set_text('my text'); $entry->select_region(0, -1); //this selects the whole text $entry->copy_clipboard(); On Tue, 2004-06-01 at 02:01, James Cameron wrote: > Thanks Ivan. But how do I load text that isn't in the editable? > > -- > James Cameron mailto:quozl@us.netrek.org > http://quozl.netrek.org/

« previous php.gtk.general (#4597) next »