Table of Contents

Class PathBuf

Namespace
GLib.Internal
Assembly
GLib-2.0.dll
public class PathBuf
Inheritance
PathBuf
Inherited Members

Methods

Clear(PathBufHandle)

Calls native method g_path_buf_clear. Version: 2.76

[Version("2.76")]
public static extern void Clear(PathBufHandle buf)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

ClearToPath(PathBufHandle)

Calls native method g_path_buf_clear_to_path. Version: 2.76

[Version("2.76")]
public static extern NullablePlatformStringOwnedHandle ClearToPath(PathBufHandle buf)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

Returns

NullablePlatformStringOwnedHandle

Transfer ownership: Full Nullable: True

Copy(PathBufHandle)

Calls native method g_path_buf_copy. Version: 2.76

[Version("2.76")]
public static extern PathBufOwnedHandle Copy(PathBufHandle buf)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

Returns

PathBufOwnedHandle

Transfer ownership: Full Nullable: False

Equal(IntPtr, IntPtr)

Calls native function g_path_buf_equal. Version: 2.76

[Version("2.76")]
public static extern bool Equal(IntPtr v1, IntPtr v2)

Parameters

v1 IntPtr

Transfer ownership: None Nullable: False

v2 IntPtr

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Init(PathBufHandle)

Calls native method g_path_buf_init. Version: 2.76

[Version("2.76")]
public static extern PathBufUnownedHandle Init(PathBufHandle buf)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

Returns

PathBufUnownedHandle

Transfer ownership: None Nullable: False

InitFromPath(PathBufHandle, NullablePlatformStringHandle)

Calls native method g_path_buf_init_from_path. Version: 2.76

[Version("2.76")]
public static extern PathBufUnownedHandle InitFromPath(PathBufHandle buf, NullablePlatformStringHandle path)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

path NullablePlatformStringHandle

Transfer ownership: None Nullable: True

Returns

PathBufUnownedHandle

Transfer ownership: None Nullable: False

New()

Calls native function g_path_buf_new. Version: 2.76

[Version("2.76")]
public static extern PathBufOwnedHandle New()

Returns

PathBufOwnedHandle

Transfer ownership: Full Nullable: False

NewFromPath(NullablePlatformStringHandle)

Calls native function g_path_buf_new_from_path. Version: 2.76

[Version("2.76")]
public static extern PathBufOwnedHandle NewFromPath(NullablePlatformStringHandle path)

Parameters

path NullablePlatformStringHandle

Transfer ownership: None Nullable: True

Returns

PathBufOwnedHandle

Transfer ownership: Full Nullable: False

Pop(PathBufHandle)

Calls native method g_path_buf_pop. Version: 2.76

[Version("2.76")]
public static extern bool Pop(PathBufHandle buf)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Push(PathBufHandle, NonNullablePlatformStringHandle)

Calls native method g_path_buf_push. Version: 2.76

[Version("2.76")]
public static extern PathBufUnownedHandle Push(PathBufHandle buf, NonNullablePlatformStringHandle path)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

path NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

Returns

PathBufUnownedHandle

Transfer ownership: None Nullable: False

SetExtension(PathBufHandle, NullablePlatformStringHandle)

Calls native method g_path_buf_set_extension. Version: 2.76

[Version("2.76")]
public static extern bool SetExtension(PathBufHandle buf, NullablePlatformStringHandle extension)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

extension NullablePlatformStringHandle

Transfer ownership: None Nullable: True

Returns

bool

Transfer ownership: None Nullable: False

SetFilename(PathBufHandle, NonNullablePlatformStringHandle)

Calls native method g_path_buf_set_filename. Version: 2.76

[Version("2.76")]
public static extern bool SetFilename(PathBufHandle buf, NonNullablePlatformStringHandle fileName)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

fileName NonNullablePlatformStringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ToPath(PathBufHandle)

Calls native method g_path_buf_to_path. Version: 2.76

[Version("2.76")]
public static extern NullablePlatformStringOwnedHandle ToPath(PathBufHandle buf)

Parameters

buf PathBufHandle

Transfer ownership: None Nullable: False

Returns

NullablePlatformStringOwnedHandle

Transfer ownership: Full Nullable: True