May 06, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Théo Bueno | tile-qt with Qt 4.8+ uses invalid pixmaps. My fix: adding in generic/tileQt_QApp.cpp line 60, 1st line of TileQt_CreateQApp() : QApplication::setGraphicsSystem("native"); The native theme is not used on the scrollbars nor on the menus (and a few other widgets). On 05/05/2014 12:03 AM, "Théo Bueno" <munrek@gmx.com>" wrote: > On Sunday, 4 May 2014 at 18:39:19 UTC, Gary Willoughby wrote: >> Strange, works fine here. > > Works perfectly fine for me. > > ArchLinux x86_64 > DMD 2.065 > tk 8.6 > tcl 8.6 > > Switching TkTheme to "clam" makes the design much more better than the > default one. I quickly tried tile-qt ( and tile-gtk ) but both have some > problems, I will try again as this binding seems very cool and > lightweight and easy-to-use. |
May 06, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | I'm the d-apt repository maintainer <http://d-apt.sourceforge.net/>. I find Tkd very very interesting and I want to package it for Debian like systems. Please contact me privately at: g.sayol@yahoo.es Regards, -- Jordi Sayol |
May 07, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Sunday, 4 May 2014 at 16:18:53 UTC, Gary Willoughby wrote:
> 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/
What dmd frontend version are you targeting/developing with?
|
May 07, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On Wednesday, 7 May 2014 at 08:26:30 UTC, John Colvin wrote:
> What dmd frontend version are you targeting/developing with?
2.065 I'll add a note to the readme file.
|
May 08, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On Sunday, 4 May 2014 at 16:18:53 UTC, Gary Willoughby wrote:
> 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.
>
What would be the Windows executable size of a typical app or your example app using Tkd?
How is the performance when compared to other GUIs like Qt or Gtk? For example, in one application, I need to dynamically create several hundred of controls at runtime.
Thanks for the detailed Readme. Looks like it's ready for production.
|
May 08, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | Hello, Can you let the memory usage below to 3M? like the DFL? Thank you. Frank |
May 08, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | Just tested on Windows and looks very good and useful, thanks!
I have one question, is there by chance a way to extend Tk in D in order to create a grid like widget (excel, winforms grid view look alike)?
If yes any hints would be much appreciated. IMHO, two widgets are missing in Tk-Tkinter a grid as mentioned above and a web view.
Thanks again for your efforts.
Regards,
Stef K.
On Sunday, 4 May 2014 at 16:18:53 UTC, Gary Willoughby wrote:
> 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 08, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Stef Kariotidis | On Thursday, 8 May 2014 at 06:49:40 UTC, Stef Kariotidis wrote:
> I have one question, is there by chance a way to extend Tk in D in order to create a grid like widget (excel, winforms grid view look alike)?
>
> If yes any hints would be much appreciated. IMHO, two widgets are missing in Tk-Tkinter a grid as mentioned above and a web view.
These widgets are not supported in Tcl/Tk by itself but could be added at any time. The Tkinter ones (and there is many) are community written using Tkinter (in Python), Tcl or as C extensions. I guess we could do the same if there is enough demand.
Tkd is not meant to be an all singing all dancing GUI toolkit (such as Gtk or Qt) but rather a simple toolkit for simple UI's. If you need something built quickly with a simple UI (a prototype perhaps) use Tkd. If you're building the next Steam or Spotify use Qt/Gtk.
|
May 08, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On 5/8/2014 1:46 PM, Gary Willoughby wrote:
>
> If you're building the next Steam or Spotify use Qt/Gtk.
Or better yet, don't. Steam's UI is terrible. Clicking search suggestions often does nothing, the search result paging is goofy as hell and very impractical, the whole thing's absurdly sluggish, in general ignores any and all system settings, menu dropdowns open upon hover instead of click, and, oh yea, my trackpad's scrolling gestures don't even fucking work on it (they work fine on nearly anything else).
That's all just off the top of my head. From what I've seen of Tk so far, Steam would have been *far* better if it had used it instead of going to the bother of reinventing everything really, really badly. (Well, at least Steam isn't all-green anymore like it used to be :/ )
|
May 08, 2014 Re: Tkd - Cross platform GUI toolkit based on Tcl/Tk | ||||
---|---|---|---|---|
| ||||
Posted in reply to Nick Sabalausky | On Thu, May 08, 2014 at 15:41:57 -0400, Nick Sabalausky via Digitalmars-d-announce wrote:
> Or better yet, don't. Steam's UI is terrible. Clicking search suggestions often does nothing, the search result paging is goofy as hell and very impractical, the whole thing's absurdly sluggish, in general ignores any and all system settings, menu dropdowns open upon hover instead of click, and, oh yea, my trackpad's scrolling gestures don't even fucking work on it (they work fine on nearly anything else).
>
> That's all just off the top of my head. From what I've seen of Tk so far, Steam would have been *far* better if it had used it instead of going to the bother of reinventing everything really, really badly. (Well, at least Steam isn't all-green anymore like it used to be :/ )
IIRC, Steam is a Java beast, so I wouldn't go off and blame Qt/Gtk for that.
--Ben
|
Copyright © 1999-2021 by the D Language Foundation