gi-atk-2.0.21: Atk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Structs.Range

Contents

Description

tRange are used on tValue, in order to represent the full range of a given component (for example an slider or a range control), or to define each individual subrange this full range is splitted if available. See tValue documentation for further details.

Synopsis

Exported types

newtype Range Source #

Memory-managed wrapper type.

Constructors

Range (ManagedPtr Range) 
Instances
Eq Range Source # 
Instance details

Defined in GI.Atk.Structs.Range

Methods

(==) :: Range -> Range -> Bool

(/=) :: Range -> Range -> Bool

BoxedObject Range Source # 
Instance details

Defined in GI.Atk.Structs.Range

Methods

boxedType :: Range -> IO GType

IsGValue Range Source #

Convert Range to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Atk.Structs.Range

Methods

toGValue :: Range -> IO GValue

fromGValue :: GValue -> IO Range

noRange :: Maybe Range Source #

A convenience alias for Nothing :: Maybe Range.

Methods

Overloaded methods

copy

rangeCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

src: tRange to copy

-> m Range

Returns: a new tRange copy of src

Returns a new tRange that is a exact copy of src

Since: 2.12

free

rangeFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

range: tRange to free

-> m () 

Free range

Since: 2.12

getDescription

rangeGetDescription Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

range: an tRange

-> m Text

Returns: the human-readable description of range

Returns the human readable description of range

Since: 2.12

getLowerLimit

rangeGetLowerLimit Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

range: an tRange

-> m Double

Returns: the lower limit of range

Returns the lower limit of range

Since: 2.12

getUpperLimit

rangeGetUpperLimit Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

range: an tRange

-> m Double

Returns: the upper limit of range

Returns the upper limit of range

Since: 2.12

new

rangeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Double

lowerLimit: inferior limit for this range

-> Double

upperLimit: superior limit for this range

-> Text

description: human readable description of this range.

-> m Range

Returns: a new tRange

Creates a new tRange.

Since: 2.12