1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Sample session</title>
</head>
<body>
<style type="text/css"><!--
table {
border: solid 2px blue;
margin-bottom: 0.5em;
margin-top: 0.5em;
background-color: #01A4FF;
width: 100%;
padding: 2;
}
--></style>
<table cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="other_elements.html"><img src="images/left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="diasce02.html"><img src="images/up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="images/home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">DiaSCE manual</th>
</tr></table>
<p><h2>Sample session</h2></p>
<p>Here you'll find an example of the usage of DiaSCE.</p>
<p>Start DiaSCE by executing "diasce2" from the command line.</p>
<p>When the main screen comes up, you can start a new project by selecting "New
Project" from the file menu. The project window will come up, where you must
enter some information for the project:</p>
<ul>
<li>"General" Tab: General information, name, email, languaje, version...</li>
<li>"Files" Tab: Here you have to enter the directories where project files will
be stored. If your project is going to have a GUI, you must select the name of
the glade file.</li>
<li>"Libraries" Tab: Here you select the libraries your project will use.</li>
<li>"Gettext" Tab: Here you can activate gettext an enter which languages will your project support.</li>
<li>"Warnigs" Tab: Here you select the warnings you wan't to see while compiling
your project</li>
<li>"Compiler" Tab: Here you can select the optimization level, the debug level..</li>
<li>"CVS" Tab: In this tab you can activate CVS support for your project, and enter the necessary information. This will allow you to use the CVS menu in the tools menu.</li>
</ul>
<p>WARNING: Don't use special characters (non-ascii) for project and file names.
This is not supported yet.</p>
<p>Once filed this project windows, select Accept and the project files will be
created.</p>
<p>Before you can start coding, you must create a new file or add an existing
file to the project. Once the file is added to the project, you can select it
in the File Tree, and the fille will be openned for editing in the Code Editor
Window. Now you can start coding. :-)</p>
<p>If you want to add external files to the project, you can do it by selecting
"Add existing file.." from the "Project Menu". This will show you a window where you
can choose in which directory do you want the file to be added (source, docs,
pixmaps...).</p>
<p>If you want to add a new file, you can do it by selecting "New File" from the
"File Menu" or using the toolbar button.</p>
<p>Then, you can select a file from the File Tree. The file will be loaded in the
first tab of the Code Editor Window, where you'll be able to edit it. If you
want, you can move the file to a new tab, as new files allways open in the
first tab.</p>
<p>If your project is going to have a GUI, you can build it by selecting "Glade"
from the toolbar or the "Tools Menu". Glade will be launched, and when you
finish editing your GUI, you save it and select "Write Source Code" from
Glade. This will generate the interface files and the callbacks file, that
will be added to your proyect. Once you exit from Glade and return to DiaSCE,
you will see the list of your GUI windows in the GUI tab. Clicking on the name
of the windows will display them, and you'll be able to see the names of widgets
and callbacks, and have a quick access to callback code.</p>
<p>If you want to see the definition of a function, you can select it in the
Function List of the toolbar, or you can place the cursor over the function
call in the code, right click and select "Show Function". The function
definition will be shown in the Functios Tab.</p>
<p>Once finishing with the code, you can save it selecting "Save" (current file)
or "Save All" (all project files).</p>
<p>You can the compile the code, by selecting:</p>
<ul>
<li>Compile: Compile the project</li>
<li>Make: Compile and link the project</li>
<li>Run: Compile, link and run the project</li>
</ul>
<p>You'll see the results in the message window. If there is any warning or
error, it'll be shown in this window, and you can go to the line of the
warning or the error just by clicking over it in the message window.</p>
<p>To exit DiaSCE, you just have to select "Exit" from the "File Menu".</p>
</body>
</html>
|