Package: gtk

Function gtk:bitset-size

Lambda List

gtk:bitset-size (bitset)

Arguments

bitset -- a gtk:bitset instance

Return Value

The unsigned integer with the number of values in bitset.

Details

Gets the number of values that were added to the bitset. For example, if the bitset is empty, 0 is returned. Note that this function returns an unsigned 64-bit integer, because when all values are set, the return value is #xffffffff + 1. Unless you are sure this cannot happen, it cannot with the g:list-model object, be sure to use a 64-bit integer type.
 

See also

2024-8-14