Re: Gtk3::Clipboard problem

2014-09-02 Thread Torsten Schönfeld
me...@seznam.cz: my $clipboard = Gtk3::Clipboard::get(Gtk3::Gdk::Atom::intern('clipboard', 0)); $clipboard-set_text($col1content, length $col1content); Try capitalizing the name, as in CLIPBOARD. I'm not sure whether capitalization matters, but this spelling is what is generally advertised

Gtk3::Clipboard problem

2014-09-01 Thread mezlm
Hello. I am playing with Gtk3 Perl. I want to make an application to show people that it is possible in Perl to write desktop apps in GTK+ 3 toolkit. Everything was fine but now I want to in my example application copy some text data to clipboard to share it between my app and other apps. How

Re: Gtk2::Clipboard need store content after exit.

2011-09-17 Thread Emmanuele Bassi
On 2011-09-16 at 23:22, eexpress wrote: hi, I want store sth into clipboard after perl script exit, but does not know how to write $clip-store(...) function. the -store method doesn't magically store stuff into the ether: you'll need a daemon that takes ownership of the clipboard data when

Gtk2::Clipboard need store content after exit.

2011-09-16 Thread eexpress
hi, I want store sth into clipboard after perl script exit, but does not know how to write $clip-store(...) function. ... (list) of Gtk2::TargetEntry's here but how can i set those targetentry. now i use `echo $out|xsel -i` instead of it. use Gtk2 -init; $clip = Gtk2::Clipboard-get (Gtk2::Gdk

clipboard

2009-07-19 Thread Harry Bennett
coding well above my pay-grade :D what I am trying to do: Highlight (select?) some text (from the location bar of firefox, for example) Launch my app. Have my app `know` what is in the clipboard so that I can make immediate use of it (have it populate something if it happens

Re: clipboard

2009-07-19 Thread Mario Kemper
Issue is that I can't seem to wrap my head around 'clipboard'. I am not looking for code, per se, but if someone would be kind enough to tell me what I need to know to get going... I haven't a clue Just have a look at the following code: #! /usr/bin/perl use strict; use warnings; use

Re: clipboard

2009-07-19 Thread Harry Bennett
July 2009, Mario Kemper wrote: Issue is that I can't seem to wrap my head around 'clipboard'. I am not looking for code, per se, but if someone would be kind enough to tell me what I need to know to get going... I haven't a clue Just have a look at the following code: #! /usr/bin/perl

Re: paste the clipboard over gtktreeview

2008-05-27 Thread anguila
Thanks! Is exactly that I wanted :) On Tue, May 27, 2008 at 3:43 AM, muppet [EMAIL PROTECTED] wrote: On May 25, 2008, at 2:40 PM, anguila wrote: How can I paste the clipboard (with Control + V) over a gtktreeview widget (list) ? Any idea? So far as i know, you create a key binding

Re: paste the clipboard over gtktreeview

2008-05-26 Thread muppet
On May 25, 2008, at 2:40 PM, anguila wrote: How can I paste the clipboard (with Control + V) over a gtktreeview widget (list) ? Any idea? So far as i know, you create a key binding (e.g. with a menu item), and then in the handler for that command, pull data from the clipboard and do

paste the clipboard over gtktreeview

2008-05-25 Thread anguila
How can I paste the clipboard (with Control + V) over a gtktreeview widget (list) ? Any idea? Thanks! :) David. ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: clipboard

2005-08-15 Thread muppet
On Aug 2, 2005, at 9:18 AM, Jens Luedicke wrote: right now I'm using set_text() and request_text() to get and set an uri list to the clipboard + cut or copy appended in the last line. This works fine for my app but not together with Nautilus or Thunar. I haven't tried Konqueror

clipboard

2005-08-02 Thread Jens Luedicke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hiya... right now I'm using set_text() and request_text() to get and set an uri list to the clipboard + cut or copy appended in the last line. This works fine for my app but not together with Nautilus or Thunar. I haven't tried Konqueror

Re: Gtk2::Clipboard

2005-05-01 Thread Torsten Schoenfeld
On Wed, 2005-04-27 at 16:04 +0200, Jens Luedicke wrote: my $clipboard = Gtk2::Clipboard-get_for_display(Gtk2::Gdk::Display-open($ENV{'DISPLAY'}), Gtk2::Gdk::Atom-new('GDK_SELECTION_CLIPBOARD')); I think this is where your problem is. The atom for the normal clipboard is not called

Gtk2::Clipboard

2005-04-27 Thread Jens Luedicke
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hiya... I wan't to store a string in a Gtk2::Clipboard, so that I can paste it somewhere else (like in an file manager or editor). My code doesn't work as expected and the clipboard remains untouched: my $clipboard = Gtk2::Clipboard-get_for_display