gi-atk-0.2.18.13: 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) 

Instances

((~) * info (ResolveTextMethod t Text), MethodInfo * info Text p) => IsLabel t (Text -> p) Source 

Methods

fromLabel :: Proxy# Symbol t -> Text -> p

((~) * info (ResolveTextMethod t Text), MethodInfo * info Text p) => IsLabelProxy t (Text -> p) Source 

Methods

fromLabelProxy :: Proxy Symbol t -> Text -> p

type ParentTypes Text Source 
type AttributeList Text Source 
type SignalList Text Source 

Methods

textAddSelection

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

textFreeRanges

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

data TextGetTextMethodInfo Source

Instances

((~) (TYPE Lifted) signature (Int32 -> Int32 -> m Text), MonadIO m, TextK a) => MethodInfo (TYPE Lifted) TextGetTextMethodInfo a signature Source 

Methods

overloadedMethod :: MethodProxy TextGetTextMethodInfo a -> signature -> s

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