gi-atk-2.0.11: Atk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Atk.Callbacks

Contents

Description

 

Synopsis

Signals

EventListener

dynamic_EventListener Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a) 
=> FunPtr C_EventListener 
-> a

obj: An Object instance for whom the callback will be called when the specified event (e.g. 'focus:') takes place.

-> m () 

EventListenerInit

FocusHandler

type FocusHandler = Object -> Bool -> IO () Source #

Deprecated: (Since version 2.9.4)Deprecated with atk_component_add_focus_handler()and componentRemoveFocusHandler. See thosemethods for more information.

dynamic_FocusHandler Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a) 
=> FunPtr C_FocusHandler 
-> a

object: the Object that receives/lose the focus

-> Bool

focusIn: TRUE if the object receives the focus

-> m () 

Function

type C_Function = Ptr () -> IO CInt Source #

dynamic_Function Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FunPtr C_Function 
-> Ptr ()

userData: custom data defined by the user

-> m Bool

Returns: not used

KeySnoopFunc

dynamic_KeySnoopFunc Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> FunPtr C_KeySnoopFunc 
-> KeyEventStruct

event: an AtkKeyEventStruct containing information about the key event for which notification is being given.

-> Ptr ()

userData: a block of data which will be passed to the event listener, on notification.

-> m Int32

Returns: TRUE (nonzero) if the event emission should be stopped and the event discarded without being passed to the normal GUI recipient; FALSE (zero) if the event dispatch to the client application should proceed as normal.

see atk_add_key_event_listener.

PropertyChangeHandler

type PropertyChangeHandler = Object -> PropertyValues -> IO () Source #

Deprecated: Since 2.12.

dynamic_PropertyChangeHandler Source #

Arguments

:: (HasCallStack, MonadIO m, IsObject a) 
=> FunPtr C_PropertyChangeHandler 
-> a

obj: atkobject which property changes

-> PropertyValues

vals: values changed

-> m ()