gtk-sharp 2.6.0.0 Gtk# is thread aware, but not thread safe; See the Gtk# Thread Programming for details. Adds scrollbars to its child widget. GtkScrolledWindow is a subclass: it's a container the accepts a single child widget. GtkScrolledWindow adds scrollbars to the child widget and optionally draws a beveled frame around the child widget. The scrolled window can work in two ways. Some widgets have native scrolling support; these widgets have "slots" for objects. Widgets with native scroll support include , , and . The position of the scrollbars is controlled by the scroll adjustments. See for the properties in an adjustment - for , used by , the property represents the position of the scrollbar, which must be between the and - . The property represents the size of the visible scrollable area. The and properties are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key). Gtk.Bin Method System.Void Used to add children without native scrolling capabilities. A Used to add children without native scrolling capabilities. This is simply a convenience function; it is equivalent to adding the unscrollable child to a viewport, then adding the viewport to the scrolled window. If a child has native scrolling, use instead of this function. The viewport scrolls the child by moving its , and takes the size of the child to be the size of its toplevel . This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the proxy. A widget supports scrolling natively if the set_scroll_adjustments_signal field in GtkWidgetClass is non-zero, i.e. has been filled in with a valid signal identifier. Method System.Void Sets the scrollbar policy for the horizontal and vertical scrollbars. Policy for horizontal bar. Policy for vertical bar. Sets the scrollbar policy for the horizontal and vertical scrollbars. The policy determines when the scrollbar should appear; it is a value from the enumeration. If , the scrollbar is always present; if , the scrollbar is never present; if , the scrollbar is present only if needed (that is, if the slider part of the bar would be smaller than the trough - the display is larger than the page size). Method System.Void Retrieves the current policy values for the horizontal and vertical scrollbars. Location to store the policy for the horizontal scrollbar. Location to store the policy for the horizontal scrollbar. Retrieves the current policy values for the horizontal and vertical scrollbars. Constructor Internal constructor Pointer to the C object. This is an internal constructor, and should not be used by user code. Constructor Creates a new scrolled window. Horizontal adjustment. Vertical adjustment. Creates a new scrolled window. The two arguments are the scrolled window's adjustments; these will be shared with the scrollbars and the child widget to keep the bars in sync with the child. Usually you want to pass for the adjustments, which will cause the scrolled window to create them for you. Constructor Basic constructor. Property Gtk.CornerType Determines the location of the child widget with respect to the scrollbars. Determines the location of the child widget with respect to the scrollbars. The default is , meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in are , , and . Property Gtk.PolicyType When the horizontal scrollbar is displayed. A GLib.Property(Name="hscrollbar_policy") Property Gtk.Adjustment Sets the for the horizontal scrollbar. The horizontal GtkAdjustment. GLib.Property(Name="hadjustment") Property Gtk.PolicyType When the vertical scrollbar is displayed. A GLib.Property(Name="vscrollbar_policy") Property Gtk.Adjustment Sets or Gets the for the vertical scrollbar. The vertical GtkAdjustment. GLib.Property(Name="vadjustment") Property Gtk.ShadowType Gets the shadow type of the scrolled window. The current shadow type. GLib.Property(Name="shadow_type") Property Gtk.CornerType Where the contents are located with respect to the scrollbars. A GLib.Property(Name="window_placement") Event Gtk.ScrollChildHandler Fired when the child widget is scrolled. GLib.Signal(CName="scroll_child") Event Gtk.MoveFocusOutHandler Fired when the focus moves out of the scrolled window. GLib.Signal(CName="move_focus_out") 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 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)