gtk-sharp 2.0.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. A container with a handle and a detachable child widget. The HandleBox widget allows a portion of a window to be "torn off". It is a widget that displays its child with a handle that the user can drag to create a separate floating window containing the child widget and the 'handle'. A thin ghost is drawn in the original location of the HandleBox. By dragging the separate window back to its original location, it can be reattached. When reattaching, the ghost and float window, must be aligned along one of the edges, the . This can either be specified by the application programmer explicitly, otherwise a reasonable default will be used, based on the . To make detaching and reattaching the HandleBox as minimally confusing as possible to the user, it is important to set the snap edge so that it does not move when the HandleBox is deattached. For instance, if the HandleBox is packed at the bottom of a , then when the HandleBox is detached, the bottom edge of the HandleBox's allocation will remain fixed as the height of the HandleBox shrinks, so the snap edge should be set to . The child of this widget is set using the method in . Gtk.Bin Method System.Void Disposes the resources associated with the object. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor The main way to create a HandleBox. Creates a new HandleBox, with the set to the . Property Gtk.PositionType Manage which edge a detached HandleBox must reattach to. The new edge The current edge that snapping works with. To ensure good usability, this edge should be set to a side of the HandleBox whose position or size will not be altered when the child is detached. GLib.Property(Name="snap_edge") Property Gtk.ShadowType Manage the appearance of the surrounding the child widget. The new style of shadow to use for this HandleBox. The current style of shadow in use. Property Gtk.PositionType Manage where the handle of this container is placed. A new position for the handle. The current position of the handle. Note: In western cultures, anything other than a handle for horizontal HandleBoxes, or a handle for vertical HandleBoxes, may seem strange to users. The reverse is likely to be true for cultures with languages that are written from right to left. GLib.Property(Name="handle_position") Property Gtk.ShadowType Manage the appearance of the surrounding the child widget. The new style of shadow to use for this HandleBox. The current style of shadow in use. GLib.Property(Name="shadow") Event Gtk.ChildAttachedHandler This event is fired when the contents of the HandleBox are reattached to the main window. GLib.Signal(CName="child_attached") Event Gtk.ChildDetachedHandler This event is fired when the contents of the handlebox are detached from the main window. GLib.Signal(CName="child_detached") Property System.Boolean Whether to use the value from the snap_edge property or a value derived from handle_position. a , true to use the snap_edge property a GLib.Property(Name="snap_edge_set") Property GLib.GType GType Property. a Returns the native value for . Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Method System.Void Default handler for the event. a Override this method in a subclass to provide a default handler for the event. Constructor Protected Constructor. a Chain to this constructor if you have manually registered a native value for your subclass. System.Obsolete(Message=null, IsError=False)