[PREV] [NEXT] [PREV Thread] [NEXT Thread] [Index]


lusol@Turkey.CC.Lehigh.EDU
Re: Control Menu control...??

Re: Control Menu control...??

3 May 1996 18:25:09 GMT Lehigh University Computing Center
Newsgroups:
comp.lang.perl.tk
References:
<31753520.3199@wsadmin2.cv.hp.com> <4m5cla$6ku@tilde.csc.ti.com> <31890708.3AC2@wsadmin2.cv.hp.com>

     "Khile T. Klock"  wrote in article <31890708.3AC2@wsadmin2.cv.hp.com> :
>
>Fred Wagner wrote:
>> 
>> In article 3199@wsadmin2.cv.hp.com, "Khile T. Klock"  writes:
>> >Does anybody have a method for removing the "Close" option from
>> >the main Window Control Menu?
>> >
>> >I need to ensure the only way out of my application is by utilizing
>> >one of my other control buttons on the main application screen...
>> >I do NOT want the user to be able to "Close" the application from
>> >the control window and thus abort this routine....
>> 
>> Are you asking how to disable, from within Perl/Tk, the "Close" option on the
>> window menu owned and operated by whatever window manager your workstation is
>> using?
>
>That's exactly what I would like..... Yes... Is there a method for doing
>this from within Perl/Tk using calls to wm during the window setup?

	$MW->protocol('WM_DELETE_WINDOW' => sub {});


[PREV] [NEXT] [PREV Thread] [NEXT Thread] [Index]