Re: resizing tables with widget and unref
- From: Havoc Pennington <hp redhat com>
- To: "needles industrialmusic com" <needles industrialmusic com>
- Cc: gtk-list gnome org
- Subject: Re: resizing tables with widget and unref
- Date: 21 Jun 2000 18:52:27 -0400
"needles@industrialmusic.com" <needles@industrialmusic.com> writes:
> Any ideas to what I should do?
Use gtk_object_destroy(), not gtk_object_unref(). You can only unref
if you own a reference, and you don't own a reference it appears.
> Seems to me there maybe should also be a gtk_table_unattach to
> compliment gtk_table_attach.
>
Use gtk_container_remove() for this. Also, gtk_object_destroy() will
automatically remove the widget from its container.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]