Help with class constants

[email protected] (Fernando Correa da Conceição)
Newsgroups php.gtk.general
Message-ID <[email protected]>
Some changes in GObject make am error in my app. There is some users 
with the gtk 2.8 and others with 2.10, the 2.8 uses the beta and 2.10 
the cvs.

My question: how can I know if a class constant is defined?
If I test:

if (isset(Gtk::TYPE_STRING))

And the constant do not exist I get a parser error(fatal) . There is any 
way to do this?

Thanks.

Fernando Correa da Conceição
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.