Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype CompletionInfo = CompletionInfo (ManagedPtr CompletionInfo)
- class (GObject o, IsDescendantOf CompletionInfo 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 :: MonadIO m => CompletionInfoBeforeShowCallback -> m (GClosure C_CompletionInfoBeforeShowCallback)
- 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.
CompletionInfo (ManagedPtr CompletionInfo) |
Instances
GObject CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo gobjectType :: IO GType | |
HasParentTypes CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo | |
type ParentTypes CompletionInfo Source # | |
Defined in GI.GtkSource.Objects.CompletionInfo type ParentTypes CompletionInfo = Window ': (Bin ': (Container ': (Widget ': (Object ': (ImplementorIface ': (Buildable ': ([] :: [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
(GObject o, IsDescendantOf CompletionInfo o) => IsCompletionInfo o 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 #
:: (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 #
:: (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
:: (HasCallStack, MonadIO m) | |
=> m CompletionInfo | Returns: a new GtkSourceCompletionInfo. |
No description available in the introspection data.
setWidget
completionInfoSetWidget Source #
:: (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 :: MonadIO m => CompletionInfoBeforeShowCallback -> m (GClosure C_CompletionInfoBeforeShowCallback) Source #
Wrap the callback into a GClosure
.
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