kartikay malhotra a écrit :
> 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.

You have to write your checks in a handler for the changed signal

> 2) How to draw points in GTK, without using GNOME?

gtk_label_set_text(label, ".")

> Many Thanks for your consideration.
> 
> -- 
> Best Regards
> Er. Kartikay Malhotra
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gtk-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtk-list

_______________________________________________
gtk-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to