Re: [PW-dev] parameter names (dash, underscore, none)
Status: Alpha
Brought to you by:
spadkins
From: James G S. <JG...@TA...> - 2001-06-19 16:36:08
|
Stephen Adkins <ste...@of...> wrote: >Hi, > >I continue to work on the next mini-release of the >Perl Widget Library. I have incorporated a number >of parameters from style sheets such as "border-style", etc. I understand the desire to make widgets as configurable as possible, but do we want to encourage HTML specific configuration that could be left to a style sheet? Something I've been toying with is being able to specify a class for the widget (not in the Perl module sense). This class would indicate a general set of default attribute values from a configuration file or other source. This could also be used as the class of the object in a CSS file for HTML environments. This allows for the coder to not have to worry about those elements explicitly in the code. This also allows for configuration files to not have to be specific to a particular named widget. This also allows for styles to be specified in a general fashion without regard for environment. I don't have configuration code done yet in my sample implementation, but I'll try to get that done this week to illustrate how this could work. -- James Smith <JG...@TA...>, 979-862-3725 Texas A&M CIS Operating Systems Group, Unix |