Gtk.TreeStore.SetValue C# (CSharp) Method

SetValue() public method

public SetValue ( Gtk iter, int column, bool value ) : void
iter Gtk
column int
value bool
return void
        public void SetValue(Gtk.TreeIter iter, int column, bool value)
        {
            GLib.Value val = new GLib.Value (value);
            SetValue (iter, column, val);
            val.Dispose ();
        }

Same methods

TreeStore::SetValue ( Gtk iter, int column, double value ) : void
TreeStore::SetValue ( Gtk iter, int column, float value ) : void
TreeStore::SetValue ( Gtk iter, int column, int value ) : void
TreeStore::SetValue ( Gtk iter, int column, object value ) : void
TreeStore::SetValue ( Gtk iter, int column, string value ) : void
TreeStore::SetValue ( Gtk iter, int column, uint value ) : void

Usage Example

Beispiel #1
0
        public static void LoadIcon(this Gtk.TreeStore treeStore, Gtk.TreeIter iter, int column, string iconId, Gtk.IconSize size)
        {
            var ainfo = animatedTreeStoreIconImages.Select(a => (AnimatedTreeStoreIconInfo)a.Target).FirstOrDefault(a => a != null && a.TreeStore == treeStore && a.Iter.Equals(iter) && a.Column == column);

            if (ainfo != null)
            {
                if (ainfo.IconId == iconId)
                {
                    return;
                }
                UnregisterTreeAnimation(ainfo);
            }
            if (iconId == null)
            {
                treeStore.SetValue(iter, column, CellRendererImage.NullImage);
            }
            else if (IsAnimation(iconId, size))
            {
                var anim = GetAnimatedIcon(iconId);
                ainfo = new AnimatedTreeStoreIconInfo(treeStore, iter, column, anim, iconId);
                animatedTreeStoreIconImages.Add(new WeakReference(ainfo));
            }
            else
            {
                treeStore.SetValue(iter, column, ImageService.GetIcon(iconId));
            }
        }
All Usage Examples Of Gtk.TreeStore::SetValue