LWN.net Logo

Why learn C? (O'Reilly Radar)

Why learn C? (O'Reilly Radar)

Posted Jun 28, 2012 22:44 UTC (Thu) by wahern (subscriber, #37304)
In reply to: Why learn C? (O'Reilly Radar) by dashesy
Parent article: Why learn C? (O'Reilly Radar)

Tk is written in Tcl, but the C API is a first class citizen, which is how you end up with things like Perl/Tk. And Tk is widely considered a breeze to work with, and (correct me if I'm wrong) may have been one of the first toolkits to handle widget nesting, placement, and resizing automagically.

So, it's a GUI toolkit for C which may be the easiest to use of all of them, even accounting for Qt, Silverlight, etc.


(Log in to post comments)

Why learn C? (O'Reilly Radar)

Posted Jun 29, 2012 0:14 UTC (Fri) by dskoll (subscriber, #1630) [Link]

...handle widget nesting, placement, and resizing automagically

That's correct. Tk's geometry managers (the packer, the placer and the gridder) are still better than any other toolkit geometry managers I've seen.

Why learn C? (O'Reilly Radar)

Posted Jun 29, 2012 8:19 UTC (Fri) by rwst (guest, #84121) [Link]

And when I recently had a look at Qt I specifically sought
such a placement function, and was quite disappointed that
it wasn't included.

Why learn C? (O'Reilly Radar)

Posted Jun 29, 2012 12:14 UTC (Fri) by richmoore (subscriber, #53133) [Link]

Qt has quite a decent set of layout managers, which one were you missing?

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds