Rechercher une page de manuel
Gtk2::Clipboard.3pm
Langue: en
Version: 2010-05-02 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
- NAME
- HIERARCHY
- METHODS
- $clipboard->set_can_store (...)
- $clipboard->clear
- display = $clipboard->get_display
- clipboard = Gtk2::Clipboard->get_for_display ($display, $selection)
- clipboard = Gtk2::Clipboard->get ($selection)
- $clipboard->set_image ($pixbuf)
- object = $clipboard->get_owner
- $clipboard->request_contents ($target, $callback, $user_data=undef)
- $clipboard->request_image ($callback, $user_data=undef)
- $clipboard->request_rich_text ($buffer, $callback, $user_data=undef)
- $clipboard->request_targets ($callback, $user_data=undef)
- $clipboard->request_text ($callback, $user_data=undef)
- $clipboard->request_uris ($func, $data=undef)
- $clipboard->store
- $clipboard->set_text ($text)
- selectiondata or undef = $clipboard->wait_for_contents ($target)
- pixbuf or undef = $clipboard->wait_for_image
- list = $clipboard->wait_for_rich_text ($buffer)
- list = $clipboard->wait_for_targets
- string = $clipboard->wait_for_text
- scalar = $clipboard->wait_for_uris
- boolean = $clipboard->wait_is_image_available
- boolean = $clipboard->wait_is_rich_text_available ($buffer)
- boolean = $clipboard->wait_is_target_available ($target)
- boolean = $clipboard->wait_is_text_available
- boolean = $clipboard->wait_is_uris_available
- boolean = $clipboard->set_with_data ($get_func, $clear_func, $user_data, ...)
- boolean = $clipboard->set_with_owner ($get_func, $clear_func, $owner, ...)
- SIGNALS
- SEE ALSO
- COPYRIGHT
NAME
Gtk2::ClipboardHIERARCHY
Glib::Object +----Gtk2::Clipboard
METHODS
$clipboard->set_can_store (...)
-
- *
- ... (list) of Gtk2::TargetEntry's
Since: gtk+ 2.6
$clipboard->clear
display = $clipboard->get_display
- Since: gtk+ 2.2
clipboard = Gtk2::Clipboard->get_for_display ($display, $selection)
-
- *
- $display (Gtk2::Gdk::Display)
- *
- $selection (Gtk2::Gdk::Atom)
Since: gtk+ 2.2
clipboard = Gtk2::Clipboard->get ($selection)
-
- *
- $selection (Gtk2::Gdk::Atom)
$clipboard->set_image ($pixbuf)
-
- *
- $pixbuf (Gtk2::Gdk::Pixbuf)
Since: gtk+ 2.6
object = $clipboard->get_owner
$clipboard->request_contents ($target, $callback, $user_data=undef)
-
- *
- $target (Gtk2::Gdk::Atom)
- *
- $callback (scalar)
- *
- $user_data (scalar)
$clipboard->request_image ($callback, $user_data=undef)
-
- *
- $callback (scalar)
- *
- $user_data (scalar)
Since: gtk+ 2.6
$clipboard->request_rich_text ($buffer, $callback, $user_data=undef)
-
- *
- $buffer (Gtk2::TextBuffer)
- *
- $callback (scalar)
- *
- $user_data (scalar)
Since: gtk+ 2.10
$clipboard->request_targets ($callback, $user_data=undef)
-
- *
- $callback (scalar)
- *
- $user_data (scalar)
Since: gtk+ 2.4
$clipboard->request_text ($callback, $user_data=undef)
-
- *
- $callback (scalar)
- *
- $user_data (scalar)
$clipboard->request_uris ($func, $data=undef)
-
- *
- $func (scalar)
- *
- $data (scalar)
Since: gtk+ 2.14
$clipboard->store
- Since: gtk+ 2.6
$clipboard->set_text ($text)
-
- *
- $text (string)
selectiondata or undef = $clipboard->wait_for_contents ($target)
-
- *
- $target (Gtk2::Gdk::Atom)
pixbuf or undef = $clipboard->wait_for_image
- Since: gtk+ 2.6
list = $clipboard->wait_for_rich_text ($buffer)
-
- *
- $buffer (Gtk2::TextBuffer)
Since: gtk+ 2.10
list = $clipboard->wait_for_targets
- Returns a list of GdkAtom's.
Since: gtk+ 2.4
string = $clipboard->wait_for_text
scalar = $clipboard->wait_for_uris
- Since: gtk+ 2.14
boolean = $clipboard->wait_is_image_available
- Since: gtk+ 2.6
boolean = $clipboard->wait_is_rich_text_available ($buffer)
-
- *
- $buffer (Gtk2::TextBuffer)
Since: gtk+ 2.10
boolean = $clipboard->wait_is_target_available ($target)
-
- *
- $target (Gtk2::Gdk::Atom)
Since: gtk+ 2.6
boolean = $clipboard->wait_is_text_available
boolean = $clipboard->wait_is_uris_available
- Since: gtk+ 2.14
boolean = $clipboard->set_with_data ($get_func, $clear_func, $user_data, ...)
-
- *
- $get_func (scalar)
- *
- $clear_func (scalar)
- *
- $user_data (scalar)
- *
- ... (list) of Gtk2::TargetEntry's
boolean = $clipboard->set_with_owner ($get_func, $clear_func, $owner, ...)
-
- *
- $get_func (scalar)
- *
- $clear_func (scalar)
- *
- $owner (Glib::Object)
- *
- ... (list) of Gtk2::TargetEntry's
SIGNALS
- owner-change (Gtk2::Clipboard, Gtk2::Gdk::Event)
SEE ALSO
Gtk2, Glib::ObjectCOPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre