Safe Haskell | None |
---|
- initialiseComponents :: HG3DClass -> IO ()
- isSizingEnabled :: HG3DClass -> IO Bool
- isFrameEnabled :: HG3DClass -> IO Bool
- isTitleBarEnabled :: HG3DClass -> IO Bool
- isCloseButtonEnabled :: HG3DClass -> IO Bool
- isRollupEnabled :: HG3DClass -> IO Bool
- isRolledup :: HG3DClass -> IO Bool
- getSizingBorderThickness :: HG3DClass -> IO Float
- setSizingEnabled :: HG3DClass -> Bool -> IO ()
- setFrameEnabled :: HG3DClass -> Bool -> IO ()
- setTitleBarEnabled :: HG3DClass -> Bool -> IO ()
- setCloseButtonEnabled :: HG3DClass -> Bool -> IO ()
- setRollupEnabled :: HG3DClass -> Bool -> IO ()
- toggleRollup :: HG3DClass -> IO ()
- setSizingBorderThickness :: HG3DClass -> Float -> IO ()
- isDragMovingEnabled :: HG3DClass -> IO Bool
- setDragMovingEnabled :: HG3DClass -> Bool -> IO ()
- setNSSizingCursorImage2 :: HG3DClass -> String -> String -> IO ()
- setEWSizingCursorImage2 :: HG3DClass -> String -> String -> IO ()
- setNWSESizingCursorImage2 :: HG3DClass -> String -> String -> IO ()
- setNESWSizingCursorImage2 :: HG3DClass -> String -> String -> IO ()
- getCloseButton :: HG3DClass -> IO HG3DClass
- new :: String -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- initialiseComponents'_ :: HG3DClassPtr -> IO ()
- isSizingEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isFrameEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isTitleBarEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isCloseButtonEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isRollupEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isRolledup'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getSizingBorderThickness'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setSizingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setFrameEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setTitleBarEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setCloseButtonEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setRollupEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- toggleRollup'_ :: HG3DClassPtr -> IO ()
- setSizingBorderThickness'_ :: HG3DClassPtr -> CFloat -> IO ()
- isDragMovingEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- setDragMovingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()
- setNSSizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- setEWSizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- setNWSESizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- setNESWSizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- getCloseButton'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- new'_ :: Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
Documentation
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing |
Initialises the Window - Details: This must be called for every window created. Normally this is handled automatically by the WindowFactory for each Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if the window can be sized, false if the window can not be sized |
Return whether this window is sizable. Note that this requires that the window have an enabled frame and that sizing itself is enabled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if the frame for this window is enabled, false if the frame for this window is disabled. |
Return whether the frame for this window is enabled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if the window has a title bar and it is enabled, false if the window has no title bar or if the title bar is disabled. |
Return whether the title bar for this window is enabled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if the window has a close button and it is enabled, false if the window either has no close button or if the close button is disabled. |
Return whether this close button for this window is enabled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if roll up is enabled, false if roll up is disabled. |
Return whether roll up (a.k.a shading) is enabled for this window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if the window is rolled up, false if the window is not rolled up. |
Return whether the window is currently rolled up (a.k.a shaded).
getSizingBorderThicknessSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Float | return value - float value describing the thickness of the sizing border in screen pixels. |
Return the thickness of the sizing border.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - set to true to enable sizing (also requires frame to be enabled), or false to disable sizing. |
-> IO () | return value - nothing |
Enables or disables the frame for this window.
Enables or disables sizing for this window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - set to true to enable the frame for this window, or false to disable the frame for this window. |
-> IO () | return value - Nothing. |
Enables or disables the title bar for the frame window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - set to true to enable the title bar (if one is attached), or false to disable the title bar. |
-> IO () | return value - Nothing. |
Enables or disables the close button for the frame window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - Set to true to enable the close button (if one is attached), or false to disable the close button. |
-> IO () | return value - Nothing. |
Enables or disables roll-up (shading) for this window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - Set to true to enable roll-up for the frame window, or false to disable roll-up. |
-> IO () | return value - Nothing. |
Toggles the state of the window between rolled-up (shaded) and normal sizes. This requires roll-up to be enabled.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing |
Set the size of the sizing border for this window.
setSizingBorderThicknessSource
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | pixels - float value specifying the thickness for the sizing border in screen pixels. |
-> IO () | return value - Nothing. |
Return whether this FrameWindow
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | setting - true if the Window should move when the user drags the title bar, false if the window should not move. |
-> IO () | return value - Nothing. |
Set the image to be used for the north-south sizing mouse cursor.
Set whether this FrameWindow
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | imageset - String holding the name of the Imageset containing the Image to be used. |
-> String | image - String holding the name of the Image to be used. |
-> IO () | return value - Nothing. |
Set the image to be used for the east-west sizing mouse cursor.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | imageset - String holding the name of the Imageset containing the Image to be used. |
-> String | image - String holding the name of the Image to be used. |
-> IO () | return value - Nothing. |
Set the image to be used for the northwest-southeast sizing mouse cursor.
setNWSESizingCursorImage2Source
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | imageset - String holding the name of the Imageset containing the Image to be used. |
-> String | image - String holding the name of the Image to be used. |
-> IO () | return value - Nothing. |
Set the image to be used for the northeast-southwest sizing mouse cursor.
setNESWSizingCursorImage2Source
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | imageset - String holding the name of the Imageset containing the Image to be used. |
-> String | image - String holding the name of the Image to be used. |
-> IO () | return value - Nothing. |
Return a pointer to the close button component widget for this FrameWindow
Destructor for FramwWindow objects.
initialiseComponents'_ :: HG3DClassPtr -> IO ()Source
isSizingEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isFrameEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isTitleBarEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isCloseButtonEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isRollupEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isRolledup'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getSizingBorderThickness'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setSizingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setFrameEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setTitleBarEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setCloseButtonEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setRollupEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
toggleRollup'_ :: HG3DClassPtr -> IO ()Source
setSizingBorderThickness'_ :: HG3DClassPtr -> CFloat -> IO ()Source
isDragMovingEnabled'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
setDragMovingEnabled'_ :: HG3DClassPtr -> CInt -> IO ()Source
setNSSizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
setEWSizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
setNWSESizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
setNESWSizingCursorImage2'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
getCloseButton'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source