Re: IP address bar 107.108. ...



 Hello,

 Chapter 11 of the excellent book "Foundations of GTK+ Development"
(Andrew Krause, Apress) shows how to create a custom widget with the
functionality you want.

 There is source code available in www. gtkbook.com

 Best regards!

 Carlos




> 2008/1/15 kartikay malhotra <kartikay malhotra gmail com >:
>
> >
> >
> >
> > Dear All,
> >
> > I am making an IP address bar in GTK. It would function as 123 . 445 . 521 . 444.
> >
> > Now friends, I am facing 2 problems:
> >
> > 1) How to ensure that only numbers are pressed. I don't want the user to enter alpha characters.
> > 2) How to draw points in GTK, without using GNOME?
> >
> > Many Thanks for your consideration.
> >
> > --
> > Best Regards
> > Er. Kartikay Malhotra
> >
> >
> >
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> >
>
>
>

 =============================================
 Prof. Carlos José de Almeida Pereira
 Universidade Estadual de Santa Cruz
 Ilhéus - Bahia - Brasil

 "Quem agora conhece a antiga linguagem da Lua ?
 Quem agora fala com a Deusa ? ...
 Só as pedras agora se recordam do que a Lua nos disse há muito tempo,
 e o que nós aprendemos com as árvores, e as vozes das ervas e dos
 cheiros das flores... "
                                        (Tony Kelly, "Pagan Musings" 1970)

 http://www.sam.paganfederation.org/index.php?id=13&lang=pt


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