Пример #1
0
        private void InternalMoveSlider(Gtk.ScrollType scroll)
        {
            MoveSliderNativeDelegate unmanaged = class_abi.BaseOverride <MoveSliderNativeDelegate>(this.LookupGType(), "move_slider");

            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, (int)scroll);
        }
Пример #2
0
        private void InternalChangeValue(Gtk.ScrollType scroll)
        {
            ChangeValueNativeDelegate unmanaged = class_abi.BaseOverride <ChangeValueNativeDelegate>(this.LookupGType(), "change_value");

            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, (int)scroll);
        }
Пример #3
0
        private void InternalScrollChild(Gtk.ScrollType scroll, bool horizontal)
        {
            ScrollChildNativeDelegate unmanaged = class_abi.BaseOverride <ScrollChildNativeDelegate>(this.LookupGType(), "scroll_child");

            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, (int)scroll, horizontal);
        }
Пример #4
0
        private bool InternalMoveHandle(Gtk.ScrollType scroll)
        {
            MoveHandleNativeDelegate unmanaged = class_abi.BaseOverride <MoveHandleNativeDelegate>(this.LookupGType(), "move_handle");

            if (unmanaged == null)
            {
                return(false);
            }

            bool __result = unmanaged(this.Handle, (int)scroll);

            return(__result);
        }
Пример #5
0
        private bool InternalChangeValue(Gtk.ScrollType scroll, double new_value)
        {
            ChangeValueNativeDelegate unmanaged = class_abi.BaseOverride <ChangeValueNativeDelegate>(this.LookupGType(), "change_value");

            if (unmanaged == null)
            {
                return(false);
            }

            bool __result = unmanaged(this.Handle, (int)scroll, new_value);

            return(__result);
        }
Пример #6
0
 private void InternalMoveScroll(Gtk.ScrollType p0)
 {
     GLib.Value      ret             = GLib.Value.Empty;
     GLib.ValueArray inst_and_params = new GLib.ValueArray(2);
     GLib.Value[]    vals            = new GLib.Value [2];
     vals [0] = new GLib.Value(this);
     inst_and_params.Append(vals [0]);
     vals [1] = new GLib.Value(p0);
     inst_and_params.Append(vals [1]);
     g_signal_chain_from_overridden(inst_and_params.ArrayPtr, ref ret);
     foreach (GLib.Value v in vals)
     {
         v.Dispose();
     }
 }
Пример #7
0
        private void InternalScrollChild(Gtk.ScrollType scroll, bool horizontal)
        {
            ScrollChildNativeDelegate unmanaged = null;

            unsafe {
                IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("scroll_child"));
                unmanaged = (ScrollChildNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(ScrollChildNativeDelegate));
            }
            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, (int)scroll, horizontal);
        }
Пример #8
0
        private void InternalMoveSlider(Gtk.ScrollType scroll)
        {
            MoveSliderNativeDelegate unmanaged = null;

            unsafe {
                IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("move_slider"));
                unmanaged = (MoveSliderNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(MoveSliderNativeDelegate));
            }
            if (unmanaged == null)
            {
                return;
            }

            unmanaged(this.Handle, (int)scroll);
        }
Пример #9
0
        private bool InternalMoveHandle(Gtk.ScrollType scroll)
        {
            MoveHandleNativeDelegate unmanaged = null;

            unsafe {
                IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("move_handle"));
                unmanaged = (MoveHandleNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(MoveHandleNativeDelegate));
            }
            if (unmanaged == null)
            {
                return(false);
            }

            bool __result = unmanaged(this.Handle, (int)scroll);

            return(__result);
        }
Пример #10
0
 protected virtual bool OnMoveHandle(Gtk.ScrollType scroll)
 {
     return(InternalMoveHandle(scroll));
 }
Пример #11
0
 protected virtual void OnMoveScroll(Gtk.ScrollType p0)
 {
     InternalMoveScroll(p0);
 }
Пример #12
0
 protected virtual void OnScrollChild(Gtk.ScrollType scroll, bool horizontal)
 {
     InternalScrollChild(scroll, horizontal);
 }
Пример #13
0
 protected virtual bool OnChangeValue(Gtk.ScrollType scroll, double new_value)
 {
     return(InternalChangeValue(scroll, new_value));
 }
Пример #14
0
 protected virtual void OnMoveSlider(Gtk.ScrollType scroll)
 {
     InternalMoveSlider(scroll);
 }
Пример #15
0
 protected virtual void OnMoveActive(Gtk.ScrollType p0)
 {
     InternalMoveActive(p0);
 }
Пример #16
0
 protected virtual void OnChangeValue(Gtk.ScrollType scroll)
 {
     InternalChangeValue(scroll);
 }