Go to the first, previous, next, last section, table of contents.


Drawable

Drawable is a base class of Window and Pixmap objects. See section Window, and section Pixmap.

See section Resource, for additional methods.

Method: Drawable get_geometry ( )
Returns Window('root'), Int16('x'), Int16('y'), Card16('width'), Card16('height'), Card16('border_width'),

Method: Drawable create_pixmap ( width, height, depth )
Returns Pixmap.

Method: Drawable create_gc ( **keys )
Returns GC.

Method: Drawable copy_area ( gc, src_drawable, src_x, src_y, width, height, dst_x, dst_y, onerror = None )

Method: Drawable copy_plane ( gc, src_drawable, src_x, src_y, width, height, dst_x, dst_y, bit_plane, onerror = None )

Method: Drawable poly_point ( gc, coord_mode, points, onerror = None )
request.PolyPoint(display = self.display, onerror = onerror, coord_mode = coord_mode, drawable = self.id, gc = gc, points = points)

Method: Drawable point ( gc, x, y, onerror = None )

Method: Drawable poly_line ( gc, coord_mode, points, onerror = None )

Method: Drawable line ( gc, x1, y1, x2, y2, onerror = None )

Method: Drawable poly_segment ( gc, segments, onerror = None )

Method: Drawable poly_rectangle ( gc, rectangles, onerror = None )

Method: Drawable rectangle ( gc, x, y, width, height, onerror = None )

Method: Drawable poly_arc ( gc, arcs, onerror = None )

Method: Drawable arc ( gc, x, y, width, height, angle1, angle2, onerror = None )

Method: Drawable fill_poly ( gc, shape, coord_mode, points, onerror = None )

Method: Drawable poly_fill_rectangle ( gc, rectangles, onerror = None )

Method: Drawable fill_rectangle ( gc, x, y, width, height, onerror = None )

Method: Drawable poly_fill_arc ( gc, arcs, onerror = None )

Method: Drawable fill_arc ( gc, x, y, width, height, angle1, angle2, onerror = None )

Method: Drawable put_image ( )
Not implemented yet.

Method: Drawable get_image ( )
Not implemented yet.

Method: Drawable draw_text ( gc, x, y, text, onerror = None )

Method: Drawable poly_text ( gc, x, y, items, onerror = None )

Method: Drawable poly_text_16 ( gc, x, y, items, onerror = None )

Method: Drawable image_text ( gc, x, y, string, onerror = None )

Method: Drawable image_text_16 ( gc, x, y, string, onerror = None )

Method: Drawable query_best_size ( item_class, width, height )
Returns Card16('width'), Card16('height'),


Go to the first, previous, next, last section, table of contents.