您好有办法在gtkdialog中更改笔记本的标签和标签文字颜色吗?
<notebook scrollable="true" enable-popup="true" show-border="false" labels="BBC|CNN|FOX|Sky News|Reddit|MSNBC|Discovery News|Market Watch|Business Insider|RTNews|Reuters|NDTV|TechCrunch|9GAG|LifeHacker|CommonDreams|TruthDig|Humour">
答案 0 :(得分:0)
我想你可以做类似的事情:
GtkLabel *label = gtk_label_new (NULL);
gtk_label_set_markup (label, "<span color='red'>Text</span>");
gtk_notebook_set_tab_label (notebook, ..., label);
但我没有测试过它。