[nautilus-python] Added documentation for LocationWidgetProvider class



commit 6c4266a2c68f3767d8ed7710e9f961fb3c5f681e
Author: Adam Plumb <adamplumb gmail com>
Date:   Tue May 18 14:29:13 2010 -0400

    Added documentation for LocationWidgetProvider class

 examples/documentation.py |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/examples/documentation.py b/examples/documentation.py
index fe4d416..4c28ed9 100644
--- a/examples/documentation.py
+++ b/examples/documentation.py
@@ -5,6 +5,17 @@ class ColumnProvider:
         @rtype   a sequence of nautilus.Column
         """
 
+class LocationWidgetProvider:
+    def get_widget(self, uri, window):
+        """
+        @param uri  the current location
+        @type  uri  string
+        @param window the window it was sent from
+        @type  window gtk.Window
+        @returns    a widget to display above the directory listing
+        @rtype      gtk.Widget
+        """
+
 class MenuProvider:
     """
     



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]