[Glade-users] Seting Decimal Place for Number


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 Borov?ak
tadeboro at gmail.com
tadej.borovsak at gmail.com

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