Documentation for this package can be found at http://tcllib.sourceforge.net/doc/ipentry.html
escargo 25 Jul 2003 - As someone who has spent time testing network devices, I expected a bit more function out of this widget.
For example, I have needed to initialize ethernet addresses and been required to enter three different IP addresses, each with different restrictions:
Does this ipentry have a validator mechanism so that values can be checked against other values for consistency?
AF - i think i assumed that kind of validation would be done when the user clicks "ok" instead of actually restricting the input to a valid netmask. i suppose some validation hooks could be added in the style of the entry widget. you could also "prompt" a user by binding to FocusOut on one entry and if its complete inserting the first quads of a bcast addr in another entry and setting the icursor
escargo - The validation hooks would seem to be to be important. The key here is that there are at least two kinds of validation that apply:
One of the things that's tricky is that inconsistent values need to be allowed, because when you are changing data, you can only change one thing at a time.
Perhaps you could re-use some of the validation/netmask/network address stuff used in A Little CIDR Calculator
well, this is open source - if someone wants to patch the code and turn it in to give more functionality, that's always possible...
Another area to look into is support for the new extended IP addresses.