struct Gtk::BitsetIter

Overview

An opaque, stack-allocated struct for iterating over the elements of a Gtk::Bitset.

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

Defined in:

lib/gi-crystal/src/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(data : LibGtk::BitsetIter, _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 #

def is_valid : Bool #

def next : Bool #

def previous : Bool #

def private_data(*args, **options) #

def private_data(*args, **options, &) #

def private_data=(arg) #

def value : UInt32 #