Jump to page: 1 27  
Page
Thread overview
Tkd - Cross platform GUI toolkit based on Tcl/Tk
May 04, 2014
Gary Willoughby
May 04, 2014
Nick Sabalausky
May 04, 2014
Nick Sabalausky
May 04, 2014
Gary Willoughby
May 04, 2014
Nick Sabalausky
May 04, 2014
Nick Sabalausky
May 04, 2014
Gary Willoughby
May 04, 2014
Nick Sabalausky
May 04, 2014
Kyle Hunter
May 04, 2014
Gary Willoughby
May 05, 2014
FrankLike
May 05, 2014
Gary Willoughby
May 05, 2014
Kiith-Sa
May 05, 2014
Nick Sabalausky
May 05, 2014
Gary Willoughby
May 06, 2014
Gary Willoughby
May 04, 2014
Théo Bueno
May 06, 2014
Rémy Mouëza
May 04, 2014
w0rp
May 06, 2014
Suliman
May 06, 2014
Gary Willoughby
May 06, 2014
Jordi Sayol
May 07, 2014
John Colvin
May 07, 2014
Gary Willoughby
May 08, 2014
FrankLike
May 08, 2014
John
May 11, 2014
Kagamin
May 08, 2014
Stef Kariotidis
May 08, 2014
Gary Willoughby
May 08, 2014
Nick Sabalausky
May 08, 2014
Ben Boeckel
May 08, 2014
Nick Sabalausky
May 09, 2014
Jacob Carlborg
May 08, 2014
Sönke Ludwig
May 08, 2014
Nick Sabalausky
May 09, 2014
Tavi Cacina
May 10, 2014
Jordi Sayol
May 10, 2014
Gary Willoughby
May 11, 2014
Kagamin
May 11, 2014
Gary Willoughby
May 11, 2014
Kagamin
May 11, 2014
Gary Willoughby
May 11, 2014
Jacob Carlborg
Jun 19, 2014
SomeRiz
Jun 19, 2014
Gary Willoughby
Jun 19, 2014
SomeRiz
Jun 19, 2014
Kagamin
Jun 19, 2014
SomeRiz
Jun 20, 2014
Kagamin
Jun 20, 2014
Nick Sabalausky
Jun 23, 2014
Kagamin
Jun 19, 2014
Gary Willoughby
Jun 20, 2014
Jacob Carlborg
Jun 22, 2014
ed
Jun 23, 2014
Jacob Carlborg
Jun 23, 2014
seeker
Jun 23, 2014
Kagamin
Jun 23, 2014
Kagamin
Jun 23, 2014
ed
Jun 23, 2014
Jacob Carlborg
Jun 24, 2014
ed
Feb 07, 2015
Jack
Feb 15, 2015
Gary Willoughby
May 04, 2014
Tkd v1.0.0-beta

https://github.com/nomad-software/tkd
http://code.dlang.org/packages/tkd

Overview

Tkd is a fully cross-platform GUI toolkit based on Tcl/Tk[1]. Tkd allows you to build GUI applications easily and with the knowledge of a consistent, native look and feel on every platform.

Why Tcl/Tk?

Tkd development was initiated based on the performance and uptake of the Tkinter[2] toolkit distributed as a standard part of the Python[3] programming language. Tkinter allows developers easy access to GUI programming with very little learning. Being the de facto GUI toolkit of Python has introduced more developers to GUI application programming and increased the popularity of the language as a whole. Tkd is an attempt to provide D with the same resource.

Supported platforms

Windows
Linux
Mac OSX

Documentation

Full HTML documentation is available inside the repository.

Notes

Because Tkd is based upon Tcl/Tk and being cross-platform in nature there are limitations on what can be achieved. While not as comprehensive as gtkd or qtd, Tkd offers a smaller and lighter alternative for quickly creating native GUI applications. See the readme in the repository for more detailed information.

[1]: http://www.tcl.tk/
[2]: https://wiki.python.org/moin/TkInter
[3]: https://www.python.org/
May 04, 2014
On 5/4/2014 12:18 PM, Gary Willoughby wrote:
> Tkd v1.0.0-beta
>
> https://github.com/nomad-software/tkd
> http://code.dlang.org/packages/tkd
>

