<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Architecture</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="Gaby's documentation" HREF="index.html"><LINK REL="UP" TITLE="Printing" HREF="c898.html"><LINK REL="PREVIOUS" TITLE="Printing" HREF="c898.html"><LINK REL="NEXT" TITLE="The XML file" HREF="x912.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Gaby's documentation</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="c898.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" >Chapter 12. Printing</TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x912.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN906" >12.2. Architecture</A ></H1 ><P >I didn't want each and every plug-in writing code to deal with a GUI since that might (would) have led to writing each time the same code in a different way and nothing in common between plug-ins. So the GUI is not created manually by the script but automatically by Gaby thanks to an XML file provided by the plug-in.</P ><P >Once the user has done with the GUI Gaby launches the script with the informations the user gave in the interface.</P ><P >That means a plug-in has two files: plugin_name.xml and plugin_name.py</P ><P >Actually there is also a third file: plugin_name.dsc, used by Gaby to 'register' the plug-in.</P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="c898.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x912.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Printing</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="c898.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >The XML file</TD ></TR ></TABLE ></DIV ></BODY ></HTML >