Next:
Gtk2::Gdk::Rectangle
Previous:
Gtk2::Gdk::PixbufSimpleAnim
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Gdk::Pixmap



NAME

Gtk2::Gdk::Pixmap

HIERARCHY

  Glib::Object
  +----Gtk2::Gdk::Drawable
       +----Gtk2::Gdk::Pixmap

METHODS

pixmap = Gtk2::Gdk::Pixmap->new ($drawable, $width, $height, $depth)

(pixmap, mask) = Gtk2::Gdk::Pixmap->colormap_create_from_xpm ($drawable, $colormap, $transparent_color, $filename)

($pixmap, $mask) = Gtk2::Gdk::Pixmap->colormap_create_from_xpm_d ($drawable, $colormap, $transparent_color, @xpm_data)

Create a pixmap from the provided xpm data, using a specific colormap. See create_from_xpm_d.

pixmap = Gtk2::Gdk::Pixmap->create_from_data ($drawable, $data, $width, $height, $depth, $fg, $bg)

(pixmap, mask) = Gtk2::Gdk::Pixmap->create_from_xpm ($drawable, $transparent_color, $filename)

($pixmap, $mask) = Gtk2::Gdk::Pixmap->create_from_xpm_d ($drawable, $transparent_color, @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.

pixmap = Gtk2::Gdk::Pixmap->foreign_new ($anid)

pixmap = Gtk2::Gdk::Pixmap->foreign_new_for_display ($display, $anid)

Since: gtk+ 2.2

pixmap = Gtk2::Gdk::Pixmap->foreign_new_for_screen ($screen, $anid, $width, $height, $depth)

Since: gtk+ 2.10

pixmap = Gtk2::Gdk::Pixmap->lookup ($anid)

pixmap = Gtk2::Gdk::Pixmap->lookup_for_display ($display, $anid)

Since: gtk+ 2.2

SEE ALSO

Gtk2, Glib::Object, Gtk2::Gdk::Drawable

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:01:59 2009