Module: TkTextTagConfig

Includes:
TkItemConfigMethod, TkTreatItemFont
Included in:
Tk::Iwidgets::Hierarchy, Tk::Iwidgets::Scrolledtext, Tk::Text
Defined in:
ext/lib/tk/text.rb

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, #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_str, #num_or_str, number, #number, string, #string, uninstall_cmd

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



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

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



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

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



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

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