libtextworker 0.1.4
Cross-platform, free and open library for Python projects

◆ setfontandcolorfunc()

def libtextworker.interface.manager.ColorManager.setfontandcolorfunc (   self,
type | object  obj,
typing.Callable | str  func,
dict | tuple | None   params = None 
)
Add a function that sets both the background and font color.
@param obj (type | object): Object (variable or type reference)
@param func (typing.Callable | str): Function to use (Reference)
@param params (typle | dict): Function parameters
@since 0.1.4: First appearance

Definition at line 222 of file manager.py.