|
|
|
|
|
| Description |
| This module provides functionality on the current focus. |
|
| Synopsis |
|
|
|
| Documentation |
|
| class (GUIObject w) => Window w |
| Toplevel windows instantiate the class Window. | | | Instances | |
|
|
| data CurrentFocus |
| The CurrentFocus datatype. |
|
| data FocusModel |
| The FocusModel datatype (focus model of a toplevel
window). | | Constructors | | | Instances | |
|
|
| focusModel :: (Window w) => FocusModel -> Config w |
|
| getFocusModel :: (Window w) => w -> IO FocusModel |
| Gets a window's focus model. |
|
| getFocus :: (Window w) => w -> IO (Maybe CurrentFocus) |
|
| setFocus |
| :: (Widget w) | | | => w | The widget to focus. | | -> IO () | None. | | Sets the current for the containing window. |
|
|
| forceFocus |
| :: (Widget w) | | | => w | The widget to focus. | | -> IO () | None. | | Forces the current focus for the containing window. |
|
|
| getRecentFocus |
| :: (Window w) | | | => w | the concerned window. | | -> IO (Maybe CurrentFocus) | The recent focus (if available). | | Gets the last focused widget inside a window. |
|
|
| data GrabStatus |
|
|
| data CurrentGrab |
|
|
| grabLocal :: (Widget w) => w -> IO () |
|
| grabGlobal |
| :: (Widget w) | | | => w | the concerned widget. | | -> IO () | None. | | Grabs the focus global. |
|
|
| releaseGrab |
| :: (Widget w) | | | => w | the concerned widget. | | -> IO () | None. | | Releases a focus grab. |
|
|
| returnGrab :: Maybe CurrentGrab -> IO () |
|
| getGrabStatus |
| :: (Widget w) | | | => w | the concerned widget. | | -> IO (Maybe GrabStatus) | The current grab status (if available). | | Gets the grab status from a widget. |
|
|
| getCurrentGrab |
| :: IO (Maybe CurrentGrab) | The current grab (if available). | | Gets the current grab. |
|
|
| Produced by Haddock version 0.3 |