man-pages/man3/Glib::Param::GType.3pm.html
2021-03-31 01:06:50 +01:00

96 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of Glib::Param::GType</TITLE>
</HEAD><BODY>
<H1>Glib::Param::GType</H1>
Section: User Contributed Perl Documentation (3pm)<BR>Updated: 2020-02-18<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
Glib::Param::GType - Wrapper for type parameters in GLib
<A NAME="lbAC">&nbsp;</A>
<H2>HIERARCHY</H2>
<PRE>
Glib::ParamSpec
+----Glib::Param::GType
</PRE>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
This object describes a parameter which holds the name of a class known to the
GLib type system. The name of the class is considered to be the common
ancestor for valid values. To create a param that allows any type name,
specify <TT>&quot;undef&quot;</TT> for the package name. Beware, however, that although
we say ``any type name'', this actually refers to any type registered
with Glib; normal Perl packages will not work.
<A NAME="lbAE">&nbsp;</A>
<H2>METHODS</H2>
<A NAME="lbAF">&nbsp;</A>
<H3>string or undef = $pspec_gtype-&gt;<B>get_is_a_type</B></H3>
If <TT>&quot;undef&quot;</TT>, then any class is allowed.
<P>
Since: glib 2.10
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>
Glib, Glib::ParamSpec
<A NAME="lbAH">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright (C) 2003-2011 by the gtk2-perl team.
<P>
This software is licensed under the <FONT SIZE="-1">LGPL.</FONT> See Glib for a full notice.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">HIERARCHY</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">METHODS</A><DD>
<DL>
<DT id="5"><A HREF="#lbAF">string or undef = $pspec_gtype-&gt;<B>get_is_a_type</B></A><DD>
</DL>
<DT id="6"><A HREF="#lbAG">SEE ALSO</A><DD>
<DT id="7"><A HREF="#lbAH">COPYRIGHT</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:45 GMT, March 31, 2021
</BODY>
</HTML>