Class: XRCClass::Control

Inherits:
Struct
  • Object
show all
Defined in:
lib/wx_sugar/xrc/xml_class.rb

Overview

Simple struct to hold details of a individual named control

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



8
9
10
# File 'lib/wx_sugar/xrc/xml_class.rb', line 8

def name
  @name
end

#sub_classObject

Returns the value of attribute sub_class

Returns:

  • (Object)

    the current value of sub_class



8
9
10
# File 'lib/wx_sugar/xrc/xml_class.rb', line 8

def sub_class
  @sub_class
end