RE: [gtkmm] Label in a std::list<Gtk::button *>



> From: Alberto Paro [mailto:alberto paro homeunix org] 
> I've tried to debug for three days but i cannot find the solution.
> I want make a list of buttons and set the label. The code compiles and
> works for the event but does not set the labels of buttons.
> 
> I force the label twice: with the constructor and with the set_label

I would simplify that code a bit to debug it further. You don't need to
outputstream stuff just to check that the label is being set. Your std::list
stuff also seems quite muddled.

Murray Cumming
murrayc usa net
www.murrayc.com 



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