Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to disable the Close(X) window button(top right corner)

Status
Not open for further replies.

GoSooJJ

Programmer
Feb 24, 2001
76
US
Hi,

I created window by Glade and python to execute it.
Now, I want to make my login window to disabled Close button locate at top right corner(X button). Also Minimize button too. I can't find the solusion this...
Oh, I tried "window.set_decorated(FALSE)" to disable the Close Window but this removes border including top right buttons. I want to have at least border so it looks ok but don't know how to draw border in python.

Any suggestion?

Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top