private void InternalMoveCursor(Gtk.MovementStep step, int count, bool extend_selection) { MoveCursorNativeDelegate unmanaged = class_abi.BaseOverride <MoveCursorNativeDelegate>(this.LookupGType(), "move_cursor"); if (unmanaged == null) { return; } unmanaged(this.Handle, (int)step, count, extend_selection); }
private bool InternalMoveCursor(Gtk.MovementStep step, int count) { MoveCursorNativeDelegate unmanaged = class_abi.BaseOverride <MoveCursorNativeDelegate>(this.LookupGType(), "move_cursor"); if (unmanaged == null) { return(false); } bool __result = unmanaged(this.Handle, (int)step, count); return(__result); }
private void InternalMoveCursor(Gtk.MovementStep step, int count) { MoveCursorNativeDelegate unmanaged = null; unsafe { IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("move_cursor")); unmanaged = (MoveCursorNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(MoveCursorNativeDelegate)); } if (unmanaged == null) { return; } unmanaged(this.Handle, (int)step, count); }
protected virtual void OnMoveCursor(Gtk.MovementStep step, int count) { InternalMoveCursor(step, count); }
protected virtual void OnMoveCursor(Gtk.MovementStep step, int count, bool extend_selection) { InternalMoveCursor(step, count, extend_selection); }
protected virtual bool OnMoveCursor(Gtk.MovementStep step, int count) { return(InternalMoveCursor(step, count)); }