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
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
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
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
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
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
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
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
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
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
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
-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
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
-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
14 matches
Mail list logo