Check-in [3ba8aad833]

Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:tip 510 created
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3ba8aad8333f40f6b877cc7c3af7c3008fd2882a373a7c0ce1247e714d43a5ff
User & Date: rene 2018-06-06 05:19:07
Context
2018-06-06
05:26
tip 510 corrections check-in: 194279ad36 user: rene tags: trunk
05:19
tip 510 created check-in: 3ba8aad833 user: rene tags: trunk
2018-06-03
11:45
TIP 500 final check-in: 3f1c160e90 user: dkf tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Added tip/510.md.

            1  +# TIP 510: Add Rbc to Tk
            2  +	Author:         RenĂ© Zaumseil <[email protected]>
            3  +	State:          Draft
            4  +	Type:           Project
            5  +	Vote:           
            6  +	Created:        5-Jun-2018
            7  +	Post-History:   
            8  +	Keywords:       Tk
            9  +	Tcl-Version:    8.7
           10  +-----
           11  +
           12  +# Abstract
           13  +
           14  +*Rbc* aka "Refactored BLT Components" provides some widgets which are missing in *Tk*.
           15  +This tip intend to add *Rbc* in the same way as *Ttk* to *Tk*.
           16  +
           17  +# Rationale
           18  +
           19  +*Tk* has already adopted some of *BLT/Rbc* commands.
           20  +Still missing are the widgets.
           21  +
           22  +*Rbc* is available on sourceforge. But the development is stalled.
           23  +
           24  +Modernizing *Rbc* and including it in *Tk* will give some great new widgets.
           25  +Using the same approach like in *Ttk* will give results in very short time.
           26  +There is also less risk because *Rbc* is already used in different projects.
           27  +
           28  +# Specification
           29  +
           30  +C-source code will be put in *.../generic/rbc/*
           31  +Tcl-source  code will be put in *.../library/rbc/*
           32  +Test files will be put in *.../tests/rbc/*
           33  +
           34  +The *Rbc* files will be added to the makefiles.
           35  +The **Rbc__Init()** function will be added in tkWindow.c
           36  +
           37  +# Discussion
           38  +
           39  +Which commands should be included?
           40  +  **vector**: needed for graph
           41  +  **graph**: curve display widget
           42  +  **stripchart**: 
           43  +  **barchart**:
           44  +  **busy**: not needed, because we already have **tk busy**
           45  +  **winop**: ?
           46  +
           47  +Should there be a special switch to enable compiling and including *Rbc*?
           48  +
           49  +Should we change *Rbc* to some other name to prevent name clashes?
           50  +
           51  +Should we export a C-interface?
           52  +
           53  +See also discussion at http://wiki.tcl.tk/55360
           54  +
           55  +# Implementation
           56  +
           57  +A patch implementing these changes will be available in the fossil repository in the [tip-510 branch]
           58  +(https://core.tcl.tk/tk/timeline?r=tip-510).
           59  +
           60  +Test/Documentation updates not yet done.
           61  +
           62  +# Alternatives
           63  +
           64  +- using another library with full svg support
           65  +
           66  +# Copyright
           67  +
           68  +This document has been placed in the public domain.