public static VALUE GetName(VALUE self)
        {
            IntPtr            pointer  = Ruby.Data_Get_Struct(self);
            GCHandle          handle   = GCHandle.FromIntPtr(pointer);
            MainWindowWrapper instance = (MainWindowWrapper)handle.Target;

            if (instance != null)
            {
                return(Ruby.rb_str_new2(instance.Name));
            }
            return(Ruby.Qnil);
        }
        public static VALUE SetName(VALUE self, VALUE val)
        {
            IntPtr            pointer  = Ruby.Data_Get_Struct(self);
            GCHandle          handle   = GCHandle.FromIntPtr(pointer);
            MainWindowWrapper instance = (MainWindowWrapper)handle.Target;

            if (instance != null)
            {
                Ruby.Check_Type(val, Ruby.T_STRING);
                instance.Name = Ruby.StringValuePtr(val);
                return(val);
            }
            return(Ruby.Qnil);
        }