Subject: | Synopsis has 'caption' instead of 'label' |
Tiny patch to fix the synopsis - rest of the docs look good but this caused me some momentary confusion when I copy/pasted the synopsis into some other code and ended up label-free!
cheers,
Tom
Subject: | 2013-08-30-checkbutton.patch |
=== modified file 'lib/Tickit/Widget/CheckButton.pm'
--- lib/Tickit/Widget/CheckButton.pm 2013-08-25 18:58:47 +0000
+++ lib/Tickit/Widget/CheckButton.pm 2013-08-30 21:05:56 +0000
@@ -31,7 +31,7 @@
my $vbox = Tickit::Widget::VBox->new;
$vbox->add( Tickit::Widget::CheckButton->new(
- caption => "Check button $_",
+ label => "Check button $_",
) ) for 1 .. 5;
Tickit->new( root => $vbox )->run;