Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
VolumeButton
is a subclass of ScaleButton
that has
been tailored for use as a volume control widget with suitable
icons, tooltips and accessible labels.
- newtype VolumeButton = VolumeButton (ManagedPtr VolumeButton)
- class GObject o => IsVolumeButton o
- toVolumeButton :: IsVolumeButton o => o -> IO VolumeButton
- noVolumeButton :: Maybe VolumeButton
- volumeButtonNew :: (HasCallStack, MonadIO m) => m VolumeButton
- data VolumeButtonUseSymbolicPropertyInfo
- constructVolumeButtonUseSymbolic :: IsVolumeButton o => Bool -> IO (GValueConstruct o)
- getVolumeButtonUseSymbolic :: (MonadIO m, IsVolumeButton o) => o -> m Bool
- setVolumeButtonUseSymbolic :: (MonadIO m, IsVolumeButton o) => o -> Bool -> m ()
- volumeButtonUseSymbolic :: AttrLabelProxy "useSymbolic"
Exported types
newtype VolumeButton Source #
GObject VolumeButton Source # | |
IsImplementorIface VolumeButton Source # | |
IsObject VolumeButton Source # | |
IsWidget VolumeButton Source # | |
IsScaleButton VolumeButton Source # | |
IsContainer VolumeButton Source # | |
IsButton VolumeButton Source # | |
IsBin VolumeButton Source # | |
IsOrientable VolumeButton Source # | |
IsBuildable VolumeButton Source # | |
IsActivatable VolumeButton Source # | |
IsActionable VolumeButton Source # | |
IsVolumeButton VolumeButton Source # | |
((~) * info (ResolveVolumeButtonMethod t VolumeButton), MethodInfo * info VolumeButton p) => IsLabel t (VolumeButton -> p) Source # | |
((~) * info (ResolveVolumeButtonMethod t VolumeButton), MethodInfo * info VolumeButton p) => IsLabelProxy t (VolumeButton -> p) Source # | |
HasAttributeList * VolumeButton Source # | |
type AttributeList VolumeButton Source # | |
type SignalList VolumeButton Source # | |
class GObject o => IsVolumeButton o Source #
toVolumeButton :: IsVolumeButton o => o -> IO VolumeButton Source #
Methods
new
:: (HasCallStack, MonadIO m) | |
=> m VolumeButton | Returns: a new |
Creates a VolumeButton
, with a range between 0.0 and 1.0, with
a stepping of 0.02. Volume values can be obtained and modified using
the functions from ScaleButton
.
Since: 2.12
Properties
useSymbolic
data VolumeButtonUseSymbolicPropertyInfo Source #
constructVolumeButtonUseSymbolic :: IsVolumeButton o => Bool -> IO (GValueConstruct o) Source #
getVolumeButtonUseSymbolic :: (MonadIO m, IsVolumeButton o) => o -> m Bool Source #
setVolumeButtonUseSymbolic :: (MonadIO m, IsVolumeButton o) => o -> Bool -> m () Source #
volumeButtonUseSymbolic :: AttrLabelProxy "useSymbolic" Source #