# HG changeset patch # User Jordan Miner # Date 1250219644 18000 # Node ID 76b08174931652653b3cba371fb18fc9c3f24f08 # Parent d5928da5a1f0c9fb696a20af85d08c1743a02a4e Add comment to Control.focus() diff -r d5928da5a1f0 -r 76b081749316 dynamin/gui/control.d --- 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)