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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [library/] [Shell.tcl] - Blame information for rev 1767

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

Line No. Rev Author Line
1 578 markom
# Shell.tcl --
2
#
3
#       This is the base class to all shell widget
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
#
12
# type : normal, transient, overrideredirect
13
#
14
tixWidgetClass tixShell {
15
    -superclass tixPrimitive
16
    -classname  TixShell
17
    -flag {
18
        -title
19
    }
20
    -configspec {
21
        {-title title Title ""}
22
    }
23
    -forcecall {
24
        -title
25
    }
26
}
27
 
28
#----------------------------------------------------------------------
29
# ClassInitialization:
30
#----------------------------------------------------------------------
31
proc tixShell:CreateRootWidget {w args} {
32
    upvar #0 $w data
33
    upvar #0 $data(className) classRec
34
 
35
    toplevel $w -class $data(ClassName)
36
    wm withdraw $w
37
}
38
 
39
proc tixShell:config-title {w value} {
40
    wm title $w $value
41
}

powered by: WebSVN 2.1.0

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