Safe Haskell | None |
---|
- new :: IO HG3DClass
- delete :: HG3DClass -> IO ()
- createWindow :: HG3DClass -> String -> String -> IO HG3DClass
- destroyWindow :: HG3DClass -> HG3DClass -> IO ()
- destroyWindow2 :: HG3DClass -> String -> IO ()
- getWindow :: HG3DClass -> String -> IO HG3DClass
- isWindowPresent :: HG3DClass -> String -> IO Bool
- destroyAllWindows :: HG3DClass -> IO ()
- isDeadPoolEmpty :: HG3DClass -> IO Bool
- cleanDeadPool :: HG3DClass -> IO ()
- saveWindowLayout :: HG3DClass -> String -> String -> Bool -> IO ()
- saveWindowLayout2 :: HG3DClass -> HG3DClass -> String -> Bool -> IO ()
- renameWindow :: HG3DClass -> String -> String -> IO ()
- renameWindow2 :: HG3DClass -> HG3DClass -> String -> IO ()
- lock :: HG3DClass -> IO ()
- unlock :: HG3DClass -> IO ()
- getDefaultResourceGroup :: IO String
- isLocked :: HG3DClass -> IO Bool
- setDefaultResourceGroup :: String -> IO ()
- new'_ :: HG3DClassPtr -> IO ()
- delete'_ :: HG3DClassPtr -> IO ()
- createWindow'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()
- destroyWindow'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()
- destroyWindow2'_ :: HG3DClassPtr -> Ptr CChar -> IO ()
- getWindow'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> IO ()
- isWindowPresent'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()
- destroyAllWindows'_ :: HG3DClassPtr -> IO ()
- isDeadPoolEmpty'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- cleanDeadPool'_ :: HG3DClassPtr -> IO ()
- saveWindowLayout'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> CInt -> IO ()
- saveWindowLayout2'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CChar -> CInt -> IO ()
- renameWindow'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()
- renameWindow2'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CChar -> IO ()
- lock'_ :: HG3DClassPtr -> IO ()
- unlock'_ :: HG3DClassPtr -> IO ()
- isLocked'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getDefaultResourceGroup'_ :: Ptr CChar -> IO ()
- setDefaultResourceGroup'_ :: Ptr CChar -> IO ()
Documentation
Constructs a new WindowManager - Details: NB: Client code should not create WindowManagerWindowManagerSystem
Creates a new Window
Destructor for WindowManager - Details: This will properly destry all remaining Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | window - Pointer to the Window object to be destroyed. If the window is null, or is not recognised, nothing happens. |
-> IO () | return value - Nothing |
Destroy the specified Window
Destroy the specified Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | window - String containing the name of the Window object to be destroyed. If window is not recognised, nothing happens. |
-> IO () | return value - Nothing. |
Return a pointer to the specified Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | name - String holding the name of the Window object to look for. |
-> IO Bool | return value - true if a |
Examines the list of Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing. |
Return whether the window dead pool is empty.
Destroys all Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO () | return value - Nothing. |
Save a full XML window layout, starting at the given Window
Permanently destroys any windows placed in the dead pool. - Details: It is probably not a good idea to call this from a Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | window - String holding the name of the Window object to become the root of the layout. |
-> String | filename - The name of the file to which the XML will be written. Note that this does not use any part of the ResourceProvider system, but rather will write directly to disk. If this is not desirable, you should prefer the OutStream based writeWindowLayoutToStream functions. |
-> Bool | writeParent - If the starting window has a parent window, specifies whether to write the parent name into the Parent attribute of the GUILayout XML element. |
-> IO () |
Save a full XML window layout, starting at the given Window
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | window - Window object to become the root of the layout. |
-> String | filename - The name of the file to which the XML will be written. Note that this does not use any part of the ResourceProvider system, but rather will write directly to disk. If this is not desirable, you should prefer the OutStream based writeWindowLayoutToStream functions. |
-> Bool | writeParent - If the starting window has a parent window, specifies whether to write the parent name into the Parent attribute of the GUILayout XML element. |
-> IO () |
Rename a window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> String | window - String holding the current name of the window to be renamed. |
-> String | new_name - String holding the new name for the window |
-> IO () |
Rename a window.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> HG3DClass | window - Pointer to the window to be renamed. |
-> String | new_name - String holding the new name for the window |
-> IO () |
Put WindowManager - Details: While WindowManager is in the locked state all attempts to create a Window of any type will fail with an InvalidRequestException being thrown. Calls to lock/unlock are recursive; if multiple calls to lock are made, WindowManager is only unlocked after a matching number of calls to unlock.
Put WindowManager - Details: While WindowManager is in the locked state all attempts to create a Window of any type will fail with an InvalidRequestException being thrown. Calls to lock/unlock are recursive; if multiple calls to lock are made, WindowManager is only unlocked after a matching number of calls to unlock.
Returns whether WindowManager - Details: While WindowManager is in the locked state all attempts to create a Window of any type will fail with an InvalidRequestException being thrown. Calls to lock/unlock are recursive; if multiple calls to lock are made, WindowManager is only unlocked after a matching number of calls to unlock.
Returns the default resource group currently set for layouts.
:: String | resourceGroup - String describing the default resource group identifier to be used. |
-> IO () | return value - Nothing. |
Sets the default resource group to be used when loading layouts.
new'_ :: HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source
createWindow'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> HG3DClassPtr -> IO ()Source
destroyWindow'_ :: HG3DClassPtr -> HG3DClassPtr -> IO ()Source
destroyWindow2'_ :: HG3DClassPtr -> Ptr CChar -> IO ()Source
getWindow'_ :: HG3DClassPtr -> Ptr CChar -> HG3DClassPtr -> IO ()Source
isWindowPresent'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CInt -> IO ()Source
destroyAllWindows'_ :: HG3DClassPtr -> IO ()Source
isDeadPoolEmpty'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
cleanDeadPool'_ :: HG3DClassPtr -> IO ()Source
saveWindowLayout'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> CInt -> IO ()Source
saveWindowLayout2'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CChar -> CInt -> IO ()Source
renameWindow'_ :: HG3DClassPtr -> Ptr CChar -> Ptr CChar -> IO ()Source
renameWindow2'_ :: HG3DClassPtr -> HG3DClassPtr -> Ptr CChar -> IO ()Source
lock'_ :: HG3DClassPtr -> IO ()Source
unlock'_ :: HG3DClassPtr -> IO ()Source
isLocked'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getDefaultResourceGroup'_ :: Ptr CChar -> IO ()Source
setDefaultResourceGroup'_ :: Ptr CChar -> IO ()Source