RE: [RC] Lucius tries to use namespace
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Jun 26, 2003
- 449 views
Al Getz wrote: > I see what you mean. You're looking to inherit namespaces > from other includes. This sounds pretty good. Im not sure > if i want to make my libs users have to type more then one > namespace prefix, but if the include could inherit the prefixes > verbatim that might also take care of that too... Well, they wouldn't *have* to do that. They could always go ahead and re-include the files with their own namespace qualifiers if needed, but it would certainly be a huge convenience, because you could take Irv's idea of a wrapper that includes the files into namespaces, and not have to retype, etc. Plus, the namespacing would likely be more consistent from app to app. -- gtk_wrapper.e include button.e as button include textbox.e as text -- ...etc --my_app.exu include gtk_wrapper.e as gtk gtk:button:create() gtk:text:set_text( "Hello World" ) Matt Lewis