2003-02-12 02:00:12 +00:00
<Type Name= "Container" FullName= "Gtk.Container" >
2003-07-04 02:09:49 +00:00
<TypeSignature Language= "C#" Value= "public class Container : Gtk.Widget, Implementor, IWrapper, IWrapper, IDisposable" Maintainer= "John Luke" />
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-07-04 02:09:49 +00:00
<summary > Base class for widgets which contain other widgets</summary>
<remarks >
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
A Gtk# user interface is constructed by nesting widgets inside widgets. <see cref= "T:Gtk.Container" /> widgets are the inner nodes in the resulting tree of widgets: they contain other widgets. So, for example, you might have a <see cref= "T:Gtk.Window" /> containing a <see cref= "T:Gtk.Frame" /> containing a <see cref= "T:Gtk.Label" /> . If you wanted an image instead of a textual label inside the frame, you might replace the <see cref= "T:Gtk.Label" /> widget with a <see cref= "T:Gtk.Image" /> widget.
</para>
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
There are two major kinds of <see cref= "T:Gtk.Container" /> widgets in Gtk#. Both are subclasses of the abstract <see cref= "T:Gtk.Container" /> base class.
</para>
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
The first type of <see cref= "T:Gtk.Container" /> widget has a single child widget and derives from <see cref= "T:Gtk.Bin" /> . These containers are decorators, which add some kind of functionality to the child. For example, a <see cref= "T:Gtk.Button" /> makes its child into a clickable button; a <see cref= "T:Gtk.Frame" /> draws a frame around its child and a <see cref= "T:Gtk.Window" /> places its child widget inside a top-level <see cref= "T:Gtk.Window" /> .
</para>
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
The second type of <see cref= "T:Gtk.Container" /> can have more than one child; its purpose is to manage layout. This means that these containers assign sizes and positions to their children. For example, a <see cref= "T:Gtk.HBox" /> arranges its children in a horizontal row, and a <see cref= "T:Gtk.Table" /> arranges the widgets it contains in a two-dimensional grid.
</para>
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
To fulfill its task, a layout <see cref= "T:Gtk.Container" /> must negotiate the size requirements with its parent and its children. This negotiation is carried out in two phases, size requisition and size allocation.
</para>
2003-07-17 06:38:40 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Widget</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= "CheckResize" >
<MemberSignature Language= "C#" Value= "public void CheckResize ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Attempts to resize this container.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ChildGetValist" >
<MemberSignature Language= "C#" Value= "public void ChildGetValist (Gtk.Widget child, string first_property_name, IntPtr var_args);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "first_property_name" Type= "System.String" />
<Parameter Name= "var_args" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-04 02:09:49 +00:00
<summary > Gets the values of one or more child properties for child and container.</summary>
2003-07-17 06:38:40 +00:00
<param name= "child" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "first_property_name" > an object of type <see cref= "T:System.String" /> </param>
<param name= "var_args" > an object of type <see cref= "T:System.IntPtr" /> </param>
2003-07-04 02:09:49 +00:00
<remarks > Gets the values of one or more child properties for child and container.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Add" >
<MemberSignature Language= "C#" Value= "public void Add (Gtk.Widget widget);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Adds a <see cref= "T:Gtk.Widget" /> to the <see cref= "T:Gtk.Container" /> .</summary>
<param name= "widget" > an object of type <see cref= "T:Gtk.Widget" /> </param>
2003-07-04 02:09:49 +00:00
<remarks >
2004-03-05 13:40:13 +00:00
<para >
Typically used for simple containers such as <see cref= "T:Gtk.Window" /> , <see cref= "T:Gtk.Frame" /> , or <see cref= "T:Gtk.Button" /> ; for more complicated layout containers such as <see cref= "T:Gtk.Box" /> or <see cref= "T:Gtk.Table" /> , this function will pick default packing parameters that may not be correct. So consider functions such as <see cref= "M:Gtk.Box.Packstart" /> and <see cref= "M:Gtk.Table.Attach" /> as an alternative to <see cref= "M:Gtk.Container.Add" /> in those cases. A <see cref= "T:Gtk.Widget" /> may be added to only one <see cref= "T:Gtk.Container" /> at a time; you can not place the same widget inside two different containers.
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Remove" >
<MemberSignature Language= "C#" Value= "public void Remove (Gtk.Widget widget);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Removes a <see cref= "T:Gtk.Widget" /> from the <see cref= "T:Gtk.Container" /> .</summary>
<param name= "widget" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<remarks >
2004-03-05 13:40:13 +00:00
<see cref= "T:Gtk.Widget" /> must be inside <see cref= "T:Gtk.Container" /> .
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "UnsetFocusChain" >
<MemberSignature Language= "C#" Value= "public void UnsetFocusChain ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-07-04 02:09:49 +00:00
<summary > Removes a focus chain.</summary>
2003-07-17 06:38:40 +00:00
<remarks > Removes a focus chain explicitly set with <see cref= "M:Gtk.Container.SetFocusChain(GLib.List)" /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ResizeChildren" >
<MemberSignature Language= "C#" Value= "public void ResizeChildren ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Tries to resize the child widgets of this container.</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ChildSetProperty" >
<MemberSignature Language= "C#" Value= "public void ChildSetProperty (Gtk.Widget child, string property_name, GLib.Value value);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "property_name" Type= "System.String" />
<Parameter Name= "value" Type= "GLib.Value" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Sets a child property for child and <see cref= "T:Gtk.Container" /> .</summary>
<param name= "child" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "property_name" > an object of type <see cref= "T:System.String" /> </param>
<param name= "value" > an object of type <see cref= "T:GLib.Value" /> </param>
<remarks > Sets a child property for child and <see cref= "T:Gtk.Container" /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ChildGetProperty" >
<MemberSignature Language= "C#" Value= "public void ChildGetProperty (Gtk.Widget child, string property_name, GLib.Value value);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "property_name" Type= "System.String" />
<Parameter Name= "value" Type= "GLib.Value" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Gets a child property for child and <see cref= "T:Gtk.Container" /> .</summary>
<param name= "child" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "property_name" > an object of type <see cref= "T:System.String" /> </param>
<param name= "value" > an object of type <see cref= "T:GLib.Value" /> </param>
<remarks > Gets a child property for child and <see cref= "T:Gtk.Container" /> .</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "PropagateExpose" >
<MemberSignature Language= "C#" Value= "public void PropagateExpose (Gtk.Widget child, Gdk.EventExpose evnt);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "evnt" Type= "Gdk.EventExpose" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Send synthetic expose events to all children that do not have their own <see cref= "T:Gdk.Windows" /> .</summary>
<param name= "child" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "evnt" > an object of type <see cref= "T:Gdk.EventExpose" /> </param>
2003-07-04 02:09:49 +00:00
<remarks >
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
When a <see cref= "T:Gtk.Container" /> receives an expose event, it must send synthetic expose events to all children that do not have their own <see cref= "T:Gdk.Window" /> s. This function provides a convenient way of doing this. A <see cref= "T:Gtk.Container" /> , when it receives an expose event, calls <see cref= "M:Gtk.Container.PropagateExpose(Gtk.Widget,Gdk.EventExpose)" /> once for each child, passing in the event the <see cref= "T:Gtk.Container" /> received.
</para>
2003-07-17 06:38:40 +00:00
<para >
<see cref= "M:Gtk.Container.PropagateExpose(Gtk.Widget,Gdk.EventExpose)" /> takes care of deciding whether an expose event needs to be sent to the child, intersecting the event's area with the child area, and sending the event.
2004-03-05 13:40:13 +00:00
</para>
2003-07-17 06:38:40 +00:00
<para >
2004-03-05 13:40:13 +00:00
In most cases, a <see cref= "T:Gtk.Container" /> can either simply inherit the expose implementation from <see cref= "T:Gtk.Container" /> , or do some drawing and then chain to the expose implementation from <see cref= "T:Gtk.Container" /> .
</para>
2003-07-17 06:38:40 +00:00
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ChildSetValist" >
<MemberSignature Language= "C#" Value= "public void ChildSetValist (Gtk.Widget child, string first_property_name, IntPtr var_args);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "child" Type= "Gtk.Widget" />
<Parameter Name= "first_property_name" Type= "System.String" />
<Parameter Name= "var_args" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Sets one or more child properties for child and <see cref= "T:Gtk.Container" /> .</summary>
<param name= "child" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<param name= "first_property_name" > an object of type <see cref= "T:System.String" /> </param>
<param name= "var_args" > an object of type <see cref= "T:System.IntPtr" /> </param>
<remarks > Sets one or more child properties for child and <see cref= "T:Gtk.Container" /> .</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 Container (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 Container, 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= "FocusVadjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment FocusVadjustment { 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 >
2004-09-06 14:47:48 +00:00
<summary > The vertical focus adjustment.</summary>
2003-07-17 06:38:40 +00:00
<param name= "value" > an object of type <see cref= "T:Gtk.Adjustment" /> </param>
<returns > an object of type <see cref= "T:Gtk.Adjustment" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "FocusHadjustment" >
<MemberSignature Language= "C#" Value= "public Gtk.Adjustment FocusHadjustment { 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 >
2004-09-06 14:47:48 +00:00
<summary > The horizontal focus adjustment.</summary>
2003-07-17 06:38:40 +00:00
<param name= "value" > an object of type <see cref= "T:Gtk.Adjustment" /> </param>
<returns > an object of type <see cref= "T:Gtk.Adjustment" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "FocusChild" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget FocusChild { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Moves the focus to a particular child widget.</summary>
<param name= "value" > A <see cref= "T:Gtk.Widget" /> , a child of this container.</param>
2003-07-17 06:38:40 +00:00
<returns > an object of type <see cref= "T:Gtk.Widget" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ReallocateRedraws" >
<MemberSignature Language= "C#" Value= "public bool ReallocateRedraws { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:47:48 +00:00
<summary > The redraw-reallocation flag. Containers requesting
reallocation redraws get automatically redrawn if any of their
children changed allocation. </summary>
2003-07-17 06:38:40 +00:00
<param name= "value" > an object of type <see cref= "T:System.Boolean" /> </param>
<returns > an object of type <see cref= "T:System.Boolean" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Child" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget Child { set; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:47:48 +00:00
<summary > A child widget for this container.</summary>
2003-07-17 06:38:40 +00:00
<param name= "value" > an object of type <see cref= "T:Gtk.Widget" /> </param>
<returns > an object of type <see cref= "T:Gtk.Widget" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ResizeMode" >
<MemberSignature Language= "C#" Value= "public Gtk.ResizeMode ResizeMode { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ResizeMode</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:47:48 +00:00
<summary > How this container behaves when resized.</summary>
2003-07-17 06:38:40 +00:00
<param name= "value" > an object of type <see cref= "T:Gtk.ResizeMode" /> </param>
<returns > an object of type <see cref= "T:Gtk.ResizeMode" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "BorderWidth" >
<MemberSignature Language= "C#" Value= "public uint BorderWidth { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.UInt32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-09-06 14:47:48 +00:00
<summary > This container's border width.</summary>
<param name= "value" > A <see cref= "T:System.UInt32" /> </param>
<returns > A <see cref= "T:System.UInt32" /> </returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Added" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.AddedHandler Added;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.AddedHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Fired when a child widget is added to the container.</summary>
2003-07-04 02:09:49 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "FocusChildSet" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.FocusChildSetHandler FocusChildSet;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.FocusChildSetHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Fired when the focus moves to a child widget of this container.</summary>
2003-07-04 02:09:49 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Removed" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.RemovedHandler Removed;" />
2003-02-12 02:00:12 +00:00
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
2004-02-25 23:39:06 +00:00
<ReturnType > Gtk.RemovedHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Fired when a child widget is removed from this container.</summary>
2003-07-04 02:09:49 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ResizeChecked" >
<MemberSignature Language= "C#" Value= "public event EventHandler ResizeChecked;" />
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Fired when this container's resizability is queried.</summary>
2003-07-04 02:09:49 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</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 >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.Container" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnResizeChecked" >
<MemberSignature Language= "C#" Value= "protected virtual void OnResizeChecked ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Container.ResizeChecked" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Container.ResizeChecked" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnRemoved" >
<MemberSignature Language= "C#" Value= "protected virtual void OnRemoved (Gtk.Widget widget);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "widget" Type= "Gtk.Widget" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Container.Removed" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Container.Removed" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnFocusChildSet" >
<MemberSignature Language= "C#" Value= "protected virtual void OnFocusChildSet (Gtk.Widget widget);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "widget" Type= "Gtk.Widget" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Container.FocusChildSet" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Container.FocusChildSet" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnAdded" >
<MemberSignature Language= "C#" Value= "protected virtual void OnAdded (Gtk.Widget widget);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "widget" Type= "Gtk.Widget" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Container.Added" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
2004-06-15 15:41:25 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Container.Added" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "Forall" >
<MemberSignature Language= "C#" Value= "public void Forall (Gtk.Callback cb);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cb" Type= "Gtk.Callback" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Invokes a callback function on each child of this container,
including children that are considered "internal" (implementation
details of the container). "Internal" children generally weren't
added by the user of the container but were added by the container
implementation itself. </summary>
2003-12-24 01:35:30 +00:00
<param name= "cb" > a <see cref= "T:Gtk.Callback" /> </param>
2004-09-06 14:47:48 +00:00
<remarks > Most applications should use <see cref= "M:Gtk.Container.Foreach" /> instead of this method.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "Foreach" >
<MemberSignature Language= "C#" Value= "public void Foreach (Gtk.Callback cb);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cb" Type= "Gtk.Callback" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Invokes a callback function on each non-internal child of this container. See <see cref= "M:Gtk.Container.Forall" /> for more details on internal children. </summary>
2003-12-24 01:35:30 +00:00
<param name= "cb" > a <see cref= "T:Gtk.Callback" /> </param>
2004-09-06 14:47:48 +00:00
<remarks > Most applications should use this method instead of <see cref= "M:Gtk.Container.Forall" /> .
</remarks>
2003-12-24 01:35:30 +00:00
</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 Container (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 >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
<returns > a <see cref= "T:Gtk.Container" /> </returns>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-03-07 01:30:00 +00:00
</Docs>
</Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "Children" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget [] Children { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-03-05 13:40:13 +00:00
<summary > Obtains the the container's non-internal children.</summary>
<returns > An array of non-internal children.</returns>
<remarks >
<para >
See <see cref= "M:Gtk.Container.Forall" /> for details on what constitutes an "internal" child.
</para>
</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
<Member MemberName= "FocusChain" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget [] FocusChain { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-03-05 13:40:13 +00:00
<summary > Sets or obtains a focus chain of the container, overriding the one computed automatically by Gtk#.</summary>
<returns > An array of <paramref name= "widgets" /> .</returns>
<remarks >
<para >
In principle each <see cref= "T:Gtk.Widget" /> in the chain should be a descendant of the <see cref= "T:Gtk.Container" /> , but this is not enforced by this method, since it is allowed to set the focus chain before you pack the widgets, or have a widget in the chain that is not always packed. The necessary checks are done when the focus chain is actually traversed.
</para>
<para >
If no focus chain has been explicitly set, gtk# computes the focus chain based on the positions of the children. in that case, gtk# stores <see langword= "null" /> in focusable_widgets and returns <see langword= "false" /> .
</para>
</remarks>
2004-02-26 18:46:28 +00:00
</Docs>
</Member>
2004-06-07 17:14:35 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Container ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-28 01:45:27 +00:00
<summary > Protected constructor for chaining by descendant classes.</summary>
2004-06-07 17:14:35 +00:00
<returns > a <see cref= "T:Gtk.Container" /> </returns>
2004-08-28 01:45:27 +00:00
<remarks > </remarks>
2004-06-07 17:14:35 +00:00
</Docs>
</Member>
<Member MemberName= "ForAll" >
<MemberSignature Language= "C#" Value= "protected virtual void ForAll (bool include_internals, Gtk.Container+CallbackInvoker invoker);" />
2004-05-27 19:02:19 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "include_internals" Type= "System.Boolean" />
<Parameter Name= "invoker" Type= "Gtk.Container+CallbackInvoker" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "include_internals" > a <see cref= "T:System.Boolean" /> </param>
<param name= "invoker" > a <see cref= "T:Gtk.Container+CallbackInvoker" /> </param>
2004-09-06 14:47:48 +00:00
<remarks />
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
2004-06-10 18:37:05 +00:00
<Member MemberName= "ChildType" >
<MemberSignature Language= "C#" Value= "public virtual GLib.GType ChildType ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Returns the type of children supported by this container.</summary>
2004-06-10 18:37:05 +00:00
<returns > a <see cref= "T:GLib.GType" /> </returns>
2004-09-06 14:47:48 +00:00
<remarks />
2004-06-10 18:37:05 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2004-08-28 01:45:27 +00:00
</Type>