Class: TkTy
- Inherits:
-
Object
- Object
- TkTy
- Defined in:
- ext/ae-rad/ae-rad-inspector.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#agobj ⇒ Object
readonly
Returns the value of attribute agobj.
-
#labelhost ⇒ Object
Returns the value of attribute labelhost.
-
#prop ⇒ Object
readonly
Returns the value of attribute prop.
Instance Method Summary collapse
Instance Attribute Details
#agobj ⇒ Object (readonly)
Returns the value of attribute agobj.
12 13 14 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 12 def agobj @agobj end |
#labelhost ⇒ Object
Returns the value of attribute labelhost.
12 13 14 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 12 def labelhost @labelhost end |
#prop ⇒ Object (readonly)
Returns the value of attribute prop.
12 13 14 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 12 def prop @prop end |
Instance Method Details
#free(_updatehost = false, _text = nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'ext/ae-rad/ae-rad-inspector.rb', line 14 def free(_updatehost = false, _text = nil) if (defined? @propobj)&&(@propobj != nil) @propobj.destroy @propobj=nil end if _text @etextvalue = _text end if _updatehost and TkWinfo.exist?(@labelhost) @labelhost.configure('text' => @etextvalue) if defined? @labelhost end end |