Looks great, anxious to give this a try!

BTW, on the main readme page, the links into the API docs don't appear to be working (although it might be a GitHub issue).

May 04, 2014
This looks pretty sweet. I'll have to give it a try.
May 04, 2014
On 5/4/2014 12:44 PM, Nick Sabalausky wrote:
> On 5/4/2014 12:18 PM, Gary Willoughby wrote:
>> Tkd v1.0.0-beta
>>
>> https://github.com/nomad-software/tkd
>> http://code.dlang.org/packages/tkd
>>
>
> Looks great, anxious to give this a try!
>
> BTW, on the main readme page, the links into the API docs don't appear
> to be working (although it might be a GitHub issue).
>

I'm getting compile errors building the example (Win32 DMD 2.065.0):

> dub build --config=example
## Warning for package tkd, configuration example ##

The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass custom flags
to the compiler, or use one of the suggestions below:

-Jsource/example/media: Use "stringImportPaths" to specify import paths in a compiler independent way

Checking dependencies in 'C:\DevProj\tkd'
Building configuration "example", build type debug
Running dmd (compile)...
source\tkd\interpreter\tcl.d(189): Error: not a property name.toStringz
source\tkd\interpreter\tcl.d(189): Error: not a property value.to!string
source\tkd\interpreter\tcl.d(189): Error: not a property to(value).toStringz
source\tkd\widget\common\value.d(45): Error: template instance tkd.interpreter.tcl.Tcl.setVariable!string error instantiating
source\example\example.d(36):        instantiated from here: setValue!(Entry)
source\example\example.d(36): Error: template instance tkd.widget.entry.Entry.Value!(_valueVariable, string).setValue!(Entry) error instantiating
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, _param_1, _param_2, _param_3).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property Tcl_GetStringResult(this._interpreter).to!string
source\tkd\dialog\colordialog.d(97): Error: template instance tkd.interpreter.tcl.Tcl.eval!(string, string, string) error instantiating
source\example\example.d(51):        instantiated from here: show!(ColorDialog)
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, _param_1, _param_2).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property Tcl_GetStringResult(this._interpreter).to!string
source\tkd\dialog\colordialog.d(101): Error: template instance tkd.interpreter.tcl.Tcl.eval!(string, string) error instantiating
source\example\example.d(51):        instantiated from here: show!(ColorDialog)
source\tkd\interpreter\tcl.d(130): Error: not a property Tcl_GetStringResult(this._interpreter).to!string
source\tkd\interpreter\tcl.d(132): Error: not a property result.to!string
source\tkd\dialog\colordialog.d(104): Error: template instance tkd.interpreter.tcl.Tcl.getResult!string error instantiating
source\example\example.d(51):        instantiated from here: show!(ColorDialog)
source\tkd\dialog\colordialog.d(104): Error: not a property this._tk.getResult
source\example\example.d(51): Error: template instance tkd.dialog.colordialog.ColorDialog.show!(ColorDialog) error instantiating
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, _param_1, _param_2, _param_3, _param_4).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property Tcl_GetStringResult(this._interpreter).to!string
source\tkd\dialog\directorydialog.d(111): Error: template instance tkd.interpreter.tcl.Tcl.eval!(string, string, string, bool) error instantiating
source\example\example.d(65):        instantiated from here: show!(DirectoryDialog)
source\tkd\interpreter\tcl.d(93): Error: not a property format(script, _param_1, _param_2, _param_3).toStringz
source\tkd\interpreter\tcl.d(97): Error: not a property Tcl_GetStringResult(this._interpreter).to!string
Error: Build command failed with exit code 1

Run 'dub help' for usage information.

May 04, 2014
On Sunday, 4 May 2014 at 18:20:01 UTC, Nick Sabalausky wrote:
> On 5/4/2014 12:44 PM, Nick Sabalausky wrote:
>> On 5/4/2014 12:18 PM, Gary Willoughby wrote:
>>> Tkd v1.0.0-beta
>>>
>>> https://github.com/nomad-software/tkd
>>> http://code.dlang.org/packages/tkd
>>>
>>
>> Looks great, anxious to give this a try!
>>
>> BTW, on the main readme page, the links into the API docs don't appear
>> to be working (although it might be a GitHub issue).

