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

GI.Gtk.Objects.NeverTrigger

Description

A ShortcutTrigger that never triggers.

Synopsis

Exported types

newtype NeverTrigger Source #

Memory-managed wrapper type.

Constructors

NeverTrigger (ManagedPtr NeverTrigger) 

Instances

Instances details
Eq NeverTrigger Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

GObject NeverTrigger Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

ManagedPtrNewtype NeverTrigger Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

Methods

toManagedPtr :: NeverTrigger -> ManagedPtr NeverTrigger

TypedObject NeverTrigger Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

Methods

glibType :: IO GType

HasParentTypes NeverTrigger Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

IsGValue (Maybe NeverTrigger) Source #

Convert NeverTrigger to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gtk.Objects.NeverTrigger

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe NeverTrigger -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe NeverTrigger)

type ParentTypes NeverTrigger Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

type ParentTypes NeverTrigger = '[ShortcutTrigger, Object]

class (GObject o, IsDescendantOf NeverTrigger o) => IsNeverTrigger o Source #

Type class for types which can be safely cast to NeverTrigger, for instance with toNeverTrigger.

Instances

Instances details
(GObject o, IsDescendantOf NeverTrigger o) => IsNeverTrigger o Source # 
Instance details

Defined in GI.Gtk.Objects.NeverTrigger

toNeverTrigger :: (MonadIO m, IsNeverTrigger o) => o -> m NeverTrigger Source #

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

Methods

get

neverTriggerGet Source #

Arguments

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

Returns: The never trigger

Gets the never trigger. This is a singleton for a trigger that never triggers. Use this trigger instead of Nothing because it implements all virtual functions.