how to use gtk_label_set_markup with the label of a GtkToggleButton ?



I would like to use gtk_label_set_markup with the label of a
GtkToggleButton, is it possible.

I have this source :

  label_text = g_strdup_printf ("<b>%s</b>", _("Active Speed dial") );
  active_speed_dial_button = gtk_check_button_new();

  gtk_label_set_markup(GTK_LABEL(GTK_BUTTON(GTK_TOGGLE_BUTTON(active_speed_dial_button)->button)->label_text),
			label_text);
  g_free (label_text);

But i have an error, if anyone has a solution, 

thanks
			  




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