2004-11-05 21:25:40 +00:00
<Type Name= "EntryCompletion" FullName= "Gtk.EntryCompletion" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class EntryCompletion : GLib.Object, Gtk.CellLayout" />
2004-11-05 21:25:40 +00:00
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
<AssemblyPublicKey > [00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 01 00 01 00 71 EB 6C 55 75 52 9C BF 72 44 F7 A6 EA 05 62 84 F9 EA E0 3B CF F2 CC 13 2C 9C 49 0A B3 09 EA B0 B5 6B CE 44 9D F5 03 D9 C0 A8 1E 52 05 85 CD BE 70 E2 FB 90 43 4B AC 04 FA 62 22 A8 00 98 B7 A1 A7 B3 AF 99 1A 41 23 24 BB 43 25 F6 B8 65 BB 64 EB F6 D1 C2 06 D5 73 2D DF BC 70 A7 38 9E E5 3E 0C 24 6E 32 79 74 1A D0 05 03 E4 98 42 E1 9B F3 7B 19 8B 40 21 26 CB 36 89 C2 EA 64 96 A4 7C B4]</AssemblyPublicKey>
2006-08-04 19:43:19 +00:00
<AssemblyVersion > 2.10.0.0</AssemblyVersion>
2004-11-05 21:25:40 +00:00
</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 >
2004-12-02 06:33:01 +00:00
<summary >
This object allows a widget to suggest possible completions of a string which has been partially entered.
</summary>
<remarks >
2004-12-21 00:16:14 +00:00
<para >
The partially-entered string is also referred to as a "key".
</para>
<example >
<code lang= "C#" >
using System;
using Gtk;
public class DemoEntryCompletion : Window
{
static void Main ()
{
Application.Init ();
new DemoEntryCompletion ();
Application.Run ();
}
public DemoEntryCompletion () : base ("Demo Entry Completion")
{
this.BorderWidth = 10;
this.Resizable = false;
VBox vbox = new VBox ();
Label label = new Label ("Completion demo, try writing < b> total< /b> or < /b> gnome< /b> for example.");
label.UseMarkup = true;
vbox.PackStart (label, false, true, 0);
Entry entry = new Entry ();
entry.Completion = new EntryCompletion ();
entry.Completion.Model = CreateCompletionModel ();
entry.Completion.TextColumn = 0;
vbox.PackStart (entry, false, true, 0);
this.Add (vbox);
this.ShowAll ();
}
TreeModel CreateCompletionModel ()
{
ListStore store = new ListStore (typeof (string));
store.AppendValues ("GNOME");
store.AppendValues ("total");
store.AppendValues ("totally");
return store;
}
}
</code>
</example>
2004-12-02 06:33:01 +00:00
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
<Interfaces >
<Interface >
<InterfaceName > Gtk.CellLayout</InterfaceName>
</Interface>
</Interfaces>
<Members >
<Member MemberName= "OnActionActivated" >
2005-09-03 04:11:38 +00:00
<MemberSignature Language= "C#" Value= "protected virtual void OnActionActivated (int index_);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2005-09-03 04:11:38 +00:00
<Parameter Name= "index_" Type= "System.Int32" />
2004-11-05 21:25:40 +00:00
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary > This method is called whenever an action is activated.</summary>
2005-09-03 04:11:38 +00:00
<param name= "index_" > a <see cref= "T:System.Int32" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnMatchSelected" >
<MemberSignature Language= "C#" Value= "protected virtual bool OnMatchSelected (Gtk.TreeModel model, Gtk.TreeIter iter);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "model" Type= "Gtk.TreeModel" />
<Parameter Name= "iter" Type= "Gtk.TreeIter" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary > This method is called whenever the user selects one of the suggested matches.</summary>
<param name= "model" > a <see cref= "T:Gtk.TreeModel" /> , the model the match was selected from</param>
<param name= "iter" > a <see cref= "T:Gtk.TreeIter" /> , the row the user picked</param>
2004-11-05 21:25:40 +00:00
<returns > a <see cref= "T:System.Boolean" /> </returns>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "InsertActionMarkup" >
2005-09-03 04:11:38 +00:00
<MemberSignature Language= "C#" Value= "public void InsertActionMarkup (int index_, string markup);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2005-09-03 04:11:38 +00:00
<Parameter Name= "index_" Type= "System.Int32" />
2004-11-05 21:25:40 +00:00
<Parameter Name= "markup" Type= "System.String" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
Inserts an action in the completion's action item list at
2004-12-08 02:37:02 +00:00
position <paramref name= "index_" /> with markup
<paramref name= "markup" /> .
2004-12-02 06:33:01 +00:00
</summary>
2005-04-21 17:10:54 +00:00
<param name= "index_" > a <see cref= "T:System.Int32" /> </param>
2005-09-03 04:11:38 +00:00
<param name= "markup" > a <see cref= "T:System.String" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "InsertActionText" >
2005-09-03 04:11:38 +00:00
<MemberSignature Language= "C#" Value= "public void InsertActionText (int index_, string text);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2005-09-03 04:11:38 +00:00
<Parameter Name= "index_" Type= "System.Int32" />
2004-11-05 21:25:40 +00:00
<Parameter Name= "text" Type= "System.String" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
Inserts an action in the completion's action item list at
2004-12-08 02:37:02 +00:00
position <paramref name= "index_" /> with text
<paramref name= "text" /> .
2004-12-02 06:33:01 +00:00
</summary>
2005-04-21 17:10:54 +00:00
<param name= "index_" > a <see cref= "T:System.Int32" /> </param>
2005-09-03 04:11:38 +00:00
<param name= "text" > a <see cref= "T:System.String" /> </param>
2004-12-02 06:33:01 +00:00
<remarks >
2004-12-08 02:37:02 +00:00
If you want the item to have markup, use <see cref= "M:Gtk.EntryCompletion.InsertActionMarkup" /> .
2004-12-02 06:33:01 +00:00
</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Complete" >
<MemberSignature Language= "C#" Value= "public void Complete ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
Requests a completion operation, or in other words a refiltering
of the current list with completions, using the current key. The
completion list view will be updated accordingly.
</summary>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "DeleteAction" >
2005-09-03 04:11:38 +00:00
<MemberSignature Language= "C#" Value= "public void DeleteAction (int index_);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2005-09-03 04:11:38 +00:00
<Parameter Name= "index_" Type= "System.Int32" />
2004-11-05 21:25:40 +00:00
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
2005-09-03 04:11:38 +00:00
Deletes the action at <paramref name= "index_" />
2004-12-02 06:33:01 +00:00
from the action list for this completion.
</summary>
2005-09-03 04:11:38 +00:00
<param name= "index_" > a <see cref= "T:System.Int32" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Reorder" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Reorder (Gtk.CellRenderer cell, int position);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "position" Type= "System.Int32" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
2004-12-08 02:37:02 +00:00
Reinserts <paramref name= "cell" /> into the completion list
at <paramref name= "position" /> .
2004-12-02 06:33:01 +00:00
</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "position" > a <see cref= "T:System.Int32" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "PackEnd" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void PackEnd (Gtk.CellRenderer cell, bool expand);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "expand" Type= "System.Boolean" />
</Parameters>
<Docs >
2005-01-04 18:54:02 +00:00
<summary > Adds the <paramref name= "cell" /> to the end of the entry-completion widget.</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "expand" > a <see cref= "T:System.Boolean" /> </param>
2005-01-03 17:38:13 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
If <paramref name= "expand" /> is <see langword= "false" /> , then the
<paramref name= "cell" /> is allocated no more space than it needs. Any unused space is
divided evenly between cells for which <paramref name= "expand" /> is <see langword= "true" /> .
2005-01-03 17:38:13 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "PackStart" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void PackStart (Gtk.CellRenderer cell, bool expand);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "expand" Type= "System.Boolean" />
</Parameters>
<Docs >
2005-01-04 18:54:02 +00:00
<summary > Packs the <paramref name= "cell" /> into the beginning of the entry-completion widget.</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "expand" > a <see cref= "T:System.Boolean" /> </param>
2005-01-03 17:38:13 +00:00
<remarks >
2005-01-04 18:54:02 +00:00
If <paramref name= "expand" /> is <see langword= "false" /> , then the
<paramref name= "cell" /> is allocated no more space than it needs. Any unused space is
divided evenly between cells for which <paramref name= "expand" /> is <see langword= "true" /> .
2005-01-03 17:38:13 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "AddAttribute" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void AddAttribute (Gtk.CellRenderer cell, string attribute, int column);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
<Parameter Name= "attribute" Type= "System.String" />
<Parameter Name= "column" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-03 17:38:13 +00:00
<summary >
Adds an attribute mapping to the list in this entry-completion widget.
</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2005-01-04 18:54:02 +00:00
<param name= "attribute" > a <see cref= "T:System.String" /> , parameter on <paramref name= "cell" /> to be set from the value</param>
2005-01-03 17:38:13 +00:00
<param name= "column" > a <see cref= "T:System.Int32" /> , column of the model to get a value from.</param>
<remarks >
2005-01-04 18:54:02 +00:00
The <paramref name= "column" /> is the column of the model to get a value from, and the <paramref name= "attribute" /> is the
parameter on <paramref name= "cell" /> to be set from the value. So for example if column 2
2005-01-03 17:38:13 +00:00
of the model contains strings, you could have the "text" attribute of a
2005-01-04 18:54:02 +00:00
<see cref= "T:Gtk.EntryCompletion" /> get its values from column 2.
2005-01-03 17:38:13 +00:00
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "ClearAttributes" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void ClearAttributes (Gtk.CellRenderer cell);" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
</Parameters>
<Docs >
2005-01-03 17:38:13 +00:00
<summary >
Clears all existing attributes previously set with
2005-01-04 18:54:02 +00:00
<see cref= "M:Gtk.EntryCompletion.SetAttributes" /> .
2005-01-03 17:38:13 +00:00
</summary>
2004-11-05 21:25:40 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Clear" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void Clear ();" />
2004-11-05 21:25:40 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-03 17:38:13 +00:00
<summary > Clears the completion.</summary>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected EntryCompletion (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary > Protected constructor.</summary>
2004-11-05 21:25:40 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > System.Obsolete</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public EntryCompletion (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary > Constructor for internal use only.</summary>
2004-11-05 21:25:40 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public EntryCompletion ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-12-02 06:33:01 +00:00
<summary > Constructor for general use.</summary>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<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-12-21 00:16:14 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-12-21 00:16:14 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.EntryCompletion" /> .</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "MinimumKeyLength" >
<MemberSignature Language= "C#" Value= "public int MinimumKeyLength { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-02 06:33:01 +00:00
<summary > Minimum string length for enabling completion.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-02 06:33:01 +00:00
<remarks >
Requires the length of the search key for this completion to be at least
a certain length. This is useful for long lists, where completing using a small
key takes a lot of time and will come up with meaningless results anyway
(ie, a too large dataset).
</remarks>
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("minimum-key-length")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "TextColumn" >
2005-09-03 04:11:38 +00:00
<MemberSignature Language= "C#" Value= "public int TextColumn { set; get; };" />
2004-11-05 21:25:40 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2005-04-21 17:10:54 +00:00
<Parameters />
2004-11-05 21:25:40 +00:00
<Docs >
2005-04-21 17:10:54 +00:00
<summary > Setting this property generates a completion list with just strings.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-12-02 06:33:01 +00:00
<remarks >
Setting this convenience property will set up the completion
to have a list displaying all (and just) strings in the completion list,
and to get those strings from a particular column number in the model of the completion object.
</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2004-11-05 21:25:40 +00:00
</Docs>
2005-09-03 04:11:38 +00:00
<Attributes >
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("text-column")</AttributeName>
2005-09-03 04:11:38 +00:00
</Attribute>
</Attributes>
2005-06-16 18:56:42 +00:00
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Entry" >
<MemberSignature Language= "C#" Value= "public Gtk.Widget Entry { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Widget</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
Returns the entry widget this completion object has been attached to.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.Widget" /> </value>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "ActionActivated" >
<MemberSignature Language= "C#" Value= "public event Gtk.ActionActivatedHandler ActionActivated;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.ActionActivatedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-02 06:33:01 +00:00
<summary >
Event triggered when a particular action is activated.
</summary>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Signal("action_activated")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "MatchSelected" >
<MemberSignature Language= "C#" Value= "public event Gtk.MatchSelectedHandler MatchSelected;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.MatchSelectedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-02 06:33:01 +00:00
<summary > Event triggered when the user selects a match.</summary>
2004-12-08 02:37:02 +00:00
<remarks />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Signal("match_selected")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-15 17:02:37 +00:00
<Member MemberName= "SetCellDataFunc" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetCellDataFunc (Gtk.CellRenderer cell, Gtk.CellLayoutDataFunc func);" />
2004-11-15 17:02:37 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2005-05-04 11:47:25 +00:00
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
2004-11-15 17:02:37 +00:00
<Parameter Name= "func" Type= "Gtk.CellLayoutDataFunc" />
</Parameters>
<Docs >
2004-12-02 06:33:01 +00:00
<summary > Sets up a data function for this layout.</summary>
2005-05-04 11:47:25 +00:00
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
2004-11-15 17:02:37 +00:00
<param name= "func" > a <see cref= "T:Gtk.CellLayoutDataFunc" /> </param>
2004-12-02 06:33:01 +00:00
<remarks >
The data function is used instead of the standard attributes mapping for setting the
column value, and should set the value of the layout's cell renderer(s)
2004-12-08 02:37:02 +00:00
as appropriate. <paramref name= "func" /> may be <see langword= "null" /> to remove an older one.
2004-12-02 06:33:01 +00:00
</remarks>
2004-11-15 17:02:37 +00:00
</Docs>
</Member>
2004-12-20 18:01:55 +00:00
<Member MemberName= "Model" >
<MemberSignature Language= "C#" Value= "public Gtk.TreeModel Model { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreeModel</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Tree data model.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreeModel" /> </value>
2004-12-20 18:01:55 +00:00
<remarks />
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("model")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-01-04 18:54:02 +00:00
<Member MemberName= "SetAttributes" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public void SetAttributes (Gtk.CellRenderer cell, object[] attrs);" />
2005-01-04 18:54:02 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "cell" Type= "Gtk.CellRenderer" />
2005-05-23 20:41:51 +00:00
<Parameter Name= "attrs" Type= "System.Object[]" >
<Attributes >
<Attribute >
<AttributeName > System.ParamArray</AttributeName>
</Attribute>
</Attributes>
</Parameter>
2005-01-04 18:54:02 +00:00
</Parameters>
<Docs >
<summary > Sets the attribute to model column bindings for a renderer.</summary>
<param name= "cell" > a <see cref= "T:Gtk.CellRenderer" /> </param>
<param name= "attrs" > a <see cref= "T:System.Object" /> </param>
2005-04-05 20:14:02 +00:00
<remarks > The <paramref name= "attrs" /> array should be pairs of attribute names and column indexes.</remarks>
</Docs>
</Member>
2005-05-04 11:47:25 +00:00
<Member MemberName= "MatchFunc" >
<MemberSignature Language= "C#" Value= "public Gtk.EntryCompletionMatchFunc MatchFunc { set; };" />
<MemberType > Property</MemberType>
2005-04-05 20:14:02 +00:00
<ReturnValue >
2005-05-04 11:47:25 +00:00
<ReturnType > Gtk.EntryCompletionMatchFunc</ReturnType>
2005-04-05 20:14:02 +00:00
</ReturnValue>
<Docs >
2005-05-04 11:47:25 +00:00
<summary > The matching function</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.EntryCompletionMatchFunc" /> </value>
2005-04-05 20:14:02 +00:00
<remarks > The match function is used to determine if a row should or should not be in the completion list.</remarks>
2005-01-04 18:54:02 +00:00
</Docs>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "InlineCompletion" >
<MemberSignature Language= "C#" Value= "public bool InlineCompletion { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("inline-completion")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "PopupCompletion" >
<MemberSignature Language= "C#" Value= "public bool PopupCompletion { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Boolean" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("popup-completion")</AttributeName>
2005-05-23 20:41:51 +00:00
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2005-09-03 04:11:38 +00:00
<Member MemberName= "PrefixInserted" >
<MemberSignature Language= "C#" Value= "public event Gtk.PrefixInsertedHandler PrefixInserted;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.PrefixInsertedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
<Attributes >
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Signal("insert_prefix")</AttributeName>
2005-09-03 04:11:38 +00:00
</Attribute>
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "OnPrefixInserted" >
<MemberSignature Language= "C#" Value= "protected virtual bool OnPrefixInserted (string prefix);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "prefix" Type= "System.String" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.EntryCompletion.PrefixInserted" /> event.</summary>
2005-04-21 17:10:54 +00:00
<param name= "prefix" > a <see cref= "T:System.String" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2005-04-22 17:20:16 +00:00
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.EntryCompletion.PrefixInserted" /> event.</remarks>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
2005-09-03 04:11:38 +00:00
<Member MemberName= "InsertPrefix" >
<MemberSignature Language= "C#" Value= "public void InsertPrefix ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
<since version= "Gtk# 2.6" />
</Docs>
</Member>
2005-12-09 23:12:49 +00:00
<Member MemberName= "PopupSingleMatch" >
<MemberSignature Language= "C#" Value= "public bool PopupSingleMatch { set; get; };" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("popup-single-match")</AttributeName>
2005-12-09 23:12:49 +00:00
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
<summary > Controls if popup is displayed on a single match.</summary>
2005-12-10 06:00:03 +00:00
<value >
<see langword= "true" /> if popup is displayed on single matches.</value>
2005-12-09 23:12:49 +00:00
<remarks > Set this to <see langword= "false" /> for inline completion.</remarks>
<since version= "Gtk# 2.8" />
</Docs>
</Member>
<Member MemberName= "PopupSetWidth" >
<MemberSignature Language= "C#" Value= "public bool PopupSetWidth { set; get; };" />
<MemberType > Property</MemberType>
<Attributes >
<Attribute >
2007-01-16 16:18:05 +00:00
<AttributeName > GLib.Property("popup-set-width")</AttributeName>
2005-12-09 23:12:49 +00:00
</Attribute>
</Attributes>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Docs >
<summary > Controls if the popup is sized to the same width as the entry.</summary>
2005-12-10 06:00:03 +00:00
<value >
<see langword= "true" /> if popup size is same as entry size.</value>
2005-12-09 23:12:49 +00:00
<remarks />
<since version= "Gtk# 2.8" />
</Docs>
</Member>
2004-11-05 21:25:40 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>