| Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gio.Structs.ActionEntry
Description
This struct defines a single action. It is for use with g_action_map_add_action_entries().
The order of the items in the structure are intended to reflect frequency of use. It is permissible to use an incomplete initialiser in order to leave some of the later values as %NULL. All values after @name are optional. Additional optional fields may be added in the future.
See g_action_map_add_action_entries() for an example.
- newtype ActionEntry = ActionEntry (ForeignPtr ActionEntry)
- newZeroActionEntry :: MonadIO m => m ActionEntry
- noActionEntry :: Maybe ActionEntry
- actionEntryReadName :: ActionEntry -> IO Text
- actionEntryReadParameterType :: ActionEntry -> IO Text
- actionEntryReadState :: ActionEntry -> IO Text
Exported types
newtype ActionEntry Source
Constructors
| ActionEntry (ForeignPtr ActionEntry) |
Instances
| ((~) * info (ResolveActionEntryMethod t ActionEntry), MethodInfo * info ActionEntry p) => IsLabel t (ActionEntry -> p) Source | |
| ((~) * info (ResolveActionEntryMethod t ActionEntry), MethodInfo * info ActionEntry p) => IsLabelProxy t (ActionEntry -> p) Source | |
newZeroActionEntry :: MonadIO m => m ActionEntry Source
Construct a ActionEntry struct initialized to zero.