Table of Contents

Class FileLauncher

Namespace
Gtk
Assembly
Gtk-4.0.dll
public class FileLauncher : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
FileLauncher
Implements
Inherited Members

Constructors

FileLauncher(bool, params ConstructArgument[])

protected FileLauncher(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

FileLauncher(IntPtr, bool)

protected FileLauncher(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

AlwaysAskPropertyDefinition

public static readonly Property<bool, FileLauncher> AlwaysAskPropertyDefinition

Field Value

Property<bool, FileLauncher>

FilePropertyDefinition

public static readonly Property<File, FileLauncher> FilePropertyDefinition

Field Value

Property<File, FileLauncher>

WritablePropertyDefinition

public static readonly Property<bool, FileLauncher> WritablePropertyDefinition

Field Value

Property<bool, FileLauncher>

Properties

AlwaysAsk

public bool AlwaysAsk { get; set; }

Property Value

bool

File

public File File { get; set; }

Property Value

File

Writable

public bool Writable { get; set; }

Property Value

bool

Methods

GetAlwaysAsk()

[Version("4.12")]
public bool GetAlwaysAsk()

Returns

bool

GetFile()

[Version("4.10")]
public File? GetFile()

Returns

File

GetGType()

public static Type GetGType()

Returns

Type

GetWritable()

[Version("4.14")]
public bool GetWritable()

Returns

bool

LaunchAsync(Window)

public Task<bool> LaunchAsync(Window parent)

Parameters

parent Window

Returns

Task<bool>

LaunchFinish(AsyncResult)

[Version("4.10")]
public bool LaunchFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

New(File?)

[Version("4.10")]
public static FileLauncher New(File? file)

Parameters

file File

Returns

FileLauncher

OpenContainingFolderAsync(Window)

public Task<bool> OpenContainingFolderAsync(Window parent)

Parameters

parent Window

Returns

Task<bool>

OpenContainingFolderFinish(AsyncResult)

[Version("4.10")]
public bool OpenContainingFolderFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

SetAlwaysAsk(bool)

[Version("4.12")]
public void SetAlwaysAsk(bool alwaysAsk)

Parameters

alwaysAsk bool

SetFile(File?)

[Version("4.10")]
public void SetFile(File? file)

Parameters

file File

SetWritable(bool)

[Version("4.14")]
public void SetWritable(bool writable)

Parameters

writable bool