On 01/14/2017 09:05 PM, Erdem wrote:

I would like to pass some double value to ListStore's constructor but it doesn't allows me to do.

import gobject.Value;

Value v = new Value(price);
setValue(iterator, 1, v);

Also is it possible to round this double to 2 decimal places when presenting data with GtkTreeView.

Use TreeViewColumn.setCellDataFunc(); to set an callback that is used to
render the data, and than set the text propery of the CellRenderer that
is passed to the callback to set the text to be displayed.