Re: notebook issue ?



thanks it works...
--- Christian Neumair <chris gnome-de org> a écrit :

Am Sonntag, den 18.09.2005, 15:55 +0200 schrieb Rss
Reader:
i did what he said, but got nothing on the tab ...

here's a snippet of what i do ...
p_tab_label = gtk_label_new ("TabName");
p_close_button = gtk_button_new_with_label(".");

hbox_tab = gtk_hbox_new(FALSE, 0);
gtk_box_pack_start (GTK_BOX (hbox_tab),
p_close_button
, TRUE, TRUE, 0);
gtk_box_pack_start (GTK_BOX (hbox_tab),
p_tab_label ,
TRUE, TRUE, 0);

gtk_widget_show_all (hbox_tab);

gtk_notebook_append_page (
      GTK_NOTEBOOK(p_notebook),
      window,
      hbox_tab);

-- 
Christian Neumair <chris gnome-de org>




        

        
                
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com



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