gtk-sharp 0.0.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Base class for widgets which contain other widgets A Gtk# user interface is constructed by nesting widgets inside widgets. widgets are the inner nodes in the resulting tree of widgets: they contain other widgets. So, for example, you might have a containing a containing a . If you wanted an image instead of a textual label inside the frame, you might replace the widget with a widget. There are two major kinds of widgets in Gtk#. Both are subclasses of the abstract base class. The first type of widget has a single child widget and derives from . These containers are decorators, which add some kind of functionality to the child. For example, a makes its child into a clickable button; a draws a frame around its child and a places its child widget inside a top-level . The second type of can have more than one child; its purpose is to manage layout. This means that these containers assign sizes and positions to their children. For example, a arranges its children in a horizontal row, and a arranges the widgets it contains in a two-dimensional grid. To fulfill its task, a layout must negotiate the size requirements with its parent and its children. This negotiation is carried out in two phases, size requisition and size allocation. Gtk.Widget Atk.Implementor GLib.IWrapper GLib.IWrapper System.IDisposable Method System.Void To be added To be added Method System.Void Sets a focus chain, overriding the one computed automatically by Gtk#. an object of type In principle each in the chain should be a descendant of the , but this is not enforced by this method, since it is allowed to set the focus chain before you pack the widgets, or have a widget in the chain that is not always packed. The necessary checks are done when the focus chain is actually traversed. Method System.Void Invokes callback on each non-internal child of . an object of type See for details on what constitutes an "internal" child. Most applications should use , rather than . Method System.Void Gets the values of one or more child properties for child and container. an object of type an object of type an object of type Gets the values of one or more child properties for child and container. Method System.Boolean Retrieves the focus chain of the container an object of type an object of type If no focus chain has been explicitly set, Gtk# computes the focus chain based on the positions of the children. In that case, Gtk# stores in focusable_widgets and returns . Method System.Void Adds a to the . an object of type Typically used for simple containers such as , , or ; for more complicated layout containers such as or , this function will pick default packing parameters that may not be correct. So consider functions such as and as an alternative to in those cases. A may be added to only one at a time; you can not place the same widget inside two different containers. Method System.Void Removes a from the . an object of type must be inside . Method System.Void Removes a focus chain. Removes a focus chain explicitly set with . Method System.Void Invokes callback on each child of . an object of type This includes children that are considered "internal" (implementation details of the ). "Internal" children generally were not added by the user of the , but were added by the container implementation itself. Most applications should use , rather than . Method System.Void To be added To be added Method System.Void Sets a child property for child and . an object of type an object of type an object of type Sets a child property for child and . Method System.UInt32 To be added an object of type To be added Method System.Void Gets a child property for child and . an object of type an object of type an object of type Gets a child property for child and . Method System.Void Send synthetic expose events to all children that do not have their own . an object of type an object of type When a receives an expose event, it must send synthetic expose events to all children that do not have their own s. This function provides a convenient way of doing this. A , when it receives an expose event, calls once for each child, passing in the event the received. takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event. In most cases, a can either simply inherit the expose implementation from , or do some drawing and then chain to the expose implementation from . Method System.Void Sets one or more child properties for child and . an object of type an object of type an object of type Sets one or more child properties for child and . Method System.Void Disposes the resources associated with the object. Constructor Internal constructor Pointer to the C object. An instance of Container, wrapping the C object. This is an internal constructor, and should not be used by user code. Constructor To be added an object of type To be added Property System.UInt32 The for The for the class. Property Gtk.Adjustment To be added an object of type an object of type To be added Property GLib.List To be added an object of type To be added Property Gtk.Adjustment To be added an object of type an object of type To be added Property Gtk.Widget To be added an object of type an object of type To be added Property System.Boolean To be added an object of type an object of type To be added Property Gtk.Widget To be added an object of type an object of type To be added Property Gtk.ResizeMode To be added an object of type an object of type To be added Property System.UInt32 To be added an object of type an object of type To be added Event GtkSharp.AddedHandler To be added Event GtkSharp.FocusChildSetHandler To be added Event GtkSharp.RemovedHandler To be added Event System.EventHandler To be added Constructor Internal constructor GLib type for the type Creates a new instance of Container, using the GLib-provided type This 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.