Table of Contents

Class FileChooserNative

Namespace
Gtk.Internal
Assembly
Gtk-4.0.dll
public class FileChooserNative
Inheritance
FileChooserNative
Inherited Members

Methods

GetAcceptLabel(IntPtr)

Calls native method gtk_file_chooser_native_get_accept_label.

public static extern NullableUtf8StringUnownedHandle GetAcceptLabel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetCancelLabel(IntPtr)

Calls native method gtk_file_chooser_native_get_cancel_label.

public static extern NullableUtf8StringUnownedHandle GetCancelLabel(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_file_chooser_native_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New(NullableUtf8StringHandle, IntPtr, FileChooserAction, NullableUtf8StringHandle, NullableUtf8StringHandle)

Calls native constructor gtk_file_chooser_native_new.

public static extern IntPtr New(NullableUtf8StringHandle title, IntPtr parent, FileChooserAction action, NullableUtf8StringHandle acceptLabel, NullableUtf8StringHandle cancelLabel)

Parameters

title NullableUtf8StringHandle

Transfer ownership: None Nullable: True

parent IntPtr

Transfer ownership: None Nullable: True

action FileChooserAction

Transfer ownership: None Nullable: False

acceptLabel NullableUtf8StringHandle

Transfer ownership: None Nullable: True

cancelLabel NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetAcceptLabel(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_file_chooser_native_set_accept_label.

public static extern void SetAcceptLabel(IntPtr self, NullableUtf8StringHandle acceptLabel)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

acceptLabel NullableUtf8StringHandle

Transfer ownership: None Nullable: True

SetCancelLabel(IntPtr, NullableUtf8StringHandle)

Calls native method gtk_file_chooser_native_set_cancel_label.

public static extern void SetCancelLabel(IntPtr self, NullableUtf8StringHandle cancelLabel)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

cancelLabel NullableUtf8StringHandle

Transfer ownership: None Nullable: True