Re: gtknotebook & pixmap



Around about 01/03/02 01:15, mrzali scribbled ...
Actually i want to put pixmap on the "label" (tittle of the tab).

  Erm - what do you /think/ the following line does, then?

    gtk_notebook_set_tab_label (GTK_NOTEBOOK (notebook1),
        gtk_notebook_get_nth_page (GTK_NOTEBOOK (notebook1), 0), pixmap1);

  Again, feel free to replace 'pixmap' with any container/widget-type.

--
[neil fnx ~]# rm -f .signature
[neil fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil fnx ~]# exit




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