Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
pip._vendor.rich.containers.Lines Class Reference

Public Member Functions

None __init__ (self, Iterable["Text"] lines=())
 
str __repr__ (self)
 
Iterator["Text"] __iter__ (self)
 
"Text" __getitem__ (self, int index)
 
List["Text"] __getitem__ (self, slice index)
 
Union["Text", List["Text"]] __getitem__ (self, Union[slice, int] index)
 
"Lines" __setitem__ (self, int index, "Text" value)
 
int __len__ (self)
 
"RenderResult" __rich_console__ (self, "Console" console, "ConsoleOptions" options)
 
None append (self, "Text" line)
 
None extend (self, Iterable["Text"] lines)
 
"Text" pop (self, int index=-1)
 
None justify (self, "Console" console, int width, "JustifyMethod" justify="left", "OverflowMethod" overflow="fold")
 

Protected Attributes

 _lines
 

Detailed Description

A list subclass which can render to the console.

Member Function Documentation

◆ __rich_console__()

"RenderResult" pip._vendor.rich.containers.Lines.__rich_console__ (   self,
"Console"  console,
"ConsoleOptions"   options 
)
Console render method to insert line-breaks.

◆ justify()

None pip._vendor.rich.containers.Lines.justify (   self,
"Console"  console,
int  width,
"JustifyMethod"   justify = "left",
"OverflowMethod"   overflow = "fold" 
)
Justify and overflow text to a given width.

Args:
    console (Console): Console instance.
    width (int): Number of characters per line.
    justify (str, optional): Default justify method for text: "left", "center", "full" or "right". Defaults to "left".
    overflow (str, optional): Default overflow for text: "crop", "fold", or "ellipsis". Defaults to "fold".

The documentation for this class was generated from the following file: