Skip to content

TextObjectMixin

Sub classes

Name Children Inherits
TextObject
prettyqt.gui.textobject
    TextBlockGroup
    prettyqt.gui.textblockgroup
      TextFrameMixin
      prettyqt.gui.textframe

      Base classes

      Name Children Inherits
      ObjectMixin
      prettyqt.core.object
      object
      builtins
      The base class of the class hierarchy.
      • type
      • async_generator
      • bytearray_iterator
      • bytearray
      • bytes_iterator
      • bytes
      • builtin_function_or_method
      • callable_iterator
      • PyCapsule
      • cell
      • classmethod_descriptor
      • ...

        ⋔ Inheritance diagram

        graph TD
          4023855465["gui.TextObjectMixin"]
          3227531497["core.ObjectMixin"]
          2751680898["builtins.object"]
          3227531497 --> 4023855465
          2751680898 --> 3227531497
          2751680898 --> 4023855465

        🛈 DocStrings

        Bases: ObjectMixin, _TextObjectBase

        Source code in prettyqt/gui/textobject.py
        class TextObjectMixin(core.ObjectMixin, _TextObjectBase):
            def __repr__(self):
                return get_repr(self)
        
            def get_format(self) -> gui.TextFormat:
                return gui.TextFormat(self.format())
        

        :fa-brands-github: Show source on GitHub