Hi Rui, thank you very much for your answer ! I have custom labels with my widgets... Now, I'd rather change as less as possible the Glade code (Glade use _with_label in generation code). I think that would be better using with_label than a custom button (I'm not completetly sure about it on gtk).
************************************************************************** So, the conclusion is that the objects _with_label can't change their font size, is it? Could be any way of do it? ************************************************************************** Thank you Rui Regards Luis --- El sáb 12-jul-08, Rui Tiago Cação Matos <[EMAIL PROTECTED]> escribió: Fecha: sábado, 12 de julio de 2008, 9:05 am On 12/07/2008, Luis Ariel Lecca <[EMAIL PROTECTED]> wrote: > So how to get the reference pointer or directly how to change the font size on these objects ? Since GtkButtons are GtkContainers you could add a custom label to it like this: #include <gtk/gtk.h> int main (int argc, char **argv) { GtkWidget *label, *button, *window; gtk_init (&argc, &argv); label = gtk_label_new (""); gtk_label_set_markup (GTK_LABEL (label), "<span font_desc=\"Times Italic 24\">Label</span>"); button = gtk_button_new (); gtk_container_add (GTK_CONTAINER (button), label); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_container_add (GTK_CONTAINER (window), button); gtk_widget_show_all (window); gtk_main (); return 0; } Good luck, Rui ____________________________________________________________________________________ ¡Buscá desde tu celular! Yahoo! oneSEARCH ahora está en Claro http://ar.mobile.yahoo.com/onesearch _______________________________________________ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list