Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
See also printSettingsSetPageRanges
.
Synopsis
- newtype PageRange = PageRange (ManagedPtr PageRange)
- newZeroPageRange :: MonadIO m => m PageRange
- noPageRange :: Maybe 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
WrappedPtr PageRange Source # | |
Defined in GI.Gtk.Structs.PageRange wrappedPtrCalloc :: IO (Ptr PageRange) # wrappedPtrCopy :: PageRange -> IO PageRange # | |
tag ~ AttrSet => Constructible PageRange tag Source # | |
Defined in GI.Gtk.Structs.PageRange |
newZeroPageRange :: MonadIO m => m PageRange Source #
Construct a PageRange
struct initialized to zero.
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 ]