|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
Documentation |
|
type Modifier = Word32 |
modifier key flags
|
|
hasShift :: Modifier -> Bool |
|
hasLock :: Modifier -> Bool |
|
hasControl :: Modifier -> Bool |
|
hasMod1 :: Modifier -> Bool |
|
hasMod2 :: Modifier -> Bool |
|
hasMod3 :: Modifier -> Bool |
|
hasMod4 :: Modifier -> Bool |
|
hasMod5 :: Modifier -> Bool |
|
hasButLeft :: Modifier -> Bool |
|
hasButRight :: Modifier -> Bool |
|
hasButMiddle :: Modifier -> Bool |
|
data Event |
Constructors | Event | | | Expose | | | Motion | | sent :: Bool | | time :: Integer | | x, y :: Double | | modif :: Modifier | | isHint :: Bool | | xRoot, yRoot :: Double | |
| Button | | sent :: Bool | | click :: Click | | time :: Integer | | x, y :: Double | | modif :: Modifier | | button :: Button | | xRoot, yRoot :: Double | |
| Key | | release :: Bool | | sent :: Bool | | time :: Integer | | modif :: Modifier | | keyval :: Integer | | len :: Int | | str :: String | |
| Crossing | | | Focus | | sent :: Bool | | inFocus :: Bool | |
| Configure | | sent :: Bool | | xPar :: Int | | yPar :: Int | | width :: Int | | height :: Int | |
| Property | | sent :: Bool | | time :: Integer | |
| Visibility | | | Scroll | | sent :: Bool | | time :: Integer | | x, y :: Double | | direc :: ScrollDirection | | xRoot, yRoot :: Double | |
| WindowState | | |
|
|
|
marshalEvent :: Ptr Event -> IO Event |
|
data VisibilityState |
visibility of a window
| Constructors | VisibilityUnobscured | | VisibilityPartialObscured | | VisibilityFullyObscured | |
| Instances | |
|
|
data CrossingMode |
provide additionl information if cursor crosses a
window
| Constructors | CrossingNormal | | CrossingGrab | | CrossingUngrab | |
| Instances | |
|
|
data NotifyType |
Constructors | NotifyAncestor | | NotifyVirtual | | NotifyInferior | | NotifyNonlinear | | NotifyNonlinearVirtual | | NotifyUnknown | |
| Instances | |
|
|
data WindowState |
the state a GDK window is in
| Constructors | WindowStateWithdrawn | | WindowStateIconified | | WindowStateMaximized | | WindowStateSticky | | WindowStateFullscreen | | WindowStateAbove | | WindowStateBelow | |
| Instances | |
|
|
data ScrollDirection |
in which direction was scrolled?
| Constructors | ScrollUp | | ScrollDown | | ScrollLeft | | ScrollRight | |
| Instances | |
|
|
data Button |
button number
| Constructors | LeftButton | | MiddleButton | | RightButton | | WheelUp | | WheelDown | | OtherButton | |
| Instances | |
|
|
data Click |
type of mouse click
| Constructors | SingleClick | | DoubleClick | | TripleClick | | ReleaseClick | |
|
|
|
data Rectangle |
Rectangle
- for Events
- Specifies x, y, width and height
| Constructors | Rectangle Int Int Int Int | |
| Instances | |
|
|
Produced by Haddock version 0.6 |