home *** CD-ROM | disk | FTP | other *** search
- #---------------------------------------------------------------------------
- #
- # (c) Cadre Technologies Inc. 1996
- #
- # File: @(#)newmenubar.tcl 1.9
- # Author: <generated>
- # Description:
- #---------------------------------------------------------------------------
- # SccsId = @(#)newmenubar.tcl 1.9 02 Apr 1996 Copyright 1996 Cadre Technologies Inc.
-
- # Start user added include file section
- # End user added include file section
-
- require "newcustobj.tcl"
-
- Class NewMenuBarButtonDialog : {NewCustObjectDialog} {
- constructor
- method destructor
- }
-
- constructor NewMenuBarButtonDialog {class this name} {
- set this [NewCustObjectDialog::constructor $class $this $name]
- # Start constructor user section
- $this title CustMenuBarButton
- interface DlgColumn $this.DC {
- Label L {
- text "Name:"
- }
- SingleLineText nameSLT {
- }
- }
- $this okPressed {
- set name [%this.DC.nameSLT text]
- %this popDown
- [.main editorArea] newObject CustMenuBarButton \
- $name "dummyParent" [%this edit]
- }
- $this helpPressed { .main helpOnName newMenuPart }
-
- $this checkList [list "$this.DC.nameSLT textModified text"]
-
- # End constructor user section
- return $this
- }
-
- method NewMenuBarButtonDialog::destructor {this} {
- # Start destructor user section
- # End destructor user section
- $this NewCustObjectDialog::destructor
- }
-
- # Do not delete this line -- regeneration end marker
-
-