I'm trying to change the size of the font on the button but not able to do it.
I tried using pango
on the widget. For some reason it does not work. Is there an alternate way to do this?
#define font "Sans 30"
button = gtk_button_new_with_label("Button text");
gtk_widget_set_size_request(button, 150, 100);
gtk_widget_modify_bg (button, GTK_STATE_NORMAL, &blue_button);
PangoFontDescription *font_desc;
font_desc = pango_font_description_from_string (font);
gtk_widget_modify_font(GTK_WIDGET(button), font_desc);