2005-04-21 17:10:54 +00:00
<Type Name= "IconView" FullName= "Gtk.IconView" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class IconView : Gtk.Container" />
2005-04-21 17:10:54 +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>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2005-04-21 17:10:54 +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 >
2005-05-05 00:34:29 +00:00
<summary > A widget which displays a list of icons in a grid</summary>
<remarks >
<see cref= "T:Gtk.IconView" /> provides an alternative view on a list model. It displays the model as a grid of icons with labels. Like <see cref= "T:Gtk.TreeView" /> , it allows to select one or multiple items (depending on the selection mode, see <see cref= "P:Gtk.IconView.SelectionMode" /> ). In addition to selection with the arrow keys, <see cref= "T:Gtk.IconView" /> supports rubberband selection, which is controlled by dragging the pointer.</remarks>
2005-08-23 17:02:47 +00:00
<example >
<code lang= "C#" >
2005-08-14 19:50:35 +00:00
using System;
using System.IO;
using Gtk;
public class DemoIconView : Window
{
const int COL_PATH = 0;
const int COL_DISPLAY_NAME = 1;
const int COL_PIXBUF = 2;
const int COL_IS_DIRECTORY = 3;
DirectoryInfo parent = new DirectoryInfo ("/");
Gdk.Pixbuf dirIcon, fileIcon;
ListStore store;
ToolButton upButton;
static void Main ()
{
Application.Init ();
new DemoIconView ();
Application.Run ();
}
public DemoIconView () : base ("Gtk.IconView demo")
{
SetDefaultSize (650, 400);
DeleteEvent += new DeleteEventHandler (OnWinDelete);
VBox vbox = new VBox (false, 0);
Add (vbox);
Toolbar toolbar = new Toolbar ();
vbox.PackStart (toolbar, false, false, 0);
upButton = new ToolButton (Stock.GoUp);
upButton.IsImportant = true;
upButton.Sensitive = false;
toolbar.Insert (upButton, -1);
ToolButton homeButton = new ToolButton (Stock.Home);
homeButton.IsImportant = true;
toolbar.Insert (homeButton, -1);
fileIcon = GetIcon ("gnome-fs-regular");
dirIcon = GetIcon ("gnome-fs-directory");
ScrolledWindow sw = new ScrolledWindow ();
sw.ShadowType = ShadowType.EtchedIn;
sw.SetPolicy (PolicyType.Automatic, PolicyType.Automatic);
vbox.PackStart (sw, true, true, 0);
// Create the store and fill it with the contents of '/'
store = CreateStore ();
FillStore ();
IconView iconView = new IconView (store);
iconView.SelectionMode = SelectionMode.Multiple;
upButton.Clicked += OnUpClicked;
homeButton.Clicked += OnHomeClicked;
iconView.TextColumn = COL_DISPLAY_NAME;
iconView.PixbufColumn = COL_PIXBUF;
iconView.ItemActivated += new ItemActivatedHandler (OnItemActivated);
sw.Add (iconView);
iconView.GrabFocus ();
ShowAll ();
}
Gdk.Pixbuf GetIcon (string name)
{
return Gtk.IconTheme.Default.LoadIcon (name, 48, (IconLookupFlags) 0);
}
ListStore CreateStore ()
{
// path, name, pixbuf, is_dir
ListStore store = new ListStore (typeof (string), typeof (string), typeof (Gdk.Pixbuf), typeof (bool));
// Set sort column and function
store.DefaultSortFunc = SortFunc;
store.SetSortColumnId (COL_DISPLAY_NAME, SortType.Ascending);
return store;
}
void FillStore ()
{
// first clear the store
store.Clear ();
// Now go through the directory and extract all the file information
if (!parent.Exists)
return;
foreach (DirectoryInfo di in parent.GetDirectories ())
{
if (!di.Name.StartsWith ("."))
store.AppendValues (di.FullName, di.Name, dirIcon, true);
}
foreach (FileInfo file in parent.GetFiles ())
{
if (!file.Name.StartsWith ("."))
store.AppendValues (file.FullName, file.Name, fileIcon, false);
}
}
int SortFunc (TreeModel model, TreeIter a, TreeIter b)
{
// sorts folders before files
bool a_is_dir = (bool) model.GetValue (a, COL_IS_DIRECTORY);
bool b_is_dir = (bool) model.GetValue (b, COL_IS_DIRECTORY);
string a_name = (string) model.GetValue (a, COL_DISPLAY_NAME);
string b_name = (string) model.GetValue (b, COL_DISPLAY_NAME);
if (!a_is_dir & & b_is_dir)
return 1;
else if (a_is_dir & & !b_is_dir)
return -1;
else
return String.Compare (a_name, b_name);
}
void OnHomeClicked (object sender, EventArgs a)
{
parent = new DirectoryInfo (Environment.GetFolderPath (Environment.SpecialFolder.Personal));
FillStore ();
upButton.Sensitive = true;
}
void OnItemActivated (object sender, ItemActivatedArgs a)
{
TreeIter iter;
store.GetIter (out iter, a.Path);
string path = (string) store.GetValue (iter, COL_PATH);
bool isDir = (bool) store.GetValue (iter, COL_IS_DIRECTORY);
if (!isDir)
return;
// Replace parent with path and re-fill the model
parent = new DirectoryInfo (path);
FillStore ();
// Sensitize the up button
upButton.Sensitive = true;
}
void OnUpClicked (object sender, EventArgs a)
{
parent = parent.Parent;
FillStore ();
upButton.Sensitive = (parent.FullName == "/" ? false : true);
}
void OnWinDelete (object sender, DeleteEventArgs a)
{
Application.Quit ();
a.RetVal = true;
}
}
</code>
2005-08-23 17:02:47 +00:00
</example>
2005-06-16 19:27:40 +00:00
<since version= "Gtk# 2.6" />
2005-04-21 17:10:54 +00:00
</Docs>
<Base >
<BaseTypeName > Gtk.Container</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "OnSelectionChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnSelectionChanged ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.SelectionChanged" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.IconView.SelectionChanged" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnAllUnselected" >
<MemberSignature Language= "C#" Value= "protected virtual void OnAllUnselected ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.AllUnselected" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.IconView.AllUnselected" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnItemActivated" >
<MemberSignature Language= "C#" Value= "protected virtual void OnItemActivated (Gtk.TreePath path);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "path" Type= "Gtk.TreePath" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.ItemActivated" /> event.</summary>
2005-04-21 17:10:54 +00:00
<param name= "path" > a <see cref= "T:Gtk.TreePath" /> </param>
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.IconView.ItemActivated" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnAllSelected" >
<MemberSignature Language= "C#" Value= "protected virtual void OnAllSelected ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.AllSelected" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.IconView.AllSelected" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnToggleCursorItem" >
<MemberSignature Language= "C#" Value= "protected virtual void OnToggleCursorItem ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.ToggleCursorItem" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.IconView.ToggleCursorItem" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnMoveCursor" >
<MemberSignature Language= "C#" Value= "protected virtual bool OnMoveCursor (Gtk.MovementStep step, int count);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "step" Type= "Gtk.MovementStep" />
<Parameter Name= "count" Type= "System.Int32" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.MoveCursor" /> event.</summary>
2005-04-21 17:10:54 +00:00
<param name= "step" > a <see cref= "T:System.Int32" /> </param>
<param name= "count" > a <see cref= "T:System.Int32" /> </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.IconView.MoveCursor" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnActivateCursorItem" >
<MemberSignature Language= "C#" Value= "protected virtual bool OnActivateCursorItem ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.ActivateCursorItem" /> event.</summary>
2005-04-21 17:10:54 +00:00
<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.IconView.ActivateCursorItem" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "OnSelectCursorItem" >
<MemberSignature Language= "C#" Value= "protected virtual void OnSelectCursorItem ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Default handler for the <see cref= "M:Gtk.IconView.SelectCursorItem" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.IconView.SelectCursorItem" /> event.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "UnselectAll" >
<MemberSignature Language= "C#" Value= "public void UnselectAll ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Unselects all the icons.</summary>
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SelectedForeach" >
<MemberSignature Language= "C#" Value= "public void SelectedForeach (Gtk.IconViewForeachFunc func);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "func" Type= "Gtk.IconViewForeachFunc" />
</Parameters>
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Calls a function for each selected icon.</summary>
2005-04-21 17:10:54 +00:00
<param name= "func" > a <see cref= "T:Gtk.IconViewForeachFunc" /> </param>
2005-05-05 00:34:29 +00:00
<remarks > Note that the model or selection cannot be modified from within this function.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "UnselectPath" >
<MemberSignature Language= "C#" Value= "public void UnselectPath (Gtk.TreePath path);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "path" Type= "Gtk.TreePath" />
</Parameters>
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Unselects the row at <paramref name= "path" /> .</summary>
2005-04-21 17:10:54 +00:00
<param name= "path" > a <see cref= "T:Gtk.TreePath" /> </param>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SelectAll" >
<MemberSignature Language= "C#" Value= "public void SelectAll ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Selects all the icons.</summary>
<remarks > The IconView must has its selection mode set to <see cref= "F:Gtk.SelectionMode.Multiple" /> .</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "PathIsSelected" >
<MemberSignature Language= "C#" Value= "public bool PathIsSelected (Gtk.TreePath path);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "path" Type= "Gtk.TreePath" />
</Parameters>
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Returns <see langword= "true" /> if the icon pointed to by <paramref name= "path" /> is currently selected.</summary>
2005-04-21 17:10:54 +00:00
<param name= "path" > a <see cref= "T:Gtk.TreePath" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
2005-05-05 00:34:29 +00:00
<remarks > If <paramref name= "path" /> does not point to a valid location, <see langword= "false" /> is returned.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "GetPathAtPos" >
<MemberSignature Language= "C#" Value= "public Gtk.TreePath GetPathAtPos (int x, int y);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.TreePath</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:Gtk.TreePath" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ActivateItem" >
<MemberSignature Language= "C#" Value= "public void ActivateItem (Gtk.TreePath path);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "path" Type= "Gtk.TreePath" />
</Parameters>
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Activates the item determined by <paramref name= "path" /> .</summary>
2005-04-21 17:10:54 +00:00
<param name= "path" > a <see cref= "T:Gtk.TreePath" /> </param>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SelectPath" >
<MemberSignature Language= "C#" Value= "public void SelectPath (Gtk.TreePath path);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "path" Type= "Gtk.TreePath" />
</Parameters>
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Selects the row at <paramref name= "path" /> .</summary>
2005-04-21 17:10:54 +00:00
<param name= "path" > a <see cref= "T:Gtk.TreePath" /> </param>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected IconView (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Protected Constructor.</summary>
2005-04-21 17:10:54 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2005-04-22 17:20:16 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public IconView (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
<Docs >
2005-04-22 17:20:16 +00:00
<summary > Internal constructor</summary>
2005-04-21 17:10:54 +00:00
<param name= "raw" > a <see cref= "T:System.IntPtr" /> </param>
2005-04-22 17:20:16 +00:00
<remarks > This is not typically used by C# code.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public IconView ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Default constructor</summary>
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public IconView (Gtk.TreeModel model);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "model" Type= "Gtk.TreeModel" />
</Parameters>
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Create a new IconView with a model.</summary>
2005-04-21 17:10:54 +00:00
<param name= "model" > a <see cref= "T:Gtk.TreeModel" /> </param>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +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 >
2005-04-22 17:20:16 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2005-04-22 17:20:16 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gtk.IconView" /> .</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SelectionMode" >
<MemberSignature Language= "C#" Value= "public Gtk.SelectionMode SelectionMode { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.SelectionMode</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Specifies the selection mode of icon view.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.SelectionMode" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > If the mode is <see cref= "F:Gtk.SelectionMode.Multiple" /> , rubberband selection is enabled, for the other modes, only keyboard selection is possible.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="selection_mode")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "Columns" >
<MemberSignature Language= "C#" Value= "public int Columns { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > The columns property contains the number of the columns in which the items should be displayed.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > If it is -1, the number of columns will be chosen automatically to fill the available area.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="columns")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "Margin" >
<MemberSignature Language= "C#" Value= "public int Margin { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Space which is inserted at the edges of the icon view.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > Default value is 6.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="margin")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "Orientation" >
<MemberSignature Language= "C#" Value= "public Gtk.Orientation Orientation { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gtk.Orientation</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > How the text and icon of each item are positioned relative to each other.
</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.Orientation" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > Default value is <see cref= "F:Gtk.Orientation.Vertical" /> </remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="orientation")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "ItemWidth" >
<MemberSignature Language= "C#" Value= "public int ItemWidth { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > The width used for each item.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="item_width")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "TextColumn" >
<MemberSignature Language= "C#" Value= "public int TextColumn { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Contains the number of the model column containing the texts which are displayed.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > The text column must be of type <see cref= "F:GLib.GType.String" /> . If this property and the MarkupColumn property are both set to -1, no text is displayed.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="text_column")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "Spacing" >
<MemberSignature Language= "C#" Value= "public int Spacing { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Space which is inserted between cells of an item.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="spacing")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "PixbufColumn" >
<MemberSignature Language= "C#" Value= "public int PixbufColumn { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Contains the number of the model column containing the pixbufs which are displayed</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > The pixbuf column must be of type <see cref= "P:Gdk.Pixbuf.GType" /> . Setting this property to -1 turns off the display of pixbufs.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="pixbuf_column")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "RowSpacing" >
<MemberSignature Language= "C#" Value= "public int RowSpacing { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Space which is inserted between grid rows.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > Default value is 6.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="row_spacing")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "ColumnSpacing" >
<MemberSignature Language= "C#" Value= "public int ColumnSpacing { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Space which is inserted between grid column.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > Default value is 6.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="column_spacing")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "MarkupColumn" >
<MemberSignature Language= "C#" Value= "public int MarkupColumn { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Contains the number of the model column containing markup information to be displayed.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2005-05-05 00:34:29 +00:00
<remarks > The markup column must be of type <see cref= "F:GLib.GType.String" /> . If this property and the TextColumn property are both set to column numbers, it overrides the text column. If both are set to -1, no texts are displayed.</remarks>
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="markup_column")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +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 >
2005-05-05 00:34:29 +00:00
<summary > The model for the icon view.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gtk.TreeModel" /> </value>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Property(Name="model")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "SelectedItems" >
2005-08-03 15:35:46 +00:00
<MemberSignature Language= "C#" Value= "public Gtk.TreePath[] SelectedItems { get; };" />
2005-04-21 17:10:54 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2005-08-03 15:35:46 +00:00
<ReturnType > Gtk.TreePath[]</ReturnType>
2005-04-21 17:10:54 +00:00
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Creates a list of paths of all selected items.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.List" /> </value>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
</Member>
<Member MemberName= "SelectionChanged" >
<MemberSignature Language= "C#" Value= "public event EventHandler SelectionChanged;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Emitted when the current selection changes.</summary>
2005-04-21 17:10:54 +00:00
<remarks > To be added</remarks>
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="selection_changed")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "AllUnselected" >
<MemberSignature Language= "C#" Value= "public event EventHandler AllUnselected;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Emitted when UnselectAll () is called.</summary>
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="unselect_all")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "ItemActivated" >
<MemberSignature Language= "C#" Value= "public event Gtk.ItemActivatedHandler ItemActivated;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.ItemActivatedHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Emitted when an item is activated.</summary>
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="item_activated")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "AllSelected" >
<MemberSignature Language= "C#" Value= "public event EventHandler AllSelected;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-05-05 00:34:29 +00:00
<summary > Emitted when SelectAll () is called.</summary>
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="select_all")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "ToggleCursorItem" >
<MemberSignature Language= "C#" Value= "public event EventHandler ToggleCursorItem;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="toggle_cursor_item")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "MoveCursor" >
<MemberSignature Language= "C#" Value= "public event Gtk.MoveCursorHandler MoveCursor;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.MoveCursorHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="move_cursor")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "ActivateCursorItem" >
<MemberSignature Language= "C#" Value= "public event Gtk.ActivateCursorItemHandler ActivateCursorItem;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > Gtk.ActivateCursorItemHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="activate_cursor_item")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
<Member MemberName= "SelectCursorItem" >
<MemberSignature Language= "C#" Value= "public event EventHandler SelectCursorItem;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-05 00:34:29 +00:00
<remarks />
2005-04-21 17:10:54 +00:00
</Docs>
2005-06-16 19:27:40 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="select_cursor_item")</AttributeName>
</Attribute>
2005-06-16 19:27:40 +00:00
</Attributes>
</Member>
2005-04-21 17:10:54 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>