Next:
Gtk2::CodeGen
Previous:
Gtk2::CheckMenuItem
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Clipboard



NAME

Gtk2::Clipboard

HIERARCHY

  Glib::Object
  +----Gtk2::Clipboard

METHODS

$clipboard->set_can_store (...)

Since: gtk+ 2.6

$clipboard->clear

display = $clipboard->get_display

Since: gtk+ 2.2

clipboard = Gtk2::Clipboard->get_for_display ($display, $selection)

Since: gtk+ 2.2

clipboard = Gtk2::Clipboard->get ($selection)

$clipboard->set_image ($pixbuf)

Since: gtk+ 2.6

object = $clipboard->get_owner

$clipboard->request_contents ($target, $callback, $user_data=undef)

$clipboard->request_image ($callback, $user_data=undef)

Since: gtk+ 2.6

$clipboard->request_rich_text ($buffer, $callback, $user_data=undef)

Since: gtk+ 2.10

$clipboard->request_targets ($callback, $user_data=undef)

Since: gtk+ 2.4

$clipboard->request_text ($callback, $user_data=undef)

$clipboard->store

Since: gtk+ 2.6

$clipboard->set_text ($text)

selectiondata or undef = $clipboard->wait_for_contents ($target)

pixbuf or undef = $clipboard->wait_for_image

Since: gtk+ 2.6

list = $clipboard->wait_for_rich_text ($buffer)

Since: gtk+ 2.10

list = $clipboard->wait_for_targets

Returns a list of GdkAtom's.

Since: gtk+ 2.4

string = $clipboard->wait_for_text

boolean = $clipboard->wait_is_image_available

Since: gtk+ 2.6

boolean = $clipboard->wait_is_rich_text_available ($buffer)

Since: gtk+ 2.10

boolean = $clipboard->wait_is_target_available ($target)

Since: gtk+ 2.6

boolean = $clipboard->wait_is_text_available

boolean = $clipboard->set_with_data ($get_func, $clear_func, $user_data, ...)

boolean = $clipboard->set_with_owner ($get_func, $clear_func, $owner, ...)

SIGNALS

owner-change (Gtk2::Clipboard, Gtk2::Gdk::Event)

SEE ALSO

Gtk2, Glib::Object

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:48 2009