Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- mkStyleTableEntriesPtr :: Parent a TextDisplayBase => Ref a -> [StyleTableEntry] -> IO (ForeignPtr [StyleTableEntry])
- toStyleTableEntries :: Int -> Ptr () -> IO (Maybe [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)
- drawTextDisplayBase :: Ref TextDisplayBase -> IO ()
- handleTextDisplayBase :: Ref TextDisplayBase -> Event -> IO (Either UnknownEvent ())
- resizeTextDisplayBase :: Ref TextDisplayBase -> Rectangle -> IO ()
- hideTextDisplayBase :: Ref TextDisplayBase -> IO ()
- showWidgetTextDisplayBase :: Ref TextDisplayBase -> IO ()
Documentation
mkStyleTableEntriesPtr :: Parent a TextDisplayBase => Ref a -> [StyleTableEntry] -> IO (ForeignPtr [StyleTableEntry]) Source #
toStyleTableEntries :: Int -> Ptr () -> IO (Maybe [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) |
drawTextDisplayBase :: Ref TextDisplayBase -> IO () Source #
handleTextDisplayBase :: Ref TextDisplayBase -> Event -> IO (Either UnknownEvent ()) Source #
resizeTextDisplayBase :: Ref TextDisplayBase -> Rectangle -> IO () Source #
hideTextDisplayBase :: Ref TextDisplayBase -> IO () Source #
showWidgetTextDisplayBase :: Ref TextDisplayBase -> IO () Source #
Hierarchy
Graphics.UI.FLTK.LowLevel.Base.Widget | v Graphics.UI.FLTK.LowLevel.Base.Group | v Graphics.UI.FLTK.LowLevel.Base.TextDisplay
Functions
colToX ::Ref
TextDisplayBase
->Double
->IO
(Double
) countLines ::Ref
TextDisplayBase
->IndexRange
->Bool
->IO
(Int
) destroy ::Ref
TextDisplayBase
->IO
() draw ::Ref
TextDisplayBase
->IO
() getBuffer ::Ref
TextDisplayBase
->IO
(Maybe
(Ref
TextBuffer
)) getCursorColor ::Ref
TextDisplayBase
->IO
(Color
) getInsertPosition ::Ref
TextDisplayBase
->IO
AtIndex
getLinenumberAlign ::Ref
TextDisplayBase
->IO
(AlignType
) getLinenumberBgcolor ::Ref
TextDisplayBase
->IO
(Color
) getLinenumberFgcolor ::Ref
TextDisplayBase
->IO
(Color
) getLinenumberFont ::Ref
TextDisplayBase
->IO
(Font
) getLinenumberFormat ::Ref
TextDisplayBase
->IO
Text
getLinenumberSize ::Ref
TextDisplayBase
->IO
(FontSize
) getLinenumberWidth ::Ref
TextDisplayBase
->IO
(Width
) getScrollbarAlign ::Ref
TextDisplayBase
->IO
(AlignType
) getScrollbarWidth ::Ref
TextDisplayBase
->IO
(Width
) getShortcut ::Ref
TextDisplayBase
->IO
(Maybe
ShortcutKeySequence
) getTextcolor ::Ref
TextDisplayBase
->IO
(Color
) getTextfont ::Ref
TextDisplayBase
->IO
(Font
) getTextsize ::Ref
TextDisplayBase
->IO
(FontSize
) handle ::Ref
TextDisplayBase
->Event
->IO
(Either
UnknownEvent
()) hide ::Ref
TextDisplayBase
->IO
() highlightData:: (Parent
aTextBuffer
) =>Ref
TextDisplayBase
->Ref
a -> [(Char
,StyleTableEntry
]) -> 'Maybe(Char,UnfinishedStyleCb') ->IO
() inSelection ::Ref
TextDisplayBase
->Position
->IO
(Bool
) lineEnd ::Ref
TextDisplayBase
->AtIndex
->Bool
->IO
(AtIndex
) lineStart ::Ref
TextDisplayBase
->AtIndex
->IO
(AtIndex
) moveDown ::Ref
TextDisplayBase
->IO
(Either
OutOfRange
()) moveLeft ::Ref
TextDisplayBase
->IO
(Either
OutOfRange
()) moveRight ::Ref
TextDisplayBase
->IO
(Either
OutOfRange
()) moveUp ::Ref
TextDisplayBase
->IO
(Either
OutOfRange
()) nextWord ::Ref
TextDisplayBase
->IO
() overstrike ::Ref
TextDisplayBase
->Text
->IO
() positionStyle ::Ref
TextDisplayBase
->AtIndex
->Int
->LineNumber
->IO
TextDisplayStyle
positionToXy ::Ref
TextDisplayBase
->AtIndex
->IO
(Either
OutOfRange
Position
) previousWord ::Ref
TextDisplayBase
->IO
() redisplayRange ::Ref
TextDisplayBase
->IndexRange
->IO
() resize ::Ref
TextDisplayBase
->Rectangle
->IO
() rewindLines ::Ref
TextDisplayBase
->AtIndex
->Int
->IO
(AtIndex
) scroll ::Ref
TextDisplayBase
->LineNumber
->AtIndex
->IO
() setBuffer:: (Parent
aTextBuffer
) =>Ref
TextDisplayBase
->Maybe
(Ref
a ) ->IO
() setCursorColor ::Ref
TextDisplayBase
->Color
->IO
() setCursorStyle ::Ref
TextDisplayBase
->CursorType
->IO
() setInsertPosition ::Ref
TextDisplayBase
->AtIndex
->IO
() setLinenumberAlign ::Ref
TextDisplayBase
->AlignType
->IO
() setLinenumberBgcolor ::Ref
TextDisplayBase
->Color
->IO
() setLinenumberFgcolor ::Ref
TextDisplayBase
->Color
->IO
() setLinenumberFont ::Ref
TextDisplayBase
->Font
->IO
() setLinenumberFormat ::Ref
TextDisplayBase
->Text
->IO
() setLinenumberSize ::Ref
TextDisplayBase
->FontSize
->IO
() setLinenumberWidth ::Ref
TextDisplayBase
->Width
->IO
() setScrollbarAlign ::Ref
TextDisplayBase
->AlignType
->IO
() setScrollbarWidth ::Ref
TextDisplayBase
->Width
->IO
() setShortcut ::Ref
TextDisplayBase
->ShortcutKeySequence
->IO
() setTextcolor ::Ref
TextDisplayBase
->Color
->IO
() setTextfont ::Ref
TextDisplayBase
->Font
->IO
() setTextsize ::Ref
TextDisplayBase
->FontSize
->IO
() showCursor ::Ref
TextDisplayBase
->Bool
->IO
() showInsertPosition ::Ref
TextDisplayBase
->IO
() showWidget ::Ref
TextDisplayBase
->IO
() skipLines ::Ref
TextDisplayBase
->AtIndex
->Int
->Bool
->IO
(AtIndex
) wordEnd ::Ref
TextDisplayBase
->AtIndex
->IO
(AtIndex
) wordStart ::Ref
TextDisplayBase
->AtIndex
->IO
(AtIndex
) wrapMode ::Ref
TextDisplayBase
->WrapType
->IO
() xToCol ::Ref
TextDisplayBase
->Double
->IO
(Double
) xyToPosition ::Ref
TextDisplayBase
->Position
->Maybe
PositionType
->IO
AtIndex