Hello,
I would like to still go one step further and try to build a mega-widget
framework based on DOM trees composed of elements as described below so
that you get themes for widgets by composing elements like in tile and
by configuring them by something similar to css styles (perhaps
something like dicts with the appropriate infos and good selectors
similar to/like the XPATH selectors).
That is surely something for Tk 9.0 or later. Using mega-widgets of that
kind would allow a user in best case to only provide css like style info
and nevertheless an experienced user has full access to every path. For
that it is also necessary like with existing Tk to have good defaults.
Another advantage would be: people used to Javascript, DOM and CSS could
start faster with Tk as that uses similar techniques. Maybe that would
help in getting more people involved using Tcl/Tk?
And if the http://wiki.tcl.tk/28092 Tcl Firefox Scripting and DOM Access
would be done, you could use very similar code to build browser widgets
and to build Tk clients the same way.
Going that direction it would be also useful to get rid of X as far as
possible and to have a meta layer, which would allow to perhaps base on
one (or more than one) different window systems (I admit, I am no expert
in that direction just some ideas).
That is not meant as a GSoC work, but as an own project!! Or you split
it down to smaller parts, then it would be possible.
just my 2 cents.
Arnulf (apw)
Am 13.03.2011 08:48, schrieb Thomas Perschak:
> Hi all,> > "... A mega-widget framework in the core, and a standard mechanism to allow> widgets (including built-in widgets) to be extended ..."> > A very nice way to create mega-widgets 'would' exists in ttk by using > elements. I already tried and played with the "ttk::style layout" and placed > foreign elements into other widgets e.g. place the scroll-bar elements > inside the entry. Unfort. ttk seems not to be designed for that idea as it's > missing special element manipulation. The point is - for me this would be > the 'great' improvement that other languages don't have up to now.> http://groups.google.com/group/comp.lang.tcl/browse_thread/thread/e820331e1cc00c5d?hl=en#> > One thing I would like to know: Does TCL have sponsors that actively support > developers by wish-list versus money? Could ActiveState bee seen as > something like this? Is ActiveState the only one?> My point is - OpenSource is nice - but I do really believe that this > "everything's free mentality" will burn down individualists and throw them > away leaving nothing but void behind.> > thomas> > > > > > -----Original Message----- > From: Twylite> Sent: Friday, March 11, 2011 8:37 AM> To: k...@codebykevin.com> Cc: tcl-...@lists.sourceforge.net> Subject: Re: [TCLCORE] Tcl GSoC 2011 - Ideas anyone ?> > On 2011/03/11 03:52 AM, Kevin Walzer wrote:>> What, exactly, is it>> missing, except for modern HTML bindings and native printing?>> (Admittedly, HTML and native printing are big ones.)> > A mega-widget framework in the core, and a standard mechanism to allow> widgets (including built-in widgets) to be extended. i.e. without> reinventing the wheel all the time, and without unexpected interactions> between independent extensions because the all have to do various> hook/chain/rename hacks.> > Regards,> Twylite> > > ------------------------------------------------------------------------------> Colocation vs. Managed Hosting> A question and answer guide to determining the best fit> for your organization - today and in the future.> http://p.sf.net/sfu/internap-sfd2d> _______________________________________________> Tcl-Core mailing list> Tcl-...@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/tcl-core > > > ------------------------------------------------------------------------------> Colocation vs. Managed Hosting> A question and answer guide to determining the best fit> for your organization - today and in the future.> http://p.sf.net/sfu/internap-sfd2d> _______________________________________________> Tcl-Core mailing list> Tcl-...@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/tcl-core
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Tcl-Core mailing list
Tcl-...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tcl-core