Re: Widget for entering a IP / Subnetmask



On Tue, 2002-08-27 at 14:04, Sebastian Weitzel wrote:
Hello,

i need a widget for entering a IP Adress with a subnet mask appended in
this style: 255.255.255.0/24. I want that there are dots, dividing the
four entry fields.
Does somebody know how to do this?  Maybe someone already done this?

Please help me,
Thank you
Togg

Sounds like 5 Gtk::Entry widgets and 4 Gtk::Label widgets packed into a
Gtk::HBox widget to me.  Possibly with a little code to verify that the
user types a valid number (0-255) and changing the focus to the next
entry when the current entry is full. 

-- 
Today is Prickle-Prickle the 20th day of Bureaucracy in the YOLD 3168
You are what you see.

Missile Address: 33:48:3.521N  84:23:34.786W




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