---
name: "Gtk2::Selection"
section: "3pm"
platform: "linux"
package: "libgtk2-perl-doc"
version: "2:1.24992-1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::Selection"
---

# Gtk2::Selection(3pm)

## NAME

Gtk2::Selection

## METHODS

### boolean = Gtk2::Selection-\>owner\_set ($widget, $selection, $time\_)

- •

  `$widget` (Gtk2::Widget or undef)

- •

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

- •

  `$time_` (unsigned)

### boolean = Gtk2::Selection-\>owner\_set\_for\_display ($display, $widget, $selection, $time\_)

- •

  `$display` (Gtk2::Gdk::Display)

- •

  `$widget` (Gtk2::Widget or undef)

- •

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

- •

  `$time_` (unsigned)

Since: gtk+ 2.2

### boolean = Gtk2-\>targets\_include\_image ($writable, $first\_target\_atom, ...)

- •

  `$writable` (boolean)

- •

  `$first_target_atom` (Gtk2::Gdk::Atom)

- •

  ... (list)

Since: gtk+ 2.10

### boolean = Gtk2-\>targets\_include\_rich\_text ($buffer, $first\_target\_atom, ...)

- •

  `$buffer` (Gtk2::TextBuffer)

- •

  `$first_target_atom` (Gtk2::Gdk::Atom)

- •

  ... (list)

Since: gtk+ 2.10

### boolean = Gtk2-\>targets\_include\_text ($first\_target\_atom, ...)

- •

  `$first_target_atom` (Gtk2::Gdk::Atom)

- •

  ... (list)

Since: gtk+ 2.10

### boolean = Gtk2-\>targets\_include\_uri ($first\_target\_atom, ...)

- •

  `$first_target_atom` (Gtk2::Gdk::Atom)

- •

  ... (list)

Since: gtk+ 2.10

## SEE ALSO

Gtk2

## COPYRIGHT

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

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