Re: How to change label font ?



Dave Peticolas wrote:

Adam Olejniczak writes:


  GtkStyle *style;

  style = gtk_widget_get_style(GTK_WIDGET(label));

  style = gtk_style_copy(style);

  style->font = <the GdkFont you want to use>

  gtk_widget_set_style(label, style);

  gtk_style_unref(style);

But you might want to wait for someone who is more awake to give
you a better answer :)

dave


:-))) That exactly this what i was looking for. Thank you very much :-))

Regards
adolf





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