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 |
- newtype EntryBuffer = EntryBuffer (ForeignPtr EntryBuffer)
- class GObject o => EntryBufferK o
- toEntryBuffer :: EntryBufferK o => o -> IO EntryBuffer
- noEntryBuffer :: Maybe EntryBuffer
- data EntryBufferDeleteTextMethodInfo
- entryBufferDeleteText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Int32 -> m Word32
- data EntryBufferEmitDeletedTextMethodInfo
- entryBufferEmitDeletedText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Word32 -> m ()
- data EntryBufferEmitInsertedTextMethodInfo
- entryBufferEmitInsertedText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Text -> Word32 -> m ()
- data EntryBufferGetBytesMethodInfo
- entryBufferGetBytes :: (MonadIO m, EntryBufferK a) => a -> m Word64
- data EntryBufferGetLengthMethodInfo
- entryBufferGetLength :: (MonadIO m, EntryBufferK a) => a -> m Word32
- data EntryBufferGetMaxLengthMethodInfo
- entryBufferGetMaxLength :: (MonadIO m, EntryBufferK a) => a -> m Int32
- data EntryBufferGetTextMethodInfo
- entryBufferGetText :: (MonadIO m, EntryBufferK a) => a -> m Text
- data EntryBufferInsertTextMethodInfo
- entryBufferInsertText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Text -> Int32 -> m Word32
- entryBufferNew :: MonadIO m => Maybe Text -> Int32 -> m EntryBuffer
- data EntryBufferSetMaxLengthMethodInfo
- entryBufferSetMaxLength :: (MonadIO m, EntryBufferK a) => a -> Int32 -> m ()
- data EntryBufferSetTextMethodInfo
- entryBufferSetText :: (MonadIO m, EntryBufferK a) => a -> Text -> Int32 -> m ()
- data EntryBufferLengthPropertyInfo
- entryBufferLength :: AttrLabelProxy "length"
- getEntryBufferLength :: (MonadIO m, EntryBufferK o) => o -> m Word32
- data EntryBufferMaxLengthPropertyInfo
- constructEntryBufferMaxLength :: Int32 -> IO ([Char], GValue)
- entryBufferMaxLength :: AttrLabelProxy "maxLength"
- getEntryBufferMaxLength :: (MonadIO m, EntryBufferK o) => o -> m Int32
- setEntryBufferMaxLength :: (MonadIO m, EntryBufferK o) => o -> Int32 -> m ()
- data EntryBufferTextPropertyInfo
- clearEntryBufferText :: (MonadIO m, EntryBufferK o) => o -> m ()
- constructEntryBufferText :: Text -> IO ([Char], GValue)
- entryBufferText :: AttrLabelProxy "text"
- getEntryBufferText :: (MonadIO m, EntryBufferK o) => o -> m Text
- setEntryBufferText :: (MonadIO m, EntryBufferK o) => o -> Text -> m ()
- type EntryBufferDeletedTextCallback = Word32 -> Word32 -> IO ()
- type EntryBufferDeletedTextCallbackC = Ptr () -> Word32 -> Word32 -> Ptr () -> IO ()
- data EntryBufferDeletedTextSignalInfo
- afterEntryBufferDeletedText :: (GObject a, MonadIO m) => a -> EntryBufferDeletedTextCallback -> m SignalHandlerId
- entryBufferDeletedTextCallbackWrapper :: EntryBufferDeletedTextCallback -> Ptr () -> Word32 -> Word32 -> Ptr () -> IO ()
- entryBufferDeletedTextClosure :: EntryBufferDeletedTextCallback -> IO Closure
- mkEntryBufferDeletedTextCallback :: EntryBufferDeletedTextCallbackC -> IO (FunPtr EntryBufferDeletedTextCallbackC)
- noEntryBufferDeletedTextCallback :: Maybe EntryBufferDeletedTextCallback
- onEntryBufferDeletedText :: (GObject a, MonadIO m) => a -> EntryBufferDeletedTextCallback -> m SignalHandlerId
- type EntryBufferInsertedTextCallback = Word32 -> Text -> Word32 -> IO ()
- type EntryBufferInsertedTextCallbackC = Ptr () -> Word32 -> CString -> Word32 -> Ptr () -> IO ()
- data EntryBufferInsertedTextSignalInfo
- afterEntryBufferInsertedText :: (GObject a, MonadIO m) => a -> EntryBufferInsertedTextCallback -> m SignalHandlerId
- entryBufferInsertedTextCallbackWrapper :: EntryBufferInsertedTextCallback -> Ptr () -> Word32 -> CString -> Word32 -> Ptr () -> IO ()
- entryBufferInsertedTextClosure :: EntryBufferInsertedTextCallback -> IO Closure
- mkEntryBufferInsertedTextCallback :: EntryBufferInsertedTextCallbackC -> IO (FunPtr EntryBufferInsertedTextCallbackC)
- noEntryBufferInsertedTextCallback :: Maybe EntryBufferInsertedTextCallback
- onEntryBufferInsertedText :: (GObject a, MonadIO m) => a -> EntryBufferInsertedTextCallback -> m SignalHandlerId
Exported types
newtype EntryBuffer Source
GObject EntryBuffer | |
((~) * info (ResolveEntryBufferMethod t EntryBuffer), MethodInfo * info EntryBuffer p) => IsLabelProxy t (EntryBuffer -> p) | |
type ParentTypes EntryBuffer | |
type AttributeList EntryBuffer | |
type SignalList EntryBuffer |
class GObject o => EntryBufferK o Source
(GObject o, IsDescendantOf EntryBuffer o) => EntryBufferK o |
toEntryBuffer :: EntryBufferK o => o -> IO EntryBuffer Source
Methods
entryBufferDeleteText
data EntryBufferDeleteTextMethodInfo Source
((~) * signature (Word32 -> Int32 -> m Word32), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferDeleteTextMethodInfo a signature |
entryBufferDeleteText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Int32 -> m Word32 Source
entryBufferEmitDeletedText
data EntryBufferEmitDeletedTextMethodInfo Source
((~) * signature (Word32 -> Word32 -> m ()), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferEmitDeletedTextMethodInfo a signature |
entryBufferEmitDeletedText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Word32 -> m () Source
entryBufferEmitInsertedText
data EntryBufferEmitInsertedTextMethodInfo Source
((~) * signature (Word32 -> Text -> Word32 -> m ()), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferEmitInsertedTextMethodInfo a signature |
entryBufferEmitInsertedText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Text -> Word32 -> m () Source
entryBufferGetBytes
data EntryBufferGetBytesMethodInfo Source
((~) * signature (m Word64), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferGetBytesMethodInfo a signature |
entryBufferGetBytes :: (MonadIO m, EntryBufferK a) => a -> m Word64 Source
entryBufferGetLength
data EntryBufferGetLengthMethodInfo Source
((~) * signature (m Word32), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferGetLengthMethodInfo a signature |
entryBufferGetLength :: (MonadIO m, EntryBufferK a) => a -> m Word32 Source
entryBufferGetMaxLength
data EntryBufferGetMaxLengthMethodInfo Source
((~) * signature (m Int32), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferGetMaxLengthMethodInfo a signature |
entryBufferGetMaxLength :: (MonadIO m, EntryBufferK a) => a -> m Int32 Source
entryBufferGetText
data EntryBufferGetTextMethodInfo Source
((~) * signature (m Text), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferGetTextMethodInfo a signature |
entryBufferGetText :: (MonadIO m, EntryBufferK a) => a -> m Text Source
entryBufferInsertText
data EntryBufferInsertTextMethodInfo Source
((~) * signature (Word32 -> Text -> Int32 -> m Word32), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferInsertTextMethodInfo a signature |
entryBufferInsertText :: (MonadIO m, EntryBufferK a) => a -> Word32 -> Text -> Int32 -> m Word32 Source
entryBufferNew
entryBufferNew :: MonadIO m => Maybe Text -> Int32 -> m EntryBuffer Source
entryBufferSetMaxLength
data EntryBufferSetMaxLengthMethodInfo Source
((~) * signature (Int32 -> m ()), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferSetMaxLengthMethodInfo a signature |
entryBufferSetMaxLength :: (MonadIO m, EntryBufferK a) => a -> Int32 -> m () Source
entryBufferSetText
data EntryBufferSetTextMethodInfo Source
((~) * signature (Text -> Int32 -> m ()), MonadIO m, EntryBufferK a) => MethodInfo * EntryBufferSetTextMethodInfo a signature |
entryBufferSetText :: (MonadIO m, EntryBufferK a) => a -> Text -> Int32 -> m () Source
Properties
Length
data EntryBufferLengthPropertyInfo Source
AttrInfo EntryBufferLengthPropertyInfo | |
type AttrLabel EntryBufferLengthPropertyInfo = "length" | |
type AttrGetType EntryBufferLengthPropertyInfo = Word32 | |
type AttrBaseTypeConstraint EntryBufferLengthPropertyInfo = EntryBufferK | |
type AttrSetTypeConstraint EntryBufferLengthPropertyInfo = * ~ () | |
type AttrAllowedOps EntryBufferLengthPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
entryBufferLength :: AttrLabelProxy "length" Source
getEntryBufferLength :: (MonadIO m, EntryBufferK o) => o -> m Word32 Source
MaxLength
data EntryBufferMaxLengthPropertyInfo Source
AttrInfo EntryBufferMaxLengthPropertyInfo | |
type AttrLabel EntryBufferMaxLengthPropertyInfo = "max-length" | |
type AttrGetType EntryBufferMaxLengthPropertyInfo = Int32 | |
type AttrBaseTypeConstraint EntryBufferMaxLengthPropertyInfo = EntryBufferK | |
type AttrSetTypeConstraint EntryBufferMaxLengthPropertyInfo = * ~ Int32 | |
type AttrAllowedOps EntryBufferMaxLengthPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) |
entryBufferMaxLength :: AttrLabelProxy "maxLength" Source
getEntryBufferMaxLength :: (MonadIO m, EntryBufferK o) => o -> m Int32 Source
setEntryBufferMaxLength :: (MonadIO m, EntryBufferK o) => o -> Int32 -> m () Source
Text
data EntryBufferTextPropertyInfo Source
AttrInfo EntryBufferTextPropertyInfo | |
type AttrLabel EntryBufferTextPropertyInfo = "text" | |
type AttrGetType EntryBufferTextPropertyInfo = Text | |
type AttrBaseTypeConstraint EntryBufferTextPropertyInfo = EntryBufferK | |
type AttrSetTypeConstraint EntryBufferTextPropertyInfo = * ~ Text | |
type AttrAllowedOps EntryBufferTextPropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)))) |
clearEntryBufferText :: (MonadIO m, EntryBufferK o) => o -> m () Source
entryBufferText :: AttrLabelProxy "text" Source
getEntryBufferText :: (MonadIO m, EntryBufferK o) => o -> m Text Source
setEntryBufferText :: (MonadIO m, EntryBufferK o) => o -> Text -> m () Source
Signals
DeletedText
type EntryBufferDeletedTextCallback = Word32 -> Word32 -> IO () Source
afterEntryBufferDeletedText :: (GObject a, MonadIO m) => a -> EntryBufferDeletedTextCallback -> m SignalHandlerId Source
entryBufferDeletedTextCallbackWrapper :: EntryBufferDeletedTextCallback -> Ptr () -> Word32 -> Word32 -> Ptr () -> IO () Source
mkEntryBufferDeletedTextCallback :: EntryBufferDeletedTextCallbackC -> IO (FunPtr EntryBufferDeletedTextCallbackC) Source
onEntryBufferDeletedText :: (GObject a, MonadIO m) => a -> EntryBufferDeletedTextCallback -> m SignalHandlerId Source
InsertedText
type EntryBufferInsertedTextCallbackC = Ptr () -> Word32 -> CString -> Word32 -> Ptr () -> IO () Source
afterEntryBufferInsertedText :: (GObject a, MonadIO m) => a -> EntryBufferInsertedTextCallback -> m SignalHandlerId Source
entryBufferInsertedTextCallbackWrapper :: EntryBufferInsertedTextCallback -> Ptr () -> Word32 -> CString -> Word32 -> Ptr () -> IO () Source
mkEntryBufferInsertedTextCallback :: EntryBufferInsertedTextCallbackC -> IO (FunPtr EntryBufferInsertedTextCallbackC) Source
onEntryBufferInsertedText :: (GObject a, MonadIO m) => a -> EntryBufferInsertedTextCallback -> m SignalHandlerId Source