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 |
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.
Synopsis
- newtype Invisible = Invisible (ManagedPtr Invisible)
- class GObject o => IsInvisible o
- toInvisible :: (MonadIO m, IsInvisible o) => o -> m Invisible
- noInvisible :: Maybe Invisible
- invisibleGetScreen :: (HasCallStack, MonadIO m, IsInvisible a) => a -> m Screen
- invisibleNew :: (HasCallStack, MonadIO m) => m Invisible
- invisibleNewForScreen :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Invisible
- invisibleSetScreen :: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) => a -> b -> m ()
- constructInvisibleScreen :: (IsInvisible o, IsScreen a) => a -> IO (GValueConstruct o)
- getInvisibleScreen :: (MonadIO m, IsInvisible o) => o -> m Screen
- setInvisibleScreen :: (MonadIO m, IsInvisible o, IsScreen a) => o -> a -> m ()
Exported types
Memory-managed wrapper type.
Instances
GObject Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible gobjectType :: Invisible -> IO GType # | |
IsImplementorIface Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
IsObject Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
IsBuildable Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
IsWidget Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible | |
IsInvisible Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible |
class GObject o => IsInvisible o Source #
Type class for types which can be safely cast to Invisible
, for instance with toInvisible
.
Instances
(GObject a, (UnknownAncestorError Invisible a :: Constraint)) => IsInvisible a Source # | |
Defined in GI.Gtk.Objects.Invisible | |
IsInvisible Invisible Source # | |
Defined in GI.Gtk.Objects.Invisible |
toInvisible :: (MonadIO m, IsInvisible o) => o -> m Invisible Source #
Methods
getScreen
:: (HasCallStack, MonadIO m, IsInvisible a) | |
=> a |
|
-> m Screen | Returns: the associated |
Returns the Screen
object associated with invisible
Since: 2.2
new
:: (HasCallStack, MonadIO m) | |
=> m Invisible | Returns: a new |
Creates a new Invisible
.
newForScreen
invisibleNewForScreen Source #
:: (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
:: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) | |
=> a |
|
-> b |
|
-> m () |
Properties
screen
No description available in the introspection data.
constructInvisibleScreen :: (IsInvisible o, IsScreen a) => a -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “screen
” property. This is rarely needed directly, but it is used by new
.
getInvisibleScreen :: (MonadIO m, IsInvisible o) => o -> m Screen Source #
Get the value of the “screen
” property.
When overloading is enabled, this is equivalent to
get
invisible #screen
setInvisibleScreen :: (MonadIO m, IsInvisible o, IsScreen a) => o -> a -> m () Source #
Set the value of the “screen
” property.
When overloading is enabled, this is equivalent to
set
invisible [ #screen:=
value ]