mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-25 06:55:36 +00:00
99fc829a10
* en/*/*.xml: Removed all the Deprecated nodes now. svn path=/trunk/gtk-sharp/; revision=12345
531 lines
27 KiB
XML
531 lines
27 KiB
XML
<Type Name="Toolbar" FullName="Gtk.Toolbar">
|
|
<TypeSignature Language="C#" Value="public class Toolbar : Gtk.Container, Implementor, IWrapper, IWrapper, IDisposable" Maintainer="Duncan Mak" />
|
|
<AssemblyInfo>
|
|
<AssemblyName>gtk-sharp</AssemblyName>
|
|
<AssemblyVersion>0.0.0.0</AssemblyVersion>
|
|
<Attributes />
|
|
</AssemblyInfo>
|
|
<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>
|
|
<Docs>
|
|
<summary>Create bars of buttons and other widgets.</summary>
|
|
<remarks>
|
|
<para>A toolbar is created with a call to <see cref="C:Gtk.Toolbar" />.</para>
|
|
<para>
|
|
Buttons with text and/or images are added with <see cref="M:Gtk.Toolbar.AppendItem" />, <see cref="M:Gtk.Toolbar.PrependItem" />, and <see cref="M:Gtk.Toolbar.InsertItem" />.
|
|
</para>
|
|
<para>
|
|
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" />, <see cref="M:Gtk.Toolbar.PrependElement" />, and <see cref="M:Gtk.Toolbar.InsertElement" />.
|
|
</para>
|
|
<para>
|
|
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" />.
|
|
</para>
|
|
</remarks>
|
|
</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="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 callback);" />
|
|
<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="callback" Type="Gtk.SignalFunc" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Adds a new element to the end of a toolbar.</summary>
|
|
<param name="type">A value of type <see cref="T:Gtk.ToolbarChildType" /> that determines what widget will be.</param>
|
|
<param name="widget">a <see cref="T:Gtk.Widget" />, or <see cref="langword:null" />.</param>
|
|
<param name="text">The element's label.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<param name="tooltip_private_text">Text used for context-sensitive help about this toolbar element.</param>
|
|
<param name="icon">a <see cref="T:Gtk.Widget" /> that provides pictorial representation of the element's function.</param>
|
|
<param name="callback">The function to be executed when the button is pressed.</param>
|
|
<returns>The new toolbar element as a <see cref="T:Gtk.Widget" /></returns>
|
|
<remarks>
|
|
<para>If <paramref name="type" /> is <see cref="T:Gtk.ToolbarChildType.Widget" />, <paramref name="widget" /> is used as the new element. If <paramref name="type" /> is <see cref="T:Gtk.ToolbarChild.Radiobutton" />,<paramref name="widget" /> is used to determine the radio group for the new element. In all other cases, widget must be <see cref="langword:null" />.</para>
|
|
</remarks>
|
|
</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 callback);" />
|
|
<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="callback" Type="Gtk.SignalFunc" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Adds a new button to the beginning (top or left edges) of the given toolbar.</summary>
|
|
<param name="text">Text for the button label.</param>
|
|
<param name="tooltip_text">A string that appears when the user holds the mouse over this item.</param>
|
|
<param name="tooltip_private_text">Text used for context-sensitive help about this toolbar element.</param>
|
|
<param name="icon">A <see cref="T:Gtk.Widget" /> that should be used as the button's icon.</param>
|
|
<param name="callback">The function to be executed when the button is pressed.</param>
|
|
<returns>The new toolbar element as a <see cref="T:Gtk.Widget" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</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 callback, 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="callback" Type="Gtk.SignalFunc" />
|
|
<Parameter Name="user_data" Type="System.IntPtr" />
|
|
<Parameter Name="position" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Inserts a new item into the toolbar. You must specify the position in the toolbar where it will be inserted.</summary>
|
|
<param name="text">Text for the button label.</param>
|
|
<param name="tooltip_text">A string that appears when the user holds the mouse over this item.</param>
|
|
<param name="tooltip_private_text">Text used for context-sensitive help about this toolbar element.</param>
|
|
<param name="icon">A <see cref="T:Gtk.Widget" /> that should be used as the button's icon.</param>
|
|
<param name="callback">The function to be executed when the button is pressed.</param>
|
|
<param name="user_data">To be added: an object of type 'IntPtr'</param>
|
|
<param name="position">The number of widgets to insert this item after.</param>
|
|
<returns>The new toolbar element as a <see cref="T:Gtk.Widget" />.</returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="PrependSpace">
|
|
<MemberSignature Language="C#" Value="public void PrependSpace ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Adds a new space to the beginning of the toolbar.</summary>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UnsetStyle">
|
|
<MemberSignature Language="C#" Value="public void UnsetStyle ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<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>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="UnsetIconSize">
|
|
<MemberSignature Language="C#" Value="public void UnsetIconSize ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>
|
|
Unsets toolbar icon size set with <see cref="P:Gtk.Toolbar.IconSize" />.
|
|
</summary>
|
|
<remarks>To be added</remarks>
|
|
</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>
|
|
<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>
|
|
<Docs>
|
|
<summary>Inserts a widget in the toolbar at the given position.</summary>
|
|
<param name="widget"> a <see cref="T:Gtk.Widget" /> to add to the toolbar.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<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>
|
|
</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 callback, 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="callback" Type="Gtk.SignalFunc" />
|
|
<Parameter Name="user_data" Type="System.IntPtr" />
|
|
<Parameter Name="position" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Inserts a stock item at the specified position of the toolbar.</summary>
|
|
<param name="stock_id"> The id of the stock item you want to insert</param>
|
|
<param name="tooltip_text">The text in the tooltip of the toolbar button</param>
|
|
<param name="tooltip_private_text">The private text of the tooltip</param>
|
|
<param name="callback">The callback called when the toolbar button is clicked.</param>
|
|
<param name="user_data">To be added: an object of type 'IntPtr'</param>
|
|
<param name="position">The position the button shall be inserted at. -1 means at the end.</param>
|
|
<returns>The inserted widget</returns>
|
|
<remarks>If <paramref name="stock_id" /> is not a known stock item ID, it's inserted verbatim, except that underscores used to mark mnemonics are removed.</remarks>
|
|
</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>
|
|
<Parameter Name="widget" Type="Gtk.Widget" />
|
|
<Parameter Name="tooltip_text" Type="System.String" />
|
|
<Parameter Name="tooltip_private_text" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Adds a widget to the end of the given toolbar.</summary>
|
|
<param name="widget">A <see cref="T:Gtk.Widget" /> to add to the toolbar.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<param name="tooltip_private_text">Used for context-sensitive help about this toolbar element.</param>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="AppendSpace">
|
|
<MemberSignature Language="C#" Value="public void AppendSpace ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Adds a new space to the end of the toolbar.</summary>
|
|
<remarks>To be added</remarks>
|
|
</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 callback);" />
|
|
<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="callback" Type="Gtk.SignalFunc" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Adds a new button to the end (right or bottom edges) of the given toolbar.</summary>
|
|
<param name="text">The element's label.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<param name="tooltip_private_text">Text used for context-sensitive help about this toolbar element.</param>
|
|
<param name="icon">a <see cref="T:Gtk.Widget" /> that provides pictorial representation of the element's function.</param>
|
|
<param name="callback">The function to be executed when the button is pressed.</param>
|
|
<returns>The new toolbar element as a <see cref="T:Gtk.Widget" /></returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="RemoveSpace">
|
|
<MemberSignature Language="C#" Value="public void RemoveSpace (int position);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="position" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Removes a space from the specified position.</summary>
|
|
<param name="position">The index of the space to remove.</param>
|
|
<remarks>To be added</remarks>
|
|
</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>
|
|
<Parameter Name="widget" Type="Gtk.Widget" />
|
|
<Parameter Name="tooltip_text" Type="System.String" />
|
|
<Parameter Name="tooltip_private_text" Type="System.String" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Adds a widget to the beginning of the given toolbar.</summary>
|
|
<param name="widget">a <see cref="T:Gtk.Widget" /> to add to the toolbar.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<param name="tooltip_private_text">Used for context-sensitive help about this toolbar element.</param>
|
|
<remarks>To be added</remarks>
|
|
</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 callback, 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="callback" Type="Gtk.SignalFunc" />
|
|
<Parameter Name="user_data" Type="System.IntPtr" />
|
|
<Parameter Name="position" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Inserts a new element in the toolbar at the given position.</summary>
|
|
<param name="type">A value of type <see cref="T:Gtk.ToolbarChildType" /> that determines what widget will be.</param>
|
|
<param name="widget">a <see cref="T:Gtk.Widget" />, or <see cref="langword:null" />.</param>
|
|
<param name="text">The element's label.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<param name="tooltip_private_text">Text used for context-sensitive help about this toolbar element.</param>
|
|
<param name="icon">a <see cref="T:Gtk.Widget" /> that provides pictorial representation of the element's function.</param>
|
|
<param name="callback">The function to be executed when the button is pressed.</param>
|
|
<param name="user_data">To be added: an object of type 'IntPtr'</param>
|
|
<param name="position">The number of widgets to insert this element after.</param>
|
|
<returns>The new toolbar element as a <see cref="T:Gtk.Widget" /></returns>
|
|
<remarks>
|
|
<para>
|
|
If <paramref name="type" /> is <see cref="T:Gtk.ToolbarChildType.Widget" />, <paramref name="widget" /> is used as the new element. If <paramref name="type" /> is <see cref="T:Gtk.ToolbarChild.Radiobutton" />,<paramref name="widget" /> is used to determine the radio group for the new element. In all other cases, widget must be <see cref="langword:null" />.
|
|
</para>
|
|
</remarks>
|
|
</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 callback);" />
|
|
<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="callback" Type="Gtk.SignalFunc" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Adds a new element to the beginning of a toolbar.</summary>
|
|
<param name="type">A value of type <see cref="T:Gtk.ToolbarChildType" /> that determines what widget will be.</param>
|
|
<param name="widget">a <see cref="T:Gtk.Widget" />, or <see cref="langword:null" />.</param>
|
|
<param name="text">The element's label.</param>
|
|
<param name="tooltip_text">The element's tooltip.</param>
|
|
<param name="tooltip_private_text">Text used for context-sensitive help about this toolbar element.</param>
|
|
<param name="icon">a <see cref="T:Gtk.Widget" /> that provides pictorial representation of the element's function.</param>
|
|
<param name="callback">The function to be executed when the button is pressed.</param>
|
|
<returns>The new toolbar element as a <see cref="T:Gtk.Widget" /></returns>
|
|
<remarks>
|
|
<para>If <paramref name="type" /> is <see cref="T:Gtk.ToolbarChildType.Widget" />, <paramref name="widget" /> is used as the new element. If <paramref name="type" /> is <see cref="T:Gtk.ToolbarChild.Radiobutton" />,<paramref name="widget" /> is used to determine the radio group for the new element. In all other cases, widget must be <see cref="langword:null" />.</para>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="InsertSpace">
|
|
<MemberSignature Language="C#" Value="public void InsertSpace (int position);" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="position" Type="System.Int32" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Finalize">
|
|
<MemberSignature Language="C#" Value="protected virtual void Finalize ();" />
|
|
<MemberType>Method</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Void</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Disposes the resources associated with the object.</summary>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Toolbar (IntPtr raw);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="raw" Type="System.IntPtr" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<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>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="public Toolbar ();" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Creates a new toolbar.</summary>
|
|
<returns>The newly-created toolbar.</returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="GType">
|
|
<MemberSignature Language="C#" Value="public static uint GType { get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.UInt32</ReturnType>
|
|
</ReturnValue>
|
|
<Docs>
|
|
<summary>The GLib Type for Gtk.Toolbar</summary>
|
|
<returns>The GLib Type for the Gtk.Toolbar class.</returns>
|
|
<remarks />
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="IconSize">
|
|
<MemberSignature Language="C#" Value="public Gtk.IconSize IconSize { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.IconSize</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="Gtk.IconSize" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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've been added. The size you set will override user preferences for the default icon size.</summary>
|
|
<param name="value">The <see cref="T:Gtk.IconSize" /> that stock icons in the toolbar shall have.</param>
|
|
<returns>The icon size for the toolbar.</returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Tooltips">
|
|
<MemberSignature Language="C#" Value="public bool Tooltips { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>System.Boolean</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="System.Boolean" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Sets if the tooltips of a toolbar should be active or not.</summary>
|
|
<param name="value">set to <see cref="langword:false" /> to disable the tooltips, or <see cref="langword:true" /> to enable them.</param>
|
|
<returns>Whether tooltips are enabled.</returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="ToolbarStyle">
|
|
<MemberSignature Language="C#" Value="public Gtk.ToolbarStyle ToolbarStyle { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.ToolbarStyle</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="Gtk.ToolbarStyle" />
|
|
</Parameters>
|
|
<Docs>
|
|
<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>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="Orientation">
|
|
<MemberSignature Language="C#" Value="public Gtk.Orientation Orientation { set; get; };" />
|
|
<MemberType>Property</MemberType>
|
|
<ReturnValue>
|
|
<ReturnType>Gtk.Orientation</ReturnType>
|
|
</ReturnValue>
|
|
<Parameters>
|
|
<Parameter Name="value" Type="Gtk.Orientation" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Sets the orientation of the toolbar to either <see cref="T:Gtk.Orientation.Horizontal" /> or <see cref="T:Gtk.Orientation.Vertical" />.</summary>
|
|
<param name="value">The orientation of the toolbar.</param>
|
|
<returns>The orientation of the toolbar.</returns>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="StyleChanged">
|
|
<MemberSignature Language="C#" Value="public event GtkSharp.StyleChangedHandler StyleChanged;" />
|
|
<MemberType>Event</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<summary>Used if you wish to perform an action when the orientation of a toolbar is changed.</summary>
|
|
<remarks>To be added</remarks>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName="OrientationChanged">
|
|
<MemberSignature Language="C#" Value="public event GtkSharp.OrientationChangedHandler OrientationChanged;" />
|
|
<MemberType>Event</MemberType>
|
|
<ReturnValue />
|
|
<Parameters />
|
|
<Docs>
|
|
<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>
|
|
</Docs>
|
|
</Member>
|
|
<Member MemberName=".ctor">
|
|
<MemberSignature Language="C#" Value="protected Toolbar (GLib.Type gtype);" />
|
|
<MemberType>Constructor</MemberType>
|
|
<ReturnValue />
|
|
<Parameters>
|
|
<Parameter Name="gtype" Type="GLib.Type" />
|
|
</Parameters>
|
|
<Docs>
|
|
<summary>Internal constructor</summary>
|
|
<param name="gtype">GLib type for the type</param>
|
|
<returns>Creates a new instance of Toolbar, using the GLib-provided type</returns>
|
|
<remarks>
|
|
<para>This is a constructor used by derivative types of <see cref="T:Gtk.Toolbar" /> that would have their own GLib type assigned to it. This is not typically used by C# code.</para>
|
|
</remarks>
|
|
</Docs>
|
|
</Member>
|
|
</Members>
|
|
</Type> |