Strange, works fine here.


> I'm getting compile errors building the example (Win32 DMD 2.065.0):

Those errors are from the DMD -property flag being passed somewhere, have a look and remove it if you're passing it.
May 04, 2014
On 5/4/2014 2:39 PM, Gary Willoughby wrote:
> On Sunday, 4 May 2014 at 18:20:01 UTC, Nick Sabalausky wrote:
>
>> I'm getting compile errors building the example (Win32 DMD 2.065.0):
>
> Those errors are from the DMD -property flag being passed somewhere,
> have a look and remove it if you're passing it.

Oh, I must have been running an old version of dub. It used to include -property by default but no longer does. Hmm, dub doesn't seem to be telling me its version...but I'm sure it's old, I'll update it.

May 04, 2014
On 5/4/2014 3:11 PM, Nick Sabalausky wrote:
> On 5/4/2014 2:39 PM, Gary Willoughby wrote:
>> On Sunday, 4 May 2014 at 18:20:01 UTC, Nick Sabalausky wrote:
>>
>>> I'm getting compile errors building the example (Win32 DMD 2.065.0):
>>
>> Those errors are from the DMD -property flag being passed somewhere,
>> have a look and remove it if you're passing it.
>
> Oh, I must have been running an old version of dub. It used to include
> -property by default but no longer does. Hmm, dub doesn't seem to be
> telling me its version...but I'm sure it's old, I'll update it.
>

Just updated to latest DUB release (v0.9.21), but now I'm getting this:

> dub build --force --config=example
x11: ["x11"]
tcltk: ["tcltk", "x11"]
tkd: ["tkd", "tcltk", "x11"]
Building x11 configuration "library", build type debug.
Running dmd...
Building tcltk configuration "library", build type debug.
Running dmd...
..\..\Users\Nick\AppData\Roaming\dub\packages\tcltk-8.6.1\.dub\build\library-debug-windows-x86-dmd-C9527B3CFF40A7D16A18C4624EF00288\tcltk.lib: Error: multiple definition of tcl_38_307: _Tcl_Main and Tcl_Main: _Tcl_Main
FAIL ..\..\Users\Nick\AppData\Roaming\dub\packages\tcltk-8.6.1\.dub\build\library-debug-windows-x86-dmd-C9527B3CFF40A7D16A18C4624EF00288 tcltk staticLibrary
Error executing command build: DMD compile run failed with exit code 1

May 04, 2014
On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote:
> Just updated to latest DUB release (v0.9.21), but now I'm getting this:

That's building with the config 'library'. If you want to run the example build with:

dub --config=example

in the root of the tkd repo.
May 04, 2014
On 5/4/2014 3:55 PM, Gary Willoughby wrote:
> On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote:
>> Just updated to latest DUB release (v0.9.21), but now I'm getting this:
>
> That's building with the config 'library'. If you want to run the
> example build with:
>
> dub --config=example
>
> in the root of the tkd repo.

No, I did indeed use "--config=example", see my previous post. Even with your exact line above:

dub --config=example

I still get the same result.

May 04, 2014
On Sunday, 4 May 2014 at 20:47:58 UTC, Nick Sabalausky wrote:
> On 5/4/2014 3:55 PM, Gary Willoughby wrote:
>> On Sunday, 4 May 2014 at 19:19:57 UTC, Nick Sabalausky wrote:
>>> Just updated to latest DUB release (v0.9.21), but now I'm getting this:
>>
>> That's building with the config 'library'. If you want to run the
>> example build with:
>>
>> dub --config=example
>>
>> in the root of the tkd repo.
>
> No, I did indeed use "--config=example", see my previous post. Even with your exact line above:
>
> dub --config=example
>
> I still get the same result.

Same here.
« First   ‹ Prev
1 2 3 4 5 6 7