class documentation

class Widget: (source)

Known subclasses: twisted.conch.insults.window._Scrollbar, twisted.conch.insults.window.Border, twisted.conch.insults.window.Button, twisted.conch.insults.window.Canvas, twisted.conch.insults.window.ContainerWidget, twisted.conch.insults.window.ScrolledArea, twisted.conch.insults.window.Selection, twisted.conch.insults.window.TextInput, twisted.conch.insults.window.TextOutput, twisted.conch.insults.window.Viewport

View In Hierarchy

Undocumented

Instance Variable focused Undocumented
Class Variable parent Undocumented
Instance Variable dirty Undocumented
Instance Variable width Undocumented
Instance Variable height Undocumented
Method repaint Undocumented
Method filthy Undocumented
Method redraw Undocumented
Method draw Undocumented
Method render Undocumented
Method sizeHint Undocumented
Method keystrokeReceived Undocumented
Method tabReceived Undocumented
Method focusReceived Called when focus is being given to this widget.
Method focusLost Undocumented
Method backspaceReceived Undocumented
Method functionKeyReceived Undocumented
Method characterReceived Undocumented
parent = (source)

Undocumented

dirty = (source)

Undocumented

(type: bool)
width = (source)

Undocumented

height = (source)

Undocumented

def repaint(self): (source)

Undocumented

def redraw(self, width, height, terminal): (source)

Undocumented

def draw(self, width, height, terminal): (source)

Undocumented

def keystrokeReceived(self, keyID, modifier): (source)
def tabReceived(self, modifier): (source)

Undocumented

def focusReceived(self): (source)

Called when focus is being given to this widget.

May raise YieldFocus is this widget does not want focus.

def focusLost(self): (source)

Undocumented

def backspaceReceived(self): (source)

Undocumented

def functionKeyReceived(self, keyID, modifier): (source)

Undocumented

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.