# Struct gio_sys::GActionInterface [−] [src]

    #[repr(C)]
    pub struct GActionInterface {
        pub g_iface: GTypeInterface,
        pub get_name: Option<unsafe extern "C" fn(_: *mut GAction) -> *const c_char>,
        pub get_parameter_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>,
        pub get_state_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>,
        pub get_state_hint: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>,
        pub get_enabled: Option<unsafe extern "C" fn(_: *mut GAction) -> gboolean>,
        pub get_state: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>,
        pub change_state: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>,
        pub activate: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>,
    }

## Fields

`g_iface: GTypeInterface` `get_name: Option<unsafe extern "C" fn(_: *mut GAction) -> *const c_char>` `get_parameter_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>` `get_state_type: Option<unsafe extern "C" fn(_: *mut GAction) -> *const GVariantType>` `get_state_hint: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>` `get_enabled: Option<unsafe extern "C" fn(_: *mut GAction) -> gboolean>` `get_state: Option<unsafe extern "C" fn(_: *mut GAction) -> *mut GVariant>` `change_state: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>` `activate: Option<unsafe extern "C" fn(_: *mut GAction, _: *mut GVariant)>`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
↑
  Move up in search results
↓
  Move down in search results
↹
  Switch tab
⏎
  Go to active search result
+ / -
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)