Sorry Terje, it seems that I mailed you privately insted of posting to the list. For others in the list: El mar, 24 de 02 de 2004 a las 23:13, Terje Eggestad escribiÃ:
Its there anyway to use the pango markup within the label of a GtkButton?
Yes of course. GtkWidget* button; GtkWidget* label; button = gtk_button_new(); label = gtk_label_new(label_text); gtk_label_set_use_markup(GTK_LABEL(label),true) gtk_label_set_text(GTK_LABEL(label),"<span size='large'>Hi</span>"); gtk_widget_show(label); gtk_container_add(GTK_CONTAINER(button),label); gtk_widget_show(button); Regards -- Iago Rubio http://www.iagorubio.com GPGkey pgp.rediris.es id 0x909BD4DD fingerprint = D18A B950 5F03 BB9A DD89 AA75 FEDF 1978 909B D4DD ********** iago.rubio(AT)hispalinux.es ********** --------------------------------------------------
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente