1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| /* Création des Widgets de la VBox Principale */
Titre = gtk_label_new("Application MEMO");
pSeparator1 = gtk_hseparator_new();
HBox = gtk_hbox_new(FALSE, 10);
VBox_visualisation = gtk_vbox_new(FALSE, 0);
conversion = g_locale_to_utf8("<span face=\"Sylfaen\" foreground=\"#800080\" size=\"x-large\"><b>Visualisation des intitulés des mémos enregistrés.</b></span>", -1, NULL, NULL, NULL);
GtkWidget *Intitule_v = gtk_label_new(conversion);
g_free(conversion);
gtk_label_set_use_markup(GTK_LABEL(Intitule_v), TRUE);
/* Ajout des widgets dans la Vbox Principale */
gtk_label_set_markup(GTK_LABEL(Titre), "<span font_desc=\"Sylfaen Bold 16\"foreground=\"#00008B\">Application MEMO</span>\n");
gtk_box_pack_start(GTK_BOX(VBox), Titre, TRUE, FALSE, 1);
gtk_box_pack_start(GTK_BOX(VBox), pSeparator1, TRUE, FALSE, 1);
gtk_container_add(GTK_CONTAINER(VBox), HBox);
gtk_box_pack_start(GTK_BOX(VBox), Intitule_v, TRUE, FALSE, 0);
gtk_container_add(GTK_CONTAINER(VBox), VBox_visualisation); |
Partager