_TTkAbstractListItem🌶️

class _TTkAbstractListItem[source]🌶️

Bases: object

_TTkAbstractListItem:

Note

This is the future abstract base interface for list items.

This class defines the minimal interface that list items must implement. In a future version, TTkAbstractListItem will be converted to inherit from this abstract interface, requiring custom implementations to provide these methods if they don’t use the default TTkListItem.

Currently used as an internal marker for the planned architecture migration.

Methods🌶️

data() Any[source]🌶️

Returns the user data associated with this item.

Returns:

The custom data object

Return type:

Any

toTTkString() TTkString[source]🌶️

_TTkAbstractListItem Attributes🌶️

dataChanged