class Gio::ActionEntry
- Gio::ActionEntry
- Reference
- Object
Overview
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 nil
. 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.
Defined in:
lib/gi-crystal/src/auto/gio-2.0/action_entry.crConstructors
- .new(pointer : Pointer(Void), transfer : GICrystal::Transfer)
- .new(data : LibGio::ActionEntry, transfer : GICrystal::Transfer)
- .new(activate : Gio::Activate | Nil = nil, change_state : Gio::ChangeState | Nil = nil, padding : Enumerable(UInt64) | Nil = nil)
Instance Method Summary
-
#==(other : self) : Bool
Returns
true
if this reference is the same as other. - #activate : Gio::Activate
- #activate=(value : Gio::Activate)
- #change_state : Gio::ChangeState
- #change_state=(value : Gio::ChangeState)
- #name : String | Nil
- #name!
- #padding : Enumerable(UInt64)
- #padding=(value : Enumerable(UInt64))
- #parameter_type : String | Nil
- #parameter_type!
- #state : String | Nil
- #state!
- #to_unsafe
Constructor Detail
def self.new(activate : Gio::Activate | Nil = nil, change_state : Gio::ChangeState | Nil = nil, padding : Enumerable(UInt64) | Nil = nil)
#
Instance Method Detail
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.