Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
See also printSettingsSetPageRanges
.
Synopsis
- newtype PageRange = PageRange (ManagedPtr PageRange)
- newZeroPageRange :: MonadIO m => m PageRange
- getPageRangeEnd :: MonadIO m => PageRange -> m Int32
- setPageRangeEnd :: MonadIO m => PageRange -> Int32 -> m ()
- getPageRangeStart :: MonadIO m => PageRange -> m Int32
- setPageRangeStart :: MonadIO m => PageRange -> Int32 -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq PageRange Source # | |
BoxedPtr PageRange Source # | |
Defined in GI.Gtk.Structs.PageRange boxedPtrCopy :: PageRange -> IO PageRange boxedPtrFree :: PageRange -> IO () | |
CallocPtr PageRange Source # | |
Defined in GI.Gtk.Structs.PageRange boxedPtrCalloc :: IO (Ptr PageRange) | |
ManagedPtrNewtype PageRange Source # | |
Defined in GI.Gtk.Structs.PageRange toManagedPtr :: PageRange -> ManagedPtr PageRange | |
tag ~ 'AttrSet => Constructible PageRange tag Source # | |
newZeroPageRange :: MonadIO m => m PageRange Source #
Construct a PageRange
struct initialized to zero.
Methods
Properties
end
end of page range.
getPageRangeEnd :: MonadIO m => PageRange -> m Int32 Source #
Get the value of the “end
” field.
When overloading is enabled, this is equivalent to
get
pageRange #end
setPageRangeEnd :: MonadIO m => PageRange -> Int32 -> m () Source #
Set the value of the “end
” field.
When overloading is enabled, this is equivalent to
set
pageRange [ #end:=
value ]
start
start of page range.
getPageRangeStart :: MonadIO m => PageRange -> m Int32 Source #
Get the value of the “start
” field.
When overloading is enabled, this is equivalent to
get
pageRange #start
setPageRangeStart :: MonadIO m => PageRange -> Int32 -> m () Source #
Set the value of the “start
” field.
When overloading is enabled, this is equivalent to
set
pageRange [ #start:=
value ]