Class ShortcutController
public class ShortcutController
- Inheritance
-
ShortcutController
- Inherited Members
Methods
AddShortcut(IntPtr, IntPtr)
Calls native method gtk_shortcut_controller_add_shortcut.
public static extern void AddShortcut(IntPtr self, IntPtr shortcut)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
shortcut
IntPtrTransfer ownership: Full Nullable: False
GetGType()
Calls native function gtk_shortcut_controller_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetMnemonicsModifiers(IntPtr)
Calls native method gtk_shortcut_controller_get_mnemonics_modifiers.
public static extern ModifierType GetMnemonicsModifiers(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- ModifierType
Transfer ownership: None Nullable: False
GetScope(IntPtr)
Calls native method gtk_shortcut_controller_get_scope.
public static extern ShortcutScope GetScope(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- ShortcutScope
Transfer ownership: None Nullable: False
New()
Calls native constructor gtk_shortcut_controller_new.
public static extern IntPtr New()
Returns
- IntPtr
Transfer ownership: Full Nullable: False
NewForModel(IntPtr)
Calls native constructor gtk_shortcut_controller_new_for_model.
public static extern IntPtr NewForModel(IntPtr model)
Parameters
model
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RemoveShortcut(IntPtr, IntPtr)
Calls native method gtk_shortcut_controller_remove_shortcut.
public static extern void RemoveShortcut(IntPtr self, IntPtr shortcut)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
shortcut
IntPtrTransfer ownership: None Nullable: False
SetMnemonicsModifiers(IntPtr, ModifierType)
Calls native method gtk_shortcut_controller_set_mnemonics_modifiers.
public static extern void SetMnemonicsModifiers(IntPtr self, ModifierType modifiers)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
modifiers
ModifierTypeTransfer ownership: None Nullable: False
SetScope(IntPtr, ShortcutScope)
Calls native method gtk_shortcut_controller_set_scope.
public static extern void SetScope(IntPtr self, ShortcutScope scope)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
scope
ShortcutScopeTransfer ownership: None Nullable: False