홈페이지 : http://www.satisoft.com/tcltk/gridplus/index.html
GRIDPLUS는 TCL/TK 프로그래머를 위한 GUI 화면 레이아웃 배치를 쉽게 하기 위한 패키지입니다. GRIDPLUS는 “시각적” 디자인 도구가 아닙니다. GRIDPLUS는 기존 grid 관리자를 기반으로 하여 단순화 및 확장된 “grid” 기반 레이아웃 시스템입니다. GRIDPLUS 레이아웃은 grid의 계층 구조로 정의됩니다. grid의 각 셀은 두 가지 요소로 구성됩니다. 일반적으로 텍스트 레이블과 다른 위젯입니다. 셀에 요소가 하나만 있거나 셀이 비어 있는 것도 허용됩니다. GRIDPLUS 격자를 늘려서 배치된 셀을 깔끔하게 채울 수도 있습니다. 사실상 GRIDPLUS는 grid 지오메트리 관리자의 대안 그 이상이며, 완전한 화면/창을 만드는 데 필요한 대부분의 기능을 제공합니다(전부는 아니더라도). 데이터베이스 애플리케이션을 위한 데이터 입력/업데이트/표시 양식 화면 제작을 목적으로 하지만, 다른 작업에도 유용할 수 있습니다.
GRIDPLUS is a package intended to simplify GUI screen layout development for TCL/TK programmers. GRIDPLUS is the second in a series of packages aimed at producing a framework for development/distribution of "database" applications written in TCL/TK, but I feel that some of the packages may also be of more general interest. The first package ICONS, released 2002, was originally developed to be used with GRIDPLUS.
Firstly: GRIDPLUS is not a "Visual" design tool.
GRIDPLUS is a "Grid" based layout system which builds on, simplifies and extends the existing grid manager. GRIDPLUS layouts are defined as a hierarchy of grids. Each cell in a grid consists of two elements. These will usually be a text label and some other widget such as an entry. It is also allowed to have just one element in a cell, or a cell which is empty. GRIDPLUS grids can also be stretched to neatly fill the cells in which they are positioned. While the GRIDPLUS grid can be used "native", GRIDPLUS commands exist to create grids of buttons, checkbuttons, entries, links and radiobuttons. All places where text can be displayed make use of the TCL message catalogue facility.
In effect GRIDPLUS is much more than an alternative to the grid geometry manager, it provides most, if not all, of the facilities required to build complete screens/windows. Although aimed at producing data entry/update/display form screens for database applications, it may be useful for other tasks.
package require gridplus 1.0
namespace import -force gridplus::*
gridplus entry .employee -size 8 -state disabled -title Employee {
{ID .id + >}
{Name .name 25}
{Age .age 3}
{Salary .salary}
}
gridplus button .buttons {
{Find .find} {Exit .exit}
}
gridplus layout .main -title "Test Application" {
.employee
.buttons:ew
}
pack .main
'Tcl & Tk > 확장 패키지 (Extension Package)' 카테고리의 다른 글
TclCurl 7.22.1 (0) | 2025.04.15 |
---|---|
tclperl-3.2 (0) | 2025.04.10 |
olednd (0) | 2025.04.10 |
Uuid (0) | 2025.04.10 |
oratcl 4.6 (0) | 2025.04.10 |