Table of Contents

Class CssSection

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

Methods

GetEndLocation(CssSectionHandle)

Calls native method gtk_css_section_get_end_location.

public static extern CssLocationUnownedHandle GetEndLocation(CssSectionHandle section)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

Returns

CssLocationUnownedHandle

Transfer ownership: None Nullable: False

GetFile(CssSectionHandle)

Calls native method gtk_css_section_get_file.

public static extern IntPtr GetFile(CssSectionHandle section)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gtk_css_section_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetParent(CssSectionHandle)

Calls native method gtk_css_section_get_parent.

public static extern CssSectionUnownedHandle GetParent(CssSectionHandle section)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

Returns

CssSectionUnownedHandle

Transfer ownership: None Nullable: True

GetStartLocation(CssSectionHandle)

Calls native method gtk_css_section_get_start_location.

public static extern CssLocationUnownedHandle GetStartLocation(CssSectionHandle section)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

Returns

CssLocationUnownedHandle

Transfer ownership: None Nullable: False

New(IntPtr, CssLocationHandle, CssLocationHandle)

Calls native constructor gtk_css_section_new.

public static extern CssSectionOwnedHandle New(IntPtr file, CssLocationHandle start, CssLocationHandle end)

Parameters

file IntPtr

Transfer ownership: None Nullable: True

start CssLocationHandle

Transfer ownership: None Nullable: False

end CssLocationHandle

Transfer ownership: None Nullable: False

Returns

CssSectionOwnedHandle

Transfer ownership: Full Nullable: False

Print(CssSectionHandle, StringHandle)

Calls native method gtk_css_section_print.

public static extern void Print(CssSectionHandle section, StringHandle @string)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

string StringHandle

Ref(CssSectionHandle)

Calls native method gtk_css_section_ref.

public static extern CssSectionOwnedHandle Ref(CssSectionHandle section)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

Returns

CssSectionOwnedHandle

Transfer ownership: Full Nullable: False

ToString(CssSectionHandle)

Calls native method gtk_css_section_to_string.

public static extern NonNullableUtf8StringOwnedHandle ToString(CssSectionHandle section)

Parameters

section CssSectionHandle

Transfer ownership: None Nullable: False

Returns

NonNullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: False

Unref(CssSectionUnownedHandle)

Calls native method gtk_css_section_unref.

public static extern void Unref(CssSectionUnownedHandle section)

Parameters

section CssSectionUnownedHandle

Transfer ownership: Full Nullable: False