OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [library/] [StdShell.tcl] - Blame information for rev 1778

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
# StdShell.tcl --
2
#
3
#       Standard Dialog Shell.
4
#
5
# Copyright (c) 1996, Expert Interface Technologies
6
#
7
# See the file "license.terms" for information on usage and redistribution
8
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
9
#
10
 
11
tixWidgetClass tixStdDialogShell {
12
    -classname TixStdDialogShell
13
    -superclass tixDialogShell
14
    -method {}
15
    -flag   {
16
        -cached
17
    }
18
    -configspec {
19
        {-cached cached Cached ""}
20
    }
21
}
22
 
23
proc tixStdDialogShell:ConstructWidget {w} {
24
    upvar #0 $w data
25
 
26
    tixChainMethod $w ConstructWidget
27
    set data(w:btns)   [tixStdButtonBox $w.btns]
28
    set data(w_tframe) [frame $w.tframe]
29
 
30
    pack $data(w_tframe) -side top -expand yes -fill both
31
    pack $data(w:btns) -side bottom -fill both
32
 
33
    tixCallMethod $w ConstructTopFrame $data(w_tframe)
34
}
35
 
36
 
37
# Subclasses of StdDialogShell should override this method instead of
38
# ConstructWidget.
39
#
40
# Override : always
41
# chain    : before
42
proc tixStdDialogShell:ConstructTopFrame {w frame} {
43
    # Do nothing
44
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.