Re: IP address input



beast wrote:
I have a text entry which was require user to type an IP address. Ideally it should have this following format:

IP Address:   [     .       .      .     ]

Please note that "." is not user editable. Is it possible?

of course, using 4 text entry is possible but thats ugly :)

IP Address:  [  ] . [   ] . [  ] . [   ]

You want IPEntry in libview: http://view.sourceforge.net/classes.php#ipentry

Getting it to work in gtk-perl may be difficult, because libview is written in C++, but if you can't find or write bindings the widgets are reasonably well written and easy to port.

Ed



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]