gi-gtk-3.0.26: Gtk bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gtk.Objects.Invisible

Contents

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.

Synopsis

Exported types

newtype Invisible Source #

Memory-managed wrapper type.

Instances
GObject Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

IsImplementorIface Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

IsObject Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

IsBuildable Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

IsWidget Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

IsInvisible Invisible Source # 
Instance details

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 # 
Instance details

Defined in GI.Gtk.Objects.Invisible

IsInvisible Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

toInvisible :: (MonadIO m, IsInvisible o) => o -> m Invisible Source #

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

noInvisible :: Maybe Invisible Source #

A convenience alias for Nothing :: Maybe Invisible.

Methods

getScreen

invisibleGetScreen Source #

Arguments

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

invisible: a Invisible.

-> m Screen

Returns: the associated Screen.

Returns the Screen object associated with invisible

Since: 2.2

new

invisibleNew Source #

Arguments

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

Returns: a new Invisible.

Creates a new Invisible.

newForScreen

invisibleNewForScreen Source #

Arguments

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

screen: a Screen which identifies on which the new Invisible will be created.

-> m Invisible

Returns: a newly created Invisible object

Creates a new Invisible object for a specified screen

Since: 2.2

setScreen

invisibleSetScreen Source #

Arguments

:: (HasCallStack, MonadIO m, IsInvisible a, IsScreen b) 
=> a

invisible: a Invisible.

-> b

screen: a Screen.

-> m () 

Sets the Screen where the Invisible object will be displayed.

Since: 2.2

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 ]