Glib::Type - Utilities for dealing with the GLib Type system


NAME

Glib::Type - Utilities for dealing with the GLib Type system


DESCRIPTION

This package defines several utilities for dealing with the GLib type system from Perl. Because of some fundamental differences in how the GLib and Perl type systems work, a fair amount of the binding magic leaks out, and you can find most of that in the Glib::Type::register* functions, which register new types with the GLib type system.

Most of the rest of the functions provide introspection functionality, such as listing properties and values and other cool stuff that is used mainly by Glib's reference documentation generator (see the Glib::GenPod manpage).


METHODS

list = Glib::Type->list_ancestors ($package)

list = Glib::Type->list_interfaces ($package)

list = Glib::Type->list_signals ($package)

list = Glib::Type->list_values ($package)

string = Glib::Type->package_from_cname ($cname)

Glib::Type->register ($parent_class, $new_class, ...)

Glib::Type->register_enum ($name, ...)

Glib::Type->register_flags ($name, ...)

Glib::Type->register_object ($parent_package, $new_package, ...)


SEE ALSO

the Glib manpage


COPYRIGHT

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

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

 Glib::Type - Utilities for dealing with the GLib Type system