Gtk2-Perl

Description A set of Perl bindings for Gtk+ 2.0 and various related libraries
Gtk2-Perl > Perl Manuals > Gtk2-Gdk-Selection
Source

Index


NAME ^

Gtk2::Gdk::Selection

METHODS ^

Gtk2::Gdk::Selection->convert ($requestor, $selection, $target, $time_)

* $requestor (Gtk2::Gdk::Window)
* $selection (Gtk2::Gdk::Atom)
* $target (Gtk2::Gdk::Atom)
* $time_ (unsigned)

window or undef = Gtk2::Gdk::Selection->owner_get ($selection)

* $selection (Gtk2::Gdk::Atom)

window or undef = Gtk2::Gdk::Selection->owner_get_for_display ($display, $selection)

* $display (Gtk2::Gdk::Display)
* $selection (Gtk2::Gdk::Atom)

Since: gtk+ 2.2

boolean = Gtk2::Gdk::Selection->owner_set ($owner, $selection, $time_, $send_event)

* $owner (Gtk2::Gdk::Window or undef)
* $selection (Gtk2::Gdk::Atom)
* $time_ (unsigned)
* $send_event (boolean)

boolean = Gtk2::Gdk::Selection->owner_set_for_display ($display, $owner, $selection, $time_, $send_event)

* $display (Gtk2::Gdk::Display)
* $owner (Gtk2::Gdk::Window)
* $selection (Gtk2::Gdk::Atom)
* $time_ (unsigned)
* $send_event (boolean)

Since: gtk+ 2.2

(data, prop_type, prop_format) = Gtk2::Gdk::Selection->property_get ($requestor)

* $requestor (Gtk2::Gdk::Window)

Use Gtk2::Clipboard instead.

Gtk2::Gdk::Selection->send_notify ($requestor, $selection, $target, $property, $time_)

* $requestor (unsigned)
* $selection (Gtk2::Gdk::Atom)
* $target (Gtk2::Gdk::Atom)
* $property (Gtk2::Gdk::Atom)
* $time_ (unsigned)

Gtk2::Gdk::Selection->send_notify_for_display ($display, $requestor, $selection, $target, $property, $time_)

* $display (Gtk2::Gdk::Display)
* $requestor (unsigned)
* $selection (Gtk2::Gdk::Atom)
* $target (Gtk2::Gdk::Atom)
* $property (Gtk2::Gdk::Atom)
* $time_ (unsigned)

Since: gtk+ 2.2

SEE ALSO ^

Gtk2

COPYRIGHT ^

Copyright (C) 2003-2008 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.