gtk-sharp0.0.0.0Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details.Base class for containers that have two children separated by an adjustable pane.This class provides methods for manipulating a panel with 2 child widgets, separated by a splitter. The concrete widgets that extend from this class are for a vertical splitter, and for a horizontal splitter.A paned widget draws a separator between the two child widgets that the user can drag to adjust the division.Each child widget has two options that can be set, and , (set with the and methods). If resize is , then when the Paned is resized, the respective child will expand or shrink along with the paned widget. If shrink is , then the respective child can be made smaller than it's requisition by the user. Setting shrink to allows the application to set a minimum size. If resize is for both children, then this exhibits exactly the same behaviour as if resize is for both children.The application can set the position of the slider as if it were set by the user with the property.
public Widget GetExampleFrame()
{
HPaned splitter = new HPaned();
Frame frame1 = new Frame("Example frame1");
Frame frame2 = new Frame("Example frame2");
splitter.Pack1(frame1, true, false);
splitter.Pack2(frame2, false, false);
splitter.ShowAll();
return splitter;
}
Gtk.ContainerAtk.ImplementorGLib.IWrapperGLib.IWrapperSystem.IDisposableMethodSystem.VoidPacks a child widget into the second part of the Paned container, (the bottom or right panes).
A widget for this container to manage.
Whether this child should expand when the Paned widget is resized.
Whether this child can be made smaller than its default size by the user.
MethodSystem.VoidPacks a child widget into the first part of the Paned container, (the top or left panes).
A widget for this container to manage.
Whether this child should expand when the Paned widget is resized.
Whether this child can be made smaller than its default size by the user.
MethodSystem.VoidAdds a child widget into the second part of the Paned container, (the bottom or right panes), with default packing settings.
A widget for this container to manage.
This is the same as calling with resize set to and shrink set to .MethodSystem.VoidAdds a child widget into the first part of the Paned container, (the top or left panes), with default packing settings.
A widget for this container to manage.
This is the same as calling with resize set to and shrink set to .MethodSystem.VoidTo be added
To be added: an object of type 'int'
To be added: an object of type 'int'
To be added: an object of type 'int'
To be addedMethodSystem.VoidDisposes the resources associated with the object.ConstructorInternal constructor
Pointer to the C object.
An instance of Paned, wrapping the C object.This is an internal constructor, and should not be used by user code.ConstructorInternal constructorThis class can not be instantiated directly - use or .PropertySystem.UInt32The GLib Type for Gtk.PanedThe GLib Type for the Gtk.Paned class.PropertyGtk.WidgetAn accessor to the second child widget of this containerThe child widget added with or .PropertyGtk.WidgetAn accessor to the first child widget of this containerThe child widget added with or .PropertySystem.Int32Manage the position of the splitter bar that separates the 2 child widgets.
The number of pixels the splitter should appear from the left/top edge.
The current position ofhTo be addedPropertySystem.BooleanTo be added
To be added: an object of type 'bool'
To be added: an object of type 'bool'To be addedEventGtkSharp.CycleHandleFocusHandler
Emitted when paned has the focus and one of the tab key
combinations are pressed.
This signal is emitted when paned has the focus and any of
the Tab, Ctrl-Tab, Shift-Tab or Ctrl-Shift-Tab keys
combinations are pressed. Tab and Ctrl-Tab set reversed to
while Shift-Tab and Ctrl-Shift-Tab
set reversed to .
EventGtkSharp.MoveHandleHandler
Emitted when paned has the focus and the separator is moved.
EventGtkSharp.CancelPositionHandler
Emitted when the Esc key is pressed while paned has the focus.
EventGtkSharp.AcceptPositionHandlerEmitted when the paned has focus
This signal is emitted when paned has the focus and any of
the Return, Enter, Space keys are pressed. This will also
cause the child widget with the focus to be activated.
EventGtkSharp.ToggleHandleFocusHandler
Emitted when paned has the focus and F8 is pressed to give the focus to or take the focus from the separator handle.
EventGtkSharp.CycleChildFocusHandlerEmitted when F6 or Shift-F6 is pressed while paned has the focus.ConstructorInternal constructor
GLib type for the type
Creates a new instance of Paned, 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.