Hi, Carsten Burstedde <[EMAIL PROTECTED]> writes:
> 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. did you say, you modified the GtkFrame widget ?? assuming that I understood you correctly, you can achieve what you describe w/o fiddling around in GTK+ internals by putting a standard GtkFrame inside a GtkAlignment: GtkWidget *align = gtk_alignment_new (0.5, 0.5, 0.0, 0.0); GtkWidget *frame = gtk_frame_new (NULL); gtk_container_add (GTK_CONTAINER (align), frame); Salut, Sven _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list
