Re: notebook issue ?
- From: Rss Reader <rss_reader yahoo fr>
- To: gtk <gtk-app-devel-list gnome org>
- Subject: Re: notebook issue ?
- Date: Sun, 18 Sep 2005 15:55:42 +0200 (CEST)
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_notebook_append_page (
GTK_NOTEBOOK(p_notebook),
window,
hbox_tab);
--- Christian Neumair <chris gnome-de org> a écrit :
Am Sonntag, den 18.09.2005, 15:45 +0200 schrieb Rss
Reader:
I would like to insert a close button, on the
notebook
tab, like gedit did, and i'm looking for an easy
solution, or would one explain me how to do it ?
What was wrong with the answer you got under [1]?
[1]
http://mail.gnome.org/archives/gtk-devel-list/2005-September/msg00102.html
--
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]