#include <gtk/gtk.h>

GtkWidget *label_box;

gboolean
label_timeout ()
{
  GtkWidget *l = gtk_label_new ("<a href=\"http://bla.org\">BLA</a>");
  gtk_label_set_use_markup (GTK_LABEL (l), TRUE);
  gtk_style_context_add_class (gtk_widget_get_style_context (l), "dim-label");
  gtk_container_add (GTK_CONTAINER (label_box), l);
  gtk_widget_show_all (l);
  return TRUE;
}


int
main (int argc, char *argv[])
{
  gtk_init (&argc, &argv);

  GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  label_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);

  g_timeout_add (1000, label_timeout, NULL);


  gtk_container_add (GTK_CONTAINER (window), label_box);
  gtk_widget_show_all (window);
  gtk_main ();
}

