Class Application
public class Application
- Inheritance
-
Application
- Inherited Members
Methods
AddWindow(IntPtr, IntPtr)
Calls native method gtk_application_add_window.
public static extern void AddWindow(IntPtr application, IntPtr window)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
window
IntPtrTransfer ownership: None Nullable: False
GetAccelsForAction(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_application_get_accels_for_action.
public static extern Utf8StringArrayNullTerminatedOwnedHandle GetAccelsForAction(IntPtr application, NonNullableUtf8StringHandle detailedActionName)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
detailedActionName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
GetActionsForAccel(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_application_get_actions_for_accel.
public static extern Utf8StringArrayNullTerminatedOwnedHandle GetActionsForAccel(IntPtr application, NonNullableUtf8StringHandle accel)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
accel
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
GetActiveWindow(IntPtr)
Calls native method gtk_application_get_active_window.
public static extern IntPtr GetActiveWindow(IntPtr application)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetGType()
Calls native function gtk_application_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetMenuById(IntPtr, NonNullableUtf8StringHandle)
Calls native method gtk_application_get_menu_by_id.
public static extern IntPtr GetMenuById(IntPtr application, NonNullableUtf8StringHandle id)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
id
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetMenubar(IntPtr)
Calls native method gtk_application_get_menubar.
public static extern IntPtr GetMenubar(IntPtr application)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetWindowById(IntPtr, uint)
Calls native method gtk_application_get_window_by_id.
public static extern IntPtr GetWindowById(IntPtr application, uint id)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
id
uintTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: None Nullable: True
GetWindows(IntPtr)
Calls native method gtk_application_get_windows.
public static extern ListUnownedHandle GetWindows(IntPtr application)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
Returns
- ListUnownedHandle
Transfer ownership: None Nullable: False
Inhibit(IntPtr, IntPtr, ApplicationInhibitFlags, NullableUtf8StringHandle)
Calls native method gtk_application_inhibit.
public static extern uint Inhibit(IntPtr application, IntPtr window, ApplicationInhibitFlags flags, NullableUtf8StringHandle reason)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
window
IntPtrTransfer ownership: None Nullable: True
flags
ApplicationInhibitFlagsTransfer ownership: None Nullable: False
reason
NullableUtf8StringHandleTransfer ownership: None Nullable: True
Returns
- uint
Transfer ownership: None Nullable: False
ListActionDescriptions(IntPtr)
Calls native method gtk_application_list_action_descriptions.
public static extern Utf8StringArrayNullTerminatedOwnedHandle ListActionDescriptions(IntPtr application)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
Returns
- Utf8StringArrayNullTerminatedOwnedHandle
Transfer ownership: Full Nullable: False
New(NullableUtf8StringHandle, ApplicationFlags)
Calls native constructor gtk_application_new.
public static extern IntPtr New(NullableUtf8StringHandle applicationId, ApplicationFlags flags)
Parameters
applicationId
NullableUtf8StringHandleTransfer ownership: None Nullable: True
flags
ApplicationFlagsTransfer ownership: None Nullable: False
Returns
- IntPtr
Transfer ownership: Full Nullable: False
RemoveWindow(IntPtr, IntPtr)
Calls native method gtk_application_remove_window.
public static extern void RemoveWindow(IntPtr application, IntPtr window)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
window
IntPtrTransfer ownership: None Nullable: False
SetAccelsForAction(IntPtr, NonNullableUtf8StringHandle, Utf8StringArrayNullTerminatedHandle)
Calls native method gtk_application_set_accels_for_action.
public static extern void SetAccelsForAction(IntPtr application, NonNullableUtf8StringHandle detailedActionName, Utf8StringArrayNullTerminatedHandle accels)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
detailedActionName
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
accels
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: False
SetMenubar(IntPtr, IntPtr)
Calls native method gtk_application_set_menubar.
public static extern void SetMenubar(IntPtr application, IntPtr menubar)
Parameters
application
IntPtrTransfer ownership: None Nullable: False
menubar
IntPtrTransfer ownership: None Nullable: True
Uninhibit(IntPtr, uint)
Calls native method gtk_application_uninhibit.
public static extern void Uninhibit(IntPtr application, uint cookie)