Re: [gtk-list] Changing adjustments on adjustable widgets
- From: "Iain" <nodatadj webtribe net>
- To: <gtk-list redhat com>
- Subject: Re: [gtk-list] Changing adjustments on adjustable widgets
- Date: Tue, 17 Aug 1999 12:51:17 +0100
> If I have a GtkText widget (for example) and calls
> gtk_text_set_adjustments(...) on it, then it will destroy the previous
> adjustments automatically, am I right? Is there anyway I can make the
> widget not do this (just forget them) so I can kill them myself later?
gtk_widget_ref (hadj);
gtk_widget_ref (vadj);
then when you want to destroy them
gtk_widget_unref (hadj);
gtk_widget_unref (vadj);
That should stop the widgets being destroyed I think.
Iain
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]