t.w.p.i._FormattingState(_textattributes._FormattingStateMixin) : class documentation

Part of twisted.words.protocols.irc View Source View In Hierarchy

Formatting state/attributes of a single character.

Attributes include:

Present Since13.1
Method __init__ Undocumented
Method toMIRCControlCodes Emit a mIRC control sequence that will set up all the attributes this formatting state has set.

Inherited from FancyEqMixin (via _FormattingStateMixin, DefaultFormattingState):

Method __eq__ Undocumented
Method __ne__ Undocumented

Inherited from FancyEqMixin (via _FormattingStateMixin, DefaultFormattingState):

Method __eq__ Undocumented
Method __ne__ Undocumented

Inherited from FancyEqMixin (via _FormattingStateMixin, DefaultFormattingState):

Method __eq__ Undocumented
Method __ne__ Undocumented
def __init__(self, off=False, bold=False, underline=False, reverseVideo=False, foreground=None, background=None): (source)
Undocumented
def toMIRCControlCodes(self): (source)

Emit a mIRC control sequence that will set up all the attributes this formatting state has set.

ReturnsA string containing mIRC control sequences that mimic this formatting state.
API Documentation for Twisted, generated by pydoctor at 2015-04-13 15:26:48.