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

From: Date: Tue, 08 Jun 2004 07:35:15 +0000
Subject: Re: Loading the X selection (e.g. Edit, Copy)
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-4633@lists.php.net to get a copy of this message
On Tue, Jun 08, 2004 at 01:45:55AM +0100, Steph wrote: > Guess 1 is probably correct, the maximum length for GtkEntry is set at > guint16 (DNS is b0rked locally at present so I've no way of double-checking > that). Not sure I agree. guint16 is 0-65536. That's 2^16. The limit I see is 2^12. > Guess 2: I'm not getting you. I can copy or cut from EditPlus and paste > into GtkText because the clipboard is the same clipboard, and vice versa.. An X paste involves communication between the X client and the X server, and occasionally between the X server and the X client offering the clipboard content. It isn't moved until it is demanded by another client. > What is it exactly that you're trying to do? Provide a menu option that takes the text in a scrolled text widget and loads it into the X selection, for pasting into an e-mail. But I don't want to require the user to select the text first. See http://quozl.linux.org.au/pptp/php-gtk/ for the app. -- James Cameron mailto:quozl@us.netrek.org http://quozl.netrek.org/

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