>> gtk_label_set_text (GTK_LABEL(GTK_BIN(button)->child), "OFF"); > >Fortunately you don't need to write this ugly code any longer since >there is gtk_button_set_label() nowadays. i know. that's why i prefaced that message with "For 1.2:" ...
>> gtk_label_set_text (GTK_LABEL(GTK_BIN(button)->child), "OFF"); > >Fortunately you don't need to write this ugly code any longer since >there is gtk_button_set_label() nowadays. i know. that's why i prefaced that message with "For 1.2:" ...