Glib::Param::Int(3)
π NAME π
Glib::Param::Int β paramspecs for integer types, bestie π β¨
πΈ HIERARCHY πΈ
ok so here's the family tree, no cap:
Glib::ParamSpec
+----Glib::Param::Int
Glib::ParamSpec
+----Glib::Param::Char
Glib::ParamSpec
+----Glib::Param::Long
π¦ DESCRIPTION π¦
This page is literally your cheat sheet for the extra accessors that are available for all of the integer type paramspecs: Char, Int, and Long. π
Now, here's the tea: Perl really only supports full-size integers, so all of these methods return IVs. Periodt. The whole integer-size distinction is lowkey important to the underlying C library, and it also determines the data value range. So like, don't come for that detail β it matters. π
β¨ METHODS β¨
integer = $pspec->get_maximumβ grabs the max, iconically π₯integer = $pspec->get_minimumβ grabs the min, equally iconic π
π SEE ALSO π
GlibGlib::ParamSpecGlib::ParamSpec
(yeah bestie, Glib::ParamSpec is listed twice β I don't make the rules, I just report them π)
π COPYRIGHT π
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Glib for a full notice. π«Ά
ok that's the whole vibe check π this was Glib::Param::Int(3), part of the User Contributed Perl Documentation, from perl v5.42.0 dated 2023-09-05 β mwah, slay, go forth and integer responsibly π§β¨π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Glib 1.3294-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Glib 1.3294-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Glib 1.3294-160000.2.2 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: perl-Glib 1.3294-160000.2.2 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms