|
Packit |
1470ea |
|
|
Packit |
1470ea |
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" xmlns:e="http://projectmallard.org/experimental/" type="guide" style="task" id="beginner.vala" xml:lang="gl">
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<info>
|
|
Packit |
1470ea |
<title type="text">Tutorial for beginners (Vala)</title>
|
|
Packit |
1470ea |
<link type="guide" xref="vala#code-samples"/>
|
|
Packit |
1470ea |
<revision version="0.1" date="2012-02-19" status="stub"/>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<desc>Unha guía para principiantes á programación de IGU usando GTK+, incluíndo exemplos de código e exercicios de práctica.</desc>
|
|
Packit |
1470ea |
<credit type="author">
|
|
Packit |
1470ea |
<name>Tiffany Antopolski</name>
|
|
Packit |
1470ea |
<email its:translate="no">tiffany.antopolski@gmail.com</email>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
<credit type="editor">
|
|
Packit |
1470ea |
<name>Marta Maria Casetti</name>
|
|
Packit |
1470ea |
<email its:translate="no">mmcasettii@gmail.com</email>
|
|
Packit |
1470ea |
<years>2013</years>
|
|
Packit |
1470ea |
</credit>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
|
|
Packit |
1470ea |
<mal:name>Fran Dieguez</mal:name>
|
|
Packit |
1470ea |
<mal:email>frandieguez@gnome.org</mal:email>
|
|
Packit |
1470ea |
<mal:years>2012-2013.</mal:years>
|
|
Packit |
1470ea |
</mal:credit>
|
|
Packit |
1470ea |
</info>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<title>Tutorial for beginners and code samples</title>
|
|
Packit |
1470ea |
<synopsis>
|
|
Packit |
1470ea |
Although these tutorials are designed for beginners, we can't cover all the basics. Before attempting to follow these tutorials, you are expected to be familiar with the following concepts:
|
|
Packit |
1470ea |
<list type="numbered">
|
|
Packit |
1470ea |
<item>Programación orientada a obxectos </item>
|
|
Packit |
1470ea |
<item>O linguaxe de programación Vala:
|
|
Packit |
1470ea |
<list>
|
|
Packit |
1470ea |
<item><link href="https://live.gnome.org/Vala/Tutorial">The Vala Tutorial</link> </item>
|
|
Packit |
1470ea |
<item><link href="https://live.gnome.org/Vala/Documentation#Sample_Code">Sample Vala code</link> </item>
|
|
Packit |
1470ea |
</list>
|
|
Packit |
1470ea |
</item>
|
|
Packit |
1470ea |
</list>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
By following these tutorials you will learn the basics of GUI programming using GTK+.
|
|
Packit |
1470ea |
</synopsis>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="tutorials">
|
|
Packit |
1470ea |
<title>Titoriais</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="samples">
|
|
Packit |
1470ea |
<title>Exemplos de código</title>
|
|
Packit |
1470ea |
Para executar os exemplos de código
|
|
Packit |
1470ea |
<steps>
|
|
Packit |
1470ea |
<item>Copie e pegue o código en nomedeficheirovala </item>
|
|
Packit |
1470ea |
<item>Escriba no terminal
|
|
Packit |
1470ea |
<screen>valac --pkg gtk+-3.0 nome_ficheiro.vala</screen>
|
|
Packit |
1470ea |
<screen>./nome_ficheiro</screen>
|
|
Packit |
1470ea |
</item>
|
|
Packit |
1470ea |
</steps>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="windows" style="2column"><title>Xanelas</title>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="display-widgets" style="2column"><title>Widgets de visualización</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="buttons" style="2column"><title>Botóns e casillas</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="entry" style="2column"><title>Entrada de datos numérica e de texto</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="multiline" style="2column"><title>Editor de texto multiliña</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="menu-combo-toolbar" style="2column"><title>Widgets de menú, caixa combinada e barra de ferramentas</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="treeview"><title>Widget TreeView</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="selectors"><title>Selectores</title>
|
|
Packit |
1470ea |
<section id="file-selectors"><title>Selectores de ficheiros</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="font-selectors"><title>Selectores de tipos de letra</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="color-selectors"><title>Selectores de color</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="layout"><title>Contedores da distribución</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="ornaments"><title>Adornos</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="scrolling"><title>Desprazamento</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
<section id="misc"><title>Varios</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
<section id="exercises">
|
|
Packit |
1470ea |
<title>Exercicios</title>
|
|
Packit |
1470ea |
</section>
|
|
Packit |
1470ea |
|
|
Packit |
1470ea |
</page>
|