Re: how to change the gnomeapp contents

Derethor <derethor poves com> writes:
>  I am writting an application where I need to change the main GnomeApp
> contents.
>  I was debuggin all my code, and I discovered that
> gnome_app_set_contents modify my previus widget (so, I cant call
> gtk_widget_destroy later) and If I free my gtkwidget before I change the
> gnome contents... the app crashes (it is normal)
>  so, are there any reasons for gnome_app_set_contents to modify my
> previus contents?

To change the contents of a GnomeApp just gtk_container_remove() the
previous contents.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]