How to avoid the close button in Window created using Hwtk

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

i created a window using toolkit,window created but automatically toolkit creates a close button in my UI.How can i avoid that kindly guide me to solve this issue 

 

kindly find the code which i mentioned below which i used to create a window using toolkit 

 

#**********************************************************************

variable vars;
    set myWin [hwt::CreateWindow win \
        -noGeometrySaving \
        -minSize 200 50 \
        -windowtitle 'Create GUI ' \
        -post];

#**********************************************************************

 

and kindly find the attachment which i mention issue as image 

 

thanks in advance 

 

suresh vijayan 

 

<?xml version="1.0" encoding="UTF-8"?>GUI close button issue.JPG

Answers

  • tinh
    tinh Altair Community Member
    edited June 2017

    Hi

    From hw13, use hwtk instead of hwt.

    Widgets of hwtk are nicer (vista ttk styles)

    set myWin [hwtk::toplevel .myWin -title 'Create GUI']