From 256a5f6b374b629d01993ae44fb75c938e370cb3 Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Sat, 10 Apr 2004 22:23:24 +0000 Subject: [PATCH] More contributions from eureko@grmexico.com.mx svn path=/trunk/gtk-sharp/; revision=25317 --- doc/en/Gtk/Widget.xml | 98 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 82 insertions(+), 16 deletions(-) diff --git a/doc/en/Gtk/Widget.xml b/doc/en/Gtk/Widget.xml index 56dfed358..3f357d55d 100644 --- a/doc/en/Gtk/Widget.xml +++ b/doc/en/Gtk/Widget.xml @@ -1502,11 +1502,30 @@ - Whether the responds to input. - If the is set to respond to input. + Sets the sensitivity of the . A widget is sensitive if the user can interact with it, otherwise, it is grayed. + A System.Boolean value. Set to to enable the sensitivity, this is, whether the widget should respond to input or not. if the responds to input. - + + Insensitive widgets are "grayed out" and the user can't +interact with them. Insensitive widgets are known as +"inactive", "disabled", or "ghosted" in some other toolkits. +The sensitivity of a widget determines whether it will receive +certain events (e.g. button or key presses). + +If the ancestor (parent) widget sesitivity is set to false, +it does not matter what the sensitivity property have, +the widget will not be sensitive. Use +widget.Parent.Sensitive +to check whether the ancestor widget is sensitive or not. + + + + +When the sensitive property is set to false, the widget +property will return false. + + @@ -1593,11 +1612,11 @@ - Whether the is the default . + + when the currently is receiving the default action. If the is the default . - - if the is the default . - + Evaluates to if the currently is receiving the default action. + When the is focused will receive the default action, and HasDefault will be even if there is a different widget set as default. @@ -1622,11 +1641,41 @@ - Whether the can be the default widget. - If the can be the default widget. + Evaluates to if the is allowed to receive the default focus. + + value that get or set the capability of the widget to receive the default focus. - if the can be the default widget. - + that indicates if the widget can grab the default focus, using . + + +When this property is set to true, the widget itself will reserve space to +draw the default if possible. + + +If either the widget's property or +the 's property evaluates +to false, the property will return false. Otherwise, the + property will return its own value. + + Typically, you'd like to set the default widget using + , but you must set the + property to true before you call it, in order to force the focus to be grabbed + into the widget. + + + When certain conditions are met and the user press Enter, the default + widget will be focused. Conditions: the property is set + to true, the has been called and + the containing the widget have the focus. + This state is common when your window is shown for the first time, and no + call has been made (or when by no + other means, the focus has been set to any particular widget). + + + [FIXME] This is a seealso instead see + + [FIXME] This is a seealso instead see + @@ -1638,11 +1687,28 @@ - Whether the can accept the input focus. - If the can accept the input focus. - - if the can accept the input focus. - + Determines whether the is able to receive the focus. + Set to to give focus capability to the . + Evaluates to if the is able to +handle focus grabs. + + + If the widget property evaluates + to , the property will also return + . widget + must be a focusable widget, such as an ; something + like won't work. More precisely, it must have the + property set. + + + The property is just the helper that will tell you whether + the widget is focusable. + + + Evaluate it before you make a call to , + if you are unsure about the "focusability" of the widget. + [FIXME] This two links are seealso instead see: and +