1Glib::Param::GType(3) User Contributed Perl DocumentationGlib::Param::GType(3)
2
3
4
6 Glib::Param::GType - Wrapper for type parameters in GLib
7
9 Glib::ParamSpec
10 +----Glib::Param::GType
11
13 This object describes a parameter which holds the name of a class known
14 to the GLib type system. The name of the class is considered to be the
15 common ancestor for valid values. To create a param that allows any
16 type name, specify "undef" for the package name. Beware, however, that
17 although we say "any type name", this actually refers to any type
18 registered with Glib; normal Perl packages will not work.
19
21 string or undef = $pspec_gtype->get_is_a_type
22 If "undef", then any class is allowed.
23
24 Since: glib 2.10
25
27 Glib, Glib::ParamSpec
28
30 Copyright (C) 2003-2011 by the gtk2-perl team.
31
32 This software is licensed under the LGPL. See Glib for a full notice.
33
34
35
36perl v5.30.1 2020-02-18 Glib::Param::GType(3)