Hi. Below is some sample code. You can pack any two widgets insideGtkNotebook as label and content, but remember to explicitly showlabel widget, since calling gtk_widget_show_all on toplevel windowwill not suffice. -----------#include <gtk/gtk.h>intmain( int argc, char **argv ){ GtkWidget *window; GtkWidget *notebook; GtkWidget *vbox; GtkWidget *treeview; GtkWidget *button; GtkWidget *label; gtk_init( &argc, &argv ); window = gtk_window_new( GTK_WINDOW_TOPLEVEL ); g_signal_connect( G_OBJECT( window ), "destroy", G_CALLBACK( gtk_main_quit ), NULL ); vbox = gtk_vbox_new( FALSE, 5 ); label = gtk_label_new( "Page 1" ); gtk_widget_show( label ); notebook = gtk_notebook_new(); gtk_container_add( GTK_CONTAINER( window ), notebook ); gtk_notebook_append_page( GTK_NOTEBOOK( notebook ), vbox, label ); treeview = gtk_tree_view_new(); gtk_box_pack_start( GTK_BOX( vbox ), treeview, TRUE, TRUE, 0 ); button = gtk_button_new_with_label( "Testing button" ); gtk_box_pack_start( GTK_BOX( vbox ), button, FALSE, TRUE, 0 ); label = gtk_label_new( "Some text to populate this label" ); gtk_box_pack_start( GTK_BOX( vbox ), label, FALSE, TRUE, 0 ); gtk_widget_show_all( window ); gtk_main(); return( 0 );}--------------- 2008/12/12 xu jiang <xujianghn@xxxxxxxxx>:> Hi,>> Can you please give an example about how to adding a treeview control, a> text and a button to a notebook?>> Thanks,> Jane>> _______________________________________________> gtk-list mailing list> gtk-list@xxxxxxxxx> http://mail.gnome.org/mailman/listinfo/gtk-list>> -- Tadej Borovšak00386 (0)40 613 131tadeboro@xxxxxxxxxxxxxxxxxxxxxxx@gmail.com_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list