[Tickit-dev] Released: Tickit 0.49
Paul "LeoNerd" Evans
leonerd at leonerd.org.uk
Fri Dec 19 17:49:31 GMT 2014
New in Tickit 0.49 is almost entirely deprecation-related; removing of
old things, warnings on things soon to be removed, general preparations
for moving the Window layer into the C library:
* Announce deprecation of Tickit::Pen observers
Pen observers have long since been replaced by the entire
Tickit::Style system. At some point I'd like to continue the general
theme of removing them entirely from the code, simplifying the C
library
* Warn on Widgets that don't have WIDGET_PEN_FROM_STYLE set
Widget default pen information should come from the style now.
* Die on attempts to disable CHILD_WINDOWS_LATER
This has been the new behaviour for a while, there's now no need to
keep this ability around.
* Warnings from Window direct draw methods
Having moved all the window drawing operations into the
RenderBuffer, the direct drawing methods should no longer be used on
Windows. These will be removed fairly soon.
* No longer accept old-style "list of positional arguments" event
handlers on Tickit::Window
The new event handler style taking a single "$ev" object with fields
on is now the default. This makes further changes forward much
easier by simply adding new field methods to the event objects,
rather than having to add more positionals.
* Allow chaining return of ContainerWidget->{add,remove}
This makes constructors slightly easier in small demo examples, unit
tests, etc...
--
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: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: not available
URL: <http://mail.leonerd.org.uk/pipermail/tickit-dev/attachments/20141219/77e261c6/attachment.sig>
More information about the Tickit-dev
mailing list