Class: XRC2Ruby::ObjectTypes::ScrolledWindow

Inherits:
Container show all
Defined in:
lib/wx_sugar/xrc/xrc2ruby_types/containers.rb

Constant Summary

Constants inherited from Window

Window::BASE_NAME

Instance Attribute Summary collapse

Attributes included from Parent

#children, #main_sizer, #sizer_items

Attributes inherited from Window

#bg, #enabled, #exstyle, #fg, #help, #hidden, #tooltip

Attributes inherited from Object

#centered, #name, #parent, #sub_class, #win_class

Instance Method Summary collapse

Methods included from Parent

#add_child, #child_output, #named_windows, #output, #size_child

Methods inherited from Window

#args, #output

Methods included from InitArgs

#inherited, #init_arg, #init_args, #translatable_string_init_arg

Methods inherited from Object

#initialize, #inspect, next_id, #output, #var_name

Constructor Details

This class inherits a constructor from XRC2Ruby::ObjectTypes::Object

Instance Attribute Details

#ppuxObject

Returns the value of attribute ppux.



11
12
13
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 11

def ppux
  @ppux
end

#ppuyObject

Returns the value of attribute ppuy.



11
12
13
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 11

def ppuy
  @ppuy
end

#unitsxObject

Returns the value of attribute unitsx.



11
12
13
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 11

def unitsx
  @unitsx
end

#unitsyObject

Returns the value of attribute unitsy.



11
12
13
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 11

def unitsy
  @unitsy
end

Instance Method Details

#setupObject



12
13
14
# File 'lib/wx_sugar/xrc/xrc2ruby_types/containers.rb', line 12

def setup
  "#{var_name}.set_scrollbars(#{ppux}, #{ppuy}, #{unitsx}, #{unitsy})"
end