module Crysterm::Mixin::Uid

Direct including types

Defined in:

mixin/uid.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.next_uid : Int32 #

Returns next widget UID.

UIDs are generated sequentially, with ID sequence kept in an int32.


[View source]

Instance Method Detail

def uid : Int32 #

Unique ID. Auto-incremented.

NOTE This is an instance var; setting it to the value of @@uid happens in includers.


[View source]
def uid=(uid : Int32) #

Unique ID. Auto-incremented.

NOTE This is an instance var; setting it to the value of @@uid happens in includers.


[View source]