Next: Gtk2::Gdk::Rectangle | Previous: Gtk2::Gdk::PixbufSimpleAnim | [Gtk2-Perl - Table of Contents] | [Gtk2-Perl - Index] |
Gtk2::Gdk::Pixmap
Glib::Object +----Gtk2::Gdk::Drawable +----Gtk2::Gdk::Pixmap
$drawable (Gtk2::Gdk::Drawable or undef) may be undef if $colormap is given
$colormap (Gtk2::Gdk::Colormap or undef) GdkColormap to use for the new image; may be undef if $drawable is given.
$transparent_color (Gtk2::Gdk::Color or undef) color of pixels that are transparent in the input file. if undef, a default is used.
$filename (localized file name)
$drawable (Gtk2::Gdk::Drawable or undef) may be undef if $colormap is given
$colormap (Gtk2::Gdk::Colormap or undef) GdkColormap to use for the new image; may be undef if $drawable is given.
$transparent_color (Gtk2::Gdk::Color or undef) color of pixels that are transparent in the input file. if undef, a default is used.
... (list) of strings, xpm data
Create a pixmap from the provided xpm data, using a specific colormap.
See create_from_xpm_d
.
$drawable (Gtk2::Gdk::Drawable)
$data (string)
$width (integer)
$height (integer)
$depth (integer)
$fg (Gtk2::Gdk::Color)
$bg (Gtk2::Gdk::Color)
$drawable (Gtk2::Gdk::Drawable)
$transparent_color (Gtk2::Gdk::Color or undef)
$filename (localized file name)
$drawable (Gtk2::Gdk::Drawable) used to determine the colormap and visual of the image.
$transparent_color (Gtk2::Gdk::Color or undef) color of pixels that are transparent in the input file. if undef, a default is used.
... (list) of strings, xpm data
Create a pixmap from the provided xpm data, usually included in the program as
an inline image. See new_from_xpm_data
in Gtk2::Gdk::Pixbuf for a
description of the format of this data.
Since: gtk+ 2.2
$screen (Gtk2::Gdk::Screen)
$anid (Gtk2::Gdk::NativeWindow)
$width (integer)
$height (integer)
$depth (integer)
Since: gtk+ 2.10
Since: gtk+ 2.2
Gtk2, Glib::Object, Gtk2::Gdk::Drawable
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.