Gnome/GTK About Widget and Memory

Gnome/GTK About Widget and Memory

Post by Rob Brown-Baylis » Fri, 05 Nov 1999 04:00:00



Hi, I have created an App with Glade, and have a question about Gnome/GTK
widgets.

My code looks a little like this (form memory, I am posting from work)

GtkWidget *about
about = create_about();
gtk_widget_show(about);

My question is, whne the user presses the OK button, and the about message
disapears, do I need to do any clean up after it?  If I opend it several
times useing the above code, would it cause problems?

Thanks..

Rob

 
 
 

Gnome/GTK About Widget and Memory

Post by Rob Brown-Baylis » Fri, 05 Nov 1999 04:00:00



> Hi, I have created an App with Glade, and have a question about Gnome/GTK
> widgets.

> My code looks a little like this (form memory, I am posting from work)

> GtkWidget *about
> about = create_about();
> gtk_widget_show(about);

> My question is, whne the user presses the OK button, and the about message
> disapears, do I need to do any clean up after it?  If I opend it several
> times useing the above code, would it cause problems?

> Thanks..

> Rob

--

  Rob Brown-Bayliss
  ---====<*>====---

  live from ZOOstation
  http://www.ZOOstation.cc

 
 
 

1. Wanted: Gtk/Gnome-based hex-edit widget

I'm in need of having some sort of hex-editing widget in an application I'm
writing.  something similar to a simple editing control, but works as a hex
editor on a given byte array of a given length.

Does anybody know of or have such a control?  Or some other similar widget
that I could plug into an existing application?

2. File system problems after install

3. GNOME/GTK application fonts not working for menu items and other widgets

4. Keyboard Lockup; xload

5. gtk: how to draw arbitrary widgets

6. Two squids don't want to connect :((

7. Changing widget color in GTK

8. PB forte 16 sound card and panasonic cdrom interface

9. Grid like widget for GTK or KDE

10. GTK+ Text widget

11. updating gtk widget in child

12. Gtk-CRITICAL **: file gtkwidget.c: line 3359 (gtk_widget_set_parent): assertion `widget->parent == NULL' failed.

13. Horrible gtk widgets.