Re: Different Colors i an entry widget?





Carlo ha scritto lo scorso 19/05/04 11.19:


    GtkWidget * label;

    label = gtk_label_new ("");
gtk_label_set_markup (GTK_LABEL (label), "<span foreground="blue">Blue text</span>, <b>black bold</b>");
sorry:
gtk_label_set_markup (GTK_LABEL (label), "<span fpreground=\"blue\">Blue text</span>, <b>black bold</b>");
      gtk_widget_show (label);

Thanks günther


------------------------------------------------------------------------

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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