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

Description

Range are used on Value, 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 Value documentation for further details.

Synopsis

Exported types

newtype Range Source #

Memory-managed wrapper type.

Constructors

Range (ManagedPtr Range) 

Instances

Instances details
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

noRange :: Maybe Range Source #

A convenience alias for Nothing :: Maybe Range.

Methods

Overloaded methods

copy

rangeCopy Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

src: Range to copy

-> m Range

Returns: a new Range copy of src

Returns a new Range that is a exact copy of src

Since: 2.12

free

rangeFree Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

range: Range to free

-> m () 

Free range

Since: 2.12

getDescription

rangeGetDescription Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> Range

range: an Range

-> 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 Range

-> 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 Range

-> 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 Range

Creates a new Range.

Since: 2.12