-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/Part_4_GTK_v1.0' into main
- Loading branch information
Showing
22 changed files
with
334 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!DOCTYPE ESGI [ | ||
<!ELEMENT classrooms (classroom+)> | ||
<!ELEMENT classroom (#PCDATA)> | ||
]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<!DOCTYPE ESGI [ | ||
<!ELEMENT classrooms (classroom)> | ||
<!ELEMENT classroom (#PCDATA)> | ||
]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!DOCTYPE address [ | ||
<!ELEMENT address (name,company,phone)> | ||
<!ELEMENT name (#PCDATA)> | ||
<!ELEMENT company (#PCDATA)> | ||
<!ELEMENT phone (#PCDATA)> | ||
]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE employee [ | ||
<!ELEMENT employee (name,designation, email)> | ||
<!ATTLIST employee id CDATA #REQUIRED> | ||
<!ELEMENT name (#PCDATA)> | ||
<!ELEMENT designation (#PCDATA)> | ||
<!ATTLIST designation discipline CDATA #IMPLIED> | ||
<!ELEMENT email (#PCDATA)> | ||
]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!DOCTYPE beginnersbook [ | ||
<!ELEMENT beginnersbook (to,from,subject,message)> | ||
<!ELEMENT to (#PCDATA)> | ||
<!ELEMENT from (#PCDATA)> | ||
<!ELEMENT subject (#PCDATA)> | ||
<!ELEMENT message (#PCDATA)> | ||
]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE encyclopedie [ | ||
<!ELEMENT encyclopedie (personne*)> | ||
<!ELEMENT personne (nom,prenom,publication+)> | ||
<!ATTLIST personne sexe (H | F) #REQUIRED> | ||
<!ATTLIST personne datenaissance CDATA #REQUIRED> | ||
<!ELEMENT nom (#PCDATA)> | ||
<!ELEMENT prenom (#PCDATA)> | ||
<!ELEMENT publication (#PCDATA)> | ||
]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<!-- xml for dtd_example_2.dtd file (correct) --> | ||
<ESGI> | ||
<classrooms key="key"> | ||
<classroom>AL</classroom> | ||
<classroom>IABD</classroom> | ||
<classroom>MOC</classroom> | ||
<classroom>IBC</classroom> | ||
</classrooms> | ||
</ESGI> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<!-- xml for dtd_example_4.dtd file (correct) --> | ||
<ESGI> | ||
<classrooms key="key"> | ||
<classroom>AL</classroom> | ||
<classroom>IABD</classroom> | ||
<classroom>MOC</classroom> | ||
<classroom>IBC</classroom> | ||
</classrooms> | ||
</ESGI> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<address> | ||
<name>Tanmay Patil</name> | ||
<company>TutorialsPoint</company> | ||
<phone>(011) 123-4567</phone> | ||
</address> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version = "1.0" ?> | ||
|
||
<employee id="1"> | ||
<name>Nou larlac</name> | ||
<designation discipline="Pro developper"> | ||
Junior Engineer | ||
</designation> | ||
<email>noe@mail.com</email> | ||
</employee> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0"?> | ||
|
||
<beginnersbook> | ||
<to>My Readers</to> | ||
<from>Chaitanya</from> | ||
<subject>A Message to my readers</subject> | ||
<message>Welcome to beginnersbook.com</message> | ||
</beginnersbook> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0"?> | ||
|
||
<encyclopedie> | ||
<personne datenaissance="1942-01-08" sexe="H"> | ||
<nom>HAWKING</nom> | ||
<prenom>Stephen</prenom> | ||
<publication>Une brève histoire du temps</publication> | ||
</personne> | ||
<personne datenaissance="1932-07-13" sexe="H"> | ||
<nom>REEVES</nom> | ||
<prenom>Hubert</prenom> | ||
<publication>L'Univers expliqué à mes petits-enfants</publication> | ||
<publication>Patience dans l'azur, L'évolution cosmique</publication> | ||
<publication>Poussières d'étoiles</publication> | ||
</personne> | ||
<personne datenaissance="1879-03-14" sexe="H"> | ||
<nom>EINSTEN</nom> | ||
<prenom>Albert</prenom> | ||
<publication>Des ondes gravitationnelles</publication> | ||
<publication>Sur la théorie quantique du rayonnement</publication> | ||
</personne> | ||
<personne datenaissance="1867-11-07" sexe="F"> | ||
<nom>CURIE</nom> | ||
<prenom>Marie</prenom> | ||
<publication>traité de radioactivité</publication> | ||
</personne> | ||
</encyclopedie> |
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
224 changes: 224 additions & 0 deletions
224
working_builds/part_4/windows/V1.0/gtk_files/window.glade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,224 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- Generated with glade 3.38.1 --> | ||
<interface> | ||
<requires lib="gtk+" version="3.20"/> | ||
<object class="GtkTextBuffer" id="consoleTextbuffer"> | ||
<property name="text" translatable="yes">bonj,our</property> | ||
</object> | ||
<object class="GtkImage" id="spy"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="pixbuf">spy.png</property> | ||
</object> | ||
<object class="GtkWindow" id="window"> | ||
<property name="width-request">800</property> | ||
<property name="height-request">700</property> | ||
<property name="can-focus">False</property> | ||
<property name="title" translatable="yes">CXML - Ultimate XML DTD validator</property> | ||
<property name="resizable">False</property> | ||
<property name="icon">CXML.png</property> | ||
<child> | ||
<object class="GtkFixed"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<child> | ||
<object class="GtkImage"> | ||
<property name="width-request">760</property> | ||
<property name="height-request">100</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="pixbuf">banner.png</property> | ||
</object> | ||
<packing> | ||
<property name="x">20</property> | ||
<property name="y">20</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="spacing">20</property> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes">Choose XML file :</property> | ||
<attributes> | ||
<attribute name="font-desc" value="Sans Bold 12"/> | ||
<attribute name="style" value="normal"/> | ||
<attribute name="underline" value="True"/> | ||
</attributes> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkFileChooserButton" id="xmlFileChooserButton"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="create-folders">False</property> | ||
<property name="title" translatable="yes">Choose file</property> | ||
<property name="width-chars">15</property> | ||
<signal name="file-set" handler="on_xmlFileChooserButton_file_set" swapped="no"/> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">False</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="x">20</property> | ||
<property name="y">200</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="spacing">20</property> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes">Choose DTD file :</property> | ||
<attributes> | ||
<attribute name="font-desc" value="Sans Bold 12"/> | ||
<attribute name="style" value="normal"/> | ||
<attribute name="underline" value="True"/> | ||
</attributes> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkFileChooserButton" id="dtdFileChooserButton"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="create-folders">False</property> | ||
<property name="show-hidden">True</property> | ||
<property name="title" translatable="yes">Choose key</property> | ||
<property name="width-chars">15</property> | ||
<signal name="file-set" handler="on_dtdFileChooserButton_file_set" swapped="no"/> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">False</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="x">420</property> | ||
<property name="y">200</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkBox"> | ||
<property name="height-request">50</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="spacing">20</property> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="label" translatable="yes">Status :</property> | ||
<attributes> | ||
<attribute name="font-desc" value="Sans Bold 12"/> | ||
<attribute name="style" value="normal"/> | ||
<attribute name="underline" value="True"/> | ||
</attributes> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">0</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkLabel" id="statusLabel"> | ||
<property name="visible">True</property> | ||
<property name="can-focus">False</property> | ||
<property name="single-line-mode">True</property> | ||
<property name="max-width-chars">83</property> | ||
<attributes> | ||
<attribute name="font-desc" value="Sans 10"/> | ||
<attribute name="foreground" value="#4e4e9a9a0606"/> | ||
</attributes> | ||
</object> | ||
<packing> | ||
<property name="expand">False</property> | ||
<property name="fill">True</property> | ||
<property name="position">1</property> | ||
</packing> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="x">20</property> | ||
<property name="y">630</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkScrolledWindow"> | ||
<property name="width-request">760</property> | ||
<property name="height-request">350</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="shadow-type">in</property> | ||
<child> | ||
<object class="GtkTextView" id="consoleTextView"> | ||
<property name="width-request">760</property> | ||
<property name="height-request">160</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="vscroll-policy">natural</property> | ||
<property name="editable">False</property> | ||
<property name="wrap-mode">word</property> | ||
<property name="left-margin">5</property> | ||
<property name="right-margin">5</property> | ||
<property name="top-margin">5</property> | ||
<property name="bottom-margin">5</property> | ||
<property name="buffer">consoleTextbuffer</property> | ||
<property name="input-purpose">terminal</property> | ||
<property name="monospace">True</property> | ||
<style> | ||
<class name="textview text { color : #8E3388; }"/> | ||
</style> | ||
</object> | ||
</child> | ||
</object> | ||
<packing> | ||
<property name="x">20</property> | ||
<property name="y">250</property> | ||
</packing> | ||
</child> | ||
<child> | ||
<object class="GtkButton" id="validateButton"> | ||
<property name="label" translatable="yes">Validate document</property> | ||
<property name="width-request">180</property> | ||
<property name="height-request">50</property> | ||
<property name="visible">True</property> | ||
<property name="can-focus">True</property> | ||
<property name="receives-default">True</property> | ||
<property name="image">spy</property> | ||
<property name="always-show-image">True</property> | ||
<signal name="clicked" handler="on_validateButton_clicked" swapped="no"/> | ||
</object> | ||
<packing> | ||
<property name="x">600</property> | ||
<property name="y">630</property> | ||
</packing> | ||
</child> | ||
</object> | ||
</child> | ||
</object> | ||
</interface> |