Getting type/arg info without running a GUI?



I am writing a command-line utility to parse glade
files and write C header/source files.  I want to use
the wonderful type and arg system built into
GtkObject.  I have everything working great, except
that I have to create a top-level window in order for
calls to gtk_type_whatever to work.  Since my program
is meant to be a utility that just creates output
files from an input file, I really don't want a
dependency on X.  

I can get everything to work by just creating the
top-level window but not showing it, but that still
isn't ideal.  Is there are way to bypass creating a
window to get type/arg information?

Thanks in advance,

John

__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]