Hyper View browser tab
Hi,
I am trying to create a new tab in HyperView broswer.
I was able to do that with
post browser add 'new tab' command
However, each time I run the code, the new tab always showed up on the left side. I wish to display it on the right side as in the picture below.
Is it possible to do that???
Answers
-
Where did you find syntax of 'post browser' command?
I don't know that proc but a direct way to add tab on the right
0 -
I found that command in this path:
C:\Program Files\Altair\2017\hw\tcl\hw\docs\browser.html
Please help me if you find out another way to do the task?/
0 -
Hi change 'left_proj' to 'right_proj' here
https://community.altair.com/community?id=community_question&sys_id=8646cc761b2bd0908017dc61ec4bcbfb
0 -
hi Tinh,
Thank you very much!
May I know how you can find out those codes.
I know about hwtk, but I could not find out the path of tk frame in HyperView
0 -
Hwtk utilizes itcl/itk package to generate classes & objects in OOP
You can find them out by ::itcl::find or winfo command
0 -
Thank you very much for your answer
0 -
Hi Tinh,
I am failed to use your suggested command with right_proj. Below is the code I used:
.mainFrame.center.f1.right_proj add [hwtk::pane .newTab -text 'New Tab']
Then I change 'f1' to 'f2' and it worked. I think the frame path for the right side could be different.
0