Safe Haskell | None |
---|
- isHovering :: HG3DClass -> IO Bool
- isPushed :: HG3DClass -> IO Bool
- isOpened :: HG3DClass -> IO Bool
- isPopupClosing :: HG3DClass -> IO Bool
- hasAutoPopup :: HG3DClass -> IO Bool
- getAutoPopupTimeout :: HG3DClass -> IO Float
- setAutoPopupTimeout :: HG3DClass -> Float -> IO ()
- openPopupMenu :: HG3DClass -> Bool -> IO ()
- closePopupMenu :: HG3DClass -> Bool -> IO ()
- togglePopupMenu :: HG3DClass -> IO Bool
- startPopupClosing :: HG3DClass -> IO ()
- startPopupOpening :: HG3DClass -> IO ()
- new :: String -> String -> IO HG3DClass
- delete :: HG3DClass -> IO ()
- isHovering'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isPushed'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isOpened'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- isPopupClosing'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- hasAutoPopup'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- getAutoPopupTimeout'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()
- setAutoPopupTimeout'_ :: HG3DClassPtr -> CFloat -> IO ()
- openPopupMenu'_ :: HG3DClassPtr -> CInt -> IO ()
- closePopupMenu'_ :: HG3DClassPtr -> CInt -> IO ()
- togglePopupMenu'_ :: HG3DClassPtr -> Ptr CInt -> IO ()
- startPopupClosing'_ :: HG3DClassPtr -> IO ()
- startPopupOpening'_ :: 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 Bool | return value - true if the user is hovering or if the button is pushed and the mouse is not over the button. Otherwise return false. |
return true if user is hovering over this widget (or it's pushed and user is not over it for highlight)
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> IO Bool | return value - true if the button-type widget is pushed, false if the widget is not pushed. |
Return true if the button widget is in the pushed state.
Returns true if the popup menu attached to the menu item is open.
Returns true if the menu item popup is closing or not.
Returns true if the menu item popup is closed or opened automatically if hovering with the mouse.
Returns the time, which has to elapse before the popup window is opened/closed if the hovering state changes.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Float | time |
-> IO () |
Opens the PopupMenu.
Sets the time, which has to elapse before the popup window is opened/closed if the hovering state changes.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | notify - true if the parent menu bar or menu popup (if any) is to handle the open. |
-> IO () |
Closes the PopupMenu.
:: HG3DClass | classpointer - pointer of Class instance from which this methods is called. |
-> Bool | notify - true if the parent menubar (if any) is to handle the close. |
-> IO () | return value - Nothing. |
Toggles the PopupMenu.
starts the opening timer for the popup, which will open it if the timer is enabled.
starts the closing timer for the popup, which will close it if the timer is enabled.
Constructor for MenuItem
Destructor for MenuItem
isHovering'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isPushed'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isOpened'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
isPopupClosing'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
hasAutoPopup'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
getAutoPopupTimeout'_ :: HG3DClassPtr -> Ptr CFloat -> IO ()Source
setAutoPopupTimeout'_ :: HG3DClassPtr -> CFloat -> IO ()Source
openPopupMenu'_ :: HG3DClassPtr -> CInt -> IO ()Source
closePopupMenu'_ :: HG3DClassPtr -> CInt -> IO ()Source
togglePopupMenu'_ :: HG3DClassPtr -> Ptr CInt -> IO ()Source
startPopupClosing'_ :: HG3DClassPtr -> IO ()Source
startPopupOpening'_ :: HG3DClassPtr -> IO ()Source
delete'_ :: HG3DClassPtr -> IO ()Source