gi-gtk-4.0.5: 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

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.