---
name: "Gtk2::ClutterTexture"
section: "3pm"
platform: "linux"
package: "libclutter-perl"
version: "0.8.0.1-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/Gtk2::ClutterTexture"
---

# Gtk2::ClutterTexture(3pm)

Gtk2::ClutterTexture A set of utility calls for using Clutter::Texture with GTK+ stock icons, icons from themes and Gtk2::Gdk::Pixbuf objects.\
 **actor = Gtk2::ClutterTexture-\>new\_from\_icon\_name ($widget, $icon\_name,** `$size=-1)` `$widget` (Gtk2::Widget or undef) `$icon_name` (string) `$size` (Gtk2::IconSize)\
 **actor = Gtk2::ClutterTexture-\>new\_from\_pixbuf ($pixbuf)** `$pixbuf` (Gtk2::Gdk::Pixbuf)\
 **actor = Gtk2::ClutterTexture-\>new\_from\_stock ($widget, $stock\_id,** `$size=-1)` `$widget` (Gtk2::Widget) `$stock_id` (string) `$size` (Gtk2::IconSize)\
 **$texture**-\>**set\_from\_icon\_name** ($widget, `$icon_name`, `$size=-1)` `$widget` (Gtk2::Widget or undef) `$icon_name` (string) `$size` (Gtk2::IconSize)\
 **$texture**-\>**set\_from\_pixbuf ($pixbuf)** `$pixbuf` (Gtk2::Gdk::Pixbuf)\
 **$texture**-\>**set\_from\_stock** ($widget, `$stock_id`, `$size=-1)` `$widget` (Gtk2::Widget) `$stock_id` (string) `$size` (Gtk2::IconSize)\
 **enum Gtk2::IconSize** 'invalid' / 'GTK\_ICON\_SIZE\_INVALID' 'menu' / 'GTK\_ICON\_SIZE\_MENU' 'small-toolbar' / 'GTK\_ICON\_SIZE\_SMALL\_TOOLBAR' 'large-toolbar' / 'GTK\_ICON\_SIZE\_LARGE\_TOOLBAR' 'button' / 'GTK\_ICON\_SIZE\_BUTTON' 'dnd' / 'GTK\_ICON\_SIZE\_DND' 'dialog' / 'GTK\_ICON\_SIZE\_DIALOG' Clutter Copyright (C) 2006  OpenedHand Ltd. This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License.  See Clutter for the full copyright notice.
