top of page

Adding Tab to GUI by TCL

  • Admin
  • Feb 12, 2024
  • 1 min read

You can add tab to your toplevel window with notebook command.


destroy .tool
toplevel .tool -width 900 -height 900
wm title .tool "tool for Hypermesh gui"
pack [hwtk::notebook .tool.nb] -fill both -expand true
.tool.nb add [frame .tool.nb.f1] -text "SHELL COMPS&PROPS"
.tool.nb add [frame .tool.nb.f2] -text "BAR COMPS&PROPS"

ree


 
 
 

Recent Posts

See All
List the files in the folder by using TCL

Here is a simple script to list all the files in a folder with or without file extension. set folder [tk_chooseDirectory -title "Select a folder"] if {$folder eq ""} { puts "No folder selected."

 
 
 
Solutions in Nastran

Here's a concise definition table for every solution type (SOL) in NASTRAN, focusing on commonly used ones. Each entry includes the SOL number, solution type, and a brief description. SOL Number Name

 
 
 

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

© 2023

 
bottom of page