Ruby 1.8.7 リファレンスマニュアル > ライブラリ一覧 > tk/variableライブラリ > TkVarAccessクラス
クラスの継承リスト: TkVarAccess < TkVariable < Tk < TkCore < TkComm < TkUtil < TkEvent < Comparable < Object < Kernel
Tclライブラリなどで既に定義されている変数にアクセスするためのクラスで す。((-Tclのスコープを意識して利用しないとうまくアクセスできないと思わ れる。また、現状Tclの配列にはアクセスすることはできない-))
require 'tk' p TkCore::INTERP._eval("set tclvar 1") # => 1 var = TkVarAccess.new("tclvar", 2) p TkCore::INTERP._eval("set tclvar") # => 2 var.value = 3 p TkCore::INTERP._eval("set tclvar") # => 3
定義 | 説明 | |
---|---|---|
new(name, *args)
|
Tcl変数 varname と生成したインスタンスを関連付けます。 val を指定すると値の設定も行います。 |
|
new_hash(name, *args)
|
<
<=
==
>
>=
between?
===
__id__
__send__
_dump
class
clone
dclone
display
enum_for
eql?
equal?
extend
freeze
frozen?
hash
initialize
initialize_copy
inspect
instance_eval
instance_exec
instance_of?
instance_variable_defined?
instance_variable_get
instance_variable_set
instance_variables
is_a?
marshal_dump
marshal_load
method
method_missing
methods
nil?
pretty_inspect
pretty_print
pretty_print_cycle
pretty_print_inspect
pretty_print_instance_variables
private_methods
protected_methods
public_methods
remove_instance_variable
respond_to?
singleton_method_added
singleton_method_removed
singleton_method_undefined
singleton_methods
taint
tainted?
tap
to_ary
to_hash
to_int
to_io
to_proc
to_regexp
to_str
to_yaml
to_yaml_properties
to_yaml_style
untaint
root
update
::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
%
&
*
**
+
-
/
<=>
=~
[]
[]=
bool=
bool_element
bool_type=
clear
coerce
default_element_value_type
default_proc
default_value
default_value=
default_value_type
default_value_type=
element_lappend
element_lget
element_lget_f
element_lget_i
element_lset
element_to_a
element_to_f
element_to_i
element_to_s
element_to_sym
eventloop_tkwait
eventloop_wait
exist?
id
is_hash?
is_scalar?
keys
lappend
lget
lget_f
lget_i
list
list=
list_type=
lset
nonzero?
numeric
numeric=
numeric_element
numeric_type=
numlist
numlist=
numlist_element
numlist_type=
procedure
procedure=
procedure_element
procedure_type=
ref
remove
set_bool_element
set_bool_element_type
set_default_element_value_type
set_default_value
set_element_value
set_element_value_type
set_list
set_list_element
set_list_element_type
set_numeric
set_numeric_element
set_numeric_element_type
set_numlist_element_type
set_procedure_element
set_procedure_element_type
set_string
set_string_element
set_string_element_type
set_string_type
set_symbol
set_symbol_element
set_symbol_element_type
set_symbol_type
set_value
set_value_type
set_variable
set_variable_element
set_variable_element_type
set_variable_type
set_window
set_window_element
set_window_element_type
set_window_type
size
symbol
symbol_element
thread_tkwait
thread_wait
tkwait
to_a
to_eval
to_f
to_i
to_s
trace
trace_callback
trace_element
trace_vdelete
trace_vdelete_for_element
trace_vinfo
undef_default
value
value=
variable
variable_element
wait
window
window_element
zero?
|
.callback
::TkCommandNames
::TkVar_CB_TBL
::TkVar_ID_TBL
::Tk_VARIABLE_ID
::USE_TCLs_SET_VARIABLE_FUNCTIONS