Class: HinnerSplittedDialogTitled
- Inherits:
-
HinnerSplittedDialog
- Object
- TkFrame
- HinnerDialog
- HinnerSplittedDialog
- HinnerSplittedDialogTitled
- Defined in:
- lib/a-tkcommons.rb
Instance Attribute Summary collapse
-
#hinner_frame ⇒ Object
Returns the value of attribute hinner_frame.
Attributes inherited from HinnerSplittedDialog
Instance Method Summary collapse
-
#initialize(title = nil, side = 'top', height = 100, args = nil) ⇒ HinnerSplittedDialogTitled
constructor
A new instance of HinnerSplittedDialogTitled.
Methods inherited from HinnerDialog
#is_modal?, #release, #show_modal
Constructor Details
#initialize(title = nil, side = 'top', height = 100, args = nil) ⇒ HinnerSplittedDialogTitled
Returns a new instance of HinnerSplittedDialogTitled.
2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 |
# File 'lib/a-tkcommons.rb', line 2902 def initialize(title=nil, side='top', height=100, args=nil) super(side, height, args) btf = TkLabelTitledFrameClosable.new(self.frame, title).place('x'=>0, 'y'=>0,'relheight'=>1, 'relwidth'=>1) close = proc{ self.destroy Tk.callback_break } btf.add_close_action(close) @hinner_frame = btf.frame end |
Instance Attribute Details
#hinner_frame ⇒ Object
Returns the value of attribute hinner_frame.
2901 2902 2903 |
# File 'lib/a-tkcommons.rb', line 2901 def hinner_frame @hinner_frame end |