changeset 76:76b081749316

Add comment to Control.focus()
author Jordan Miner <jminer7@gmail.com>
date Thu, 13 Aug 2009 22:14:04 -0500
parents d5928da5a1f0
children c9a4850926d9
files dynamin/gui/control.d
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dynamin/gui/control.d	Wed Aug 12 05:44:50 2009 -0500
+++ b/dynamin/gui/control.d	Thu Aug 13 22:14:04 2009 -0500
@@ -362,7 +362,10 @@
 	}
 
 	/**
-	 *
+	 * Sets this control as the focused control in its window. The focused
+	 * control is the one keyboard input is sent to. If the window this control
+	 * is in is not active, then this control will be focused only when the
+	 * window is activated.
 	 */
 	void focus() {
 		if(!_focusable)