Beispiel #1
0
        static void RowChangedSignalCallback(IntPtr arg0, IntPtr arg1, ref Gtk.TreeIter arg2, IntPtr gch)
        {
            GLib.Signal sig = ((GCHandle)gch).Target as GLib.Signal;
            if (sig == null)
            {
                throw new Exception("Unknown signal GC handle received " + gch);
            }

            Gtk.RowChangedArgs args = new Gtk.RowChangedArgs();
            args.Args = new object[2];
            if (arg1 == IntPtr.Zero)
            {
                args.Args[0] = null;
            }
            else
            {
                args.Args[0] = new Gtk.TreePath(arg1);
            }
            args.Args[1] = arg2;
            Gtk.RowChangedHandler handler = (Gtk.RowChangedHandler)sig.Handler;
            handler(GLib.Object.GetObject(arg0), args);
        }
Beispiel #2
0
 private void row_changed(object o, RowChangedArgs args)
 {
     changed = true;
 }