[Top][All Lists]

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

gtkentry of spinbutton

From: David Pirotte
Subject: gtkentry of spinbutton
Date: Thu, 06 Sep 2001 16:59:35 +0200


i'm developping an app which has a small table of entries (gtkentry) where the 
user should
enter numbers only, floats indeed but eventually converted to floats when 
focusing out of
an entry if necessary

i'd like to have access to the functionality offered in spin-button, but not 
the spin-button arrows, just having the gtk-entry (because it would be uggly
and it would take to much space in the widget ...)

so, is it possible either:

        - to have spin-buttons that only 'draw' their entry part
        - to get an entry to have the functionality of the entry of a 
          (passing the args as if it was a spin-button, min/max val, digits ...)

[the ideal would be to also be abble to specify a thousand seperator and a 
decimal seperator,
 but this is less important (and if so, it would be nice to get the value of 
the entry
 as a float (to pass to math functions) or as a string (to store in db)]


(please do not answer to use gnome stuff, it would not help, i'd need to keep
things in gtk)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]