Advantages:
   - Fixes the glade bug I had with tooltips not working for the toolbar
   - Has the ui mergeing stuff.
   - It is really nice to be able to control both menu and toolbars
from the same action(enable disable etc)

Disadvantage:
   - All of your icons need to be registered as stock icons (and there
is no standard stock icon loading from a file tool, most people use
nested lists/tuples to describe their stock and have a function that
does the image loading and registering based on that.)
   - (at least in pygtk 2.4) You cannot specify a non standard size
for your toolbar icons(ie it must be one of the predefined sizes),
actually you have to use a depricated function to do it.
   - No glade support, (I tried using gazpacho but had problems on
win32, have not tried again in a while)

Ultimately I am much happier doing things with the UIManager than I
was with Glade.  I have also stepped away from using glade for a lot
of things, laying out only subsections of my app in glade, loading
those sections at runtime and sticking them in some kind of
container(for instance I use glade to create each notebook page in its
own window. I then load the notebook page(actually its containing box
) and stuff it into a notebook page.)

I hope that helps,
Chris

On 5/12/05, Nalli Dinesh <[EMAIL PROTECTED]> wrote:
> UIManager is handy when u r designing GUI with pygtk code. If u use
> glade IDE for the development of GUI then u would not need UIManager
> for your design to complete.
> 
> On 5/11/05, Eric Jardim <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > - What are the advantages and disadvantages of using the gtk.UIManager?
> > - Does anybode here know the amount (not precisely) of people using PyGTK
> > (or even GTK) with an action-oriented approach (with or without the UIMan)?
> > - If an IDE, like glade or gazpacho, was capable of easily desing the
> > actions/actiongroups and integrate them to the proxy widgets, would it still
> > be necessary to use the UIManager? Or it is just useful to
> > "hand-programming"?
> > - How about this action merging. Can somewome highlight some useful example.
> >
> > Please, consider my questions as a kind of survey. I will much appreciate
> > your opinions and experiences.
> >
> > Thanks,
> >
> > [Eric Jardim]
> >
> > _______________________________________________
> > pygtk mailing list   [email protected]
> > http://www.daa.com.au/mailman/listinfo/pygtk
> > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> >
> >
> >
> _______________________________________________
> pygtk mailing list   [email protected]
> http://www.daa.com.au/mailman/listinfo/pygtk
> Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
> 


-- 
Christopher Lambacher
[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