Hi all,

I have a strange problem with buttons that have stock-icons:

I have implemented a slide show that contains (amongst other widgets) two
buttons for navigation (previous/next slide). These two buttons carry
stock-icons (small arrows pointing to the left and right).

The slides to be be displayed are implemented so that each slide has an
alignment widget as it's toplevel widget. The alignment widget
contains a box which in turn contains the visible widgets, such as
labels, frames, etc. These slides are all added to a container 
(HBox) widget of the slideshow, but just one of these slides is displayed
at a time, using the function show_all () of the alignment widget, all
other slides are hidden (using hide_all ()).

Clicking one of the navigation buttons thus calls show_all and hide_all on
the respective slides.

The strange thing is that if both navigation buttons are hidden (this is
done when a slide allows no further navigation), the slide that should be
visible is not visible either!

When i use labels instead of the stock-icons on the buttons, the problem
does not occur.

Could there be some interference between the alignment widgets contained
in a button with stock icons and the alignment widgets that are part of
the slides?

I would greatly appreciate any hints!

Bernhard

_______________________________________________
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