private void InternalMoveFocusOut(Gtk.DirectionType direction) { MoveFocusOutNativeDelegate unmanaged = class_abi.BaseOverride <MoveFocusOutNativeDelegate>(this.LookupGType(), "move_focus_out"); if (unmanaged == null) { return; } unmanaged(this.Handle, (int)direction); }
private void InternalMove(Gtk.DirectionType type) { MoveNativeDelegate unmanaged = class_abi.BaseOverride <MoveNativeDelegate>(this.LookupGType(), "move"); if (unmanaged == null) { return; } unmanaged(this.Handle, (int)type); }
private void InternalCycleFocus(Gtk.DirectionType 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(); } }
private void InternalMoveFocusOut(Gtk.DirectionType direction) { MoveFocusOutNativeDelegate unmanaged = null; unsafe { IntPtr *raw_ptr = (IntPtr *)(((long)this.LookupGType().GetThresholdType().GetClassPtr()) + (long)class_abi.GetFieldOffset("move_focus_out")); unmanaged = (MoveFocusOutNativeDelegate)Marshal.GetDelegateForFunctionPointer(*raw_ptr, typeof(MoveFocusOutNativeDelegate)); } if (unmanaged == null) { return; } unmanaged(this.Handle, (int)direction); }
protected virtual void OnMoveCursor(Gtk.DirectionType dir, bool clear_selection) { gnomesharp_iconlist_base_move_cursor(Handle, (int)dir, clear_selection); }
protected virtual void OnCycleFocus(Gtk.DirectionType p0) { InternalCycleFocus(p0); }
protected virtual void OnMoveFocusOut(Gtk.DirectionType direction) { InternalMoveFocusOut(direction); }
protected virtual void OnMove(Gtk.DirectionType type) { InternalMove(type); }
public void Focus(Gtk.DirectionType direction, Action <Gtk.DirectionType> onExit) { exitAction = onExit; Focus(direction); }
void Focus(Gtk.DirectionType direction) { awesomeBar.Window.MakeFirstResponder(direction == Gtk.DirectionType.TabForward ? (NSView)awesomeBar.RunButton : (NSView)awesomeBar.SearchBar); }