Back to index

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

List of all members.

Public Member Functions

def __init__
def render

Public Attributes

 content
 request

Detailed Description

Dialog for user interaction.

Use a dialog when you want to present and get data to the user.

Currently this is little more than wrapper around a string.

Definition at line 12 of file dialog.py.


Constructor & Destructor Documentation

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

@param request: current request
@keyword content: dialong content

Reimplemented from MoinMoin.widget.base.Widget.

Definition at line 20 of file dialog.py.

00020 
00021     def __init__(self, request, **kw):
00022         """ Initialize a dialog
00023 
00024         @param request: current request
00025         @keyword content: dialong content
00026         """
00027         base.Widget.__init__(self, request, **kw)
00028         self.content = kw.get('content', '')


Member Function Documentation

Reimplemented from MoinMoin.widget.base.Widget.

Definition at line 29 of file dialog.py.

00029 
00030     def render(self):
00031         return u'<div class="dialog">\n%s\n</div>\n' % unicode(self.content)
00032 


Member Data Documentation

Definition at line 27 of file dialog.py.

Definition at line 12 of file base.py.


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