Mercurial > projects > mde
comparison mde/gui/widget/Ifaces.d @ 85:56c0ddd90193
Intermediate commit (not stable). Changes to init system.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Thu, 11 Sep 2008 11:33:51 +0100 |
parents | ea58f277f487 |
children | b525ff28774b |
comparison
equal
deleted
inserted
replaced
84:e0f1ec7fe73a | 85:56c0ddd90193 |
---|---|
122 * | 122 * |
123 * A widget is a region of a GUI window which handles rendering and user-interaction for itself | 123 * A widget is a region of a GUI window which handles rendering and user-interaction for itself |
124 * and is able to communicate with its manager and parent/child widgets as necessary. | 124 * and is able to communicate with its manager and parent/child widgets as necessary. |
125 * | 125 * |
126 * If a widget is to be creatable by IWidgetManager.makeWidget, it must be listed in the | 126 * If a widget is to be creatable by IWidgetManager.makeWidget, it must be listed in the |
127 * createWidget module, have a constructor of the following form, and should update it's | 127 * createWidget module, and have a constructor of the following form. It should also update it's |
128 * creation data as necessary via IWidgetManager.setData(). | 128 * creation data if necessary, either when changed or when saveChanges() is called, using |
129 * IWidgetManager.setData(). | |
129 * It should use Ddoc to explain what initialization data is used. | 130 * It should use Ddoc to explain what initialization data is used. |
130 * ---------------------------------- | 131 * ---------------------------------- |
131 * /++ Constructor for a ... widget. | 132 * /++ Constructor for a ... widget. |
132 * + | 133 * + |
133 * + Widget uses the initialisation data: | 134 * + Widget uses the initialisation data: |