From 22fa0be7b2b6554ca829b9ea45c96c9aec781420 Mon Sep 17 00:00:00 2001 From: slpatto <> Date: Tue, 18 Jun 2002 19:32:54 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/gui/DirectScrolledList.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/direct/src/gui/DirectScrolledList.py b/direct/src/gui/DirectScrolledList.py index d4e5bdda30..8dcba9c0f7 100644 --- a/direct/src/gui/DirectScrolledList.py +++ b/direct/src/gui/DirectScrolledList.py @@ -7,6 +7,12 @@ class DirectScrolledList(DirectFrame): 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 optiondefs = ( # Define type of DirectGuiWidget