Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- type C_ComboRowGetEnumValueNameFunc = Ptr EnumValueObject -> Ptr () -> IO CString
- type ComboRowGetEnumValueNameFunc = EnumValueObject -> IO Text
- type ComboRowGetEnumValueNameFunc_WithClosures = EnumValueObject -> Ptr () -> IO Text
- drop_closures_ComboRowGetEnumValueNameFunc :: ComboRowGetEnumValueNameFunc -> ComboRowGetEnumValueNameFunc_WithClosures
- dynamic_ComboRowGetEnumValueNameFunc :: (HasCallStack, MonadIO m, IsEnumValueObject a) => FunPtr C_ComboRowGetEnumValueNameFunc -> a -> Ptr () -> m Text
- genClosure_ComboRowGetEnumValueNameFunc :: MonadIO m => ComboRowGetEnumValueNameFunc -> m (GClosure C_ComboRowGetEnumValueNameFunc)
- mk_ComboRowGetEnumValueNameFunc :: C_ComboRowGetEnumValueNameFunc -> IO (FunPtr C_ComboRowGetEnumValueNameFunc)
- noComboRowGetEnumValueNameFunc :: Maybe ComboRowGetEnumValueNameFunc
- noComboRowGetEnumValueNameFunc_WithClosures :: Maybe ComboRowGetEnumValueNameFunc_WithClosures
- wrap_ComboRowGetEnumValueNameFunc :: Maybe (Ptr (FunPtr C_ComboRowGetEnumValueNameFunc)) -> ComboRowGetEnumValueNameFunc_WithClosures -> C_ComboRowGetEnumValueNameFunc
- type C_ComboRowGetNameFunc = Ptr Object -> Ptr () -> IO CString
- type ComboRowGetNameFunc = Object -> IO Text
- type ComboRowGetNameFunc_WithClosures = Object -> Ptr () -> IO Text
- drop_closures_ComboRowGetNameFunc :: ComboRowGetNameFunc -> ComboRowGetNameFunc_WithClosures
- dynamic_ComboRowGetNameFunc :: (HasCallStack, MonadIO m, IsObject a) => FunPtr C_ComboRowGetNameFunc -> a -> Ptr () -> m Text
- genClosure_ComboRowGetNameFunc :: MonadIO m => ComboRowGetNameFunc -> m (GClosure C_ComboRowGetNameFunc)
- mk_ComboRowGetNameFunc :: C_ComboRowGetNameFunc -> IO (FunPtr C_ComboRowGetNameFunc)
- noComboRowGetNameFunc :: Maybe ComboRowGetNameFunc
- noComboRowGetNameFunc_WithClosures :: Maybe ComboRowGetNameFunc_WithClosures
- wrap_ComboRowGetNameFunc :: Maybe (Ptr (FunPtr C_ComboRowGetNameFunc)) -> ComboRowGetNameFunc_WithClosures -> C_ComboRowGetNameFunc
Signals
ComboRowGetEnumValueNameFunc
type C_ComboRowGetEnumValueNameFunc = Ptr EnumValueObject -> Ptr () -> IO CString Source #
Type for the callback on the (unwrapped) C side.
type ComboRowGetEnumValueNameFunc Source #
= EnumValueObject |
|
-> IO Text | Returns: a newly allocated displayable name that represents |
Called for combo rows that are bound to an enumeration with
comboRowSetForEnum
for each value from that enumeration.
type ComboRowGetEnumValueNameFunc_WithClosures Source #
= EnumValueObject |
|
-> Ptr () |
|
-> IO Text | Returns: a newly allocated displayable name that represents |
Called for combo rows that are bound to an enumeration with
comboRowSetForEnum
for each value from that enumeration.
drop_closures_ComboRowGetEnumValueNameFunc :: ComboRowGetEnumValueNameFunc -> ComboRowGetEnumValueNameFunc_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ComboRowGetEnumValueNameFunc Source #
:: (HasCallStack, MonadIO m, IsEnumValueObject a) | |
=> FunPtr C_ComboRowGetEnumValueNameFunc | |
-> a |
|
-> Ptr () |
|
-> m Text | Returns: a newly allocated displayable name that represents |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ComboRowGetEnumValueNameFunc :: MonadIO m => ComboRowGetEnumValueNameFunc -> m (GClosure C_ComboRowGetEnumValueNameFunc) Source #
Wrap the callback into a GClosure
.
mk_ComboRowGetEnumValueNameFunc :: C_ComboRowGetEnumValueNameFunc -> IO (FunPtr C_ComboRowGetEnumValueNameFunc) Source #
Generate a function pointer callable from C code, from a C_ComboRowGetEnumValueNameFunc
.
noComboRowGetEnumValueNameFunc :: Maybe ComboRowGetEnumValueNameFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ComboRowGetEnumValueNameFunc
noComboRowGetEnumValueNameFunc_WithClosures :: Maybe ComboRowGetEnumValueNameFunc_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ComboRowGetEnumValueNameFunc_WithClosures
wrap_ComboRowGetEnumValueNameFunc :: Maybe (Ptr (FunPtr C_ComboRowGetEnumValueNameFunc)) -> ComboRowGetEnumValueNameFunc_WithClosures -> C_ComboRowGetEnumValueNameFunc Source #
Wrap a ComboRowGetEnumValueNameFunc
into a C_ComboRowGetEnumValueNameFunc
.
ComboRowGetNameFunc
type C_ComboRowGetNameFunc = Ptr Object -> Ptr () -> IO CString Source #
Type for the callback on the (unwrapped) C side.
type ComboRowGetNameFunc Source #
= Object |
|
-> IO Text | Returns: a newly allocated displayable name that represents |
Called for combo rows that are bound to a ListModel
with
comboRowBindNameModel
for each item that gets added to the model.
type ComboRowGetNameFunc_WithClosures Source #
= Object |
|
-> Ptr () |
|
-> IO Text | Returns: a newly allocated displayable name that represents |
Called for combo rows that are bound to a ListModel
with
comboRowBindNameModel
for each item that gets added to the model.
drop_closures_ComboRowGetNameFunc :: ComboRowGetNameFunc -> ComboRowGetNameFunc_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_ComboRowGetNameFunc Source #
:: (HasCallStack, MonadIO m, IsObject a) | |
=> FunPtr C_ComboRowGetNameFunc | |
-> a |
|
-> Ptr () |
|
-> m Text | Returns: a newly allocated displayable name that represents |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_ComboRowGetNameFunc :: MonadIO m => ComboRowGetNameFunc -> m (GClosure C_ComboRowGetNameFunc) Source #
Wrap the callback into a GClosure
.
mk_ComboRowGetNameFunc :: C_ComboRowGetNameFunc -> IO (FunPtr C_ComboRowGetNameFunc) Source #
Generate a function pointer callable from C code, from a C_ComboRowGetNameFunc
.
noComboRowGetNameFunc :: Maybe ComboRowGetNameFunc Source #
A convenience synonym for
.Nothing
:: Maybe
ComboRowGetNameFunc
noComboRowGetNameFunc_WithClosures :: Maybe ComboRowGetNameFunc_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
ComboRowGetNameFunc_WithClosures