Maintainer | gtk2hs-users@lists.sourceforge.net |
---|---|
Stability | provisional |
Portability | portable (depends on GHC) |
Safe Haskell | None |
Language | Haskell98 |
- data SourceCompletionInfo
- class WindowClass o => SourceCompletionInfoClass o
- sourceCompletionInfoNew :: IO SourceCompletionInfo
- sourceCompletionInfoMoveToIter :: SourceCompletionInfoClass info => info -> TextView -> Maybe TextIter -> IO ()
- sourceCompletionInfoSetWidget :: (SourceCompletionInfoClass info, WidgetClass widget) => info -> widget -> IO ()
- sourceCompletionInfoGetWidget :: SourceCompletionInfoClass info => info -> IO Widget
- sourceCompletionInfoMaxHeight :: SourceCompletionInfoClass info => Attr info Int
- sourceCompletionInfoMaxWidth :: SourceCompletionInfoClass info => Attr info Int
- sourceCompletionInfoShrinkHeight :: SourceCompletionInfoClass info => Attr info Bool
- sourceCompletionInfoShrinkWidth :: SourceCompletionInfoClass info => Attr info Bool
- sourceCompletionInfoBeforeShow :: SourceCompletionInfoClass info => Signal info (IO ())
Description
This object can be used to show a calltip or help for the .* current completion proposal.
Types
data SourceCompletionInfo Source
class WindowClass o => SourceCompletionInfoClass o Source
Methods
sourceCompletionInfoMoveToIter Source
:: SourceCompletionInfoClass info | |
=> info | |
-> TextView |
|
-> Maybe TextIter | |
-> IO () |
Moves the SourceCompletionInfo
to iter. If iter is Nothing
info is moved to the cursor
position. Moving will respect the Gravity
setting of the info window and will ensure the line at
iter is not occluded by the window.
sourceCompletionInfoSetWidget :: (SourceCompletionInfoClass info, WidgetClass widget) => info -> widget -> IO () Source
Sets the content widget of the info window. If widget does not fit within the size requirements of
the window, a ScrolledWindow
will automatically be created and added to the window.
sourceCompletionInfoGetWidget Source
:: SourceCompletionInfoClass info | |
=> info | |
-> IO Widget | returns The current content widget. |
Get the current content widget.
Attributes
sourceCompletionInfoMaxHeight :: SourceCompletionInfoClass info => Attr info Int Source
The maximum allowed height.
Allowed values: >= GMaxulong
Default value: -1
sourceCompletionInfoMaxWidth :: SourceCompletionInfoClass info => Attr info Int Source
The maximum allowed width.
Allowed values: >= GMaxulong
Default value: -1
sourceCompletionInfoShrinkHeight :: SourceCompletionInfoClass info => Attr info Bool Source
Whether the window should shrink height to fit the contents.
Default value: True
sourceCompletionInfoShrinkWidth :: SourceCompletionInfoClass info => Attr info Bool Source
Whether the window should shrink width to fit the contents.
Default value: True
Signals
sourceCompletionInfoBeforeShow :: SourceCompletionInfoClass info => Signal info (IO ()) Source