---
name: "Gtk2::Gdk::Atom"
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::Gdk::Atom"
---

# Gtk2::Gdk::Atom(3pm)

## NAME

Gtk2::Gdk::Atom

## METHODS

### atom = Gtk2::Gdk::Atom-\>new ($atom\_name, $only\_if\_exists=FALSE)

- •

  `$atom_name` (string)

- •

  `$only_if_exists` (boolean)

### atom = Gtk2::Gdk::Atom-\>intern ($atom\_name, $only\_if\_exists=FALSE)

- •

  `$atom_name` (string)

- •

  `$only_if_exists` (boolean)

### string = $atom-\>name

### unsigned = $atom-\>to\_xatom

### unsigned = $atom-\>to\_xatom\_for\_display ($display)

- •

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

Since: gtk+ 2.2

## 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.
