Methods
- G
- H
- S
- T
Included Modules
Instance Public methods
get_textborderwidth()
Link
Source: show
# File ext/tk/sample/tktextframe.rb, line 203 def get_textborderwidth @text.borderwidth end
hook_hscroll_off(wrap_mode)
Link
Source: show
# File ext/tk/sample/tktextframe.rb, line 173 def hook_hscroll_off(wrap_mode) wrap wrap_mode # => self.wrap(wrap_mode) end
hook_hscroll_on(wrap_mode=nil)
Link
def component_delegates; end private :component_delegates
Source: show
# File ext/tk/sample/tktextframe.rb, line 166 def hook_hscroll_on(wrap_mode=nil) if wrap_mode wrap wrap_mode else wrap 'none' # => self.wrap('none') end end
hscroll(mode, wrap_mode="char")
Link
Source: show
# File ext/tk/sample/tktextframe.rb, line 176 def hscroll(mode, wrap_mode="char") super end
set_textborderwidth(width)
Link
get/set borderwidth of text widget
Source: show
# File ext/tk/sample/tktextframe.rb, line 200 def set_textborderwidth(width) @text.borderwidth(width) end
textbackground(color = nil)
Link
set background color of text widget
Source: show
# File ext/tk/sample/tktextframe.rb, line 181 def textbackground(color = nil) if color @text.background(color) else @text.background end end
textbg_info()
Link
Source: show
# File ext/tk/sample/tktextframe.rb, line 189 def textbg_info info = @text.configinfo(:background) if TkComm::GET_CONFIGINFO_AS_ARRAY info[0] = 'textbackground' info else # ! TkComm::GET_CONFIGINFO_AS_ARRAY {'textbackground' => info['background']} end end