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
3013
3014
3015
|
# File 'lib/tk.rb', line 3013
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
._fromUTF8 ⇒ Object
8206
8207
8208
|
# File 'ext/tk/tcltklib.c', line 8206
static VALUE
lib_fromUTF8(argc, argv, self)
int argc;
|
._split_tklist ⇒ Object
9718
9719
9720
|
# File 'ext/tk/tcltklib.c', line 9718
static VALUE
lib_split_tklist(self, list_str)
VALUE self;
|
._subst_Tcl_backslash ⇒ Object
8320
8321
8322
|
# File 'ext/tk/tcltklib.c', line 8320
static VALUE
lib_Tcl_backslash(self, str)
VALUE self;
|
._subst_UTF_backslash ⇒ Object
8312
8313
8314
|
# File 'ext/tk/tcltklib.c', line 8312
static VALUE
lib_UTF_backslash(self, str)
VALUE self;
|
8006
8007
8008
|
# File 'ext/tk/tcltklib.c', line 8006
static VALUE
lib_toUTF8(argc, argv, self)
int argc;
|
.default_encoding=(name) ⇒ Object
3008
3009
3010
|
# File 'lib/tk.rb', line 3008
def default_encoding=(name)
TkCore::INTERP.default_encoding = name
end
|
.do_thread_callback ⇒ Object
2963
2964
2965
|
# File 'ext/tk/tcltklib.c', line 2963
static VALUE
lib_thread_callback(argc, argv, self)
int argc;
|
.encoding=(name) ⇒ Object
8340
8341
8342
|
# File 'ext/tk/tcltklib.c', line 8340
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
.encoding_name ⇒ Object
Also known as:
encoding, default_encoding
3019
3020
3021
|
# File 'lib/tk.rb', line 3019
def encoding_name
TkCore::INTERP.encoding
end
|
.encoding_system ⇒ Object
8328
8329
8330
|
# File 'ext/tk/tcltklib.c', line 8328
static VALUE
lib_get_system_encoding(self)
VALUE self;
|
.encoding_system= ⇒ Object
8340
8341
8342
|
# File 'ext/tk/tcltklib.c', line 8340
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
.force_default_encoding=(mode) ⇒ Object
3000
3001
3002
|
# File 'lib/tk.rb', line 3000
def force_default_encoding=(mode)
TkCore::INTERP.force_default_encoding = mode
end
|
.force_default_encoding? ⇒ Boolean
3004
3005
3006
|
# File 'lib/tk.rb', line 3004
def force_default_encoding?
TkCore::INTERP.force_default_encoding?
end
|
.get_eventloop_window_mode ⇒ Object
1696
1697
1698
|
# File 'ext/tk/tcltklib.c', line 1696
static VALUE
get_eventloop_window_mode(self)
VALUE self;
|
.get_release_type_name ⇒ Object
9877
9878
9879
|
# File 'ext/tk/tcltklib.c', line 9877
static VALUE
lib_get_reltype_name(self)
VALUE self;
|
.get_version ⇒ Object
9865
9866
9867
|
# File 'ext/tk/tcltklib.c', line 9865
static VALUE
lib_getversion(self)
VALUE self;
|
.mainloop_abort_on_exception ⇒ Object
1925
1926
1927
|
# File 'ext/tk/tcltklib.c', line 1925
static VALUE
lib_evloop_abort_on_exc(self)
VALUE self;
|
.mainloop_abort_on_exception= ⇒ Object
1945
1946
1947
|
# File 'ext/tk/tcltklib.c', line 1945
static VALUE
lib_evloop_abort_on_exc_set(self, val)
VALUE self, val;
|
.mainloop_thread? ⇒ Boolean
1912
1913
1914
|
# File 'ext/tk/tcltklib.c', line 1912
static VALUE
lib_evloop_thread_p(self)
VALUE self;
|
.num_of_mainwindows ⇒ Object
1991
1992
1993
|
# File 'ext/tk/tcltklib.c', line 1991
static VALUE
lib_num_of_mainwindows(self)
VALUE self;
|
.set_eventloop_window_mode ⇒ Object
1681
1682
1683
|
# File 'ext/tk/tcltklib.c', line 1681
static VALUE
set_eventloop_window_mode(self, mode)
VALUE self;
|
.set_max_block_time ⇒ Object
1879
1880
1881
|
# File 'ext/tk/tcltklib.c', line 1879
static VALUE
set_max_block_time(self, time)
VALUE self;
|