Results 1 to 2 of 2

Thread: Glade-sharp/Gnome-sharp App problem

  1. #1
    Join Date
    Jun 2006
    Location
    Near Toronto Ontario
    Beans
    604
    Distro
    Ubuntu 9.10 Karmic Koala

    Glade-sharp/Gnome-sharp App problem

    Hi all, i am having a problem using the gnome cataloges in glade but when i try and run my program i get an error saying:
    Code:
    GnomeUI-ERROR **: You must call gnome_program_init() before creating a GnomeApp
    How do i make a Gnome.Program? The part i get hung up on is the ModuleInfo argument...what is it and how do i use it?
    Visit my Blog at http://rekahsoft.org

  2. #2
    Join Date
    Jun 2006
    Location
    Near Toronto Ontario
    Beans
    604
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Glade-sharp/Gnome-sharp App problem

    ok i found how to do it...i create a Gnome.Program object by doing this:
    Code:
    Gnome.Program program = new Gnome.Program("name of program", "version number", Gnome.Modules.UI, args);
    Note that args is a string[].
    Visit my Blog at http://rekahsoft.org

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •