[Glade-users] Seting Decimal Place for Number
Tadej Borovšak
tadeboro at gmail.com
Sun May 2 09:32:10 EDT 2010
Hello.
> 1 Set Decimal place in Float number.
> 2 Set aligenment of CellRendererSpin to right.
You cannot control these things from Glade directly. Glade can only
modify properties of objects that GtkBuilder will create.
GtkSpinButton is created on-the-fly when editing is started and thus
Glade cannot access it. You need to set those properties from withing
GtkCellEditable::editing-started signal handler. API docs feature a
sample code that shows how to set entry completion, but you should be
able to modify it to adjust spin button properties with ease.
Tadej
--
Tadej Borovšak
tadeboro.blogspot.com
tadeboro at gmail.com
tadej.borovsak at gmail.com
More information about the Glade-users
mailing list