Class: Tgui::ComboBox::SignalItem
- Inherits:
-
SignalItem
- Object
- ExternObject
- Signal
- SignalItem
- Tgui::ComboBox::SignalItem
- Defined in:
- lib/white_gold/dsl/combo_box.rb
Instance Attribute Summary
Attributes inherited from ExternObject
Instance Method Summary collapse
Methods inherited from SignalItem
Methods inherited from Signal
#_abi_connect, #_abi_disconnect, #_abi_is_enabled, #_abi_set_enabled, #connect, #disconnect, #initialize, #suppress
Methods inherited from ExternObject
abi_attr, abi_bit_enum, abi_def, abi_enum, #abi_pack, abi_signal, abi_static, #abi_unpack, callback_storage, callback_storage=, data_storage=, finalizer, global_callback_storage, global_callback_storage=, #initialize, #initialized, self_abi_def, self_abi_def_setter
Methods included from Packer
#abi_pack, #abi_packer, #abi_packer_method_name
Methods included from Unpacker
#abi_unpack, #abi_unpacker, #abi_unpacker_method_name
Methods included from BangDef
Constructor Details
This class inherits a constructor from Tgui::Signal
Instance Method Details
#block_caller(&b) ⇒ Object
37 38 39 40 41 42 43 44 |
# File 'lib/white_gold/dsl/combo_box.rb', line 37 def block_caller &b Fiddle::Closure::BlockCaller.new(0, [Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP]) do |str1, str2| id = .abi_unpack_string(str2) .page.upon! do b.(.self_get_object_by_id(id), ) end end end |