Class: GtkApp::SignalSupport::SignalConnection
- Inherits:
-
Object
- Object
- GtkApp::SignalSupport::SignalConnection
- Defined in:
- lib/gtk_app/signal_support.rb
Instance Attribute Summary collapse
-
#receiver_block ⇒ Object
Returns the value of attribute receiver_block.
-
#receiver_method ⇒ Object
Returns the value of attribute receiver_method.
-
#signal_name ⇒ Object
Returns the value of attribute signal_name.
-
#widget_name ⇒ Object
Returns the value of attribute widget_name.
Instance Method Summary collapse
-
#initialize(&block) ⇒ SignalConnection
constructor
A new instance of SignalConnection.
- #with {|_self| ... } ⇒ Object
Constructor Details
#initialize(&block) ⇒ SignalConnection
Returns a new instance of SignalConnection.
58 59 60 |
# File 'lib/gtk_app/signal_support.rb', line 58 def initialize(&block) instance_eval(&block) end |
Instance Attribute Details
#receiver_block ⇒ Object
Returns the value of attribute receiver_block.
56 57 58 |
# File 'lib/gtk_app/signal_support.rb', line 56 def receiver_block @receiver_block end |
#receiver_method ⇒ Object
Returns the value of attribute receiver_method.
56 57 58 |
# File 'lib/gtk_app/signal_support.rb', line 56 def receiver_method @receiver_method end |
#signal_name ⇒ Object
Returns the value of attribute signal_name.
55 56 57 |
# File 'lib/gtk_app/signal_support.rb', line 55 def signal_name @signal_name end |
#widget_name ⇒ Object
Returns the value of attribute widget_name.
55 56 57 |
# File 'lib/gtk_app/signal_support.rb', line 55 def @widget_name end |
Instance Method Details
#with {|_self| ... } ⇒ Object
62 63 64 |
# File 'lib/gtk_app/signal_support.rb', line 62 def with yield(self) end |