Hi, I did not receive any answers so far - If you think this mail is out of place or someone has a better/different way of achieving this, please tell me.
Otherwise, any help would be appreciated. --- original message: I modified the gtkframe widget to do the following: /----------- frame.allocation -----------\ | | empty space | | /---- frame shadow/line ----\ | | child widget | | | so that the child widget may change size and is always directly bounded by the frame shadow line and centered inside the frame allocation space. This works fine until the child widget changes in size: On increase, the frame is not told to redraw itself, so the frame shadow can't be drawn to fit around the (now bigger) child; the old shadow is overdrawn by the child (in my case a drawing area, resized by gtk_drawing_area_size). So it is missing. If the widget decreases in size, there is again no call to the frame drawing routines, so the old (too big) shadow stays there and cannot be overdrawn (I put the necessary background drawing stuff inside the frame drawing routine). Normal exposes work, then the shadow appears/disappears as appropriate. What can I do? Do I have to set up some virtual function (maybe for gtkcontainer)? Thanks, Carsten _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
