gtk-sharp2.10.0.0Gtk# 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.BinConstructorInternal constructor
Pointer to the C object.
This is an internal constructor, and should not be used by user code.ConstructorThe main way to create a HandleBox.Creates a new HandleBox, with the set to the .PropertyGtk.PositionTypeManage which edge a detached HandleBox must reattach to.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")PropertyGtk.ShadowTypeManage the appearance of the surrounding the child widget.The current style of shadow in use.PropertyGtk.PositionTypeManage where the handle of this container is placed.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")PropertyGtk.ShadowTypeManage the appearance of the surrounding the child widget.The current style of shadow in use.GLib.Property(Name="shadow")EventGtk.ChildAttachedHandlerThis event is raised when the contents of the HandleBox are reattached to the main window. GLib.Signal(CName="child_attached")EventGtk.ChildDetachedHandlerThis event is raised when the contents of the handlebox are detached from the main window.GLib.Signal(CName="child_detached")PropertySystem.BooleanWhether to use the value from the snap_edge property or a value derived from handle_position.a GLib.Property(Name="snap-edge-set")PropertyGLib.GTypeGType Property.a Returns the native value for .MethodSystem.VoidDefault handler for the event.
a Override this method in a subclass to provide a default handler for the event.MethodSystem.VoidDefault handler for the event.
a Override this method in a subclass to provide a default handler for the event.ConstructorProtected Constructor.
a Chain to this constructor if you have manually registered a native value for your subclass.System.Obsolete(Message=null, IsError=False)