gtk-sharp0.0.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.The GtkDrawingArea widget is used for creating custom user interface elements.
The widget is used for creating custom user interface elements. It's essentially a blank widget; you can draw on ->window. After creating a drawing area, the application may want to connect to: 1) Mouse and button press signals to respond to input from the user. (Use to enable events you wish to receive). 2) The signal to take any necessary actions when the widget is instantiated on a particular display. (Create GDK resources in response to this signal.) 3) The signal to take any necessary actions when the widget changes size. 4) The signal to handle redrawing the contents of the widget.
Expose events are normally delivered when a drawing area first comes onscreen, or when it's covered by another window and then uncovered (exposed). You can also force an expose event by adding to the "damage region" of the drawing area's window; and are equally good ways to do this. You'll then get an expose event for the invalid region. See also for drawing a .
Gtk.WidgetAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of DrawingArea, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorConstructor.An instance of .PropertySystem.UInt32The GLib Type for Gtk.DrawingAreaThe GLib Type for the Gtk.DrawingArea class.ConstructorInternal constructor
GLib type for the type
Creates a new instance of DrawingArea, using the GLib-provided typeThis is a constructor used by derivative types of that would have their own GLib type assigned to it. This is not typically used by C# code.