[Gazpacho] Re: [Gazpacho-commits] r2031 - in gazpacho/trunk: . gazpacho gazpacho/widgets/base tests

Johan Dahlin johan at gnome.org
Fri Jan 20 14:10:57 CET 2006


>> Modified: gazpacho/trunk/gazpacho/project.py

>> +    def add_hidden_widget(self, widget):

> What's the difference between a hidden widget and an internal child?

The idea was to have another term for it in the project scope.
Internal child is not something the project should really care about, it's
a loader/widget detail.
Since project.add_hidden_widget() reads much better than 
project.add_internal_child(), by looking at the function call we can
immediately see that this is a widget being added to the project which is 
not going to be visible.

Ideally it should be the only way to add widgets the project needs to be 
aware of, but not display. However I'm *trying* to take the pragmatic 
approach and fixing bugs as the approach and not rewrite everything.

Johan

Johan



More information about the Gazpacho mailing list