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 πŸ‘‘

  • Glib
  • Glib::ParamSpec
  • Glib::ParamSpec

(yeah bestie, Glib::ParamSpec is listed twice β€” I don't make the rules, I just report them πŸ™ˆ)


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