Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.widget.dialog.Status Class Reference
Inheritance diagram for MoinMoin.widget.dialog.Status:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.widget.dialog.Status:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def render

Public Attributes

 content
 request

Detailed Description

Status widget

Use Status when you want to present to the user status information,
and no interaction needed.

A user might choose to turn of status display in his user pref (not
implemented yet).

Currently this is little more than wrapper around a string.

Definition at line 33 of file dialog.py.


Constructor & Destructor Documentation

def MoinMoin.widget.dialog.Status.__init__ (   self,
  request,
  kw 
)
Initialize a dialog

@param request: current request
@keyword content: status message content

Reimplemented from MoinMoin.widget.base.Widget.

Definition at line 45 of file dialog.py.

00045 
00046     def __init__(self, request, **kw):
00047         """ Initialize a dialog
00048 
00049         @param request: current request
00050         @keyword content: status message content
00051         """
00052         base.Widget.__init__(self, request, **kw)
00053         self.content = kw.get('content', '')


Member Function Documentation

Reimplemented from MoinMoin.widget.base.Widget.

Definition at line 54 of file dialog.py.

00054 
00055     def render(self):
00056         return u'<p class="status">%s</p>\n' % unicode(self.content)
00057 

Member Data Documentation

Definition at line 52 of file dialog.py.

Definition at line 12 of file base.py.


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