2003-02-12 02:00:12 +00:00
<Type Name= "ScrolledWindow" FullName= "Gtk.ScrolledWindow" >
2003-02-20 04:03:15 +00:00
<TypeSignature Language= "C#" Value= "public class ScrolledWindow : Gtk.Bin, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "Duncan Mak" />
2003-02-12 02:00:12 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2003-02-12 02:00:12 +00:00
<AssemblyVersion > 0.0.0.0</AssemblyVersion>
2003-10-28 00:48:23 +00:00
<AssemblyCulture > neutral</AssemblyCulture>
2003-02-12 02:00:12 +00:00
<Attributes />
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Adds scrollbars to its child widget.</summary>
<remarks >
<para >
2003-02-23 07:26:30 +00:00
GtkScrolledWindow is a <see cref= "T:Gtk.Bin" /> 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.
2003-02-19 03:37:52 +00:00
</para>
<para >
2003-02-23 07:26:30 +00:00
The scrolled window can work in two ways. Some widgets have native scrolling support; these widgets have "slots" for <see cref= "T:Gtk.Adjustment" /> objects. Widgets with native scroll support include <see cref= "T:Gtk.TreeView" /> , <see cref= "T:Gtk.TextView" /> , and <see cref= "T:Gtk.Layout" /> .
2003-02-19 03:37:52 +00:00
</para>
<para >
2003-02-23 07:26:30 +00:00
The position of the scrollbars is controlled by the scroll adjustments. See <see cref= "T:Gtk.Adjustment" /> for the properties in an adjustment - for <see cref= "T:Gtk.Scrollbar" /> , used by <see cref= "T:Gtk.ScrolledWindow" /> , the <see cref= "P:Gtk.Adjustment.Value" /> property represents the position of the scrollbar, which must be between the <see cref= "P:Gtk.Adjustment.Lower" /> and <see cref= "P:Gtk.Adjustment.Upper" /> - <see cref= "P:Gtk.Adjustment.PageSize" /> . The <see cref= "P:Gtk.Adjustment.PageSize" /> property represents the size of the visible scrollable area. The <see cref= "P:Gtk.Adjustment.StepIncrement" /> and <see cref= "P:Gtk.Adjustment.PageIncrement" /> properties are used when the user asks to step down (using the small stepper arrows) or page down (using for example the PageDown key).
2003-02-19 03:37:52 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Bin</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Atk.Implementor</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > GLib.IWrapper</InterfaceName>
</Interface>
<Interface >
<InterfaceName > System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes />
<Members >
<Member MemberName= "AddWithViewport" >
<MemberSignature Language= "C#" Value= "public void AddWithViewport (Gtk.Widget child);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Used to add children without native scrolling capabilities.</summary>
2003-02-12 02:00:12 +00:00
<param name= "child" > To be added: an object of type 'Gtk.Widget'</param>
2003-02-19 03:37:52 +00:00
<remarks >
<para >
2003-02-23 07:26:30 +00:00
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 <see cref= "M:Gtk.Container.Add" /> instead of this function.
2003-02-19 03:37:52 +00:00
</para>
<para >
2003-02-23 07:26:30 +00:00
The viewport scrolls the child by moving its <see cref= "T:Gdk.Window" /> , and takes the size of the child to be the size of its toplevel <see cref= "T:Gdk.Window" /> . This will be very wrong for most widgets that support native scrolling; for example, if you add a widget such as <see cref= "T:Gtk.TreeView" /> with a viewport, the whole widget will scroll, including the column headings. Thus, widgets with native scrolling support should not be used with the <see cref= "T:Gtk.Viewport" /> proxy.
2003-02-19 03:37:52 +00:00
</para>
<para >
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.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetPolicy" >
<MemberSignature Language= "C#" Value= "public void SetPolicy (Gtk.PolicyType hscrollbar_policy, Gtk.PolicyType vscrollbar_policy);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "hscrollbar_policy" Type= "Gtk.PolicyType" />
<Parameter Name= "vscrollbar_policy" Type= "Gtk.PolicyType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Sets the scrollbar policy for the horizontal and vertical scrollbars.</summary>
<param name= "hscrollbar_policy" > Policy for horizontal bar.</param>
<param name= "vscrollbar_policy" > Policy for vertical bar.</param>
<remarks >
<para >
2003-02-23 07:26:30 +00:00
Sets the scrollbar policy for the horizontal and vertical scrollbars. The policy determines when the scrollbar should appear; it is a value from the <see cref= "T:Gtk.PolicyType" /> enumeration. If <see cref= "T:Gtk.PolicyType.Always" /> , the scrollbar is always present; if <see cref= "T:Gtk.PolicyType.Never" /> , the scrollbar is never present; if <see cref= "T:Gtk.PolicyType.Automatic" /> , 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).
2003-02-19 03:37:52 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "GetPolicy" >
2003-02-15 03:08:25 +00:00
<MemberSignature Language= "C#" Value= "public void GetPolicy (out Gtk.PolicyType hscrollbar_policy, out Gtk.PolicyType vscrollbar_policy);" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "hscrollbar_policy" Type= "Gtk.PolicyType&" RefType= "out" />
<Parameter Name= "vscrollbar_policy" Type= "Gtk.PolicyType&" RefType= "out" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Retrieves the current policy values for the horizontal and vertical scrollbars.</summary>
<param name= "hscrollbar_policy" > Location to store the policy for the horizontal scrollbar.</param>
<param name= "vscrollbar_policy" > Location to store the policy for the horizontal scrollbar.</param>
<remarks >
<para >
Retrieves the current policy values for the horizontal and vertical scrollbars.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Finalize" >
2003-10-13 22:55:58 +00:00
<MemberSignature Language= "C#" Value= "protected override void Finalize ();" />
2003-02-12 02:00:12 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Disposes the resources associated with the object.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ScrolledWindow (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of ScrolledWindow, wrapping the C object.</returns>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ScrolledWindow (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "hadjustment" Type= "Gtk.Adjustment" />
<Parameter Name= "vadjustment" Type= "Gtk.Adjustment" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Creates a new scrolled window.</summary>
<param name= "hadjustment" > Horizontal adjustment.</param>
<param name= "vadjustment" > Vertical adjustment.</param>
2003-02-12 02:00:12 +00:00
<returns > To be added: an object of type 'Gtk.ScrolledWindow'</returns>
2003-02-19 03:37:52 +00:00
<remarks >
<para >
2003-04-22 10:15:35 +00:00
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 <see langword= "null" /> for the adjustments, which will cause the scrolled window to create them for you.
2003-02-19 03:37:52 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public ScrolledWindow ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > To be added: an object of type 'Gtk.ScrolledWindow'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Placement" >
<MemberSignature Language= "C#" Value= "public Gtk.CornerType Placement { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.CornerType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Determines the location of the child widget with respect to the scrollbars.</summary>
<param name= "value" > Position of the child window.</param>
2003-02-23 07:26:30 +00:00
<returns />
2003-02-19 03:37:52 +00:00
<remarks >
<para >
2003-02-23 07:26:30 +00:00
Determines the location of the child widget with respect to the scrollbars. The default is <see cref= "T:Gtk.CornerType.TopLeft" /> , meaning the child is in the top left, with the scrollbars underneath and to the right. Other values in <see cref= "T:Gtk.CornerType" /> are <see cref= "T:Gtk.CornerType.TopRight" /> , <see cref= "T:Gtk.CornerType.BottomLeft" /> , and <see cref= "T:Gtk.CornerType.BottomRight" /> .
2003-02-19 03:37:52 +00:00
</para>
2003-02-23 07:26:30 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "HscrollbarPolicy" >
<MemberSignature Language= "C#" Value= "public Gtk.PolicyType HscrollbarPolicy { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.PolicyType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > When the horizontal scrollbar is displayed.</summary>
2003-02-12 02:00:12 +00:00
<param name= "value" > To be added: an object of type 'Gtk.PolicyType'</param>
<returns > To be added: an object of type 'Gtk.PolicyType'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Hadjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment Hadjustment { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Adjustment</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Sets the <see cref= "T:Gtk.Adjustment" /> for the horizontal scrollbar.</summary>
2003-02-19 03:37:52 +00:00
<param name= "value" > Horizontal scroll adjustment.</param>
<returns > The horizontal GtkAdjustment.</returns>
2003-02-12 02:00:12 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "VscrollbarPolicy" >
<MemberSignature Language= "C#" Value= "public Gtk.PolicyType VscrollbarPolicy { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.PolicyType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > When the vertical scrollbar is displayed.</summary>
2003-02-12 02:00:12 +00:00
<param name= "value" > To be added: an object of type 'Gtk.PolicyType'</param>
<returns > To be added: an object of type 'Gtk.PolicyType'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Vadjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment Vadjustment { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Adjustment</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Sets or Gets the <see cref= "T:Gtk.Adjustment" /> for the vertical scrollbar.</summary>
2003-02-19 03:37:52 +00:00
<param name= "value" > Vertical scroll adjustment.</param>
<returns > The vertical GtkAdjustment.</returns>
2003-02-12 02:00:12 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ShadowType" >
<MemberSignature Language= "C#" Value= "public Gtk.ShadowType ShadowType { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ShadowType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Gets the shadow type of the scrolled window.</summary>
<param name= "value" > Kind of shadow to draw around scrolled window contents.</param>
<returns > The current shadow type.</returns>
<remarks > To be added.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "WindowPlacement" >
<MemberSignature Language= "C#" Value= "public Gtk.CornerType WindowPlacement { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.CornerType</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-19 03:37:52 +00:00
<summary > Where the contents are located with respect to the scrollbars.</summary>
2003-02-12 02:00:12 +00:00
<param name= "value" > To be added: an object of type 'Gtk.CornerType'</param>
<returns > To be added: an object of type 'Gtk.CornerType'</returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ScrollChild" >
<MemberSignature Language= "C#" Value= "public event GtkSharp.ScrollChildHandler ScrollChild;" />
<MemberType > Event</MemberType>
2003-02-19 03:37:52 +00:00
<ReturnpValue />
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "MoveFocusOut" >
<MemberSignature Language= "C#" Value= "public event GtkSharp.MoveFocusOutHandler MoveFocusOut;" />
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > GtkSharp.MoveFocusOutHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:GLib.GType" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "OverrideMoveFocusOut" >
<MemberSignature Language= "C#" Value= "protected static void OverrideMoveFocusOut (GLib.GType gtype);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "OverrideScrollChild" >
<MemberSignature Language= "C#" Value= "protected static void OverrideScrollChild (GLib.GType gtype);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "OnMoveFocusOut" >
<MemberSignature Language= "C#" Value= "protected virtual void OnMoveFocusOut (Gtk.DirectionType direction);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "direction" Type= "Gtk.DirectionType" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "direction" > a <see cref= "T:Gtk.DirectionType" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "OnScrollChild" >
<MemberSignature Language= "C#" Value= "protected virtual void OnScrollChild (Gtk.ScrollType scroll, bool horizontal);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "scroll" Type= "Gtk.ScrollType" />
<Parameter Name= "horizontal" Type= "System.Boolean" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "scroll" > a <see cref= "T:Gtk.ScrollType" /> </param>
<param name= "horizontal" > a <see cref= "T:System.Boolean" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-03-07 01:30:00 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected ScrolledWindow (GLib.GType gtype);" />
2003-03-07 01:30:00 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-03-07 01:30:00 +00:00
<Docs >
2003-12-24 01:35:30 +00:00
<summary > To be added</summary>
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<returns > a <see cref= "T:Gtk.ScrolledWindow" /> </returns>
<remarks > To be added</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2003-09-17 21:56:59 +00:00
</Type>