init clarity needed



There are a lot of init functions for a program to call in GNOME 2. I'd like a little help learning about them.

I assume that programs need to call some or all of these functions:

    gtk_init
    gnome_program_init
    bonobo_init

Which functions should I be calling in my programs? How can I decide which program should call which of these?

Also, for gnome_program_init, which properties do my programs need to pass in? And do I really need to make an explicit choice between xmldb and gconf for every program's config URI? What about test programs that don't really want persistent config storage?

I hope someone can help me figure this out. So far, working this bit out has been the one of the hardest parts of getting the eel library to work under GNOME 2.

    -- Darin




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