GtkFrame adaption again

2001-10-24 Thread Carsten Burstedde
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.al

Re: GtkFrame adaption again

2001-10-24 Thread Paul Davis
>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. i use frames a lot. i've never noticed the effect you describe, even with widgets that change size dynamically. i think you should send a small

Re: GtkFrame adaption again

2001-10-24 Thread Owen Taylor
Carsten Burstedde <[EMAIL PROTECTED]> writes: > I modified the gtkframe widget to do the following: > > /--- frame.allocation ---\ > | > | empty space > | > | / frame shadow/line \ > | | child widget > | | > | > > so that the ch

Re: GtkFrame adaption again

2001-10-24 Thread Sven Neumann
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

Re: GtkFrame adaption again

2001-10-24 Thread Carsten Burstedde
> > 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

Re: GtkFrame adaption again

2001-10-24 Thread Carsten Burstedde
> > What can I do? Do I have to set up some virtual function (maybe for > > gtkcontainer)? > > Try: > > gtk_container_set_reallocate_redraws (GTK_CONTAINER (my_widget), TRUE); > > In your init function. The other thing you could do is call > gtk_widget_queue_draw() in your size_allocate() method

Re: GtkFrame adaption again

2001-10-25 Thread Carsten Burstedde
> 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_cont