|
Graphics.UI.Gtk.SourceView.SourceCompletion | Portability | portable (depends on GHC) | Stability | provisional | Maintainer | gtk2hs-users@lists.sourceforge.net |
|
|
|
|
|
Description |
|
|
Synopsis |
|
|
|
|
Types
|
|
|
Instances | |
|
|
|
| Instances | |
|
|
Methods
|
|
sourceCompletionAddProvider | Source |
|
|
|
sourceCompletionRemoveProvider | Source |
|
|
|
|
Get list of providers registered on completion. The returned list is owned by the completion and
should not be freed.
|
|
|
|
|
|
Hides the completion if it is active (visible).
|
|
|
The info widget is the window where the completion displays optional extra information of the
proposal.
|
|
|
Create a new SourceCompletionContext for completion. The position at which the completion using
the new context will consider completion can be provider by position. If position is Nothing, the
current cursor position will be used.
|
|
|
Move the completion window to a specific iter.
|
|
|
Block interactive completion. This can be used to disable interactive completion when inserting or
deleting text from the buffer associated with the completion. Use
sourceCompletionUnblockInteractive to enable interactive completion again.
|
|
|
Unblock interactive completion. This can be used after using sourceCompletionBlockInteractive
to enable interactive completion again.
|
|
Attributes
|
|
|
Number of accelerators to show for the first proposals.
Allowed values: <= 10
Default value: 5
|
|
|
Determines the popup delay (in milliseconds) at which the completion will be shown for interactive
completion.
Default value: 250
|
|
|
The scroll page size of the proposals in the completion window.
Allowed values: >= 1
Default value: 5
|
|
|
The scroll page size of the provider pages in the completion window.
Allowed values: >= 1
Default value: 5
|
|
|
Determines whether the visibility of the info window should be saved when the completion is hidden,
and restored when the completion is shown again.
Default value: False
|
|
|
Determines whether the first proposal should be selected when the completion is first shown.
Default value: True
|
|
|
Determines whether provider headers should be shown in the proposal list if there is more than one
provider with proposals.
Default value: True
|
|
|
Determines whether provider and proposal icons should be shown in the completion popup.
Default value: True
|
|
|
The SourceView bound to the completion object.
|
|
Signals
|
|
|
The activateProposal signal is a keybinding signal which gets emitted when the user initiates a
proposal activation.
Applications should not connect to it, but may emit it with gSignalEmitByName if they need to
control the proposal activation programmatically.
|
|
|
Emitted when the completion window is hidden. The default handler will actually hide the window.
|
|
|
The moveCursor signal is a keybinding signal which gets emitted when the user initiates a cursor
movement.
Applications should not connect to it, but may emit it with gSignalEmitByName if they need to
control the cursor programmatically.
|
|
|
The movePage signal is a keybinding signal which gets emitted when the user initiates a page
movement (i.e. switches between provider pages).
Applications should not connect to it, but may emit it with gSignalEmitByName if they need to
control the page selection programmatically.
|
|
|
Emitted just before starting to populate the completion with providers. You can use this signal to
add additional attributes in the context.
|
|
|
Emitted when the completion window is shown. The default handler will actually show the window.
|
|
Produced by Haddock version 2.6.1 |