Table of Contents

Class ParamSpec

Namespace
GObject.Internal
Assembly
GObject-2.0.dll
public class ParamSpec
Inheritance
ParamSpec
Inherited Members

Methods

GetBlurb(IntPtr)

Calls native method g_param_spec_get_blurb.

public static extern NullableUtf8StringUnownedHandle GetBlurb(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetDefaultValue(IntPtr)

Calls native method g_param_spec_get_default_value. Version: 2.38

[Version("2.38")]
public static extern ValueUnownedHandle GetDefaultValue(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

ValueUnownedHandle

Transfer ownership: None Nullable: False

GetGType()

Calls native function intern.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetName(IntPtr)

Calls native method g_param_spec_get_name.

public static extern NonNullableUtf8StringUnownedHandle GetName(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetNameQuark(IntPtr)

Calls native method g_param_spec_get_name_quark. Version: 2.46

[Version("2.46")]
public static extern uint GetNameQuark(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNick(IntPtr)

Calls native method g_param_spec_get_nick.

public static extern NonNullableUtf8StringUnownedHandle GetNick(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: False

GetQdata(IntPtr, Quark)

Calls native method g_param_spec_get_qdata.

public static extern IntPtr GetQdata(IntPtr pspec, Quark quark)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

quark Quark

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetRedirectTarget(IntPtr)

Calls native method g_param_spec_get_redirect_target. Version: 2.4

[Version("2.4")]
public static extern IntPtr GetRedirectTarget(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

Internal(Type, NonNullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, ParamFlags)

Calls native function g_param_spec_internal.

public static extern IntPtr Internal(Type paramType, NonNullableUtf8StringHandle name, NullableUtf8StringHandle nick, NullableUtf8StringHandle blurb, ParamFlags flags)

Parameters

paramType Type

Transfer ownership: None Nullable: False

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

nick NullableUtf8StringHandle

Transfer ownership: None Nullable: True

blurb NullableUtf8StringHandle

Transfer ownership: None Nullable: True

flags ParamFlags

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

IsValidName(NonNullableUtf8StringHandle)

Calls native function g_param_spec_is_valid_name. Version: 2.66

[Version("2.66")]
public static extern bool IsValidName(NonNullableUtf8StringHandle name)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Ref(IntPtr)

Calls native method g_param_spec_ref.

public static extern IntPtr Ref(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

RefSink(IntPtr)

Calls native method g_param_spec_ref_sink. Version: 2.10

[Version("2.10")]
public static extern IntPtr RefSink(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetQdata(IntPtr, Quark, IntPtr)

Calls native method g_param_spec_set_qdata.

public static extern void SetQdata(IntPtr pspec, Quark quark, IntPtr data)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

quark Quark

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: True

SetQdataFull(IntPtr, Quark, IntPtr, DestroyNotify)

Calls native method g_param_spec_set_qdata_full.

public static extern void SetQdataFull(IntPtr pspec, Quark quark, IntPtr data, DestroyNotify destroy)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

quark Quark

Transfer ownership: None Nullable: False

data IntPtr

Transfer ownership: None Nullable: True

destroy DestroyNotify

Transfer ownership: None Nullable: True

Sink(IntPtr)

Calls native method g_param_spec_sink.

public static extern void Sink(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

StealQdata(IntPtr, Quark)

Calls native method g_param_spec_steal_qdata.

public static extern IntPtr StealQdata(IntPtr pspec, Quark quark)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False

quark Quark

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

Unref(IntPtr)

Calls native method g_param_spec_unref.

public static extern void Unref(IntPtr pspec)

Parameters

pspec IntPtr

Transfer ownership: None Nullable: False