Module: TclTkLib
- Defined in:
- ext/tk/tcltklib.c,
lib/tk.rb
Defined Under Namespace
Modules: EventFlag, RELEASE_TYPE, VarAccessFlag
Constant Summary
collapse
- COMPILE_INFO =
tcltklib_compile_info()
- RELEASE_DATE =
rb_obj_freeze(rb_str_new2(tcltklib_release_date))
- FINALIZE_PROC_NAME =
rb_str_new2(finalize_hook_name)
- WINDOWING_SYSTEM =
rb_obj_freeze(rb_str_new2(TK_WINDOWING_SYSTEM))
Class Method Summary
collapse
Class Method Details
._encoding= ⇒ Object
3137
3138
3139
|
# File 'lib/tk.rb', line 3137
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
._fromUTF8 ⇒ Object
8263
8264
8265
|
# File 'ext/tk/tcltklib.c', line 8263
static VALUE
lib_fromUTF8(argc, argv, self)
int argc;
|
._split_tklist ⇒ Object
9809
9810
9811
|
# File 'ext/tk/tcltklib.c', line 9809
static VALUE
lib_split_tklist(self, list_str)
VALUE self;
|
._subst_Tcl_backslash ⇒ Object
8379
8380
8381
|
# File 'ext/tk/tcltklib.c', line 8379
static VALUE
lib_Tcl_backslash(self, str)
VALUE self;
|
._subst_UTF_backslash ⇒ Object
8371
8372
8373
|
# File 'ext/tk/tcltklib.c', line 8371
static VALUE
lib_UTF_backslash(self, str)
VALUE self;
|
8061
8062
8063
|
# File 'ext/tk/tcltklib.c', line 8061
static VALUE
lib_toUTF8(argc, argv, self)
int argc;
|
.default_encoding=(name) ⇒ Object
3132
3133
3134
|
# File 'lib/tk.rb', line 3132
def default_encoding=(name)
TkCore::INTERP.default_encoding = name
end
|
.do_thread_callback ⇒ Object
2966
2967
2968
|
# File 'ext/tk/tcltklib.c', line 2966
static VALUE
lib_thread_callback(argc, argv, self)
int argc;
|
.encoding=(name) ⇒ Object
8399
8400
8401
|
# File 'ext/tk/tcltklib.c', line 8399
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
.encoding_name ⇒ Object
Also known as:
encoding, default_encoding
3143
3144
3145
|
# File 'lib/tk.rb', line 3143
def encoding_name
TkCore::INTERP.encoding
end
|
.encoding_system ⇒ Object
8387
8388
8389
|
# File 'ext/tk/tcltklib.c', line 8387
static VALUE
lib_get_system_encoding(self)
VALUE self;
|
.encoding_system= ⇒ Object
8399
8400
8401
|
# File 'ext/tk/tcltklib.c', line 8399
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
.force_default_encoding=(mode) ⇒ Object
3124
3125
3126
|
# File 'lib/tk.rb', line 3124
def force_default_encoding=(mode)
TkCore::INTERP.force_default_encoding = mode
end
|
.force_default_encoding? ⇒ Boolean
3128
3129
3130
|
# File 'lib/tk.rb', line 3128
def force_default_encoding?
TkCore::INTERP.force_default_encoding?
end
|
.get_eventloop_window_mode ⇒ Object
1699
1700
1701
|
# File 'ext/tk/tcltklib.c', line 1699
static VALUE
get_eventloop_window_mode(self)
VALUE self;
|
.get_release_type_name ⇒ Object
9973
9974
9975
|
# File 'ext/tk/tcltklib.c', line 9973
static VALUE
lib_get_reltype_name(self)
VALUE self;
|
.get_version ⇒ Object
9961
9962
9963
|
# File 'ext/tk/tcltklib.c', line 9961
static VALUE
lib_getversion(self)
VALUE self;
|
.mainloop_abort_on_exception ⇒ Object
1928
1929
1930
|
# File 'ext/tk/tcltklib.c', line 1928
static VALUE
lib_evloop_abort_on_exc(self)
VALUE self;
|
.mainloop_abort_on_exception= ⇒ Object
1948
1949
1950
|
# File 'ext/tk/tcltklib.c', line 1948
static VALUE
lib_evloop_abort_on_exc_set(self, val)
VALUE self, val;
|
.mainloop_thread? ⇒ Boolean
1915
1916
1917
|
# File 'ext/tk/tcltklib.c', line 1915
static VALUE
lib_evloop_thread_p(self)
VALUE self;
|
.num_of_mainwindows ⇒ Object
1994
1995
1996
|
# File 'ext/tk/tcltklib.c', line 1994
static VALUE
lib_num_of_mainwindows(self)
VALUE self;
|
.set_eventloop_window_mode ⇒ Object
1684
1685
1686
|
# File 'ext/tk/tcltklib.c', line 1684
static VALUE
set_eventloop_window_mode(self, mode)
VALUE self;
|
.set_max_block_time ⇒ Object
1882
1883
1884
|
# File 'ext/tk/tcltklib.c', line 1882
static VALUE
set_max_block_time(self, time)
VALUE self;
|