gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Structs.KeyfileHandlerData

Description

Opaque type with parameters for the callback. The actual content depends on the NMKeyfileHandlerType.

Since: 1.30

Synopsis

Exported types

Methods

Click to display all available methods, including inherited ones

Expand

Methods

failWithError, warnGet.

Getters

getContext.

Setters

None.

failWithError

keyfileHandlerDataFailWithError Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> KeyfileHandlerData

handlerData: the KeyfileHandlerData

-> GError

src: error to move into the return location

-> m () 

Set the error for the handler. This lets the operation fail with the provided error. You may only set the error once.

src must be non-Nothing.

Note that src is no longer valid after this call. If you want to keep using the same GError*, you need to set it to Nothing after calling this function on it.

Since: 1.30

getContext

keyfileHandlerDataGetContext Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> KeyfileHandlerData

handlerData: the KeyfileHandlerData for any event.

-> m (Maybe Text, Maybe Text, Maybe Setting, Maybe Text) 

Get context information of the current event. This function can be called on all events, but the context information may be unset.

Since: 1.30

warnGet

keyfileHandlerDataWarnGet Source #

No description available in the introspection data.

Since: 1.30