Safe Haskell | None |
---|---|
Language | Haskell2010 |
- mkStyleTableEntriesPtr :: Parent a TextDisplay => Ref a -> [StyleTableEntry] -> IO (ForeignPtr [StyleTableEntry])
- indexStyleTableEntries :: [StyleTableEntry] -> [(Char, StyleTableEntry)]
- textDisplayNew :: Rectangle -> Maybe Text -> IO (Ref TextDisplay)
- textDisplayCustom :: Rectangle -> Maybe Text -> Maybe (Ref TextDisplay -> IO ()) -> Maybe (CustomWidgetFuncs TextDisplay) -> IO (Ref TextDisplay)
Documentation
mkStyleTableEntriesPtr :: Parent a TextDisplay => Ref a -> [StyleTableEntry] -> IO (ForeignPtr [StyleTableEntry]) Source #
indexStyleTableEntries :: [StyleTableEntry] -> [(Char, StyleTableEntry)] Source #
textDisplayNew :: Rectangle -> Maybe Text -> IO (Ref TextDisplay) Source #
:: Rectangle | The bounds of this TextDisplay |
-> Maybe Text | The TextDisplay label |
-> Maybe (Ref TextDisplay -> IO ()) | Optional custom drawing function |
-> Maybe (CustomWidgetFuncs TextDisplay) | Optional custom widget functions |
-> IO (Ref TextDisplay) |
Hierarchy
Graphics.UI.FLTK.LowLevel.Widget | v Graphics.UI.FLTK.LowLevel.Group | v Graphics.UI.FLTK.LowLevel.TextDisplay
Functions
colToX ::Ref
TextDisplay
->Double
->IO
(Double
) countLines ::Ref
TextDisplay
->BufferRange
->Bool
->IO
(Int
) destroy ::Ref
TextDisplay
->IO
() draw ::Ref
TextDisplay
->IO
() drawSuper ::Ref
TextDisplay
->IO
() getBuffer ::Ref
TextDisplay
->IO
(Maybe
(Ref
TextBuffer
)) getCursorColor ::Ref
TextDisplay
->IO
(Color
) getInsertPosition ::Ref
TextDisplay
->IO
BufferOffset
getLinenumberAlign ::Ref
TextDisplay
->IO
(AlignType
) getLinenumberBgcolor ::Ref
TextDisplay
->IO
(Color
) getLinenumberFgcolor ::Ref
TextDisplay
->IO
(Color
) getLinenumberFont ::Ref
TextDisplay
->IO
(Font
) getLinenumberFormat ::Ref
TextDisplay
->IO
Text
getLinenumberSize ::Ref
TextDisplay
->IO
(FontSize
) getLinenumberWidth ::Ref
TextDisplay
->IO
(Width
) getScrollbarAlign ::Ref
TextDisplay
->IO
(AlignType
) getScrollbarWidth ::Ref
TextDisplay
->IO
(Width
) getShortcut ::Ref
TextDisplay
->IO
(Maybe
ShortcutKeySequence
) getTextcolor ::Ref
TextDisplay
->IO
(Color
) getTextfont ::Ref
TextDisplay
->IO
(Font
) getTextsize ::Ref
TextDisplay
->IO
(FontSize
) handle ::Ref
TextDisplay
->Event
->IO
(Either
UnknownEvent
()) handleSuper ::Ref
TextDisplay
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
TextDisplay
->IO
() hideSuper ::Ref
TextDisplay
->IO
() highlightData:: (Parent
aTextBuffer
) =>Ref
TextDisplay
->Ref
a -> [(Char
,StyleTableEntry
]) -> 'Maybe(Char,UnfinishedStyleCb') ->IO
() inSelection ::Ref
TextDisplay
->Position
->IO
(Bool
) lineEnd ::Ref
TextDisplay
->BufferOffset
->Bool
->IO
(BufferOffset
) lineStart ::Ref
TextDisplay
->BufferOffset
->IO
(BufferOffset
) moveDown ::Ref
TextDisplay
->IO
(Either
OutOfRange
()) moveLeft ::Ref
TextDisplay
->IO
(Either
OutOfRange
()) moveRight ::Ref
TextDisplay
->IO
(Either
OutOfRange
()) moveUp ::Ref
TextDisplay
->IO
(Either
OutOfRange
()) nextWord ::Ref
TextDisplay
->IO
() overstrike ::Ref
TextDisplay
->Text
->IO
() positionStyle ::Ref
TextDisplay
->BufferOffset
->Int
->Int
->IO
TextDisplayStyle
positionToXy ::Ref
TextDisplay
->BufferOffset
->IO
(Either
OutOfRange
Position
) previousWord ::Ref
TextDisplay
->IO
() redisplayRange ::Ref
TextDisplay
->BufferRange
->IO
() resize ::Ref
TextDisplay
->Rectangle
->IO
() resizeSuper ::Ref
TextDisplay
->Rectangle
->IO
() rewindLines ::Ref
TextDisplay
->BufferOffset
->Int
->IO
(BufferOffset
) scroll ::Ref
TextDisplay
->Int
->BufferOffset
->IO
() setBuffer:: (Parent
aTextBuffer
) =>Ref
TextDisplay
->Maybe
(Ref
a ) ->IO
() setCursorColor ::Ref
TextDisplay
->Color
->IO
() setCursorStyle ::Ref
TextDisplay
->CursorType
->IO
() setInsertPosition ::Ref
TextDisplay
->BufferOffset
->IO
() setLinenumberAlign ::Ref
TextDisplay
->AlignType
->IO
() setLinenumberBgcolor ::Ref
TextDisplay
->Color
->IO
() setLinenumberFgcolor ::Ref
TextDisplay
->Color
->IO
() setLinenumberFont ::Ref
TextDisplay
->Font
->IO
() setLinenumberFormat ::Ref
TextDisplay
->Text
->IO
() setLinenumberSize ::Ref
TextDisplay
->FontSize
->IO
() setLinenumberWidth ::Ref
TextDisplay
->Width
->IO
() setScrollbarAlign ::Ref
TextDisplay
->AlignType
->IO
() setScrollbarWidth ::Ref
TextDisplay
->Width
->IO
() setShortcut ::Ref
TextDisplay
->ShortcutKeySequence
->IO
() setTextcolor ::Ref
TextDisplay
->Color
->IO
() setTextfont ::Ref
TextDisplay
->Font
->IO
() setTextsize ::Ref
TextDisplay
->FontSize
->IO
() showCursor ::Ref
TextDisplay
->Bool
->IO
() showInsertPosition ::Ref
TextDisplay
->IO
() showWidget ::Ref
TextDisplay
->IO
() showWidgetSuper ::Ref
TextDisplay
->IO
() skipLines ::Ref
TextDisplay
->BufferOffset
->Int
->Bool
->IO
(BufferOffset
) wordEnd ::Ref
TextDisplay
->BufferOffset
->IO
(BufferOffset
) wordStart ::Ref
TextDisplay
->BufferOffset
->IO
(BufferOffset
) wrapMode ::Ref
TextDisplay
->WrapType
->IO
() xToCol ::Ref
TextDisplay
->Double
->IO
(Double
)