Quand on ferme la fenêtre, ça quitte.
This commit is contained in:
parent
64e93ae67b
commit
979230f880
|
@ -1,6 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.16.1 -->
|
||||
<interface>
|
||||
<!-- interface-requires gtk+ 3.6 -->
|
||||
<requires lib="gtk+" version="3.6"/>
|
||||
<object class="GtkWindow" id="ajoutinstrument">
|
||||
<property name="can_focus">False</property>
|
||||
<child>
|
||||
|
@ -376,6 +377,18 @@
|
|||
<property name="relief">none</property>
|
||||
<property name="focus_on_click">False</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>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
@ -392,6 +405,18 @@
|
|||
<property name="relief">none</property>
|
||||
<property name="focus_on_click">False</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>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
@ -1505,6 +1530,7 @@
|
|||
</object>
|
||||
<object class="GtkWindow" id="fenetreprincipale">
|
||||
<property name="can_focus">False</property>
|
||||
<signal name="delete-event" handler="quitter" swapped="no"/>
|
||||
<child>
|
||||
<object class="GtkBox" id="box2">
|
||||
<property name="visible">True</property>
|
||||
|
|
|
@ -124,3 +124,8 @@ void lancerLecture ()
|
|||
debut(melodie, liste, nbrPortees);
|
||||
lecture(nbrPortees,melodie);
|
||||
}
|
||||
|
||||
void quitter ()
|
||||
{
|
||||
gtk_main_quit();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue