[Tickit-dev] Released: Tickit 0.05

Paul LeoNerd Evans leonerd at leonerd.org.uk
Thu May 19 14:37:59 BST 2011


Hi all and welcome to the list.

I thought I'd start by giving an announcement of the new Tickit 0.05
version on CPAN, going into a little more detail of the changes.

 * Added mouse support

   Similar to on_key, a Widget can provide an on_mouse method to be
   informed of mouse events within its Window. Unlike on_key, mouse
   events do not follow the focus chain, they follow Window geometry.

 * Switchable insert/overwrite mode in Entry
 
   Press <Insert> to swtich between insert (default) and overwrite mode.

 * Markers at beginning/end of Entry to indicate scrolling

   Called the "more" markers, display a "<.." or "..>" at either end.
   Currently the text and pen are static hardcoded, but medium term
   plans involve making this a settable attribute, and styleable.

 * Reduced API dependency on IO::Async; lazily construct a containing
   Loop in ->run

   No need to create the IO::Async::Loop object; simply call $t->run on
   the Tickit object, and it'll create one if needed. This is part of
   the strategy to un-Async'ify the core, moving the IO::Async bits out
   to a specific Tickit::Async, leaving the core as a simple synchronous
   system, and allowing AE/POE implementations as well.

 * Reduced test-time dependency on IO::Async
 
   More on the above strategy.

 * Export Tickit::Test as real code for out-of-distribution tests

   Useful unit test helper functions, now installable as a real module
   instead of a t/lib/ file. This is helpful for some out-of-dist
   development, such as on my Tickit::Widget::Scroller. (More on this in
   another mail I think ;) )

 * Miscellaneous bugfixes and improvements

   A full list available from bzr, but a brief rundown of a few:

    + Window objects are now comparable with == for referential identity
    + Containers remove Window from all child widgets when they lose
      their own window
    + Ensure that late ->add'ed child widgets in a container still get
      drawn

-- 
Paul "LeoNerd" Evans

leonerd at leonerd.org.uk
ICQ# 4135350       |  Registered Linux# 179460
http://www.leonerd.org.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20110519/8b73c864/attachment.pgp>


More information about the Tickit-dev mailing list