File: beginner.vala.page

package info (click to toggle)
gnome-devel-docs 40.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 79,188 kB
  • sloc: javascript: 2,514; xml: 2,407; ansic: 2,229; python: 1,854; makefile: 805; sh: 499; cpp: 131
file content (101 lines) | stat: -rw-r--r-- 3,840 bytes parent folder | download
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
100
101
<?xml version="1.0" encoding="utf-8"?>
<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="sv">

<info>
  <title type="text">Handledning för nybörjare (Vala)</title>
  <link type="guide" xref="vala#code-samples"/>
  <revision version="0.1" date="2012-02-19" status="stub"/>

  <desc>En nybörjarguide i GUI-programmering med GTK+, inklusive kodexempel och övningsexempel.</desc>
  <credit type="author">
    <name>Tiffany Antopolski</name>
    <email its:translate="no">tiffany.antopolski@gmail.com</email>
  </credit>
    <credit type="editor">
      <name>Marta Maria Casetti</name>
      <email its:translate="no">mmcasettii@gmail.com</email>
      <years>2013</years>
    </credit>

    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Sebastian Rasmussen</mal:name>
      <mal:email>sebras@gmail.com</mal:email>
      <mal:years>2019</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Anders Jonsson</mal:name>
      <mal:email>anders.jonsson@norsjovallen.se</mal:email>
      <mal:years>2021</mal:years>
    </mal:credit>
  </info>

<title>Handledning för nybörjare och kodexempel</title>
<synopsis>
 <p>Även om dessa handledningar designats för nybörjare kan vi inte täcka allt grundläggande. Innan du börjar följa dessa handledning förväntas du vara bekant med följande koncept:</p>
<list type="numbered">
  <item><p>Objektorienterad programmering</p></item>
  <item><p>Programmeringsspråket Vala:</p>
    <list>
     <item><p><link href="https://live.gnome.org/Vala/Tutorial">Vala-handledningen</link></p></item>
     <item><p><link href="https://live.gnome.org/Vala/Documentation#Sample_Code">Exempelkod för Vala</link></p></item>
    </list>
  </item>
</list>

<p>Genom att följa dessa handledningar kommer du att lära dig grundläggande GUI-programmering med GTK+.</p>
</synopsis>

<section id="tutorials">
<title>Handledningar</title>
</section>

<section id="samples">
<title>Kodexempel</title>
  <p>För att köra kodexemplen:</p>
  <steps>
    <item><p>Kopiera och klistra in koden i <var>filnamn</var>.vala</p></item>
    <item><p>Skriv följande i terminalen:</p>
          <screen>valac --pkg gtk+-3.0 <var>filnamn</var>.vala</screen>
          <screen>./<var>filnamn</var></screen>
    </item>
  </steps>

  <section id="windows" style="2column"><title>Fönster</title>
    <p/>
  </section>
  <section id="display-widgets" style="2column"><title>Visningskomponenter</title>
  </section>
  <section id="buttons" style="2column"><title>Knappar och brytare</title>
  </section>
  <section id="entry" style="2column"><title>Inmatning av numeriska data och text</title>
  </section>
  <section id="multiline" style="2column"><title>Textredigerare med flera rader</title>
  </section>
  <section id="menu-combo-toolbar" style="2column"><title>Komponenter för meny, kombinationsruta och verktygsfält</title>
  </section>
  <section id="treeview"><title>TreeView-komponent</title>
  </section>
  <section id="selectors"><title>Väljare</title>
    <section id="file-selectors"><title>Filväljare</title>
    </section>
    <section id="font-selectors"><title>Typsnittsväljare</title>
    </section>
    <section id="color-selectors"><title>Färgväljare</title>
    </section>
  </section>
  <section id="layout"><title>Layoutbehållare</title>
  </section>
  <section id="ornaments"><title>Ornamentering</title>
  </section>
  <section id="scrolling"><title>Rullning</title>
  </section>
  <section id="misc"><title>Diverse</title>
  </section>
</section>

<section id="exercises">
<title>Övningar</title>
</section>

</page>