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_cget_tkstring(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_cget_tkstring(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__!, #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_nil, num_or_nil, num_or_str, #num_or_str, number, #number, string, #string, uninstall_cmd, untrust
#kanjifont_copy, #kanjitagfont_configure, #latintagfont_configure, #latintagfont_copy, #tagfont_configinfo, #tagfont_configure, #tagfont_copy
Instance Method Details
#current_tag_configinfo(tagOrId, slot = nil) ⇒ Object
47
48
49
|
# File 'lib/tk/text.rb', line 47
def current_tag_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['tag', tagOrId], slot)
end
|
#current_window_configinfo(tagOrId, slot = nil) ⇒ Object
66
67
68
|
# File 'lib/tk/text.rb', line 66
def current_window_configinfo(tagOrId, slot=nil)
current_itemconfiginfo(['window', tagOrId], slot)
end
|
#tag_cget(tagOrId, option) ⇒ Object
35
36
37
|
# File 'lib/tk/text.rb', line 35
def tag_cget(tagOrId, option)
itemcget(['tag', tagOrId], option)
end
|
#tag_cget_strict(tagOrId, option) ⇒ Object
38
39
40
|
# File 'lib/tk/text.rb', line 38
def tag_cget_strict(tagOrId, option)
itemcget_strict(['tag', tagOrId], option)
end
|
#tag_cget_tkstring(tagOrId, option) ⇒ Object
32
33
34
|
# File 'lib/tk/text.rb', line 32
def tag_cget_tkstring(tagOrId, option)
itemcget_tkstring(['tag', tagOrId], option)
end
|
#tag_configinfo(tagOrId, slot = nil) ⇒ Object
44
45
46
|
# File 'lib/tk/text.rb', line 44
def tag_configinfo(tagOrId, slot=nil)
itemconfiginfo(['tag', tagOrId], slot)
end
|
41
42
43
|
# File 'lib/tk/text.rb', line 41
def tag_configure(tagOrId, slot, value=None)
itemconfigure(['tag', tagOrId], slot, value)
end
|
#window_cget(tagOrId, option) ⇒ Object
54
55
56
|
# File 'lib/tk/text.rb', line 54
def window_cget(tagOrId, option)
itemcget(['window', tagOrId], option)
end
|
#window_cget_strict(tagOrId, option) ⇒ Object
57
58
59
|
# File 'lib/tk/text.rb', line 57
def window_cget_strict(tagOrId, option)
itemcget_strict(['window', tagOrId], option)
end
|
#window_cget_tkstring(tagOrId, option) ⇒ Object
51
52
53
|
# File 'lib/tk/text.rb', line 51
def window_cget_tkstring(tagOrId, option)
itemcget_tkstring(['window', tagOrId], option)
end
|
#window_configinfo(tagOrId, slot = nil) ⇒ Object
63
64
65
|
# File 'lib/tk/text.rb', line 63
def window_configinfo(tagOrId, slot=nil)
itemconfiginfo(['window', tagOrId], slot)
end
|
60
61
62
|
# File 'lib/tk/text.rb', line 60
def window_configure(tagOrId, slot, value=None)
itemconfigure(['window', tagOrId], slot, value)
end
|