Module gwy :: Class PixmapLayer
[show private | hide private]
[frames | no frames]

Class PixmapLayer


The :data-key property is the container key used to identify displayed DataField in container.
Method Summary
  get_data_key()
Gets the key identifying data field this pixmap layer displays.
  make_pixbuf(has_alpha)
Creates or resizes pixmap layer GdkPixbuf to match its data field.
  paint()
Returns: The pixbuf.
  set_data_key(key)
Sets the data field to display by a pixmap layer.
  wants_repaint()
Checks whether a pixmap layer wants repaint.

Method Details

get_data_key()

Gets the key identifying data field this pixmap layer displays.
Returns:
The string key, or NULL if it isn't set.

make_pixbuf(has_alpha)

Creates or resizes pixmap layer GdkPixbuf to match its data field.

This method is intended for pixmap layer implementation.
Parameters:
has_alpha - Whether pixbuf should have alpha channel. (bool)

paint()

Returns: The pixbuf. It should not be modified or freed. If the data field
Returns:
The pixbuf. It should not be modified or freed. If the data field to draw is not present in the container, NULL is returned.

set_data_key(key)

Sets the data field to display by a pixmap layer.
Parameters:
key - Container string key identifying the data field to display. (string)

wants_repaint()

Checks whether a pixmap layer wants repaint.
Returns:
True if the the layer wants repaint itself, False otherwise.

Generated by Epydoc 2.1 on Tue Dec 30 04:01:42 2008 http://epydoc.sf.net