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) #

[View source]
def self.new(data : LibGtk::BitsetIter, _transfer : GICrystal::Transfer) #

[View source]
def self.new(private_data : Enumerable(Pointer(Void)) | Nil = nil) #

[View source]

Class Method Detail

def self.g_type : UInt64 #

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


[View source]
def self.init_at(set : Gtk::Bitset, target : UInt32) : Gtk::BitsetIter #

[View source]
def self.init_first(set : Gtk::Bitset) : Gtk::BitsetIter #

[View source]
def self.init_last(set : Gtk::Bitset) : Gtk::BitsetIter #

[View source]

Instance Method Detail

def ==(other : self) : Bool #

[View source]
def is_valid : Bool #

[View source]
def next : Bool #

[View source]
def previous : Bool #

[View source]
def private_data(*args, **options) #

[View source]
def private_data(*args, **options, &) #

[View source]
def private_data=(arg) #

[View source]
def value : UInt32 #

[View source]