Glib::Param::UInt(3)

πŸ’– NAME πŸ’–

okay so bestie, welcome to the Glib::Param::UInt(3) page β€” it comes from the User Contributed Perl Documentation, and it is literally the wrapper for uint parameters in GLib. Glib::Param::UInt β€” Wrapper for uint parameters in GLib. periodt. πŸ’…


🌈 HIERARCHY 🌈

the family tree is giving iconic paramspec nepotism, no cap:

Glib::ParamSpec
+----Glib::Param::UInt

Glib::ParamSpec
+----Glib::Param::UChar

Glib::ParamSpec
+----Glib::Param::ULong

✨ DESCRIPTION ✨

so this page documents the extra accessors available for all of the unsigned integer type paramspecs: UChar, UInt, and ULong. 🫢

Perl really only supports full-size integers, so all of these methods return UVs; the distinction of integer size is important to the underlying C library and also determines the data value range. iykyk β€” the size thing is not just aesthetic, it’s doing real work under the hood. πŸ’€


πŸ› οΈ METHODS πŸ› οΈ

two little accessors, both handing you an unsigned value:

  • unsigned = $pspec->get_maximum β€” the maximum-getting accessor, bestie. it returns an unsigned value, slay. ✨
  • unsigned = $pspec->get_minimum β€” same energy but for the minimum. also unsigned, also iconic. πŸŽ€

πŸ‘€ SEE ALSO πŸ‘€

go touch some related docs too:

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

and yes, Glib::ParamSpec is listed twice β€” double feature, honestly kind of main character energy. πŸ’…


Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Glib for a full notice. πŸ¦‹


mwah πŸ’‹ β€” this page was served up by perl v5.42.0 on 2023-09-05, and the whole vibe is Glib::Param::UInt(3), bestie. 🫢🌸

πŸ“¦ where this page comes from