SPUG: To kill a MainWindow

Bill Campbell bill at celestial.com
Fri Apr 6 12:59:37 CDT 2001


On Fri, Apr 06, 2001 at 10:17:09AM -0700, Brose, Eric wrote:
>Hello.
>
>I've been working with perl for win32 using the Tk module, trying to develop
>a simple GUI interface that connects to a database.  I don't really have any
>idea what I'm doing, but I've managed to get most of the core functionality
>down.
>
>One thing I have yet to overcome is how to destroy an individual window (I
>have multiple windows) without exiting the whole app.  The only command i
>can find is exit, but that destroys all windows.

If $Win is the individual window, then $Win->destroy should do the trick.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

Those who cast the vote decide nothing.
Those who count the vote decide everything. (Joseph Stalin)

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list