gi-gtksource-3.0.22: GtkSource bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.GtkSource.Objects.CompletionInfo

Description

No description available in the introspection data.

Synopsis

Exported types

newtype CompletionInfo Source #

Memory-managed wrapper type.

class (GObject o, IsDescendantOf CompletionInfo o) => IsCompletionInfo o Source #

Type class for types which can be safely cast to CompletionInfo, for instance with toCompletionInfo.

Instances

Instances details
(GObject o, IsDescendantOf CompletionInfo o) => IsCompletionInfo o Source # 
Instance details

Defined in GI.GtkSource.Objects.CompletionInfo

toCompletionInfo :: (MonadIO m, IsCompletionInfo o) => o -> m CompletionInfo Source #

Cast to CompletionInfo, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

getWidget

completionInfoGetWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionInfo a) 
=> a

info: a CompletionInfo.

-> m Widget

Returns: The current content widget.

Deprecated: (Since version 3.8)Use binGetChild instead.

Get the current content widget.

moveToIter

completionInfoMoveToIter Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionInfo a, IsTextView b) 
=> a

info: a CompletionInfo.

-> b

view: a TextView on which the info window should be positioned.

-> Maybe TextIter

iter: a TextIter.

-> m () 

Moves the CompletionInfo 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.

new

completionInfoNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> m CompletionInfo

Returns: a new GtkSourceCompletionInfo.

No description available in the introspection data.

setWidget

completionInfoSetWidget Source #

Arguments

:: (HasCallStack, MonadIO m, IsCompletionInfo a, IsWidget b) 
=> a

info: a CompletionInfo.

-> Maybe b

widget: a Widget.

-> m () 

Deprecated: (Since version 3.8)Use containerAdd instead. If there is already a childwidget, remove it with containerRemove.

Sets the content widget of the info window. See that the previous widget will lose a reference and it can be destroyed, so if you do not want this to happen you must use objectRef before calling this method.

Signals

beforeShow

type C_CompletionInfoBeforeShowCallback = Ptr () -> Ptr () -> IO () Source #

Type for the callback on the (unwrapped) C side.

type CompletionInfoBeforeShowCallback = IO () Source #

Deprecated: (Since version 3.10)This signal should not be used.

This signal is emitted before any "show" management. You can connect to this signal if you want to change some properties or position before the real "show".

afterCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> CompletionInfoBeforeShowCallback -> m SignalHandlerId Source #

Connect a signal handler for the beforeShow signal, to be run after the default handler. When overloading is enabled, this is equivalent to

after completionInfo #beforeShow callback

onCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> CompletionInfoBeforeShowCallback -> m SignalHandlerId Source #

Connect a signal handler for the beforeShow signal, to be run before the default handler. When overloading is enabled, this is equivalent to

on completionInfo #beforeShow callback