class Gtk::BitsetIter

Overview

An opaque, stack-allocated struct for iterating over the elements of a GtkBitset.

Before a GtkBitsetIter can be used, it needs to be initialized with Gtk::BitsetIter#init_first, Gtk::BitsetIter#init_last or Gtk::BitsetIter#init_at.

Defined in:

auto/gtk-4.0/bitset_iter.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(pointer : Pointer(Void), transfer : GICrystal::Transfer) #

def self.new(private_data : Enumerable(Pointer(Void))? = nil) #

Class Method Detail

def self.g_type : UInt64 #

Returns the type id (GType) registered in GLib type system.


def self.init_at(set : Gtk::Bitset, target : UInt32) : Gtk::BitsetIter #

def self.init_first(set : Gtk::Bitset) : Gtk::BitsetIter #

def self.init_last(set : Gtk::Bitset) : Gtk::BitsetIter #

Instance Method Detail

def ==(other : self) : Bool #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def _next : Bool #

def finalize #

def is_valid : Bool #

def previous : Bool #

def private_data : Enumerable(Pointer(Void)) #

def private_data=(value : Enumerable(Pointer(Void))) #

def to_unsafe : Pointer(Void) #

def value : UInt32 #