[Glade-users] Seting Decimal Place for Number
- From: piyush.pv at gmail.com (Piyush Verma)
- Subject: [Glade-users] Seting Decimal Place for Number
- Date: Sun, 2 May 2010 21:56:19 +0800
Hi Tadej
Thanks a lot for information.
In my past experience while working with windows a format field allow to
control decimal place so I think may be here some property can set that.
How ever I am able to set the header alignment from
Treeviewcolumn-> alignment property.
I will try your suggested way to control it by code
Thanks again
Piyush Verma
On Sun, May 2, 2010 at 9:32 PM, Tadej Borov?ak <tadeboro at gmail.com> wrote:
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
--
Thanks & Regards
Piyush Verma
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/glade-users/attachments/20100502/9b3a4638/attachment-0001.html
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]