docs/widget.rst
changeset 12 bb7d41be0c44
parent 5 ae128c885d0f
child 13 19ebde2fd594
--- a/docs/widget.rst	Wed Aug 17 23:43:52 2011 +0200
+++ b/docs/widget.rst	Thu Sep 08 10:13:55 2011 +0200
@@ -7,6 +7,9 @@
    container
    button
 
+.. py:module:: tuikit.widget
+
+
 Class attributes
 ----------------
 
@@ -65,31 +68,3 @@
    Dictionary containing optional parameters for layout managers.
 
 
-Event management
-----------------
-
-.. classmethod:: Widget.newevent(event)
-
-   Create new event with empty handler list.
-
-
-.. classmethod:: Widget.connect(event, handler)
-
-   Add handler to handler list of the event.
-
-
-.. classmethod:: Widget.disconnect(event, handler=None)
-
-   Remove handler from event's handler list. If no handler is given, remove all handlers.
-
-
-.. classmethod:: Widget.handle(event, ...)
-
-   Call all handlers from event's handler list.
-   This is used when user defined handlers are to be called.
-
-
-.. classmethod:: Widget.emit(event, ...)
-
-   Emit event.
-   This is used by original event source when the event is detected.