Glib::Param::GType(3)

πŸ’– NAME πŸ’–

Glib::Param::GType β€” Wrapper for type parameters in GLib. This is the User Contributed Perl Documentation page for Glib::Param::GType(3), bestie ✨

πŸ¦‹ HIERARCHY πŸ¦‹

  Glib::ParamSpec
  +----Glib::Param::GType

🌸 DESCRIPTION 🌸

Okay so this object describes a parameter that holds the name of a class known to the GLib type system. That class name is considered the common ancestor for valid values. To create a param that allows any type name, specify undef for the package name. But beware, bestie: even though we say "any type name," this actually refers to any type registered with Glib; normal Perl packages will not work. No cap 🫢

πŸŽ€ METHODS πŸŽ€

πŸ’… string or undef = $pspec_gtype->get_is_a_type πŸ’…

If it's undef, then any class is allowed, periodt.

Since: glib 2.10

πŸ‘‘ SEE ALSO πŸ‘‘

  • Glib
  • Glib::ParamSpec

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

This software is licensed under the LGPL. See Glib for a full notice.


Cute sign-off time πŸ’œ: this page is from perl v5.42.0, dated 2023-09-05, and it’s the Glib::Param::GType(3) manual page β€” bye bestie, go slay some type params πŸ¦‹

πŸ“¦ where this page comes from