Class: SKUI::Groupbox

Inherits:
Container show all
Defined in:
src/SKUI/groupbox.rb

Overview

Since:

  • 1.0.0

Instance Attribute Summary

Attributes included from ControlManager

#controls

Attributes inherited from Control

#rect

Attributes inherited from Base

#properties, #window

Instance Method Summary collapse

Methods included from ControlManager

#add_control, #find_control_by_name, #find_control_by_ui_id, #release, #remove_control

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(label = '') ⇒ Groupbox

Returns a new instance of Groupbox.

Parameters:

  • label (String) (defaults to: '')

Since:

  • 1.0.0



16
17
18
19
# File 'src/SKUI/groupbox.rb', line 16

def initialize( label = '' )
  super()
  @properties[ :label ] = label
end

Instance Method Details

#labelString

Returns:

  • (String)

Since:

  • 1.0.0



11
# File 'src/SKUI/groupbox.rb', line 11

prop( :label, &TypeCheck::STRING )