Re: [pygtk] gnome application
hi there is a good tutorial for pygtk2 at: http://www.moeraki.com/pygtktutorial/pygtk2tutorial/ but i don't know any for gnome-python lg / sifu On Fri, Dec 12, 2003 at 08:21:43AM -0500, [EMAIL PROTECTED] wrote: > > I would like to write a gnome application using gnome-python (without > glade) but I havn't been able to find any examples or documentation > showing how to do it. I can only find examples from a couple years ago, > showing how it used to be done the old way with the earlier version of > pygtk and with the deprecated " from foo import * " statements. The > reason I want to go through this without glade is to have a better > understanding of what is going on "under the hood". Can anyone point me > to some example code or documentation showing how to do this? > > --Doug Blanding > ___ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ pgp0.pgp Description: PGP signature ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
RE: [pygtk] gnome application
A Sex, 2003-12-12 às 15:20, [EMAIL PROTECTED] escreveu: > > Well, gnome windows are usually avoided by most developpers. > > You should consider using bonobo windows instead. In > > gnome-python tarball, it's in examples/bonobo/bonoboui > > No, I think that most people are trying to use BonoboUI as little as > possible. The new menu and toolbar APIs in GTK+ 2.4 are meant to replace > - The old GTK+ menus and toolbars > - The libgnomeui menus and toolbar > - The libbonoboui menus and toolbars. > > This is all my opinion, but I think you should just use libbonoboui if you > want to create an embeddable GUI component, or us libbonobo if you want to > do some difficult multi-threading interprocess-communication stuff. You are correct. However, pygtk doesn't yet wrap the new gtk+ 2.4 menu APIs, so the better choice right now is still bonoboui. Regards. -- Gustavo J. A. M. Carneiro <[EMAIL PROTECTED]> <[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/
RE: [pygtk] gnome application
On Fri, 2003-12-12 at 18:55, [EMAIL PROTECTED] wrote: > I also now have another question: What is it that "most developpers" > know that causes them to want to avoid Gnome windows? Maybe if I knew > that, I wouldn't be asking the first question. > --Doug Blanding For what I can see gnumeric, planner (ex mrproject), evolution, abiword, nautilus, ghex, file-roller and a couple of other apps uses that bonobo window. Some uses bonobo for embedding but not all. Now, I missed that improvement in gtk 2.4 so that may make sense to think about it twice. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
RE: [pygtk] gnome application
>> Well, gnome windows are usually avoided by most developpers. >> You should consider using bonobo windows instead. In >> gnome-python tarball, it's in examples/bonobo/bonoboui > No, I think that most people are trying to use BonoboUI as little as > possible. The new menu and toolbar APIs in GTK+ 2.4 are meant to replace > - The old GTK+ menus and toolbars > - The libgnomeui menus and toolbar > - The libbonoboui menus and toolbars. > This is all my opinion, but I think you should just use libbonoboui if you > want to create an embeddable GUI component, or us libbonobo if you want to > do some difficult multi-threading interprocess-communication stuff. OK, but now I still have my original question. Can an application window be built using a call to gnomeui.App which will automagically give me the consistent and slick "look and feel" of a Gnome Application (menubar, dockable toolbar, etc) using a simple command or two like in the bonoboui example? (And if so, can anyone point me to some documentation or example code showing how?) I also now have another question: What is it that "most developpers" know that causes them to want to avoid Gnome windows? Maybe if I knew that, I wouldn't be asking the first question. --Doug Blanding ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
RE: [pygtk] gnome application
> Well, gnome windows are usually avoided by most developpers. > You should consider using bonobo windows instead. In > gnome-python tarball, it's in examples/bonobo/bonoboui No, I think that most people are trying to use BonoboUI as little as possible. The new menu and toolbar APIs in GTK+ 2.4 are meant to replace - The old GTK+ menus and toolbars - The libgnomeui menus and toolbar - The libbonoboui menus and toolbars. This is all my opinion, but I think you should just use libbonoboui if you want to create an embeddable GUI component, or us libbonobo if you want to do some difficult multi-threading interprocess-communication stuff. Murray Cumming www.murrayc.com [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/
Re: [pygtk] gnome application
>> Thanks for your suggestion. You are right. There is an example there >> called appwindow.py which builds an application window pretty much >> like what I want, complete with menubar, toolbar and statusbar. But I >> am thinking there is a call to gnomeui.App (or something like that) >> which creates the application window automatically (complete with >> menubar, toolbar and statusbar). According to some old documentation I >> read, you used to be able to do this. But now with pygtk2 and the new >> python-gnome, I haven't seen any examples or documentation to show how >> to do it. >> --Doug Blanding > Well, gnome windows are usually avoided by most developpers. You should > consider using bonobo windows instead. > In gnome-python tarball, it's in examples/bonobo/bonoboui > Regards, > Xavier Ordoquy. Oh, OK. Thanks, I didn't know that. I have tried the bonoboui example and played with it a little. It certainly seems to provide a nice UI. I guess I was just afraid of it because I don't know anything about bonobo (what it is or why I need it). I suppose I'll just need to learn more about bonobo windows. Thanks. --Doug Blanding ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] gnome application
> Thanks for your suggestion. You are right. There is an example there > called appwindow.py which builds an application window pretty much > like what I want, complete with menubar, toolbar and statusbar. But I > am thinking there is a call to gnomeui.App (or something like that) > which creates the application window automatically (complete with > menubar, toolbar and statusbar). According to some old documentation I > read, you used to be able to do this. But now with pygtk2 and the new > python-gnome, I haven't seen any examples or documentation to show how > to do it. > --Doug Blanding Well, gnome windows are usually avoided by most developpers. You should consider using bonobo windows instead. In gnome-python tarball, it's in examples/bonobo/bonoboui Regards, Xavier Ordoquy. ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
Re: [pygtk] gnome application
On Fri, 2003-12-12 at 14:21, [EMAIL PROTECTED] wrote: > I would like to write a gnome application using gnome-python (without > glade) but I havn't been able to find any examples or documentation > showing how to do it. I can only find examples from a couple years > ago, showing how it used to be done the old way with the earlier > version of pygtk and with the deprecated " from foo import * " > statements. The reason I want to go through this without glade is to > have a better understanding of what is going on "under the hood". Can > anyone point me to some example code or documentation showing how to > do this? > > --Doug Blanding Get pygtk tarball and have a look at the example dir (esp pygtk-demo). Regards, Xavier Ordoquy. Xavier- Thanks for your suggestion. You are right. There is an example there called appwindow.py which builds an application window pretty much like what I want, complete with menubar, toolbar and statusbar. But I am thinking there is a call to gnomeui.App (or something like that) which creates the application window automatically (complete with menubar, toolbar and statusbar). According to some old documentation I read, you used to be able to do this. But now with pygtk2 and the new python-gnome, I haven't seen any examples or documentation to show how to do it. --Doug Blanding ___ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/