Inheritance diagram for gtk.DrawingArea.DrawingArea:
Public Member Functions
|GtkDrawingArea *||getDrawingAreaStruct ()|
|this (GtkDrawingArea *gtkDrawingArea)|
|Sets our main struct and passes it to the parent class. |
|this (int width, int height)|
|Create a new DrawingArea and sets the SizeRequest Params: width = height = Returns:. |
|Creates a new drawing area. |
|void||size (int width, int height)|
|Warning gtk_drawing_area_size is deprecated and should not be used in newly-written code. |
Protected Member Functions
|void *||getStruct ()|
|the main Gtk struct as a void* |
|the main Gtk struct |
Sets our main struct and passes it to the parent class.
Create a new DrawingArea and sets the SizeRequest Params: width = height = Returns:.
Creates a new drawing area.
Returns: a new GtkDrawingArea
Warning gtk_drawing_area_size is deprecated and should not be used in newly-written code.
(Use gtk_widget_set_size_request() instead.) Sets the size that the drawing area will request in response to a "size_request" signal. The drawing area may actually be allocated a size larger than this depending on how it is packed within the enclosing containers. darea: a GtkDrawingArea. width: the width to request. height: the height to request. See Also Sometimes GtkImage is a useful alternative to a drawing area. You can put a GdkPixmap in the GtkImage and draw to the GdkPixmap, calling gtk_widget_queue_draw() on the GtkImage when you want to refresh to the screen.