| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.GtkSource.Objects.CompletionInfo
Description
No description available in the introspection data.
Synopsis
- newtype CompletionInfo = CompletionInfo (ManagedPtr CompletionInfo)
- class GObject o => IsCompletionInfo o
- toCompletionInfo :: (MonadIO m, IsCompletionInfo o) => o -> m CompletionInfo
- noCompletionInfo :: Maybe CompletionInfo
- completionInfoGetWidget :: (HasCallStack, MonadIO m, IsCompletionInfo a) => a -> m Widget
- completionInfoMoveToIter :: (HasCallStack, MonadIO m, IsCompletionInfo a, IsTextView b) => a -> b -> Maybe TextIter -> m ()
- completionInfoNew :: (HasCallStack, MonadIO m) => m CompletionInfo
- completionInfoSetWidget :: (HasCallStack, MonadIO m, IsCompletionInfo a, IsWidget b) => a -> Maybe b -> m ()
- type C_CompletionInfoBeforeShowCallback = Ptr () -> Ptr () -> IO ()
- type CompletionInfoBeforeShowCallback = IO ()
- afterCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> CompletionInfoBeforeShowCallback -> m SignalHandlerId
- genClosure_CompletionInfoBeforeShow :: CompletionInfoBeforeShowCallback -> IO Closure
- mk_CompletionInfoBeforeShowCallback :: C_CompletionInfoBeforeShowCallback -> IO (FunPtr C_CompletionInfoBeforeShowCallback)
- noCompletionInfoBeforeShowCallback :: Maybe CompletionInfoBeforeShowCallback
- onCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> CompletionInfoBeforeShowCallback -> m SignalHandlerId
- wrap_CompletionInfoBeforeShowCallback :: CompletionInfoBeforeShowCallback -> C_CompletionInfoBeforeShowCallback
Exported types
newtype CompletionInfo Source #
Memory-managed wrapper type.
Constructors
| CompletionInfo (ManagedPtr CompletionInfo) |
Instances
| GObject CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo Methods gobjectType :: CompletionInfo -> IO GType # | |
| IsImplementorIface CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsObject CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsWindow CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsWidget CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsContainer CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsBin CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsBuildable CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsCompletionInfo CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
class GObject o => IsCompletionInfo o Source #
Type class for types which can be safely cast to CompletionInfo, for instance with toCompletionInfo.
Instances
| (GObject a, (UnknownAncestorError CompletionInfo a :: Constraint)) => IsCompletionInfo a Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
| IsCompletionInfo CompletionInfo Source # | |
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.
noCompletionInfo :: Maybe CompletionInfo Source #
A convenience alias for Nothing :: Maybe CompletionInfo.
Methods
getWidget
completionInfoGetWidget Source #
Arguments
| :: (HasCallStack, MonadIO m, IsCompletionInfo a) | |
| => a |
|
| -> 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 |
|
| -> b |
|
| -> Maybe 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
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 |
|
| -> Maybe b |
|
| -> 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 “before-show” signal, to be run after the default handler.
When overloading is enabled, this is equivalent to
after completionInfo #beforeShow callback
genClosure_CompletionInfoBeforeShow :: CompletionInfoBeforeShowCallback -> IO Closure Source #
Wrap the callback into a Closure.
mk_CompletionInfoBeforeShowCallback :: C_CompletionInfoBeforeShowCallback -> IO (FunPtr C_CompletionInfoBeforeShowCallback) Source #
Generate a function pointer callable from C code, from a C_CompletionInfoBeforeShowCallback.
noCompletionInfoBeforeShowCallback :: Maybe CompletionInfoBeforeShowCallback Source #
A convenience synonym for .Nothing :: Maybe CompletionInfoBeforeShowCallback
onCompletionInfoBeforeShow :: (IsCompletionInfo a, MonadIO m) => a -> CompletionInfoBeforeShowCallback -> m SignalHandlerId Source #
Connect a signal handler for the “before-show” signal, to be run before the default handler.
When overloading is enabled, this is equivalent to
on completionInfo #beforeShow callback