gi-atk-0.2.16.12: Atk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Interfaces.Text

Contents

Description

 

Synopsis

Exported types

newtype Text Source

Constructors

Text (ForeignPtr Text) 

Methods

textAddSelection

textAddSelection :: (MonadIO m, TextK a) => a -> Int32 -> Int32 -> m Bool Source

textGetBoundedRanges

textGetCaretOffset

textGetCharacterAtOffset

textGetCharacterCount

textGetCharacterExtents

textGetCharacterExtents :: (MonadIO m, TextK a) => a -> Int32 -> Int32 -> Int32 -> Int32 -> Int32 -> CoordType -> m () Source

textGetDefaultAttributes

textGetNSelections

textGetOffsetAtPoint

textGetRangeExtents

textGetRunAttributes

textGetRunAttributes :: (MonadIO m, TextK a) => a -> Int32 -> m ([Ptr ()], Int32, Int32) Source

textGetSelection

textGetStringAtOffset

textGetText

textGetText :: (MonadIO m, TextK a) => a -> Int32 -> Int32 -> m Text Source

textGetTextAfterOffset

textGetTextAfterOffset :: (MonadIO m, TextK a) => a -> Int32 -> TextBoundary -> m (Text, Int32, Int32) Source

Deprecated: (Since version 2.9.3)Please use atk_text_get_string_at_offset() instead.

textGetTextAtOffset

textGetTextAtOffset :: (MonadIO m, TextK a) => a -> Int32 -> TextBoundary -> m (Text, Int32, Int32) Source

Deprecated: This method is deprecated since ATK version2.9.4. Please use atk_text_get_string_at_offset() instead.

textGetTextBeforeOffset

textGetTextBeforeOffset :: (MonadIO m, TextK a) => a -> Int32 -> TextBoundary -> m (Text, Int32, Int32) Source

Deprecated: (Since version 2.9.3)Please use atk_text_get_string_at_offset() instead.

textRemoveSelection

textSetCaretOffset

textSetSelection

textSetSelection :: (MonadIO m, TextK a) => a -> Int32 -> Int32 -> Int32 -> m Bool Source

Signals

TextAttributesChanged

TextCaretMoved

TextChanged

type TextTextChangedCallbackC = Ptr () -> Int32 -> Int32 -> Ptr () -> IO () Source

TextInsert

type TextTextInsertCallbackC = Ptr () -> Int32 -> Int32 -> CString -> Ptr () -> IO () Source

TextRemove

type TextTextRemoveCallbackC = Ptr () -> Int32 -> Int32 -> CString -> Ptr () -> IO () Source

TextSelectionChanged