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

Subversion Repositories or1k

[/] [or1k/] [tags/] [start/] [insight/] [tix/] [library/] [LabFrame.tcl] - Blame information for rev 1782

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

Line No. Rev Author Line
1 578 markom
# LabFrame.tcl --
2
#
3
#       TixLabelFrame Widget: a frame box with a label
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 tixLabelFrame {
12
    -classname TixLabelFrame
13
    -superclass tixLabelWidget
14
    -method {
15
        frame
16
    }
17
    -flag {}
18
    -static {}
19
    -configspec {
20
        {-labelside labelSide LabelSide acrosstop}
21
        {-padx padX Pad 2}
22
        {-pady padY Pad 2}
23
    }
24
    -alias {}
25
    -default {
26
        {*Label.font            -Adobe-Helvetica-Bold-R-Normal--*-120-*}
27
        {*Label.anchor          c}
28
        {.frame.borderWidth     2}
29
        {.frame.relief          groove}
30
        {.border.borderWidth    2}
31
        {.border.relief         groove}
32
        {.borderWidth           2}
33
        {.padX                  2}
34
        {.padY                  2}
35
        {.anchor                sw}
36
    }
37
}
38
 
39
#----------------------------------------------------------------------
40
# Public methods
41
#----------------------------------------------------------------------
42
proc tixLabelFrame:frame {w args} {
43
 
44
    return [eval tixCallMethod $w subwidget frame $args]
45
}

powered by: WebSVN 2.1.0

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