Gtk.ListStore.SetValue C# (CSharp) Метод

SetValue() публичный Метод

public SetValue ( Gtk iter, int column, bool value ) : void
iter Gtk
column int
value bool
Результат 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

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

Usage Example

Пример #1
0
        // we need to manually set the toggle when selected otherwise
        // it won't show in the gui.
        public void toggle_it(object o, Gtk.ToggledArgs args)
        {
            store.GetIterFromString(out iter, args.Path);
            bool tog = (bool)store.GetValue(iter, 0);

            store.SetValue(iter, 0, !tog);
        }
All Usage Examples Of Gtk.ListStore::SetValue