Gtk2::Print(3)
β¨ NAME β¨
Gtk2::Print π β it's the lil' printing helper from the gtk2-perl fam, bestie. That's the whole name, that's the whole vibe. Short, sweet, iconic.
π METHODS π
okay so there are literally two of these and they're both about the page setup dialog, no cap. Let's get into it π«Ά
π¨οΈ pagesetup = Gtk2::Print->run_page_setup_dialog ($parent, $page_setup, $settings)
The way this one just pops open a page setup dialog for you and hands back a pagesetup π
. Here's what you gotta feed it:
$parentβ aGtk2::Window, orundefif you're feeling parentless π (no judgement, undef is valid)$page_setupβ aGtk2::PageSetup, orundefagain, girlies love options$settingsβ aGtk2::PrintSettings, required, noundefescape hatch on this one, periodt
πΈ Gtk2::Print->run_page_setup_dialog_async ($parent, $page_setup, $settings, $func, $data=undef)
Same energy but async β¨ β the not-waiting-around-for-it version. The arg list is a lil' longer, stay with me:
$parentβ aGtk2::Window, orundef$page_setupβ aGtk2::PageSetup, orundef$settingsβ aGtk2::PrintSettings$funcβ ascalar(your callback, the main character of the async arc π)$dataβ ascalar, and heads up, it defaults toundefif you don't pass one π
π SEE ALSO π
- Gtk2 β the parent fandom, go check it out iykyk
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team. π«Ά
This software is licensed under the LGPL. See Gtk2 for a full notice. π
and that's the whole page, bestie π no notes, ate, left no crumbs. this was perl v5.42.0, dated 2025-07-25, signing off with the Gtk2::Print(3) energy only. mwah π π
π¦ where this page comes from
- fedora 43: perl-Gtk2 1.24993-23.fc43 Β· LicenseRef-Callaway-LGPLv2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms