Class Shortcut
public class Shortcut
- Inheritance
-
Shortcut
- Inherited Members
Methods
GetAction(IntPtr)
Calls native method gtk_shortcut_get_action.
public static extern IntPtr GetAction(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetArguments(IntPtr)
Calls native method gtk_shortcut_get_arguments.
public static extern VariantUnownedHandle GetArguments(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- VariantUnownedHandle
Transfer ownership: None Nullable: True
GetGType()
Calls native function gtk_shortcut_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetTrigger(IntPtr)
Calls native method gtk_shortcut_get_trigger.
public static extern IntPtr GetTrigger(IntPtr self)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
New(IntPtr, IntPtr)
Calls native constructor gtk_shortcut_new.
public static extern IntPtr New(IntPtr trigger, IntPtr action)
Parameters
trigger
IntPtrTransfer ownership: Full Nullable: True
action
IntPtrTransfer ownership: Full Nullable: True
Returns
- IntPtr
Transfer ownership: Full Nullable: False
SetAction(IntPtr, IntPtr)
Calls native method gtk_shortcut_set_action.
public static extern void SetAction(IntPtr self, IntPtr action)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
action
IntPtrTransfer ownership: Full Nullable: True
SetArguments(IntPtr, VariantHandle)
Calls native method gtk_shortcut_set_arguments.
public static extern void SetArguments(IntPtr self, VariantHandle args)
Parameters
self
IntPtrTransfer ownership: None Nullable: False
args
VariantHandleTransfer ownership: None Nullable: True
SetTrigger(IntPtr, IntPtr)
Calls native method gtk_shortcut_set_trigger.
public static extern void SetTrigger(IntPtr self, IntPtr trigger)