Table of Contents

Class Bitset

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

Methods

Add(BitsetHandle, uint)

Calls native method gtk_bitset_add.

public static extern bool Add(BitsetHandle self, uint value)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

value uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

AddRange(BitsetHandle, uint, uint)

Calls native method gtk_bitset_add_range.

public static extern void AddRange(BitsetHandle self, uint start, uint nItems)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

start uint

Transfer ownership: None Nullable: False

nItems uint

Transfer ownership: None Nullable: False

AddRangeClosed(BitsetHandle, uint, uint)

Calls native method gtk_bitset_add_range_closed.

public static extern void AddRangeClosed(BitsetHandle self, uint first, uint last)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

first uint

Transfer ownership: None Nullable: False

last uint

Transfer ownership: None Nullable: False

AddRectangle(BitsetHandle, uint, uint, uint, uint)

Calls native method gtk_bitset_add_rectangle.

public static extern void AddRectangle(BitsetHandle self, uint start, uint width, uint height, uint stride)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

start uint

Transfer ownership: None Nullable: False

width uint

Transfer ownership: None Nullable: False

height uint

Transfer ownership: None Nullable: False

stride uint

Transfer ownership: None Nullable: False

Contains(BitsetHandle, uint)

Calls native method gtk_bitset_contains.

public static extern bool Contains(BitsetHandle self, uint value)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

value uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

Copy(BitsetHandle)

Calls native method gtk_bitset_copy.

public static extern BitsetOwnedHandle Copy(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

Returns

BitsetOwnedHandle

Transfer ownership: Full Nullable: False

Difference(BitsetHandle, BitsetHandle)

Calls native method gtk_bitset_difference.

public static extern void Difference(BitsetHandle self, BitsetHandle other)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

other BitsetHandle

Transfer ownership: None Nullable: False

Equals(BitsetHandle, BitsetHandle)

Calls native method gtk_bitset_equals.

public static extern bool Equals(BitsetHandle self, BitsetHandle other)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

other BitsetHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_bitset_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetMaximum(BitsetHandle)

Calls native method gtk_bitset_get_maximum.

public static extern uint GetMaximum(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetMinimum(BitsetHandle)

Calls native method gtk_bitset_get_minimum.

public static extern uint GetMinimum(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetNth(BitsetHandle, uint)

Calls native method gtk_bitset_get_nth.

public static extern uint GetNth(BitsetHandle self, uint nth)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

nth uint

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetSize(BitsetHandle)

Calls native method gtk_bitset_get_size.

public static extern ulong GetSize(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

GetSizeInRange(BitsetHandle, uint, uint)

Calls native method gtk_bitset_get_size_in_range.

public static extern ulong GetSizeInRange(BitsetHandle self, uint first, uint last)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

first uint

Transfer ownership: None Nullable: False

last uint

Transfer ownership: None Nullable: False

Returns

ulong

Transfer ownership: None Nullable: False

Intersect(BitsetHandle, BitsetHandle)

Calls native method gtk_bitset_intersect.

public static extern void Intersect(BitsetHandle self, BitsetHandle other)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

other BitsetHandle

Transfer ownership: None Nullable: False

IsEmpty(BitsetHandle)

Calls native method gtk_bitset_is_empty.

public static extern bool IsEmpty(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

NewEmpty()

Calls native constructor gtk_bitset_new_empty.

public static extern BitsetOwnedHandle NewEmpty()

Returns

BitsetOwnedHandle

Transfer ownership: Full Nullable: False

NewRange(uint, uint)

Calls native constructor gtk_bitset_new_range.

public static extern BitsetOwnedHandle NewRange(uint start, uint nItems)

Parameters

start uint

Transfer ownership: None Nullable: False

nItems uint

Transfer ownership: None Nullable: False

Returns

BitsetOwnedHandle

Transfer ownership: Full Nullable: False

Ref(BitsetHandle)

Calls native method gtk_bitset_ref.

public static extern BitsetUnownedHandle Ref(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: True

Returns

BitsetUnownedHandle

Transfer ownership: None Nullable: False

Remove(BitsetHandle, uint)

Calls native method gtk_bitset_remove.

public static extern bool Remove(BitsetHandle self, uint value)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

value uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

RemoveAll(BitsetHandle)

Calls native method gtk_bitset_remove_all.

public static extern void RemoveAll(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

RemoveRange(BitsetHandle, uint, uint)

Calls native method gtk_bitset_remove_range.

public static extern void RemoveRange(BitsetHandle self, uint start, uint nItems)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

start uint

Transfer ownership: None Nullable: False

nItems uint

Transfer ownership: None Nullable: False

RemoveRangeClosed(BitsetHandle, uint, uint)

Calls native method gtk_bitset_remove_range_closed.

public static extern void RemoveRangeClosed(BitsetHandle self, uint first, uint last)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

first uint

Transfer ownership: None Nullable: False

last uint

Transfer ownership: None Nullable: False

RemoveRectangle(BitsetHandle, uint, uint, uint, uint)

Calls native method gtk_bitset_remove_rectangle.

public static extern void RemoveRectangle(BitsetHandle self, uint start, uint width, uint height, uint stride)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

start uint

Transfer ownership: None Nullable: False

width uint

Transfer ownership: None Nullable: False

height uint

Transfer ownership: None Nullable: False

stride uint

Transfer ownership: None Nullable: False

ShiftLeft(BitsetHandle, uint)

Calls native method gtk_bitset_shift_left.

public static extern void ShiftLeft(BitsetHandle self, uint amount)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

amount uint

Transfer ownership: None Nullable: False

ShiftRight(BitsetHandle, uint)

Calls native method gtk_bitset_shift_right.

public static extern void ShiftRight(BitsetHandle self, uint amount)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

amount uint

Transfer ownership: None Nullable: False

Splice(BitsetHandle, uint, uint, uint)

Calls native method gtk_bitset_splice.

public static extern void Splice(BitsetHandle self, uint position, uint removed, uint added)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

position uint

Transfer ownership: None Nullable: False

removed uint

Transfer ownership: None Nullable: False

added uint

Transfer ownership: None Nullable: False

Subtract(BitsetHandle, BitsetHandle)

Calls native method gtk_bitset_subtract.

public static extern void Subtract(BitsetHandle self, BitsetHandle other)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

other BitsetHandle

Transfer ownership: None Nullable: False

Union(BitsetHandle, BitsetHandle)

Calls native method gtk_bitset_union.

public static extern void Union(BitsetHandle self, BitsetHandle other)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: False

other BitsetHandle

Transfer ownership: None Nullable: False

Unref(BitsetHandle)

Calls native method gtk_bitset_unref.

public static extern void Unref(BitsetHandle self)

Parameters

self BitsetHandle

Transfer ownership: None Nullable: True