Safe Haskell | None |
---|---|
Language | Haskell98 |
Basic types and classes concerning toplevel window resources.
- class GUIObject w => Window w where
- iconify :: w -> IO ()
- deiconify :: w -> IO ()
- withdraw :: w -> IO ()
- putWinOnTop :: w -> IO ()
- putWinAtBottom :: w -> IO ()
- screen :: Display -> Config w
- getScreen :: w -> IO Display
- getClassName :: w -> IO String
- getWindowState :: w -> IO WindowState
- aspectRatio :: AspectRatio -> Config w
- getAspectRatio :: w -> IO AspectRatio
- positionFrom :: Whom -> Config w
- getPositionFrom :: w -> IO Whom
- sizeFrom :: Whom -> Config w
- getSizeFrom :: w -> IO Whom
- type Display = String
- maxSize :: Window w => Size -> Config w
- getMaxSize :: Window w => w -> IO Size
- minSize :: Window w => Size -> Config w
- getMinSize :: Window w => w -> IO Size
- raiseWin :: (Window w1, Window w2) => w1 -> w2 -> IO ()
- lowerWin :: (Window w1, Window w2) => w1 -> w2 -> IO ()
- data WindowState
- data AspectRatio
- data Whom
- isWMConfig :: ConfigID -> Bool
Documentation
class GUIObject w => Window w where Source
Toplevel windows instantiate the class Window
.
Nothing
deiconify :: w -> IO () Source
putWinOnTop :: w -> IO () Source
putWinAtBottom :: w -> IO () Source
screen :: Display -> Config w Source
getScreen :: w -> IO Display Source
getClassName :: w -> IO String Source
getWindowState :: w -> IO WindowState Source
aspectRatio :: AspectRatio -> Config w Source
getAspectRatio :: w -> IO AspectRatio Source
positionFrom :: Whom -> Config w Source
getPositionFrom :: w -> IO Whom Source
sizeFrom :: Whom -> Config w Source
getSizeFrom :: w -> IO Whom Source
Window Toplevel | A toplevel widget is a window (with various configurations and actions concerning its stacking order, display status, screen, aspect ratio etc.). |
Window HTk | The wish instance is associated with the main window (with various configurations and actions concerning its stacking order, display status, screen, aspect ratio etc.). |
CItem c => Window (GenGUI c) | A |
getMaxSize :: Window w => w -> IO Size Source
Gets the maximum size of the window.
getMinSize :: Window w => w -> IO Size Source
Gets the minimum size of the window.
Puts the first given window just above the second given window in the stacking order.
Puts the first given window just below the second given window in the stacking order.
data WindowState Source
The WindowState
datatype.
Enum WindowState | |
Eq WindowState | |
Ord WindowState | |
Read WindowState | Internal. |
Show WindowState | Internal. |
GUIValue WindowState | Internal. |
data AspectRatio Source
The AspectRatio
datatype.
Eq AspectRatio | |
Read AspectRatio | Internal. |
Show AspectRatio | Internal. |
GUIValue AspectRatio | Internal. |
The Whom
datatype.
isWMConfig :: ConfigID -> Bool Source
Internal.