« blib/lib/Term/Fabulous/Widget/FileDialog/FolderLine.pm
↑ Summary
blib/lib/Term/Fabulous/Widget/Histogram.pm »
| 1 | package Term::Fabulous::Widget::FocusableText; | ||
| 2 | |||
| 3 | use v5.32; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | our $VERSION = '0.02'; | ||
| 7 | |||
| 8 | use Object::Pad 0.825; | ||
| 9 | |||
| 10 | use Clay::UI::Role::Interaction::Focusable; | ||
| 11 | use Term::Fabulous::Widget::Text; | ||
| 12 | |||
| 13 | # The focus role behind Term::Fabulous::Widget::RichText, kept in a | ||
| 14 | # parent class so that RichText can override its methods (an Object::Pad | ||
| 15 | # class cannot override a method of a role it composes itself). | ||
| 16 | class Term::Fabulous::Widget::FocusableText | ||
| 17 | :isa(Term::Fabulous::Widget::Text) | ||
| 18 | :does(Clay::UI::Role::Interaction::Focusable) | ||
| 19 | :abstract | ||
| 20 | { | ||
| 21 | } | ||
| 22 | |||
| 23 | 1; | ||
| 24 | |||
| 25 | __END__ |