class
UIng::Area::AttributedString
- UIng::Area::AttributedString
- Reference
- Object
Included Modules
Defined in:
uing/area/area/attributed_string.crConstructors
- .new(*args, &)
- .new(*args, **kwargs, &)
- .new(ref_ptr : Pointer(LibUI::AttributedString))
- .new(string : String)
Instance Method Summary
- #append_unattributed(text : String) : Nil
- #byte_index_to_grapheme(pos : LibC::SizeT) : LibC::SizeT
- #delete(start : LibC::SizeT, end_ : LibC::SizeT) : Nil
- #finalize
- #for_each_attribute(&callback : Pointer(LibUI::Attribute), LibC::SizeT, LibC::SizeT -> _) : Nil
- #free : Nil
- #grapheme_to_byte_index(pos : LibC::SizeT) : LibC::SizeT
- #insert_at_unattributed(text : String, at : LibC::SizeT) : Nil
- #len : LibC::SizeT
- #num_graphemes : LibC::SizeT
- #set_attribute(attribute, start : LibC::SizeT, end_ : LibC::SizeT) : Nil
- #string : String | Nil
- #to_unsafe : Pointer(Void)
Macros inherited from module UIng::BlockConstructor
block_constructor
block_constructor
Constructor Detail
Instance Method Detail
def for_each_attribute(&callback : Pointer(LibUI::Attribute), LibC::SizeT, LibC::SizeT -> _) : Nil
#