Tickit...::Item(3pm)
β¨ NAME β¨
okay so bestie, quick vibe check: the page header says Tickit...::Item(3pm) and this whole thing lives in the User Contributed Perl Documentation (that's the manual name, she's fancy π
). The bit that matters is Tickit::Widget::MenuItem β an item to display in a Tickit::Widget::Menu. π
πΈ tiny heads-up before you @ me: yes,NAMEsaysTickit::Widget::MenuItemand the constructor below saysTickit::Widget::Menu::Item. that's literally what's written on the page, so don't come for me β copy-paste exactly what's there and you'll be fine, fr fr. π
π¦ DESCRIPTION π¦
okay so objects in this class are displayed in menus. that's their whole main character energy. β¨
each item has a name and a callback to invoke when the menu option is clicked on. name + callback, that's the duo, that's the ship, that's the whole personality π
π CONSTRUCTOR π
π new
$item = Tickit::Widget::Menu::Item->new( %args )
constructs a new Tickit::Widget::Menu::Item object. iconic. no cap, that's the entire job π«Ά
it takes the following named arguments:
name => STRINGβ gives the name of the menu item. so like, the label she shows up wearing πon_activate => CODEβ callback to invoke when the menu item is clicked on. this is the part where you click and β¨something happensβ¨ β go off, code ref, you got this π₯
π AUTHOR π
Paul Evans <leonerd@leonerd.org.uk> β literally the icon who wrote this. we stan π«Άβ
and that's the whole page, bestie, you ate that π this was perl v5.42.2, dated 2026-02-15, from the fine folks at Tickit...::Item(3pm) β mwah πβ¨π§
π¦ where this page comes from
- alpine 3.24: perl-tickit-widget-menu-doc 0.16-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms