Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- easeOutCubic :: (HasCallStack, MonadIO m) => Double -> m Double
- enumValueRowName :: (HasCallStack, MonadIO m, IsEnumValueObject a) => a -> Ptr () -> m Text
- getEnableAnimations :: (HasCallStack, MonadIO m, IsWidget a) => a -> m Bool
- init :: (HasCallStack, MonadIO m) => m ()
Methods
easeOutCubic
:: (HasCallStack, MonadIO m) | |
=> Double |
|
-> m Double | Returns: the ease out for |
Computes the ease out for t
.
Since: 0.0.11
enumValueRowName
:: (HasCallStack, MonadIO m, IsEnumValueObject a) | |
=> a |
|
-> Ptr () |
|
-> m Text | Returns: a newly allocated displayable name that represents |
This is a default implementation of ComboRowGetEnumValueNameFunc
to be
used with comboRowSetForEnum
. If the enumeration has a nickname, it
will return it, otherwise it will return its name.
Since: 0.0.6
getEnableAnimations
:: (HasCallStack, MonadIO m, IsWidget a) | |
=> a |
|
-> m Bool | Returns: |
Returns whether animations are enabled for that widget. This should be used when implementing an animated widget to know whether to animate it or not.
Since: 0.0.11
init
init :: (HasCallStack, MonadIO m) => m () Source #
Call this function just after initializing GTK, if you are using
Application
it means it must be called when the startup
signal is emitted. If libhandy has already been initialized, the function
will simply return.
This makes sure translations, types, themes, and icons for the Handy library are set up properly.