winfo toplevel

[winfo toplevel $itk_component(hull)] configure \
         -menu $itk_component(menu)

add a menu bar into the toplevel window which containing $itk_component(hull)

.  toplevel

.c  toplevel new class c

.d widigets

posted @ 2011-07-26 02:19  greencolor  阅读(280)  评论(0编辑  收藏  举报