Re: adding an icon to a notebook tab
- From: TP Muller <tpm01 aber ac uk>
- To: gtk-app-devel-list gnome org
- Subject: Re: adding an icon to a notebook tab
- Date: Wed, 14 Aug 2002 13:09:51 +0100
On Wednesday 14 August 2002 12:57, Olivier Sessink wrote:
Hi,
I tried to get an icon and text into a notebook tab, by adding a hbox in
gtk_notebook_append_page(GTK_NOTEBOOK(pd->noteb), vbox1, hbox); where the
hbox contains a label and a pixmap, but I get an empty tab now, is it
possible to do this another way?
This should work (it works for me anyway) :-)
Did you forgot the obligatory gtk_widget_show() calls by any chance?
gtk_widget_show(pixmap);
gtk_widget_show(label);
gtk_widget_show(hbox);
Cheers
-Tim
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]