Hi, I'm trying to sublcass a spinbutton to get some extra behaviour but
I don't know to do it and i do not find any relevant example on the web.

what I have for now is the code below but I get errors related to null
pointer instance when I try to use my MySpinButton class.

using Gtk;
using System;

public class MySpinButton : SpinButton{

        static IntPtr myIntPtr;

        public static new IntPtr intPtr {
                get {
                        return myIntPtr;
                }
                set {
                        myIntPtr = value;
                }
        }

    public MySpinButton(Adjustment adj, double climbRate, uint digits) :
base(intPtr) {
    }
}

so if someone have any clues, it will be very appreciated

thanks

David

_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to