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

# Gtk2::IconInfo(3pm)

wrapper for GtkIconInfo

## NAME

Gtk2::IconInfo - wrapper for GtkIconInfo

## HIERARCHY

```
  Glib::Boxed
  +----Gtk2::IconInfo
```

## METHODS

### iconinfo = Gtk2::IconInfo-\>new\_for\_pixbuf ($icon\_theme, $pixbuf)

- •

  `$icon_theme` (Gtk2::IconTheme)

- •

  `$pixbuf` (Gtk2::Gdk::Pixbuf)

Since: gtk+ 2.14

### list = $icon\_info-\>get\_attach\_points

Returns the attach points as an interleaved list of x and y coordinates.

### integer = $icon\_info-\>get\_base\_size

### pixbuf or undef = $icon\_info-\>get\_builtin\_pixbuf

### string or undef = $icon\_info-\>get\_display\_name

### rectangle = $icon\_info-\>get\_embedded\_rect

### string or undef = $icon\_info-\>get\_filename

### pixbuf or undef = $icon\_info-\>load\_icon

May croak with a Glib::Error in $@ on failure.

### $icon\_info-\>set\_raw\_coordinates ($raw\_coordinates)

- •

  `$raw_coordinates` (boolean)

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