2003-02-12 02:00:12 +00:00
<Type Name= "Toolbar" FullName= "Gtk.Toolbar" >
2003-02-18 06:39:00 +00:00
<TypeSignature Language= "C#" Value= "public class Toolbar : Gtk.Container, 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-18 06:39:00 +00:00
<summary > Create bars of buttons and other widgets.</summary>
<remarks >
2003-07-17 06:38:40 +00:00
<para > A <see cref= "T:Gtk.Toolbar" /> is created with a call to <see cref= "C:Gtk.Toolbar()" /> .</para>
2003-02-18 06:39:00 +00:00
<para >
2003-06-27 03:09:54 +00:00
Buttons with text and/or images are added with <see cref= "M:Gtk.Toolbar.AppendItem(System.String,System.String,System.String,Gtk.Widget,Gtk.SignalFunc)" /> ,
<see cref= "M:Gtk.Toolbar.PrependItem(System.String,System.String,System.String,Gtk.Widget,Gtk.SignalFunc)" /> ,
and <see cref= "M:Gtk.Toolbar.InsertItem(System.String,System.String,System.String,Gtk.Widget,Gtk.SignalFunc,System.IntPtr,System.Int32)" /> .
2003-02-18 06:39:00 +00:00
</para>
<para >
2003-06-27 03:09:54 +00:00
Any of <see cref= "T:Gtk.ToggleButton" /> , <see cref= "T:Gtk.RadioButton" /> , or an arbitrary widget can be added to the toolbar with
<see cref= "M:Gtk.Toolbar.AppendElement(Gtk.ToolbarChildType,Gtk.Widget,System.String,System.String,System.String,Gtk.Widget,Gtk.SignalFunc)" /> ,
<see cref= "M:Gtk.Toolbar.PrependElement(Gtk.ToolbarChildType,Gtk.Widget,System.String,System.String,System.String,Gtk.Widget,Gtk.SignalFunc)" /> ,
and <see cref= "M:Gtk.Toolbar.InsertElement(Gtk.ToolbarChildType,Gtk.Widget,System.String,System.String,System.String,Gtk.Widget,Gtk.SignalFunc,System.IntPtr,System.Int32)" /> .
2003-02-18 06:39:00 +00:00
</para>
<para >
2003-06-27 03:09:54 +00:00
Widgets can be visibly grouped by adding gaps between widgets using <see cref= "M:Gtk.Toolbar.AppendSpace()" /> , <see cref= "M:Gtk.Toolbar.PrependSpace()" /> , and <see cref= "M:Gtk.Toolbar.InsertSpace(System.Int32)" /> .
2003-02-18 06:39:00 +00:00
</para>
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Container</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= "PrependSpace" >
<MemberSignature Language= "C#" Value= "public void PrependSpace ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Adds a new space to the beginning of the toolbar.</summary>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "UnsetStyle" >
<MemberSignature Language= "C#" Value= "public void UnsetStyle ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-23 07:26:30 +00:00
<summary > Unsets a toolbar style set with <see cref= "P:Gtk.Toolbar.ToolbarStyle" /> .</summary>
<remarks > Unsets a toolbar style set with <see cref= "P:Gtk.Toolbar.ToolbarStyle" /> , so that user preferences will be used to determine the toolbar style.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "UnsetIconSize" >
<MemberSignature Language= "C#" Value= "public void UnsetIconSize ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-18 06:39:00 +00:00
<summary >
2003-02-23 07:26:30 +00:00
Unsets toolbar icon size set with <see cref= "P:Gtk.Toolbar.IconSize" /> .
2004-08-04 17:10:22 +00:00
</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "InsertWidget" >
<MemberSignature Language= "C#" Value= "public void InsertWidget (Gtk.Widget widget, string tooltip_text, string tooltip_private_text, int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Inserts a widget in the toolbar at the given position.</summary>
2003-02-23 07:26:30 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> to add to the toolbar.</param>
2003-06-27 03:09:54 +00:00
<param name= "tooltip_text" > The tooltip for the element.</param>
2003-02-18 06:39:00 +00:00
<param name= "tooltip_private_text" > Used for context-sensitive help about this toolbar element.</param>
<param name= "position" > The number of widgets to insert this widget after.</param>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "AppendWidget" >
<MemberSignature Language= "C#" Value= "public void AppendWidget (Gtk.Widget widget, string tooltip_text, string tooltip_private_text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Adds a widget to the end of the given toolbar.</summary>
2003-02-23 07:26:30 +00:00
<param name= "widget" > A <see cref= "T:Gtk.Widget" /> to add to the toolbar.</param>
2003-06-27 03:09:54 +00:00
<param name= "tooltip_text" > The tooltip for the element.</param>
2003-02-18 06:39:00 +00:00
<param name= "tooltip_private_text" > Used for context-sensitive help about this toolbar element.</param>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "AppendSpace" >
<MemberSignature Language= "C#" Value= "public void AppendSpace ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Adds a new space to the end of the toolbar.</summary>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "RemoveSpace" >
<MemberSignature Language= "C#" Value= "public void RemoveSpace (int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Removes a space from the specified position.</summary>
<param name= "position" > The index of the space to remove.</param>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "PrependWidget" >
<MemberSignature Language= "C#" Value= "public void PrependWidget (Gtk.Widget widget, string tooltip_text, string tooltip_private_text);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Adds a widget to the beginning of the given toolbar.</summary>
2003-02-23 07:26:30 +00:00
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> to add to the toolbar.</param>
2003-06-27 03:09:54 +00:00
<param name= "tooltip_text" > The tooltip for the element.</param>
2003-02-18 06:39:00 +00:00
<param name= "tooltip_private_text" > Used for context-sensitive help about this toolbar element.</param>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "InsertSpace" >
<MemberSignature Language= "C#" Value= "public void InsertSpace (int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Inserts a new space in the toolbar at the specified position.</summary>
<param name= "position" > The number of widgets after which a space should be inserted.</param>
2004-08-04 17:10:22 +00:00
<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 Toolbar (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-18 06:39:00 +00:00
<summary > Internal constructor</summary>
2003-02-23 07:26:30 +00:00
<param name= "raw" > Pointer to the C object.</param>
<returns > An instance of Toolbar, 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 Toolbar ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Creates a new toolbar.</summary>
<returns > The newly-created toolbar.</returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "IconSize" >
<MemberSignature Language= "C#" Value= "public Gtk.IconSize IconSize { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.IconSize</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-06-27 03:09:54 +00:00
<summary > This function sets the size of stock icons in the toolbar. You can call it both before you add the icons and after they have been added. The size you set will override user preferences for the default icon size.</summary>
2003-02-23 07:26:30 +00:00
<param name= "value" > The <see cref= "T:Gtk.IconSize" /> that stock icons in the toolbar shall have.</param>
2003-02-18 06:39:00 +00:00
<returns > The icon size for the toolbar.</returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Tooltips" >
<MemberSignature Language= "C#" Value= "public bool Tooltips { set; get; };" />
<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 >
2003-02-18 06:39:00 +00:00
<summary > Sets if the tooltips of a toolbar should be active or not.</summary>
2003-04-22 10:15:35 +00:00
<param name= "value" > set to <see langword= "false" /> to disable the tooltips, or <see langword= "true" /> to enable them.</param>
2003-02-18 06:39:00 +00:00
<returns > Whether tooltips are enabled.</returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ToolbarStyle" >
<MemberSignature Language= "C#" Value= "public Gtk.ToolbarStyle ToolbarStyle { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ToolbarStyle</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Alters the view of toolbar to display either icons only, text only, or both.</summary>
<param name= "value" > The new style for toolbar. </param>
<returns > The current style of toolbar.</returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Orientation" >
<MemberSignature Language= "C#" Value= "public Gtk.Orientation Orientation { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Orientation</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > Sets the <see cref= "T:Gtk.Orientation" /> of the toolbar to either <see cref= "T:Gtk.Orientation.Horizontal" /> or <see cref= "T:Gtk.Orientation.Vertical" /> .</summary>
2003-02-18 06:39:00 +00:00
<param name= "value" > The orientation of the toolbar.</param>
<returns > The orientation of the toolbar.</returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "StyleChanged" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.StyleChangedHandler StyleChanged;" />
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.StyleChangedHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Used if you wish to perform an action when the orientation of a toolbar is changed.</summary>
2004-08-04 17:10:22 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "OrientationChanged" >
2004-02-25 23:39:06 +00:00
<MemberSignature Language= "C#" Value= "public event Gtk.OrientationChangedHandler OrientationChanged;" />
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.OrientationChangedHandler</ReturnType>
2003-09-17 21:56:59 +00:00
</ReturnValue>
2003-02-12 02:00:12 +00:00
<Parameters />
<Docs >
2003-02-18 06:39:00 +00:00
<summary > Used if you wish to perform an action when ever the style of a toolbar is adjusted.</summary>
<remarks > For example, this would be a useful signal to connect to if you want to display more items on the toolbar when it is in icon-only mode; each item takes less space on the bar.</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.Toolbar" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnOrientationChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnOrientationChanged (Gtk.Orientation orientation);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "orientation" Type= "Gtk.Orientation" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Toolbar.OrientationChanged" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "orientation" > a <see cref= "T:Gtk.Orientation" /> </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.Toolbar.OrientationChanged" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnStyleChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnStyleChanged (Gtk.ToolbarStyle style);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.ToolbarStyle" />
</Parameters>
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Toolbar.StyleChanged" /> event.</summary>
2003-12-24 01:35:30 +00:00
<param name= "style" > a <see cref= "T:Gtk.ToolbarStyle" /> </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.Toolbar.StyleChanged" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "PrependElement" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget PrependElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gtk.ToolbarChildType" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "icon" Type= "Gtk.Widget" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
</Parameters>
<Docs >
2004-08-04 17:10:22 +00:00
<summary >
2004-08-17 20:43:49 +00:00
<para >
2004-08-04 17:10:22 +00:00
This method is deprecated and should not be used in new code.
</para>
2004-08-17 20:43:49 +00:00
<para >
2004-08-04 17:10:22 +00:00
Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation).
</para>
2004-08-17 20:43:49 +00:00
<para >
2004-08-04 17:10:22 +00:00
If type == <see cref= "T:Gtk.ToolbarChildType.Widget" /> , widget is used as the new element. If type == <see cref= "T:Gtk.ToolbarChildType.Radiobutton" /> , widget is used to determine the radio group for the new element. In all other cases, widget must be NULL.
</para>
2004-08-17 20:43:49 +00:00
</summary>
2004-08-04 17:10:22 +00:00
<param name= "type" > a <see cref= "T:Gtk.ToolbarChildType" /> , the type of widget to add</param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> , the widget itself</param>
<param name= "text" > a <see cref= "T:System.String" /> , a label for the widget</param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> , simple tooltip text</param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> , context-sensitive detailed help</param>
<param name= "icon" > a <see cref= "T:Gtk.Widget" /> , the icon to use for this widget</param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> , a callback function to use when the new widget is touched.</param>
2003-12-24 01:35:30 +00:00
<returns > a <see cref= "T:Gtk.Widget" /> </returns>
</Docs>
</Member>
<Member MemberName= "InsertElement" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget InsertElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb, IntPtr user_data, int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gtk.ToolbarChildType" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "icon" Type= "Gtk.Widget" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
<Parameter Name= "user_data" Type= "System.IntPtr" />
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
<Docs >
2004-08-04 17:10:22 +00:00
<summary >
2004-08-17 20:43:49 +00:00
<para >
2004-08-04 17:10:22 +00:00
This method is deprecated and should not be used in new code.
</para>
2004-08-17 20:43:49 +00:00
<para >
2004-08-04 17:10:22 +00:00
Adds a new button to the beginning of the toolbar (left or top, depending on toolbar orientation).
</para>
2004-08-17 20:43:49 +00:00
<para >
2004-08-04 17:10:22 +00:00
If type == <see cref= "T:Gtk.ToolbarChildType.Widget" /> , widget is used as the new element. If type == <see cref= "T:Gtk.ToolbarChildType.Radiobutton" /> , widget is used to determine the radio group for the new element. In all other cases, widget must be NULL.
</para>
2004-08-17 20:43:49 +00:00
</summary>
2004-08-04 17:10:22 +00:00
<param name= "type" > a <see cref= "T:Gtk.ToolbarChildType" /> , the type of widget to add</param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> , the widget itself</param>
<param name= "text" > a <see cref= "T:System.String" /> , a label for the widget</param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> , simple tooltip text</param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> , context-sensitive detailed help</param>
<param name= "icon" > a <see cref= "T:Gtk.Widget" /> , the icon to use for this widget</param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> , a callback function to use when the new widget is touched.</param>
<param name= "user_data" > a <see cref= "T:System.IntPtr" /> , data to pass to the callback.</param>
<param name= "position" > a <see cref= "T:System.Int32" /> , the number of toolbar widgets to insert this element after.</param>
<returns > a <see cref= "T:Gtk.Widget" /> , the new toolbar element.</returns>
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "AppendItem" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget AppendItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "icon" Type= "Gtk.Widget" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
</Parameters>
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Deprecated.</summary>
2003-12-24 01:35:30 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> </param>
<param name= "icon" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> </param>
<returns > a <see cref= "T:Gtk.Widget" /> </returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "InsertStock" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget InsertStock (string stock_id, string tooltip_text, string tooltip_private_text, Gtk.SignalFunc cb, IntPtr user_data, int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "stock_id" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
<Parameter Name= "user_data" Type= "System.IntPtr" />
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
<Docs >
2004-06-24 13:52:21 +00:00
<summary > Deprecated.</summary>
2003-12-24 01:35:30 +00:00
<param name= "stock_id" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> </param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> </param>
<param name= "user_data" > a <see cref= "T:System.IntPtr" /> </param>
<param name= "position" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gtk.Widget" /> </returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "InsertItem" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget InsertItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb, IntPtr user_data, int position);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "icon" Type= "Gtk.Widget" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
<Parameter Name= "user_data" Type= "System.IntPtr" />
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Deprecated.</summary>
2003-12-24 01:35:30 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> </param>
<param name= "icon" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> </param>
<param name= "user_data" > a <see cref= "T:System.IntPtr" /> </param>
<param name= "position" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gtk.Widget" /> </returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "PrependItem" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget PrependItem (string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "icon" Type= "Gtk.Widget" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
</Parameters>
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Deprecated.</summary>
2003-12-24 01:35:30 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> </param>
<param name= "icon" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> </param>
<returns > a <see cref= "T:Gtk.Widget" /> </returns>
2004-08-04 17:10:22 +00:00
<remarks />
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "AppendElement" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget AppendElement (Gtk.ToolbarChildType type, Gtk.Widget widget, string text, string tooltip_text, string tooltip_private_text, Gtk.Widget icon, Gtk.SignalFunc cb);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "type" Type= "Gtk.ToolbarChildType" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "text" Type= "System.String" />
<Parameter Name= "tooltip_text" Type= "System.String" />
<Parameter Name= "tooltip_private_text" Type= "System.String" />
<Parameter Name= "icon" Type= "Gtk.Widget" />
<Parameter Name= "cb" Type= "Gtk.SignalFunc" />
</Parameters>
<Docs >
2004-08-04 17:10:22 +00:00
<summary > Deprecated.</summary>
2003-12-24 01:35:30 +00:00
<param name= "type" > a <see cref= "T:Gtk.ToolbarChildType" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_text" > a <see cref= "T:System.String" /> </param>
<param name= "tooltip_private_text" > a <see cref= "T:System.String" /> </param>
<param name= "icon" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "cb" > a <see cref= "T:Gtk.SignalFunc" /> </param>
<returns > a <see cref= "T:Gtk.Widget" /> </returns>
2004-08-04 17:10:22 +00:00
<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 Toolbar (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.Toolbar" /> </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-11-05 21:25:40 +00:00
<Member MemberName= "ShowArrow" >
<MemberSignature Language= "C#" Value= "public bool ShowArrow { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ReliefStyle" >
<MemberSignature Language= "C#" Value= "public Gtk.ReliefStyle ReliefStyle { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.ReliefStyle</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:Gtk.ReliefStyle" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "NItems" >
<MemberSignature Language= "C#" Value= "public int NItems { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:System.Int32" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "PopupContextMenu" >
<MemberSignature Language= "C#" Value= "public event Gtk.PopupContextMenuHandler PopupContextMenu;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.PopupContextMenuHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "OnPopupContextMenu" >
<MemberSignature Language= "C#" Value= "protected virtual bool OnPopupContextMenu (int x, int y, int button_number);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "button_number" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "button_number" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SetDropHighlightItem" >
<MemberSignature Language= "C#" Value= "public void SetDropHighlightItem (Gtk.ToolItem tool_item, int index);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "tool_item" Type= "Gtk.ToolItem" />
<Parameter Name= "index" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "tool_item" > a <see cref= "T:Gtk.ToolItem" /> </param>
<param name= "index" > a <see cref= "T:System.Int32" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetNthItem" >
<MemberSignature Language= "C#" Value= "public Gtk.ToolItem GetNthItem (int n);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.ToolItem</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "n" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "n" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gtk.ToolItem" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Insert" >
<MemberSignature Language= "C#" Value= "public void Insert (Gtk.ToolItem item, int pos);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "item" Type= "Gtk.ToolItem" />
<Parameter Name= "pos" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "item" > a <see cref= "T:Gtk.ToolItem" /> </param>
<param name= "pos" > a <see cref= "T:System.Int32" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetItemIndex" >
<MemberSignature Language= "C#" Value= "public int GetItemIndex (Gtk.ToolItem item);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "item" Type= "Gtk.ToolItem" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "item" > a <see cref= "T:Gtk.ToolItem" /> </param>
<returns > a <see cref= "T:System.Int32" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetDropIndex" >
<MemberSignature Language= "C#" Value= "public int GetDropIndex (int x, int y);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:System.Int32" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-11-18 20:31:22 +00:00
<Member MemberName= "Item" >
<MemberSignature Language= "C#" Value= "public override Gtk.Container+ContainerChild Item { get; };" />
<MemberType > Property</MemberType>
2004-11-08 15:03:02 +00:00
<ReturnValue >
2004-11-18 20:31:22 +00:00
<ReturnType > Gtk.Container+ContainerChild</ReturnType>
2004-11-08 15:03:02 +00:00
</ReturnValue>
<Parameters >
<Parameter Name= "child" Type= "Gtk.Widget" />
</Parameters>
<Docs >
2004-11-18 20:31:22 +00:00
<summary > Accessor for child property items</summary>
<param name= "child" > a child of this toolbar</param>
<returns > a <see cref= "T:Gtk.Container+ContainerChild" /> </returns>
<remarks > You can cast the returned object to <see cref= "T:Gtk.Toolbar+ToolbarChild" /> to access its child properties.</remarks>
2004-11-08 15:03:02 +00:00
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2004-08-17 20:43:49 +00:00
</Type>