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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [tests/] [general/] [pane.tcl] - Blame information for rev 1771

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

Line No. Rev Author Line
1 578 markom
# pane.tcl --
2
#
3
#       Test the PanedWindow 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
proc About {} {
12
    return "Test the PanedWindow widget."
13
}
14
 
15
proc Test {} {
16
    TestBlock pane-1.1 {tixPanedWindow -expand} {
17
        tixPanedWindow .p -orient horizontal
18
        pack .p -expand yes -fill both
19
        set p1 [.p add pane1 -expand 0.3]
20
        set p2 [.p add pane2 -expand 1]
21
        set p3 [.p add pane3 -size 20]
22
        .p config -width 300 -height 200
23
        update
24
        .p config -width 500
25
        update
26
        .p config -width 200
27
        update
28
    }
29
}

powered by: WebSVN 2.1.0

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