How to fix size of a widget?



Hello,

I'm trying to implement a window with frames including labels.
But they are not correctly aligned.
There is set_size_allocate() . Is it a good setting to use? and how to use it?.
If I understand, I can use it only if the widget is realized and I have to create a Gdk::Rectangle.
If i set_text() in the label when the program is running, it redraws.
So how to choose the size of a widget and force it to not redraw ?

Thanks.

Attachment: w.png
Description: PNG image



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