Tommi Komulainen <tommi.komulainen@xxxxxxxxx> wrote:
On Mon, 2004-05-17 at 09:33, ext Antonia Kieranov Titlis wrote:
> Hey all,
>
> I'm just curious, is it possible to reparent a dialog
> into a scrolled window? If so, how? Thanks.
I'd say toplevel widgets can't be reparented by definition. However,
you can probably reparent some child widget of the dialog:
gtk_widget_reparent (GTK_BIN (dialog)->child, scrolled_window);
--
Tommi Komulainen
_______________________________________________
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list
Thanks, it worked, though i did add an eventbox inside the scrolledwindow, and so I put it inside it. but now... how to unparent and destroy it? I mean, I want to use the eventbox back again for another widget, I did some experiments on it, but they failed. Can someone help me, please?
Thanks in advance,
Kieran
Do you Yahoo!?
Yahoo! Domains - Claim yours for only $14.70/year
_______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list