| Module | TclTkLib |
| In: |
tk/tcltklib.c
tk/lib/tk.rb |
| 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) |
| encoding | -> | _encoding |
| encoding= | -> | _encoding= |
execute Tk_MainLoop
/* execute Tk_MainLoop */
static VALUE
lib_mainloop(argc, argv, self)
int argc;
VALUE *argv;
VALUE self;
{
VALUE check_rootwidget;
if (rb_scan_args(argc, argv, "01", &check_rootwidget) == 0) {
check_rootwidget = Qtrue;
} else if (RTEST(check_rootwidget)) {
check_rootwidget = Qtrue;
} else {
check_rootwidget = Qfalse;
}
return lib_eventloop_launcher(RTEST(check_rootwidget), 0,
(int*)NULL, (Tcl_Interp*)NULL);
}
ruby-doc.org is hosted and run by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.
Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.
For more information on the Ruby programming language, visit ruby-lang.org.
Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.