Module: TclTkLib
- Defined in:
- 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
3147
3148
3149
|
# File 'lib/tk.rb', line 3147
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
._fromUTF8 ⇒ Object
8315
8316
8317
|
# File 'tcltklib.c', line 8315
static VALUE
lib_fromUTF8(argc, argv, self)
int argc;
|
._split_tklist ⇒ Object
9864
9865
9866
|
# File 'tcltklib.c', line 9864
static VALUE
lib_split_tklist(self, list_str)
VALUE self;
|
._subst_Tcl_backslash ⇒ Object
8431
8432
8433
|
# File 'tcltklib.c', line 8431
static VALUE
lib_Tcl_backslash(self, str)
VALUE self;
|
._subst_UTF_backslash ⇒ Object
8423
8424
8425
|
# File 'tcltklib.c', line 8423
static VALUE
lib_UTF_backslash(self, str)
VALUE self;
|
8113
8114
8115
|
# File 'tcltklib.c', line 8113
static VALUE
lib_toUTF8(argc, argv, self)
int argc;
|
.default_encoding=(name) ⇒ Object
3142
3143
3144
|
# File 'lib/tk.rb', line 3142
def default_encoding=(name)
TkCore::INTERP.default_encoding = name
end
|
.do_thread_callback ⇒ Object
2959
2960
2961
|
# File 'tcltklib.c', line 2959
static VALUE
lib_thread_callback(argc, argv, self)
int argc;
|
.encoding=(name) ⇒ Object
8451
8452
8453
|
# File 'tcltklib.c', line 8451
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
.encoding_name ⇒ Object
Also known as:
encoding, default_encoding
3153
3154
3155
|
# File 'lib/tk.rb', line 3153
def encoding_name
TkCore::INTERP.encoding
end
|
.encoding_system ⇒ Object
8439
8440
8441
|
# File 'tcltklib.c', line 8439
static VALUE
lib_get_system_encoding(self)
VALUE self;
|
.encoding_system= ⇒ Object
8451
8452
8453
|
# File 'tcltklib.c', line 8451
static VALUE
lib_set_system_encoding(self, enc_name)
VALUE self;
|
.force_default_encoding=(mode) ⇒ Object
3134
3135
3136
|
# File 'lib/tk.rb', line 3134
def force_default_encoding=(mode)
TkCore::INTERP.force_default_encoding = mode
end
|
.force_default_encoding? ⇒ Boolean
3138
3139
3140
|
# File 'lib/tk.rb', line 3138
def force_default_encoding?
TkCore::INTERP.force_default_encoding?
end
|
.get_eventloop_window_mode ⇒ Object
1689
1690
1691
|
# File 'tcltklib.c', line 1689
static VALUE
get_eventloop_window_mode(self)
VALUE self;
|
.get_release_type_name ⇒ Object
10028
10029
10030
|
# File 'tcltklib.c', line 10028
static VALUE
lib_get_reltype_name(self)
VALUE self;
|
.get_version ⇒ Object
10016
10017
10018
|
# File 'tcltklib.c', line 10016
static VALUE
lib_getversion(self)
VALUE self;
|
.mainloop_abort_on_exception ⇒ Object
1921
1922
1923
|
# File 'tcltklib.c', line 1921
static VALUE
lib_evloop_abort_on_exc(self)
VALUE self;
|
.mainloop_abort_on_exception= ⇒ Object
1941
1942
1943
|
# File 'tcltklib.c', line 1941
static VALUE
lib_evloop_abort_on_exc_set(self, val)
VALUE self, val;
|
.mainloop_thread? ⇒ Boolean
1908
1909
1910
|
# File 'tcltklib.c', line 1908
static VALUE
lib_evloop_thread_p(self)
VALUE self;
|
.num_of_mainwindows ⇒ Object
1987
1988
1989
|
# File 'tcltklib.c', line 1987
static VALUE
lib_num_of_mainwindows(self)
VALUE self;
|
.set_eventloop_window_mode ⇒ Object
1674
1675
1676
|
# File 'tcltklib.c', line 1674
static VALUE
set_eventloop_window_mode(self, mode)
VALUE self;
|
.set_max_block_time ⇒ Object
1872
1873
1874
|
# File 'tcltklib.c', line 1872
static VALUE
set_max_block_time(self, time)
VALUE self;
|