Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::clipboard(3pm) [debian man page]

Gtk2::Clipboard(3pm)					User Contributed Perl Documentation				      Gtk2::Clipboard(3pm)

NAME
Gtk2::Clipboard - wrapper for GtkClipboard HIERARCHY
Glib::Object +----Gtk2::Clipboard METHODS
$clipboard->set_can_store (...) o ... (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) o $display (Gtk2::Gdk::Display) o $selection (Gtk2::Gdk::Atom) Since: gtk+ 2.2 clipboard = Gtk2::Clipboard->get ($selection) o $selection (Gtk2::Gdk::Atom) $clipboard->set_image ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf) Since: gtk+ 2.6 object = $clipboard->get_owner $clipboard->request_contents ($target, $callback, $user_data=undef) o $target (Gtk2::Gdk::Atom) o $callback (scalar) o $user_data (scalar) $clipboard->request_image ($callback, $user_data=undef) o $callback (scalar) o $user_data (scalar) Since: gtk+ 2.6 $clipboard->request_rich_text ($buffer, $callback, $user_data=undef) o $buffer (Gtk2::TextBuffer) o $callback (scalar) o $user_data (scalar) Since: gtk+ 2.10 $clipboard->request_targets ($callback, $user_data=undef) o $callback (scalar) o $user_data (scalar) Since: gtk+ 2.4 $clipboard->request_text ($callback, $user_data=undef) o $callback (scalar) o $user_data (scalar) $clipboard->request_uris ($func, $data=undef) o $func (scalar) o $data (scalar) Since: gtk+ 2.14 $clipboard->store Since: gtk+ 2.6 $clipboard->set_text ($text) o $text (string) selectiondata or undef = $clipboard->wait_for_contents ($target) o $target (Gtk2::Gdk::Atom) pixbuf or undef = $clipboard->wait_for_image Since: gtk+ 2.6 list = $clipboard->wait_for_rich_text ($buffer) o $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) o $buffer (Gtk2::TextBuffer) Since: gtk+ 2.10 boolean = $clipboard->wait_is_target_available ($target) o $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, ...) o $get_func (scalar) o $clear_func (scalar) o $user_data (scalar) o ... (list) of Gtk2::TargetEntry's boolean = $clipboard->set_with_owner ($get_func, $clear_func, $owner, ...) o $get_func (scalar) o $clear_func (scalar) o $owner (Glib::Object) o ... (list) of Gtk2::TargetEntry's SIGNALS
owner-change (Gtk2::Clipboard, Gtk2::Gdk::Event) SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Clipboard(3pm)

Check Out this Related Man Page

Gtk2::SelectionData(3pm)				User Contributed Perl Documentation				  Gtk2::SelectionData(3pm)

NAME
Gtk2::SelectionData - wrapper for GtkSelectionData HIERARCHY
Glib::Boxed +----Gtk2::SelectionData METHODS
scalar = $d->get_data scalar = $d->get_data_type scalar = $d->get_display scalar = $d->get_format $selection_data->set ($type, $format, $data) o $type (Gtk2::Gdk::Atom) o $format (integer) o $data (Glib::UChar) scalar = $d->get_length pixbuf or undef = $selection_data->get_pixbuf Since: gtk+ 2.6 boolean = $selection_data->set_pixbuf ($pixbuf) o $pixbuf (Gtk2::Gdk::Pixbuf) Since: gtk+ 2.6 (tree_model, path) = $selection_data->get_row_drag_data If $selection_data is not of target type GTK_TREE_MODEL_ROW then the return is an empty list. boolean = $selection_data->set_row_drag_data ($tree_model, $path) o $tree_model (Gtk2::TreeModel) o $path (Gtk2::TreePath) scalar = $d->get_selection scalar = $d->get_target list = $selection_data->get_targets Gets the contents of selection_data as an array of targets. This can be used to interpret the results of getting the standard TARGETS target that is always supplied for any selection. Returns a list of GdkAtoms, the targets. boolean = $selection_data->targets_include_image ($writable) o $writable (boolean) Since: gtk+ 2.6 boolean = $selection_data->targets_include_rich_text ($buffer) o $buffer (Gtk2::TextBuffer) Since: gtk+ 2.10 boolean = $selection_data->targets_include_text boolean = $selection_data->targets_include_uri Since: gtk+ 2.10 string = $selection_data->get_text boolean = $selection_data->set_text ($str, $len=-1) o $str (string) o $len (integer) list = $selection_data->get_uris Since: gtk+ 2.6 boolean = $selection_data->set_uris (...) o ... (list) of strings Since: gtk+ 2.6 SEE ALSO
Gtk2, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::SelectionData(3pm)
Man Page