gi-gtk-3.0.35: Gtk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

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.

Synopsis

Exported types

newtype Invisible Source #

Memory-managed wrapper type.

Constructors

Invisible (ManagedPtr Invisible) 

Instances

Instances details
Eq Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

Methods

(==) :: Invisible -> Invisible -> Bool

(/=) :: Invisible -> Invisible -> Bool

GObject Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

ManagedPtrNewtype Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

Methods

toManagedPtr :: Invisible -> ManagedPtr Invisible

TypedObject Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

Methods

glibType :: IO GType

IsGValue Invisible Source #

Convert Invisible to and from GValue with toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.Invisible

Methods

toGValue :: Invisible -> IO GValue

fromGValue :: GValue -> IO Invisible

HasParentTypes Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

type ParentTypes Invisible Source # 
Instance details

Defined in GI.Gtk.Objects.Invisible

type ParentTypes Invisible = '[Widget, Object, ImplementorIface, Buildable]

class (GObject o, IsDescendantOf Invisible o) => IsInvisible o Source #

Type class for types which can be safely cast to Invisible, for instance with toInvisible.

Instances

Instances details
(GObject o, IsDescendantOf Invisible o) => IsInvisible o 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.

Methods

Overloaded 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, MonadIO m, IsScreen a) => a -> m (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 ]