[Tickit-dev] C library project

Paul "LeoNerd" Evans leonerd at leonerd.org.uk
Sun Mar 22 23:17:11 GMT 2015


On Tue, 23 Dec 2014 05:41:51 +0700
Bruce Mitchener <bruce.mitchener at gmail.com> wrote:

> As such, I've found that having the Tickit::Window code in C would
> indeed be useful and so I've started on this:
> 
>     https://github.com/waywardmonkeys/libtickit/tree/tickit-window
> 
> The files src/window.c and include/tickit-window.h include my work in
> progress.  I'm building my own widget layer in Dylan, but having the
> C-based tickit-window is going well.

An update on this:

I've now taken the original code in the branch, added lots of unit
tests by copying the spirit of the perl ones, and in the process fixed
a few bugs in the implementation. That implementation + its tests is
now merged into the primary bzr-based source tree.

This isn't yet a complete implementation of window having all the
features of the Perl library yet; though the features that are present
are now fully unit-tested with equivalent tests. These features are:

 * Basic window creation including sub-window trees
 * Float and popup windows
 * EV_EXPOSE event that recurses down the window hierarchy
 * Hiding, resizing, changing order of children

Things that are still TODO:

 * Input events (keyboard and mouse)
 * Scrolling
 * Visibility test for displaying cursor on focus gain
 * AAAALLL the documentation

I thought that given all the work Bruce has put in to getting it this
far, I should at least finish it to a point where it can be merged in
to some use. It's already useable now if you don't need any of the
missing features above, and I don't expect it will take too long to
finish those last things off.

For more up-to-date information about progress, keep an eye on the
blueprint whiteboard at

  https://blueprints.launchpad.net/libtickit/+spec/window

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
http://www.leonerd.org.uk/  |  https://metacpan.org/author/PEVANS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20150322/c4a0c4dd/attachment.sig>


More information about the Tickit-dev mailing list