Re-modif
This commit is contained in:
parent
37e7572d44
commit
7a2f989f76
|
@ -31,3 +31,4 @@ sources/lecture/.lecture.h.swp
|
||||||
sources/lecture/lecture.o
|
sources/lecture/lecture.o
|
||||||
sources/GUI/premierTest
|
sources/GUI/premierTest
|
||||||
sources/lecture.o
|
sources/lecture.o
|
||||||
|
sources/GUI/coucou
|
|
@ -1,10 +1,7 @@
|
||||||
all : premierTest clean
|
all : premierTest clean
|
||||||
|
|
||||||
premierTest : premierTest.o
|
premierTest : premierTest.c
|
||||||
gcc -Wall premierTest.o -o premierTest `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
gcc -Wall premierTest.c -o premierTest `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
||||||
|
|
||||||
premierTest.o : premierTest.c
|
|
||||||
gcc -Wall -c premierTest.c `pkg-config --cflags --libs gtk+-3.0 gmodule-2.0`
|
|
||||||
|
|
||||||
clean : premierTest
|
clean : premierTest
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!-- Generated with glade 3.16.1 -->
|
|
||||||
<interface>
|
<interface>
|
||||||
<requires lib="gtk+" version="3.6"/>
|
<!-- interface-requires gtk+ 3.6 -->
|
||||||
<object class="GtkWindow" id="ajoutinstrument">
|
<object class="GtkWindow" id="ajoutinstrument">
|
||||||
<property name="can_focus">False</property>
|
<property name="can_focus">False</property>
|
||||||
<child>
|
<child>
|
||||||
|
@ -377,18 +376,6 @@
|
||||||
<property name="relief">none</property>
|
<property name="relief">none</property>
|
||||||
<property name="focus_on_click">False</property>
|
<property name="focus_on_click">False</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child internal-child="plus_button">
|
|
||||||
<object class="GtkButton" id="scalebutton-plus_button1">
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child internal-child="minus_button">
|
|
||||||
<object class="GtkButton" id="scalebutton-minus_button1">
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
|
@ -405,18 +392,6 @@
|
||||||
<property name="relief">none</property>
|
<property name="relief">none</property>
|
||||||
<property name="focus_on_click">False</property>
|
<property name="focus_on_click">False</property>
|
||||||
<property name="orientation">vertical</property>
|
<property name="orientation">vertical</property>
|
||||||
<child internal-child="plus_button">
|
|
||||||
<object class="GtkButton" id="scalebutton-plus_button2">
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
<child internal-child="minus_button">
|
|
||||||
<object class="GtkButton" id="scalebutton-minus_button2">
|
|
||||||
<property name="can_focus">False</property>
|
|
||||||
<property name="receives_default">False</property>
|
|
||||||
</object>
|
|
||||||
</child>
|
|
||||||
</object>
|
</object>
|
||||||
<packing>
|
<packing>
|
||||||
<property name="left_attach">1</property>
|
<property name="left_attach">1</property>
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <gtk/gtk.h>
|
#include <gtk/gtk.h>
|
||||||
|
@ -14,7 +13,7 @@ int main( int argc, char *argv[] ) {
|
||||||
gtk_builder_add_from_file( monBuilder, "ponytracker.glade", NULL);
|
gtk_builder_add_from_file( monBuilder, "ponytracker.glade", NULL);
|
||||||
gtk_builder_connect_signals( monBuilder, NULL);
|
gtk_builder_connect_signals( monBuilder, NULL);
|
||||||
|
|
||||||
maFenetre = GTK_WIDGET( gtk_builder_get_object( monBuilder, "fenetrePrincipale"));
|
maFenetre = GTK_WIDGET( gtk_builder_get_object( monBuilder, "fenetreprincipale"));
|
||||||
|
|
||||||
gtk_widget_show_all (maFenetre);
|
gtk_widget_show_all (maFenetre);
|
||||||
gtk_main();
|
gtk_main();
|
||||||
|
@ -38,7 +37,7 @@ void fenetreSample ( int argc, char *argv[] )
|
||||||
gtk_builder_add_from_file( monBuilderSample, "ponytracker.glade", NULL);
|
gtk_builder_add_from_file( monBuilderSample, "ponytracker.glade", NULL);
|
||||||
gtk_builder_connect_signals( monBuilderSample, NULL);
|
gtk_builder_connect_signals( monBuilderSample, NULL);
|
||||||
|
|
||||||
maFenetreSample = GTK_WIDGET( gtk_builder_get_object( monBuilderSample, "ajoutSample"));
|
maFenetreSample = GTK_WIDGET( gtk_builder_get_object( monBuilderSample, "ajoutsample"));
|
||||||
|
|
||||||
gtk_widget_show_all (maFenetreSample);
|
gtk_widget_show_all (maFenetreSample);
|
||||||
}
|
}
|
||||||
|
@ -55,7 +54,7 @@ void fenetreInstrument ( int argc, char *argv[] )
|
||||||
gtk_builder_add_from_file( monBuilderInstrument, "ponytracker.glade", NULL);
|
gtk_builder_add_from_file( monBuilderInstrument, "ponytracker.glade", NULL);
|
||||||
gtk_builder_connect_signals( monBuilderInstrument, NULL);
|
gtk_builder_connect_signals( monBuilderInstrument, NULL);
|
||||||
|
|
||||||
maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( monBuilderInstrument, "ajoutInstrument"));
|
maFenetreInstrument = GTK_WIDGET( gtk_builder_get_object( monBuilderInstrument, "ajoutinstrument"));
|
||||||
|
|
||||||
gtk_widget_show_all (maFenetreInstrument);
|
gtk_widget_show_all (maFenetreInstrument);
|
||||||
}
|
}
|
||||||
|
@ -72,7 +71,7 @@ void fenetreMotif ( int argc, char *argv[] )
|
||||||
gtk_builder_add_from_file( monBuilderMotif, "ponytracker.glade", NULL);
|
gtk_builder_add_from_file( monBuilderMotif, "ponytracker.glade", NULL);
|
||||||
gtk_builder_connect_signals( monBuilderMotif, NULL);
|
gtk_builder_connect_signals( monBuilderMotif, NULL);
|
||||||
|
|
||||||
maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( monBuilderMotif, "ajoutMotif"));
|
maFenetreMotif = GTK_WIDGET( gtk_builder_get_object( monBuilderMotif, "ajoutmotif"));
|
||||||
|
|
||||||
gtk_widget_show_all (maFenetreMotif);
|
gtk_widget_show_all (maFenetreMotif);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue