Class: SKUI::Image
Overview
Instance Attribute Summary
Attributes inherited from Control
Attributes inherited from Base
Instance Method Summary collapse
- #file ⇒ String
-
#initialize(filename) ⇒ Image
constructor
A new instance of Image.
Methods inherited from Control
#enabled, #left, #name, #position, #release, #size, #stretch, #tab_index, #tooltip, #visible, #width, #z_index
Methods inherited from Base
#background_color, #font, #foreground_color, #inspect, #parent, #release, #to_js, #typename, #ui_id
Methods included from Events
#add_event_handler, included, #release_events, #trigger_event
Constructor Details
#initialize(filename) ⇒ Image
Returns a new instance of Image.
16 17 18 19 |
# File 'src/SKUI/image.rb', line 16 def initialize( filename ) super() @properties[ :file ] = filename end |