5 int main(
int argc,
char *argv[] ) {
6 GtkBuilder *monBuilder;
9 gtk_init( &argc, &argv );
11 monBuilder = gtk_builder_new();
13 gtk_builder_add_from_file( monBuilder,
"ponytracker.glade", NULL);
14 gtk_builder_connect_signals( monBuilder, NULL);
16 maFenetre = GTK_WIDGET( gtk_builder_get_object( monBuilder,
"fenetreprincipale"));
18 gtk_widget_show_all (maFenetre);
30 GtkBuilder *monBuilderSample;
31 GtkWidget *maFenetreSample;
33 gtk_init( &argc, &argv );
35 monBuilderSample = gtk_builder_new();
37 gtk_builder_add_from_file( monBuilderSample,
"ponytracker.glade", NULL);
38 gtk_builder_connect_signals( monBuilderSample, NULL);
40 maFenetreSample = GTK_WIDGET( gtk_builder_get_object( monBuilderSample,
"ajoutsample"));
42 gtk_widget_show_all (maFenetreSample);
47 GtkBuilder *monBuilderInstrument;
48 GtkWidget *maFenetreInstrument;
50 gtk_init( &argc, &argv );
52 monBuilderInstrument = gtk_builder_new();
54 gtk_builder_add_from_file( monBuilderInstrument,
"ponytracker.glade", NULL);
55 gtk_builder_connect_signals( monBuilderInstrument, NULL);
57 maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( monBuilderInstrument,
"ajoutinstrument"));
59 gtk_widget_show_all (maFenetreInstrument);
64 GtkBuilder *monBuilderMotif;
65 GtkWidget *maFenetreMotif;
67 gtk_init( &argc, &argv );
69 monBuilderMotif = gtk_builder_new();
71 gtk_builder_add_from_file( monBuilderMotif,
"ponytracker.glade", NULL);
72 gtk_builder_connect_signals( monBuilderMotif, NULL);
74 maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( monBuilderMotif,
"ajoutmotif"));
76 gtk_widget_show_all (maFenetreMotif);
void fenetreSample(int argc, char *argv[])
void fenetreMotif(int argc, char *argv[])
int main(int argc, char *argv[])
void fenetreInstrument(int argc, char *argv[])