gi-gio-2.0.9: Gio 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.Gio.Callbacks

Contents

Description

 

Synopsis

Signals

ActionEntryActivateFieldCallback

ActionEntryChangeStateFieldCallback

AsyncReadyCallback

type AsyncReadyCallback = Object -> AsyncResult -> IO () Source #

type C_AsyncReadyCallback = Ptr Object -> Ptr AsyncResult -> Ptr () -> IO () Source #

dynamic_AsyncReadyCallback :: (MonadIO m, IsObject a, IsAsyncResult b) => FunPtr C_AsyncReadyCallback -> a -> b -> Ptr () -> m () Source #

BusAcquiredCallback

BusNameAcquiredCallback

BusNameAppearedCallback

type BusNameAppearedCallback = DBusConnection -> Text -> Text -> IO () Source #

BusNameLostCallback

BusNameVanishedCallback

CancellableSourceFunc

DBusInterfaceGetPropertyFunc

type DBusInterfaceGetPropertyFunc = DBusConnection -> Text -> Text -> Text -> Text -> GError -> IO GVariant Source #

type DBusInterfaceGetPropertyFunc_WithClosures = DBusConnection -> Text -> Text -> Text -> Text -> GError -> Ptr () -> IO GVariant Source #

dynamic_DBusInterfaceGetPropertyFunc :: (MonadIO m, IsDBusConnection a) => FunPtr C_DBusInterfaceGetPropertyFunc -> a -> Text -> Text -> Text -> Text -> GError -> Ptr () -> m GVariant Source #

DBusInterfaceMethodCallFunc

type DBusInterfaceMethodCallFunc = DBusConnection -> Text -> Text -> Text -> Text -> GVariant -> DBusMethodInvocation -> IO () Source #

type DBusInterfaceMethodCallFunc_WithClosures = DBusConnection -> Text -> Text -> Text -> Text -> GVariant -> DBusMethodInvocation -> Ptr () -> IO () Source #

dynamic_DBusInterfaceMethodCallFunc :: (MonadIO m, IsDBusConnection a, IsDBusMethodInvocation b) => FunPtr C_DBusInterfaceMethodCallFunc -> a -> Text -> Text -> Text -> Text -> GVariant -> b -> Ptr () -> m () Source #

DBusInterfaceSetPropertyFunc

type DBusInterfaceSetPropertyFunc = DBusConnection -> Text -> Text -> Text -> Text -> GVariant -> GError -> IO Bool Source #

type DBusInterfaceSetPropertyFunc_WithClosures = DBusConnection -> Text -> Text -> Text -> Text -> GVariant -> GError -> Ptr () -> IO Bool Source #

dynamic_DBusInterfaceSetPropertyFunc :: (MonadIO m, IsDBusConnection a) => FunPtr C_DBusInterfaceSetPropertyFunc -> a -> Text -> Text -> Text -> Text -> GVariant -> GError -> Ptr () -> m Bool Source #

DBusMessageFilterFunction

DBusProxyTypeFunc

type DBusProxyTypeFunc = DBusObjectManagerClient -> Text -> Maybe Text -> IO GType Source #

DBusSignalCallback

type C_DBusSignalCallback = Ptr DBusConnection -> CString -> CString -> CString -> CString -> Ptr GVariant -> Ptr () -> IO () Source #

type DBusSignalCallback = DBusConnection -> Text -> Text -> Text -> Text -> GVariant -> IO () Source #

type DBusSignalCallback_WithClosures = DBusConnection -> Text -> Text -> Text -> Text -> GVariant -> Ptr () -> IO () Source #

dynamic_DBusSignalCallback :: (MonadIO m, IsDBusConnection a) => FunPtr C_DBusSignalCallback -> a -> Text -> Text -> Text -> Text -> GVariant -> Ptr () -> m () Source #

DBusSubtreeDispatchFunc

type DBusSubtreeDispatchFunc = DBusConnection -> Text -> Text -> Text -> Text -> Ptr () -> IO DBusInterfaceVTable Source #

type DBusSubtreeDispatchFunc_WithClosures = DBusConnection -> Text -> Text -> Text -> Text -> Ptr () -> Ptr () -> IO DBusInterfaceVTable Source #

DBusSubtreeIntrospectFunc

DatagramBasedSourceFunc

DesktopAppLaunchCallback

FileMeasureProgressCallback

FileProgressCallback

FileReadMoreCallback

type FileReadMoreCallback = Text -> Int64 -> Ptr () -> IO Bool Source #

IOSchedulerJobFunc

PollableSourceFunc

type C_PollableSourceFunc = Ptr Object -> Ptr () -> IO CInt Source #

type PollableSourceFunc = Object -> IO Bool Source #

ReallocFunc

type C_ReallocFunc = Ptr () -> Word64 -> IO (Ptr ()) Source #

type ReallocFunc = Ptr () -> Word64 -> IO (Ptr ()) Source #

SettingsBindGetMapping

type C_SettingsBindGetMapping = Ptr GValue -> Ptr GVariant -> Ptr () -> IO CInt Source #

type SettingsBindGetMapping = GValue -> GVariant -> IO Bool Source #

type SettingsBindGetMapping_WithClosures = GValue -> GVariant -> Ptr () -> IO Bool Source #

SettingsBindSetMapping

type C_SettingsBindSetMapping = Ptr GValue -> Ptr VariantType -> Ptr () -> IO (Ptr GVariant) Source #

type SettingsBindSetMapping = GValue -> VariantType -> IO GVariant Source #

type SettingsBindSetMapping_WithClosures = GValue -> VariantType -> Ptr () -> IO GVariant Source #

dynamic_SettingsBindSetMapping :: MonadIO m => FunPtr C_SettingsBindSetMapping -> GValue -> VariantType -> Ptr () -> m GVariant Source #

SettingsGetMapping

type C_SettingsGetMapping = Ptr GVariant -> Ptr (Ptr ()) -> Ptr () -> IO CInt Source #

type SettingsGetMapping = GVariant -> IO (Bool, Ptr ()) Source #

type SettingsGetMapping_WithClosures = GVariant -> Ptr () -> IO (Bool, Ptr ()) Source #

SimpleAsyncThreadFunc

SocketSourceFunc

type SocketSourceFunc = Socket -> [IOCondition] -> IO Bool Source #

type SocketSourceFunc_WithClosures = Socket -> [IOCondition] -> Ptr () -> IO Bool Source #

dynamic_SocketSourceFunc :: (MonadIO m, IsSocket a) => FunPtr C_SocketSourceFunc -> a -> [IOCondition] -> Ptr () -> m Bool Source #

TaskThreadFunc

type C_TaskThreadFunc = Ptr Task -> Ptr Object -> Ptr () -> Ptr Cancellable -> IO () Source #

type TaskThreadFunc = Task -> Object -> Ptr () -> Maybe Cancellable -> IO () Source #

dynamic_TaskThreadFunc :: (MonadIO m, IsTask a, IsObject b, IsCancellable c) => FunPtr C_TaskThreadFunc -> a -> b -> Ptr () -> Maybe c -> m () Source #