| Home | Trees | Index | Help |
|
|---|
| Module eagle :: Class RichText |
|
object--+ |_EGObject--+ |_EGWidget--+ | RichText
A Rich Text viewer
Display text with basic formatting instructions. Formatting is done using a HTML subset.| Method Summary | |
|---|---|
RichText constructor. | |
__repr__(self)
| |
__setup_connections__(self)
| |
__setup_gui__(self)
| |
__setup_parser__(self)
| |
__str__(self)
| |
append(self,
text)
| |
Give keyboard focus to this widget. | |
get_label(self)
| |
Return current text, with formatting tags | |
set_label(self,
label)
| |
Replace current text | |
| Inherited from _EGWidget | |
| |
Return a list of internal widgets this Eagle widget contains. | |
| |
| |
Same as set_active( False ) | |
Set the widget as active. | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return true if widget is visible (shown). | |
Make widget invisible. | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return True if it's active (enabled) or False inactive (disabled). | |
Return true if widget is visible (shown). | |
Set the widget as active. | |
Same as set_active( False ) | |
Show or hide widget based on value of 'visible'. | |
Make widget visible. | |
| Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
| Property Summary | |
|---|---|
bgcolor | |
fgcolor | |
label | |
link_color | |
text | |
| Inherited from _EGWidget | |
_widgets | |
active | |
app | |
visible | |
| Inherited from _EGObject | |
id | |
| Class Variable Summary | |
|---|---|
int |
padding = 5 |
classobj |
_Formatter = eagle._Formatter |
classobj |
_Parser = eagle._Parser |
GObjectMeta |
_Renderer = eagle._Renderer |
| Inherited from _EGWidget | |
int |
ORIENTATION_HORIZONTAL = 1 |
int |
ORIENTATION_VERTICAL = 0 |
| Method Details |
|---|
__init__(self,
id,
text='',
label=None,
link_color='blue',
fgcolor=None,
bgcolor=None,
callback=None,
img_provider=None,
expand_policy=None,
active=True,
visible=True)
|
focus(self)Give keyboard focus to this widget.
|
get_text(self)Return current text, with formatting tags |
set_text(self, text)Replace current text |
| Property Details |
|---|
bgcolor
|
fgcolor
|
label |
link_color
|
text |
| Class Variable Details |
|---|
padding
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sun Apr 22 21:30:27 2007 | http://epydoc.sf.net |