Re: VBox child problem
- From: Russell Shaw <rjshaw netspace net au>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: VBox child problem
- Date: Mon, 31 May 2004 14:08:42 +1000
Russell Shaw wrote:
Hi,
This code displays "Hi" in a window:
GtkWidget *table=table_new(); // empty table
GtkWidget *label=gtk_label_new("Hi");
gtk_box_pack_start(GTK_BOX(table),label,FALSE,FALSE,0);
gtk_container_add(GTK_CONTAINER(window),table);
gtk_widget_show_all(window);
gtk_main ();
This code gives an error:...
When changing the parent object, remember to change
parent_class and container in the class and instance structs;)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]