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

GI.Gtk.Objects.NothingAction

Description

A GtkShortcutAction that does nothing.

Synopsis

Exported types

newtype NothingAction Source #

Memory-managed wrapper type.

Constructors

NothingAction (ManagedPtr NothingAction) 

Instances

Instances details
Eq NothingAction Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

GObject NothingAction Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

ManagedPtrNewtype NothingAction Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

Methods

toManagedPtr :: NothingAction -> ManagedPtr NothingAction

TypedObject NothingAction Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

Methods

glibType :: IO GType

HasParentTypes NothingAction Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

IsGValue (Maybe NothingAction) Source #

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

Instance details

Defined in GI.Gtk.Objects.NothingAction

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes NothingAction Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

type ParentTypes NothingAction = '[ShortcutAction, Object]

class (GObject o, IsDescendantOf NothingAction o) => IsNothingAction o Source #

Type class for types which can be safely cast to NothingAction, for instance with toNothingAction.

Instances

Instances details
(GObject o, IsDescendantOf NothingAction o) => IsNothingAction o Source # 
Instance details

Defined in GI.Gtk.Objects.NothingAction

toNothingAction :: (MonadIO m, IsNothingAction o) => o -> m NothingAction Source #

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

Methods

get

nothingActionGet Source #

Arguments

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

Returns: The nothing action

Gets the nothing action.

This is an action that does nothing and where activating it always fails.