| 1 | # You may distribute under the terms of either the GNU General Public License | ||
| 2 | # or the Artistic License (the same terms as Perl itself) | ||
| 3 | # | ||
| 4 | # (C) Paul Evans, 2013-2022 -- leonerd@leonerd.org.uk | ||
| 5 | |||
| 6 | 1 | ▶ | use v5.26; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use Object::Pad 0.73 ':experimental(init_expr)'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | package Tickit::Widget::Menu::itembase 0.16; | ||
| 10 | role Tickit::Widget::Menu::itembase; | ||
| 11 | |||
| 12 | 1 | field $_name :param :reader = undef; | |
| 13 | |||
| 14 | 0 | ▶ | method render_label ( $rb, $cols, $menu ) |
|
Subroutine
name: not called CC=1 SCAR=5.3
Subroutine
render_label: not called CC=1 SCAR=5.5
Pod
undocumented
| |||
| 15 | { | ||
| 16 | 0 | $rb->text( $_name ); | |
| 17 | 1 | } | |
| 18 | |||
| 19 | 1 | 0x55AA; | |