paned widget...





I' trying to show a widget inside a vpanded box but... I fail.

the code is this:

  GtkWidget *pippo;
  
  pippo = gtk_vbox_new(FALSE,0);
  gtk_paned_add2(GTK_PANED(vpaned), pippo);
  
I try also gtk_paned_add1(...) and gtk_container_add(...)

  gtk_widget_show(pippo);
  clist_groups = gtk_button_new_with_label("prova");
  gtk_container_add(GTK_CONTAINER (pippo), clist_groups);
  gtk_widget_show(clist_groups);


All the variables are declared, the code is compiled without error nor
warnings... but the button isn't show.

More generally, is it possible use the [vh]paned like a box? Or I must put
a box inside a [vh]paned and after pack the widget in the box?


thanks in advance.

bye

Gianluca



    Member of the Pluto Linux Users Group 
  Avaible e-mail address:                                
  gm518464@silab.dsi.unimi.it (-) gianluca_montecchi@rcm.inet.it 
  Web page: http://www.silab.dsi.unimi.it/~gm518464
  For Linux questions please mail to linux@saturn.media.dsi.unimi.it




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