Module: TkTextTagConfig

Constant Summary

Constants included from TkUtil

TkUtil::None, TkUtil::RELEASE_DATE

Instance Method Summary collapse

Methods included from TkItemConfigMethod

__IGNORE_UNKNOWN_CONFIGURE_OPTION__, #__check_available_itemconfigure_options, #__current_itemconfiginfo, __set_IGNORE_UNKNOWN_CONFIGURE_OPTION__!, #current_itemconfiginfo, #itemcget, #itemcget_strict, #itemcget_tkstring, #itemconfiginfo, #itemconfigure, #tagid

Methods included from TkItemConfigOptkeys

#__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

Methods included from TkTreatItemFont

#kanjifont_copy, #kanjitagfont_configure, #latintagfont_configure, #latintagfont_copy, #tagfont_configinfo, #tagfont_configure, #tagfont_copy

Instance Method Details

#current_tag_configinfo(tagOrId, slot = nil) ⇒ Object


48
49
50
# File 'lib/tk/text.rb', line 48

def current_tag_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['tag', tagOrId], slot)
end

#current_window_configinfo(tagOrId, slot = nil) ⇒ Object


67
68
69
# File 'lib/tk/text.rb', line 67

def current_window_configinfo(tagOrId, slot=nil)
  current_itemconfiginfo(['window', tagOrId], slot)
end

#tag_cget(tagOrId, option) ⇒ Object


36
37
38
# File 'lib/tk/text.rb', line 36

def tag_cget(tagOrId, option)
  itemcget(['tag', tagOrId], option)
end

#tag_cget_strict(tagOrId, option) ⇒ Object


39
40
41
# File 'lib/tk/text.rb', line 39

def tag_cget_strict(tagOrId, option)
  itemcget_strict(['tag', tagOrId], option)
end

#tag_cget_tkstring(tagOrId, option) ⇒ Object


33
34
35
# File 'lib/tk/text.rb', line 33

def tag_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['tag', tagOrId], option)
end

#tag_configinfo(tagOrId, slot = nil) ⇒ Object


45
46
47
# File 'lib/tk/text.rb', line 45

def tag_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['tag', tagOrId], slot)
end

#tag_configure(tagOrId, slot, value = None) ⇒ Object


42
43
44
# File 'lib/tk/text.rb', line 42

def tag_configure(tagOrId, slot, value=None)
  itemconfigure(['tag', tagOrId], slot, value)
end

#window_cget(tagOrId, option) ⇒ Object


55
56
57
# File 'lib/tk/text.rb', line 55

def window_cget(tagOrId, option)
  itemcget(['window', tagOrId], option)
end

#window_cget_strict(tagOrId, option) ⇒ Object


58
59
60
# File 'lib/tk/text.rb', line 58

def window_cget_strict(tagOrId, option)
  itemcget_strict(['window', tagOrId], option)
end

#window_cget_tkstring(tagOrId, option) ⇒ Object


52
53
54
# File 'lib/tk/text.rb', line 52

def window_cget_tkstring(tagOrId, option)
  itemcget_tkstring(['window', tagOrId], option)
end

#window_configinfo(tagOrId, slot = nil) ⇒ Object


64
65
66
# File 'lib/tk/text.rb', line 64

def window_configinfo(tagOrId, slot=nil)
  itemconfiginfo(['window', tagOrId], slot)
end

#window_configure(tagOrId, slot, value = None) ⇒ Object


61
62
63
# File 'lib/tk/text.rb', line 61

def window_configure(tagOrId, slot, value=None)
  itemconfigure(['window', tagOrId], slot, value)
end