Check-in [3ba8aad833]

Login

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 Unified Diffs Ignore Whitespace Patch

Added tip/510.md.









































































































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# TIP 510: Add Rbc to Tk
	Author:         René Zaumseil <rzaumseil@kkg.ch>
	State:          Draft
	Type:           Project
	Vote:           
	Created:        5-Jun-2018
	Post-History:   
	Keywords:       Tk
	Tcl-Version:    8.7
-----

# Abstract

*Rbc* aka "Refactored BLT Components" provides some widgets which are missing in *Tk*.
This tip intend to add *Rbc* in the same way as *Ttk* to *Tk*.

# Rationale

*Tk* has already adopted some of *BLT/Rbc* commands.
Still missing are the widgets.

*Rbc* is available on sourceforge. But the development is stalled.

Modernizing *Rbc* and including it in *Tk* will give some great new widgets.
Using the same approach like in *Ttk* will give results in very short time.
There is also less risk because *Rbc* is already used in different projects.

# Specification

C-source code will be put in *.../generic/rbc/*
Tcl-source  code will be put in *.../library/rbc/*
Test files will be put in *.../tests/rbc/*

The *Rbc* files will be added to the makefiles.
The **Rbc__Init()** function will be added in tkWindow.c

# Discussion

Which commands should be included?
  **vector**: needed for graph
  **graph**: curve display widget
  **stripchart**: 
  **barchart**:
  **busy**: not needed, because we already have **tk busy**
  **winop**: ?

Should there be a special switch to enable compiling and including *Rbc*?

Should we change *Rbc* to some other name to prevent name clashes?

Should we export a C-interface?

See also discussion at http://wiki.tcl.tk/55360

# Implementation

A patch implementing these changes will be available in the fossil repository in the [tip-510 branch]
(https://core.tcl.tk/tk/timeline?r=tip-510).

Test/Documentation updates not yet done.

# Alternatives

- using another library with full svg support

# Copyright

This document has been placed in the public domain.