Browse Source

*** empty log message ***

slpatto 23 years ago
parent
commit
22fa0be7b2
1 changed files with 6 additions and 0 deletions
  1. 6 0
      direct/src/gui/DirectScrolledList.py

+ 6 - 0
direct/src/gui/DirectScrolledList.py

@@ -7,6 +7,12 @@ class DirectScrolledList(DirectFrame):
 
 
         self.index = 0
         self.index = 0
 
 
+        # If one were to want a scrolledList that makes and adds its items
+        #   as needed, simply pass in an items list of strings (type 'str')
+        #   and when that item is needed, itemMakeFunction will be called
+        #   with the text, the index, and itemMakeExtraArgs.  If itemMakeFunction
+        #   is not specified, it will create a DirectFrame with the text.
+        
         # Inherits from DirectFrame
         # Inherits from DirectFrame
         optiondefs = (
         optiondefs = (
             # Define type of DirectGuiWidget
             # Define type of DirectGuiWidget