gtksourceview3-0.12.5.0: Binding to the GtkSourceView library.

Maintainergtk2hs-users@lists.sourceforge.net
Stabilityprovisional
Portabilityportable (depends on GHC)
Safe HaskellNone
LanguageHaskell98

Graphics.UI.Gtk.SourceView.SourceCompletionInfo

Contents

Description

 

Synopsis

Description

This object can be used to show a calltip or help for the .* current completion proposal.

Types

Methods

sourceCompletionInfoMoveToIter Source

Arguments

:: SourceCompletionInfoClass info 
=> info 
-> TextView

view A TextView on which the info window should be positioned

-> Maybe TextIter

iter A TextIter or Nothing

-> 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

Arguments

:: 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