Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > tkライブラリ > Tkモジュール

module Tk

クラスの継承リスト: Tk < TkCore < TkComm < TkUtil < TkEvent
extend: Tk, Tk::Encoding

要約

特異メソッド

定義 説明
add_kinsoku(chars, mode = 'both')
bell(nice = false)
bell_on_display(win, nice = false)
const_missing(sym)
current_grabs(win = nil)
delete_kinsoku(chars, mode = 'both')
destroy(*wins)
errorCode
errorInfo
exit
focus(display = nil)
focus_lastfor(win)
focus_next(win)
focus_prev(win)
focus_to(win, force = false)
fromUTF8(str, encoding = nil)
grid(*args)
grid_forget(*args)
has_mainwindow?
load_tcllibrary(file, pkg_name = Tk::None, interp = Tk::None)
load_tclscript(file, enc = nil)
lower_window(win, below = Tk::None)
pack(*args)
pack_forget(*args)
pkgconfig_get(mod, key)
pkgconfig_list(mod)
place(*args)
place_forget(*args)
raise_window(win, above = Tk::None)
show_kinsoku(mode = 'both')
strictMotif(mode = Tk::None)
subst_tk_backslash(str)
subst_utf_backslash(str)
tcl_pkgconfig_get
tcl_pkgconfig_list(key)
thread_update(idle = nil)
thread_update_idletasks
tk_pkgconfig_get(key)
tk_pkgconfig_list
toUTF8(str, encoding = nil)
to_backslash_sequence(str)
ungrid(*args)
unload_tcllibrary(*args)
unpack(*args)
unplace(*args)
update(idle = nil)
update_idletasks
utf_to_backslash(str)
utf_to_backslash_sequence(str)

インスタンスメソッド

定義 説明
root
update(idle = nil)

only for backward compatibility (This never be recommended to use)

定数

定義 説明
AUTO_PATH
JAPANIZED_TK
LIBRARY_PATH
PACKAGE_PATH
TCL_LIBRARY_PATH
TCL_MAJOR_VERSION
TCL_MINOR_VERSION
TCL_PACKAGE_PATH
TCL_PATCHLEVEL
TCL_PRECISION
TCL_VERSION
TK_MAJOR_VERSION
TK_MINOR_VERSION
TK_PATCHLEVEL
TK_VERSION
Tkextlib_RELEASE_DATE

継承したメソッド

bind bind_all bind_append bind_append_all bind_remove bind_remove_all bindinfo bindinfo_all subst ::GET_CONFIGINFO_AS_ARRAY ::GET_CONFIGINFOwoRES_AS_ARRAY ::TkExtlibAutoloadModule ::Tk_CMDTBL ::Tk_IDs ::Tk_WINDOWS ::USE_TCLs_LIST_FUNCTIONS ::WidgetClassNames _tk_call_to_list_core after after_cancel after_idle appname appsend appsend_deny appsend_displayof callback_break callback_continue callback_return chooseColor chooseDirectory do_one_event event_generate getMultipleOpenFile getMultipleSaveFile getOpenFile getSaveFile get_eventloop_tick get_eventloop_weight get_no_event_wait inactive inactive_displayof info ip_eval ip_eval_with_enc ip_eval_without_enc ip_invoke ip_invoke_with_enc ip_invoke_without_enc is_mainloop? load_cmd_on_ip mainloop mainloop_exist? mainloop_thread? mainloop_watchdog messageBox rb_appsend rb_appsend_displayof reset_inactive reset_inactive_displayof restart scaling scaling_displayof set_eventloop_ticktimer_tick set_eventloop_weight set_no_event_wait tk_call tk_call_to_list tk_call_to_list_with_enc tk_call_to_list_without_enc tk_call_to_simplelist tk_call_to_simplelist_with_enc tk_call_to_simplelist_without_enc tk_call_with_enc tk_call_without_enc windowingsystem ::EventFlag ::INTERP ::WIDGET_DESTROY_HOOK install_bind install_bind_for_event_class _conv_args _fromUTF8 _get_eval_enc_str _get_eval_string _symbolkey2str _toUTF8 bool hash_kv num_or_str number string ::None ::RELEASE_DATE

追加されるメソッド

定義 説明 ライブラリ
BinaryString(str)

Tk::BinaryString.new と同じ

tk/autoload
EncodedString(str, enc = nil)

Tk::EncodedString.new と同じ

tk/autoload
UTF8_String(str)

Tk::UTF8_String.new と同じ

tk/autoload
load_tclscript_rsrc(resource_name, file = Tk::None) tk/macpkg
load_tclscript_rsrcid(resource_id, file = Tk::None) tk/macpkg