Pointer to Gtk::SpinButton not showing correct when i use set_value()



Hello

i'm brazilian and forgive me for my english. i just
read a little but is the first time i'm writing...

i'm starting with gtkmm and i'm surprise when i'm
setting a SpinButton using set_value() and the "video"
doesn't change the value. i'm saying video because
after to use set_value() i use get_value() and it
return the new value, but on the video, the value was
not changed. 

example:

(...)
row[m_Columns.mMax] = 10;
(...)
g_print("%d", pSpinMax->get_value())      //-->  5
pSpinMax->set_value( row[m_Columns.m_Max]   );
g_print("%d", pSpinMax->get_value())      //-->  10

But on video is showing 5.

Thank's.

(o_o) - mds



__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 



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