Module: TkTextTagConfig
Constant Summary
Constants included
from TkUtil
TkUtil::None, TkUtil::RELEASE_DATE
Instance Method Summary
collapse
-
#current_tag_configinfo(tagOrId, slot = nil) ⇒ Object
-
#current_window_configinfo(tagOrId, slot = nil) ⇒ Object
-
#tag_cget(tagOrId, option) ⇒ Object
-
#tag_cget_strict(tagOrId, option) ⇒ Object
-
#tag_configinfo(tagOrId, slot = nil) ⇒ Object
-
#tag_configure(tagOrId, slot, value = None) ⇒ Object
-
#window_cget(tagOrId, option) ⇒ Object
-
#window_cget_strict(tagOrId, option) ⇒ Object
-
#window_configinfo(tagOrId, slot = nil) ⇒ Object
-
#window_configure(tagOrId, slot, value = None) ⇒ Object
__IGNORE_UNKNOWN_CONFIGURE_OPTION__, #__check_available_itemconfigure_options, #__current_itemconfiginfo, __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!, #current_itemconfiginfo, #itemcget, #itemcget_strict, #itemconfiginfo, #itemconfigure, #tagid
#__conv_item_keyonly_opts, #itemconfig_hash_kv
Methods included from TkUtil
_conv_args, #_conv_args, #_fromUTF8, _get_eval_enc_str, #_get_eval_enc_str, #_get_eval_string, _get_eval_string, _symbolkey2str, #_symbolkey2str, #_toUTF8, bool, #bool, callback, eval_cmd, #hash_kv, hash_kv, install_cmd, num_or_str, #num_or_str, number, #number, string, #string, uninstall_cmd
#kanjifont_copy, #kanjitagfont_configure, #latintagfont_configure, #latintagfont_copy, #tagfont_configinfo, #tagfont_configure, #tagfont_copy
Instance Method Details
#current_tag_configinfo(tagOrId, slot = nil) ⇒ Object
44
45
46
|
# File 'ext/lib/tk/text.rb', line 44
def current_tag_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['tag', tagOrId], slot)
end
|
#current_window_configinfo(tagOrId, slot = nil) ⇒ Object
60
61
62
|
# File 'ext/lib/tk/text.rb', line 60
def current_window_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['window', tagOrId], slot)
end
|
#tag_cget(tagOrId, option) ⇒ Object
32
33
34
|
# File 'ext/lib/tk/text.rb', line 32
def tag_cget(tagOrId, option)
itemcget(['tag', tagOrId], option)
end
|
#tag_cget_strict(tagOrId, option) ⇒ Object
35
36
37
|
# File 'ext/lib/tk/text.rb', line 35
def tag_cget_strict(tagOrId, option)
itemcget_strict(['tag', tagOrId], option)
end
|
#tag_configinfo(tagOrId, slot = nil) ⇒ Object
41
42
43
|
# File 'ext/lib/tk/text.rb', line 41
def tag_configinfo(tagOrId, slot=nil)
itemconfiginfo(['tag', tagOrId], slot)
end
|
38
39
40
|
# File 'ext/lib/tk/text.rb', line 38
def tag_configure(tagOrId, slot, value=None)
itemconfigure(['tag', tagOrId], slot, value)
end
|
#window_cget(tagOrId, option) ⇒ Object
48
49
50
|
# File 'ext/lib/tk/text.rb', line 48
def window_cget(tagOrId, option)
itemcget(['window', tagOrId], option)
end
|
#window_cget_strict(tagOrId, option) ⇒ Object
51
52
53
|
# File 'ext/lib/tk/text.rb', line 51
def window_cget_strict(tagOrId, option)
itemcget_strict(['window', tagOrId], option)
end
|
#window_configinfo(tagOrId, slot = nil) ⇒ Object
57
58
59
|
# File 'ext/lib/tk/text.rb', line 57
def window_configinfo(tagOrId, slot=nil)
itemconfiginfo(['window', tagOrId], slot)
end
|
54
55
56
|
# File 'ext/lib/tk/text.rb', line 54
def window_configure(tagOrId, slot, value=None)
itemconfigure(['window', tagOrId], slot, value)
end
|