On Tue, 2003-02-11 at 22:24, Johan Dahlin wrote:
> tis 2003-02-11 klockan 19.05 skrev Martin Preishuber:
> > Hi all,
> > 
> > is there any documentation on gnome-python available ? I'm just porting
> > eroaster to gnome-python2 and I have some problems to get Gnome* widgets
> > working ... I can't find the UIITEM*, STOCK_MENU* constants,
> > GnomeQuestionDialog and so on ...
> 
> Sorry. As far as I know there is no documentation available for
> gnome-python.
> 
> Even the ones for C is not updated on the developer.gnome.org
> 
> But i know that UIITEM and STOCK_MENU is deprecated.
> 
> Use BonoboUI instead of UIITEM.
> Stock icons has moved to Gtk+ since 2.0

Hmm well ok then maybe someone can help me with the following code
fragments:

1.) I build menus with

        self.filemenu = [ UIINFO_ITEM_STOCK(_('_New Project'), None,
self.ProjectNew, STOCK_MENU_NEW) ]
        self.window.create_menus(self.menus)

    where self.window has been a GnomeApp. Is that completely gone ?

2.) GnomeApp supported .add_toolbar ... anything similar now ?
3.) I used some GnomeEntry fields ... now the following code crashes:

>>> import gnome.ui
>>> entry = gnome.ui.Entry("")

(:1554): Gnome-CRITICAL **: file gnome-program.c: line 738
(gnome_program_get_app_id): assertion `program != NULL' failed
Segmentation fault

4.) Is there anything like GnomeErrorDialog, GnomeQuestionDialog in
gnome-python2 ?

thanks a lot ;-)

oh one more thing, what about compatibility between glade and glade2 ?
is it possible to use "old" glade files with gnome-python2 ?

Martin

-- 
Martin Preishuber <[EMAIL PROTECTED]>

_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to