comparison mde/gui/widget/Ifaces.d @ 72:159775502bb4

The first dynamically generated widget lists, based on Options, are here!
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 05 Jul 2008 18:27:46 +0100
parents f54ae4fc2b2f
children 25cb7420dc91
comparison
equal deleted inserted replaced
71:77c7d3235114 72:159775502bb4
68 * in a uniform way. 68 * in a uniform way.
69 * 69 *
70 * A widget is a region of a GUI window which handles rendering and user-interaction for itself 70 * A widget is a region of a GUI window which handles rendering and user-interaction for itself
71 * and is able to communicate with it's window and parent/child widgets as necessary. 71 * and is able to communicate with it's window and parent/child widgets as necessary.
72 * 72 *
73 * A widget's constructor should have the prototype and doc explaining what initialization data is 73 * If a widget is to be creatable by Window.makeWidget, it must be listed in the createWidget
74 * used (excluding the widget ID, which every widget recieves): 74 * module, have a constructor of the following form, and should implement getCreationData().
75 * Use Ddoc to explain what initialization data is used.
75 * ---------------------------------- 76 * ----------------------------------
76 * /++ Constructor for a ... widget. 77 * /++ Constructor for a ... widget.
77 * + 78 * +
78 * + Widget uses the initialisation data: 79 * + Widget uses the initialisation data:
79 * + [widgetID, x, y] 80 * + [widgetID, x, y]