GTK--: Gtk_Notebook::append_page question
- From: Ionut Borcoman at home <borco mailbox ro>
- To: "gtk-list redhat com" <gtk-list redhat com>
- Subject: GTK--: Gtk_Notebook::append_page question
- Date: Tue, 14 Jul 1998 16:15:06 +0000
Hi,
I want to add some pages to a notebook. I am using something like this:
frame0.set_usize( 200, 200 );
frame0.border_width( SPACING );
notebook.append_page( &frame0,new Gtk_Label("a page"));
frame0.show();
My question is this:
Will the memory allocated for the label by dealocated corectly when the
notebook or notebook page is deleted ? Will this kind of declaration
("new Gtk_Label("a page")") produce memory leaks ?
TIA,
Ionutz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]