| 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.Gtk.Objects.Invisible
Description
The Invisible widget is used internally in GTK+, and is probably not
very useful for application developers.
It is used for reliable pointer grabs and selection handling in the code for drag-and-drop.
- newtype Invisible = Invisible (ManagedPtr Invisible)
- class GObject o => IsInvisible o
- toInvisible :: IsInvisible o => o -> IO Invisible
- noInvisible :: Maybe Invisible
- data InvisibleGetScreenMethodInfo
- invisibleGetScreen :: (HasCallStack, MonadIO m, IsInvisible a) => a -> m Screen
- invisibleNew :: (HasCallStack, MonadIO m) => m Invisible
- invisibleNewForScreen :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Invisible
- data InvisibleSetScreenMethodInfo
- invisibleSetScreen :: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) => a -> b -> m ()
- data InvisibleScreenPropertyInfo
- constructInvisibleScreen :: (IsInvisible o, IsScreen a) => a -> IO (GValueConstruct o)
- getInvisibleScreen :: (MonadIO m, IsInvisible o) => o -> m Screen
- invisibleScreen :: AttrLabelProxy "screen"
- setInvisibleScreen :: (MonadIO m, IsInvisible o, IsScreen a) => o -> a -> m ()
Exported types
Constructors
| Invisible (ManagedPtr Invisible) |
Instances
| GObject Invisible Source # | |
| IsImplementorIface Invisible Source # | |
| IsObject Invisible Source # | |
| IsWidget Invisible Source # | |
| IsBuildable Invisible Source # | |
| IsInvisible Invisible Source # | |
| ((~) * info (ResolveInvisibleMethod t Invisible), MethodInfo * info Invisible p) => IsLabel t (Invisible -> p) Source # | |
| ((~) * info (ResolveInvisibleMethod t Invisible), MethodInfo * info Invisible p) => IsLabelProxy t (Invisible -> p) Source # | |
| HasAttributeList * Invisible Source # | |
| type AttributeList Invisible Source # | |
| type SignalList Invisible Source # | |
class GObject o => IsInvisible o Source #
Instances
toInvisible :: IsInvisible o => o -> IO Invisible Source #
Methods
getScreen
data InvisibleGetScreenMethodInfo Source #
Instances
| ((~) * signature (m Screen), MonadIO m, IsInvisible a) => MethodInfo * InvisibleGetScreenMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsInvisible a) | |
| => a |
|
| -> m Screen | Returns: the associated |
Returns the Screen object associated with invisible
Since: 2.2
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m Invisible | Returns: a new |
Creates a new Invisible.
newForScreen
invisibleNewForScreen Source #
Arguments
| :: (HasCallStack, MonadIO m, IsScreen a) | |
| => a |
|
| -> m Invisible | Returns: a newly created |
Creates a new Invisible object for a specified screen
Since: 2.2
setScreen
data InvisibleSetScreenMethodInfo Source #
Instances
| ((~) * signature (b -> m ()), MonadIO m, IsInvisible a, IsScreen b) => MethodInfo * InvisibleSetScreenMethodInfo a signature Source # | |
Arguments
| :: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) | |
| => a |
|
| -> b |
|
| -> m () |
Properties
screen
data InvisibleScreenPropertyInfo Source #
Instances
constructInvisibleScreen :: (IsInvisible o, IsScreen a) => a -> IO (GValueConstruct o) Source #
getInvisibleScreen :: (MonadIO m, IsInvisible o) => o -> m Screen Source #
invisibleScreen :: AttrLabelProxy "screen" Source #
setInvisibleScreen :: (MonadIO m, IsInvisible o, IsScreen a) => o -> a -> m () Source #