gtkmm-documentation - master - Tutorial - Swedish
Uploaded file by Anders Jonsson on 2023-03-05 22:04:02+00:00 | Uploaded file by Anders Jonsson on 2023-04-08 04:34:42+00:00 | ||||
---|---|---|---|---|---|
f | 1 | # Swedish translation for gtkmm-documentation. | f | 1 | # Swedish translation for gtkmm-documentation. |
n | 2 | # Copyright © 2022 gtkmm-documentation's COPYRIGHT HOLDER | n | 2 | # Copyright © 2022, 2023 gtkmm-documentation's COPYRIGHT HOLDER |
3 | # This file is distributed under the same license as the gtkmm-documentation pac | 3 | # This file is distributed under the same license as the gtkmm-documentation pac | ||
> | kage. | > | kage. | ||
n | 4 | # Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022. | n | 4 | # Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022, 2023. |
5 | # | 5 | # | ||
6 | msgid "" | 6 | msgid "" | ||
7 | msgstr "" | 7 | msgstr "" | ||
8 | "Project-Id-Version: gtkmm-documentation master\n" | 8 | "Project-Id-Version: gtkmm-documentation master\n" | ||
9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | 9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | ||
n | 10 | "PO-Revision-Date: 2023-03-05 23:03+0100\n" | n | 10 | "PO-Revision-Date: 2023-04-08 06:34+0200\n" |
11 | "Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n" | 11 | "Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n" | ||
12 | "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" | 12 | "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" | ||
13 | "Language: sv\n" | 13 | "Language: sv\n" | ||
14 | "MIME-Version: 1.0\n" | 14 | "MIME-Version: 1.0\n" | ||
15 | "Content-Type: text/plain; charset=UTF-8\n" | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
3369 | msgstr "Skalkomponenter" | 3369 | msgstr "Skalkomponenter" | ||
3370 | 3370 | ||||
3371 | # TODO: color | 3371 | # TODO: color | ||
3372 | #. (itstool) path: section/para | 3372 | #. (itstool) path: section/para | ||
3373 | #: C/index-in.docbook:1185 | 3373 | #: C/index-in.docbook:1185 | ||
n | 3374 | #, fuzzy | n | ||
3375 | msgid "" | 3374 | msgid "" | ||
3376 | "<classname>Gtk::Scale</classname> widgets (or \"sliders\") allow the user to " | 3375 | "<classname>Gtk::Scale</classname> widgets (or \"sliders\") allow the user to " | ||
3377 | "visually select and manipulate a value within a specific range. You might " | 3376 | "visually select and manipulate a value within a specific range. You might " | ||
3378 | "use one, for instance, to adjust the magnification level on a zoomed preview " | 3377 | "use one, for instance, to adjust the magnification level on a zoomed preview " | ||
3379 | "of a picture, or to control the brightness of a colour, or to specify the " | 3378 | "of a picture, or to control the brightness of a colour, or to specify the " | ||
5741 | "ändras samt då listan lägger till och tar bort objekt. De fungerar förstås " | 5740 | "ändras samt då listan lägger till och tar bort objekt. De fungerar förstås " | ||
5742 | "precis lika bra med statiska data." | 5741 | "precis lika bra med statiska data." | ||
5743 | 5742 | ||||
5744 | #. (itstool) path: chapter/para | 5743 | #. (itstool) path: chapter/para | ||
5745 | #: C/index-in.docbook:2366 | 5744 | #: C/index-in.docbook:2366 | ||
n | 5746 | #, fuzzy | n | ||
5747 | msgid "" | 5745 | msgid "" | ||
5748 | "The <link xlink:href=\"https://docs.gtk.org/gtk4/section-list-widget." | 5746 | "The <link xlink:href=\"https://docs.gtk.org/gtk4/section-list-widget." | ||
5749 | "html\">List Widget Overview</link> chapter in the GTK documentation contains " | 5747 | "html\">List Widget Overview</link> chapter in the GTK documentation contains " | ||
5750 | "more information about list widgets." | 5748 | "more information about list widgets." | ||
5751 | msgstr "" | 5749 | msgstr "" | ||
n | 5752 | "Kapitlet <link xlink:href=\"https://docs.gtk.org/gtk4/input-handling." | n | 5750 | "Kapitlet <link xlink:href=\"https://docs.gtk.org/gtk4/section-list-widget." |
5753 | "html\">Input Handling</link> i GTK-dokumentationen beskriver hantering av " | 5751 | "html\">List Widget Overview</link> i GTK-dokumentationen innehåller mer " | ||
5754 | "användarinmatning mer detaljerat." | 5752 | "information om listkomponenter." | ||
5755 | 5753 | ||||
5756 | #. (itstool) path: chapter/para | 5754 | #. (itstool) path: chapter/para | ||
5757 | #: C/index-in.docbook:2371 | 5755 | #: C/index-in.docbook:2371 | ||
5758 | msgid "" | 5756 | msgid "" | ||
5759 | "Some examples are shown in this chapter. There are more examples in the " | 5757 | "Some examples are shown in this chapter. There are more examples in the " | ||
5781 | "classname>, <classname>Gtk:DirectoryList</classname> and <classname>Pango::" | 5779 | "classname>, <classname>Gtk:DirectoryList</classname> and <classname>Pango::" | ||
5782 | "FontMap</classname>." | 5780 | "FontMap</classname>." | ||
5783 | msgstr "" | 5781 | msgstr "" | ||
5784 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | 5782 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | ||
5785 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | 5783 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | ||
n | 5786 | "ListStore</classname> (inte att förväxlas med de föråldrade <classname>Gtk::" | n | 5784 | "ListStore</classname> (inte att förväxlas med den föråldrade <classname>Gtk::" |
5787 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | 5785 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | ||
5788 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | 5786 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | ||
5789 | "classname>." | 5787 | "classname>." | ||
5790 | 5788 | ||||
5791 | #. (itstool) path: section/para | 5789 | #. (itstool) path: section/para | ||
5792 | #: C/index-in.docbook:2387 | 5790 | #: C/index-in.docbook:2387 | ||
n | 5793 | #, fuzzy | n | ||
5794 | msgid "" | 5791 | msgid "" | ||
5795 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | 5792 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | ||
5796 | "instances of a subclass of <classname>Glib::Object</classname>. For " | 5793 | "instances of a subclass of <classname>Glib::Object</classname>. For " | ||
5797 | "instance, you might have a <classname>ColumnView</classname> with one " | 5794 | "instance, you might have a <classname>ColumnView</classname> with one " | ||
5798 | "integer and one text column, like so:" | 5795 | "integer and one text column, like so:" | ||
5799 | msgstr "" | 5796 | msgstr "" | ||
n | 5800 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " | n | 5797 | "Elementen i en modell kallas <emphasis>objekt</emphasis>. Alla objekt är " |
5801 | "exakt som för en <classname>ListView</classname> eller en " | 5798 | "instanser av en underklass till <classname>Glib::Object</classname>. " | ||
5802 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | 5799 | "Exempelvis kan du ha en <classname>ColumnView</classname> med ett heltal och " | ||
5803 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | 5800 | "en textkolumn, så här:" | ||
5804 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
5805 | 5801 | ||||
5806 | #. (itstool) path: section/programlisting | 5802 | #. (itstool) path: section/programlisting | ||
5807 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | 5803 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | ||
5808 | #, fuzzy, no-wrap | 5804 | #, fuzzy, no-wrap | ||
5809 | #| msgid "" | 5805 | #| msgid "" | ||
5911 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5907 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5912 | "classGtk_1_1DirectoryList.html\">Referens för DirectoryList</link>" | 5908 | "classGtk_1_1DirectoryList.html\">Referens för DirectoryList</link>" | ||
5913 | 5909 | ||||
5914 | #. (itstool) path: section/title | 5910 | #. (itstool) path: section/title | ||
5915 | #: C/index-in.docbook:2427 | 5911 | #: C/index-in.docbook:2427 | ||
n | 5916 | #, fuzzy | n | ||
5917 | msgid "The Selection Model" | 5912 | msgid "The Selection Model" | ||
n | 5918 | msgstr "Selection" | n | 5913 | msgstr "Markeringsmodellen" |
5919 | 5914 | ||||
5920 | #. (itstool) path: section/para | 5915 | #. (itstool) path: section/para | ||
5921 | #: C/index-in.docbook:2429 | 5916 | #: C/index-in.docbook:2429 | ||
n | 5922 | #, fuzzy | n | ||
5923 | #| msgid "" | ||||
5924 | #| "If you use an <classname>Gtk::ApplicationWindow</classname>, you don't " | ||||
5925 | #| "have to create your own action group. <classname>Gio::ActionGroup</" | ||||
5926 | #| "classname> and <classname>Gio::ActionMap</classname> are base classes of " | ||||
5927 | #| "<classname>Gtk::ApplicationWindow</classname>." | ||||
5928 | msgid "" | 5917 | msgid "" | ||
5929 | "The selection model is a class that implements the <classname>Gtk::" | 5918 | "The selection model is a class that implements the <classname>Gtk::" | ||
5930 | "SelectionModel</classname> interface. You can choose between " | 5919 | "SelectionModel</classname> interface. You can choose between " | ||
5931 | "<classname>NoSelection</classname>, <classname>SingleSelection</classname> " | 5920 | "<classname>NoSelection</classname>, <classname>SingleSelection</classname> " | ||
5932 | "and <classname>MultiSelection</classname>." | 5921 | "and <classname>MultiSelection</classname>." | ||
5933 | msgstr "" | 5922 | msgstr "" | ||
n | 5934 | "Om du använder ett <classname>Gtk::ApplicationWindow</classname> behöver du " | n | 5923 | "Markeringsmodellen är en klass som implementerar gränssnittet " |
5935 | "inte skapa din egen åtgärdsgrupp. <classname>Gio::ActionGroup</classname> " | 5924 | "<classname>Gtk::SelectionModel</classname>. You can choose between " | ||
5936 | "och <classname>Gio::ActionMap</classname> är basklasser för <classname>Gtk::" | 5925 | "<classname>NoSelection</classname>, <classname>SingleSelection</classname> " | ||
5937 | "ApplicationWindow</classname>." | 5926 | "and <classname>MultiSelection</classname>." | ||
5938 | 5927 | ||||
5939 | #. (itstool) path: section/para | 5928 | #. (itstool) path: section/para | ||
5940 | #: C/index-in.docbook:2434 | 5929 | #: C/index-in.docbook:2434 | ||
5941 | msgid "" | 5930 | msgid "" | ||
5942 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5931 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6071 | msgctxt "_" | 6060 | msgctxt "_" | ||
6072 | msgid "" | 6061 | msgid "" | ||
6073 | "external ref='figures/listmodel_listview.png' " | 6062 | "external ref='figures/listmodel_listview.png' " | ||
6074 | "md5='5e49d159f43fdc5242998713bdedafc8'" | 6063 | "md5='5e49d159f43fdc5242998713bdedafc8'" | ||
6075 | msgstr "" | 6064 | msgstr "" | ||
n | 6076 | "external ref='figures/textview.png' md5='451e30f66cc32c4231bb6bc442cf0d2f'" | n | 6065 | "external ref='figures/listmodel_listview.png' " |
6066 | "md5='5e49d159f43fdc5242998713bdedafc8'" | ||||
6077 | 6067 | ||||
6078 | #. (itstool) path: section/para | 6068 | #. (itstool) path: section/para | ||
6079 | #: C/index-in.docbook:2490 | 6069 | #: C/index-in.docbook:2490 | ||
6080 | msgid "" | 6070 | msgid "" | ||
6081 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6071 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6114 | msgctxt "_" | 6104 | msgctxt "_" | ||
6115 | msgid "" | 6105 | msgid "" | ||
6116 | "external ref='figures/listmodel_gridview.png' " | 6106 | "external ref='figures/listmodel_gridview.png' " | ||
6117 | "md5='0d87e962deacc452f32513f0d5e07e04'" | 6107 | "md5='0d87e962deacc452f32513f0d5e07e04'" | ||
6118 | msgstr "" | 6108 | msgstr "" | ||
n | 6119 | "external ref='figures/treeview_list.png' " | n | 6109 | "external ref='figures/listmodel_gridview.png' " |
6120 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6110 | "md5='0d87e962deacc452f32513f0d5e07e04'" | ||
6121 | 6111 | ||||
6122 | #. (itstool) path: section/para | 6112 | #. (itstool) path: section/para | ||
6123 | #: C/index-in.docbook:2514 | 6113 | #: C/index-in.docbook:2514 | ||
6124 | msgid "" | 6114 | msgid "" | ||
6125 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6115 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6162 | msgctxt "_" | 6152 | msgctxt "_" | ||
6163 | msgid "" | 6153 | msgid "" | ||
6164 | "external ref='figures/listmodel_columnview.png' " | 6154 | "external ref='figures/listmodel_columnview.png' " | ||
6165 | "md5='fd8445f1904773397a7252bf843e2c38'" | 6155 | "md5='fd8445f1904773397a7252bf843e2c38'" | ||
6166 | msgstr "" | 6156 | msgstr "" | ||
n | 6167 | "external ref='figures/aspectframe.png' md5='9d8aac9521789ed27036a97a22fedece'" | n | 6157 | "external ref='figures/listmodel_columnview.png' " |
6158 | "md5='fd8445f1904773397a7252bf843e2c38'" | ||||
6168 | 6159 | ||||
6169 | #. (itstool) path: section/para | 6160 | #. (itstool) path: section/para | ||
6170 | #: C/index-in.docbook:2538 | 6161 | #: C/index-in.docbook:2538 | ||
6171 | msgid "" | 6162 | msgid "" | ||
6172 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6163 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6265 | msgctxt "_" | 6256 | msgctxt "_" | ||
6266 | msgid "" | 6257 | msgid "" | ||
6267 | "external ref='figures/listmodel_sort.png' " | 6258 | "external ref='figures/listmodel_sort.png' " | ||
6268 | "md5='9f6ee5fc4c2f03172fefc8027d97063e'" | 6259 | "md5='9f6ee5fc4c2f03172fefc8027d97063e'" | ||
6269 | msgstr "" | 6260 | msgstr "" | ||
n | 6270 | "external ref='figures/treeview_list.png' " | n | 6261 | "external ref='figures/listmodel_sort.png' " |
6271 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6262 | "md5='9f6ee5fc4c2f03172fefc8027d97063e'" | ||
6272 | 6263 | ||||
6273 | #. (itstool) path: section/para | 6264 | #. (itstool) path: section/para | ||
6274 | #: C/index-in.docbook:2576 | 6265 | #: C/index-in.docbook:2576 | ||
6275 | msgid "" | 6266 | msgid "" | ||
6276 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6267 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6345 | msgctxt "_" | 6336 | msgctxt "_" | ||
6346 | msgid "" | 6337 | msgid "" | ||
6347 | "external ref='figures/listmodel_filter.png' " | 6338 | "external ref='figures/listmodel_filter.png' " | ||
6348 | "md5='b1407e88c99b90c2ad7698ce30a46a1e'" | 6339 | "md5='b1407e88c99b90c2ad7698ce30a46a1e'" | ||
6349 | msgstr "" | 6340 | msgstr "" | ||
n | 6350 | "external ref='figures/recentfiles.png' md5='2ca280c98b5c8822ad48ca40f7ce0bb4'" | n | 6341 | "external ref='figures/listmodel_filter.png' " |
6342 | "md5='b1407e88c99b90c2ad7698ce30a46a1e'" | ||||
6351 | 6343 | ||||
6352 | #. (itstool) path: section/para | 6344 | #. (itstool) path: section/para | ||
6353 | #: C/index-in.docbook:2604 | 6345 | #: C/index-in.docbook:2604 | ||
6354 | msgid "" | 6346 | msgid "" | ||
6355 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6347 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6419 | msgctxt "_" | 6411 | msgctxt "_" | ||
6420 | msgid "" | 6412 | msgid "" | ||
6421 | "external ref='figures/listmodel_tree.png' " | 6413 | "external ref='figures/listmodel_tree.png' " | ||
6422 | "md5='656307ee78c8fd9ac379f2a0d01b8a81'" | 6414 | "md5='656307ee78c8fd9ac379f2a0d01b8a81'" | ||
6423 | msgstr "" | 6415 | msgstr "" | ||
n | 6424 | "external ref='figures/notebook.png' md5='b46c25388d4c250b0ab737f71f82d81b'" | n | 6416 | "external ref='figures/listmodel_tree.png' " |
6417 | "md5='656307ee78c8fd9ac379f2a0d01b8a81'" | ||||
6425 | 6418 | ||||
6426 | #. (itstool) path: section/para | 6419 | #. (itstool) path: section/para | ||
6427 | #: C/index-in.docbook:2635 | 6420 | #: C/index-in.docbook:2635 | ||
6428 | msgid "" | 6421 | msgid "" | ||
6429 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6422 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
7805 | msgstr "" | 7798 | msgstr "" | ||
7806 | "<classname>Gtk::TreeView</classname> implementerar redan enkelt dra-och-" | 7799 | "<classname>Gtk::TreeView</classname> implementerar redan enkelt dra-och-" | ||
7807 | "släpp när den används med <classname>Gtk::ListStore</classname>- eller " | 7800 | "släpp när den används med <classname>Gtk::ListStore</classname>- eller " | ||
7808 | "<classname>Gtk::TreeStore</classname>-modellerna (sedan gtk 4.8). Om " | 7801 | "<classname>Gtk::TreeStore</classname>-modellerna (sedan gtk 4.8). Om " | ||
7809 | "nödvändigt låter den dig också implementera mer komplext beteende när objekt " | 7802 | "nödvändigt låter den dig också implementera mer komplext beteende när objekt " | ||
n | 7810 | "dras och släpps, med det vanliga <link linkend=\"chapter-draganddrop\">Dra " | n | 7803 | "dras och släpps, med det vanliga <link linkend=\"chapter-draganddrop\">dra " |
7811 | "och släpp</link>-API:t." | 7804 | "och släpp</link>-API:t." | ||
7812 | 7805 | ||||
7813 | #. (itstool) path: section/title | 7806 | #. (itstool) path: section/title | ||
7814 | #: C/index-in.docbook:3206 | 7807 | #: C/index-in.docbook:3206 | ||
7815 | #, fuzzy | 7808 | #, fuzzy | ||
14210 | "på en ogiltig plats. Du kan uppdatera ett objekts plats genom att använda " | 14203 | "på en ogiltig plats. Du kan uppdatera ett objekts plats genom att använda " | ||
14211 | "<methodname>move_item()</methodname>." | 14204 | "<methodname>move_item()</methodname>." | ||
14212 | 14205 | ||||
14213 | #. (itstool) path: section/para | 14206 | #. (itstool) path: section/para | ||
14214 | #: C/index-in.docbook:6148 | 14207 | #: C/index-in.docbook:6148 | ||
n | 14215 | #, fuzzy | n | ||
14216 | msgid "" | 14208 | msgid "" | ||
14217 | "In addition to changing a file's URI, you can also remove items from the " | 14209 | "In addition to changing a file's URI, you can also remove items from the " | ||
14218 | "list, either one at a time or by clearing them all at once. The former is " | 14210 | "list, either one at a time or by clearing them all at once. The former is " | ||
14219 | "accomplished with <methodname>remove_item()</methodname>, the latter with " | 14211 | "accomplished with <methodname>remove_item()</methodname>, the latter with " | ||
14220 | "<methodname>purge_items()</methodname>." | 14212 | "<methodname>purge_items()</methodname>." | ||
14414 | msgstr "Tangentbordshändelser" | 14406 | msgstr "Tangentbordshändelser" | ||
14415 | 14407 | ||||
14416 | #. (itstool) path: chapter/para | 14408 | #. (itstool) path: chapter/para | ||
14417 | #: C/index-in.docbook:6248 | 14409 | #: C/index-in.docbook:6248 | ||
14418 | #, fuzzy | 14410 | #, fuzzy | ||
n | n | 14411 | #| msgid "" | ||
14412 | #| "Event signals differ in some ways from other signals. These differences " | ||||
14413 | #| "are described in the <link linkend=\"sec-eventsignals\">Event signals</" | ||||
14414 | #| "link> section in the appendix. Here we will use keyboard events to show " | ||||
14415 | #| "how events can be used in a program." | ||||
14419 | msgid "" | 14416 | msgid "" | ||
14420 | "Event signals differ in some ways from other signals. These differences are " | 14417 | "Event signals differ in some ways from other signals. These differences are " | ||
14421 | "described in the <link linkend=\"sec-eventsignals\">Event signals</link> " | 14418 | "described in the <link linkend=\"sec-eventsignals\">Event signals</link> " | ||
14422 | "section in the appendix. Here we will use keyboard events and mouse events " | 14419 | "section in the appendix. Here we will use keyboard events and mouse events " | ||
14423 | "to show how events can be used in a program." | 14420 | "to show how events can be used in a program." | ||
14443 | "lägga till en händelsekontroll och ansluta en signalhanterare för att " | 14440 | "lägga till en händelsekontroll och ansluta en signalhanterare för att " | ||
14444 | "hantera sådana händelser." | 14441 | "hantera sådana händelser." | ||
14445 | 14442 | ||||
14446 | #. (itstool) path: section/para | 14443 | #. (itstool) path: section/para | ||
14447 | #: C/index-in.docbook:6261 | 14444 | #: C/index-in.docbook:6261 | ||
n | 14448 | #, fuzzy | n | ||
14449 | msgid "" | 14445 | msgid "" | ||
14450 | "The event signal handler will receive arguments that depend on the type of " | 14446 | "The event signal handler will receive arguments that depend on the type of " | ||
14451 | "event. For key press events the arguments are (<type>guint</type> " | 14447 | "event. For key press events the arguments are (<type>guint</type> " | ||
14452 | "<varname>keyval</varname>, <type>guint</type> <varname>keycode</varname>, " | 14448 | "<varname>keyval</varname>, <type>guint</type> <varname>keycode</varname>, " | ||
14453 | "<type>Gdk::ModifierType</type> <varname>state</varname>). As described in " | 14449 | "<type>Gdk::ModifierType</type> <varname>state</varname>). As described in " | ||
14795 | "<classname>Gtk::GestureZoom</classname>, <classname>Gtk::GestureSwipe</" | 14791 | "<classname>Gtk::GestureZoom</classname>, <classname>Gtk::GestureSwipe</" | ||
14796 | "classname>, <classname>Gtk::GestureLongPress</classname>." | 14792 | "classname>, <classname>Gtk::GestureLongPress</classname>." | ||
14797 | msgstr "" | 14793 | msgstr "" | ||
14798 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | 14794 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | ||
14799 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | 14795 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | ||
n | 14800 | "ListStore</classname> (inte att förväxlas med de föråldrade <classname>Gtk::" | n | 14796 | "ListStore</classname> (inte att förväxlas med den föråldrade <classname>Gtk::" |
14801 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | 14797 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | ||
14802 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | 14798 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | ||
14803 | "classname>." | 14799 | "classname>." | ||
14804 | 14800 | ||||
14805 | #. (itstool) path: section/para | 14801 | #. (itstool) path: section/para | ||
15402 | "run()</methodname> eller <methodname>Gtk::Application::" | 15398 | "run()</methodname> eller <methodname>Gtk::Application::" | ||
15403 | "make_window_and_run()</methodname> returnerar." | 15399 | "make_window_and_run()</methodname> returnerar." | ||
15404 | 15400 | ||||
15405 | #. (itstool) path: section/title | 15401 | #. (itstool) path: section/title | ||
15406 | #: C/index-in.docbook:6689 | 15402 | #: C/index-in.docbook:6689 | ||
n | 15407 | #, fuzzy | n | ||
15408 | msgid "Dynamic allocation with new and delete" | 15403 | msgid "Dynamic allocation with new and delete" | ||
15409 | msgstr "Dynamisk allokering med new och delete" | 15404 | msgstr "Dynamisk allokering med new och delete" | ||
15410 | 15405 | ||||
15411 | #. (itstool) path: section/para | 15406 | #. (itstool) path: section/para | ||
15412 | #: C/index-in.docbook:6690 | 15407 | #: C/index-in.docbook:6690 | ||
15658 | "smartpekaren <classname>Glib::RefPtr<></classname>. Cairomm har sin " | 15653 | "smartpekaren <classname>Glib::RefPtr<></classname>. Cairomm har sin " | ||
15659 | "egen smartpekare, <classname>Cairo::RefPtr<></classname>." | 15654 | "egen smartpekare, <classname>Cairo::RefPtr<></classname>." | ||
15660 | 15655 | ||||
15661 | #. (itstool) path: section/para | 15656 | #. (itstool) path: section/para | ||
15662 | #: C/index-in.docbook:6795 | 15657 | #: C/index-in.docbook:6795 | ||
n | 15663 | #, fuzzy | n | ||
15664 | msgid "" | 15658 | msgid "" | ||
15665 | "Objects such as <classname>Gdk::Pixbuf</classname> can only be instantiated " | 15659 | "Objects such as <classname>Gdk::Pixbuf</classname> can only be instantiated " | ||
15666 | "with a <methodname>create()</methodname> function. For instance," | 15660 | "with a <methodname>create()</methodname> function. For instance," | ||
15667 | msgstr "" | 15661 | msgstr "" | ||
15668 | "Objekt som <classname>Gdk::Pixbuf</classname> kan endast instansieras med en " | 15662 | "Objekt som <classname>Gdk::Pixbuf</classname> kan endast instansieras med en " | ||
21070 | "komponenthärledning är väldigt svårt i C. Vi har mycket mindre behov av " | 21064 | "komponenthärledning är väldigt svårt i C. Vi har mycket mindre behov av " | ||
21071 | "detta hack i <application>gtkmm</application>." | 21065 | "detta hack i <application>gtkmm</application>." | ||
21072 | 21066 | ||||
21073 | #. (itstool) path: section/title | 21067 | #. (itstool) path: section/title | ||
21074 | #: C/index-in.docbook:9229 | 21068 | #: C/index-in.docbook:9229 | ||
n | 21075 | #, fuzzy | n | ||
21076 | msgid "Event signals" | 21069 | msgid "Event signals" | ||
21077 | msgstr "Händelsesignaler" | 21070 | msgstr "Händelsesignaler" | ||
21078 | 21071 | ||||
21079 | #. (itstool) path: section/para | 21072 | #. (itstool) path: section/para | ||
21080 | #: C/index-in.docbook:9231 | 21073 | #: C/index-in.docbook:9231 | ||
n | 21081 | #, fuzzy | n | ||
21082 | msgid "" | 21074 | msgid "" | ||
21083 | "Event signals are emitted as a result of some user input, for instance a key " | 21075 | "Event signals are emitted as a result of some user input, for instance a key " | ||
21084 | "press or a mouse motion. Usually you don't handle these events directly. " | 21076 | "press or a mouse motion. Usually you don't handle these events directly. " | ||
21085 | "Instead, you use a subclass of <classname>Gtk::EventController</classname>, " | 21077 | "Instead, you use a subclass of <classname>Gtk::EventController</classname>, " | ||
21086 | "such as <classname>Gtk::EventControllerKey</classname> or <classname>Gtk::" | 21078 | "such as <classname>Gtk::EventControllerKey</classname> or <classname>Gtk::" | ||
21087 | "GestureClick</classname>. Event controllers can be added to a widget with " | 21079 | "GestureClick</classname>. Event controllers can be added to a widget with " | ||
21088 | "<methodname>Gtk::Widget::add_controller()</methodname>." | 21080 | "<methodname>Gtk::Widget::add_controller()</methodname>." | ||
21089 | msgstr "" | 21081 | msgstr "" | ||
21090 | "Händelsesignaler sänds ut som resultat av någon användarinmatning, " | 21082 | "Händelsesignaler sänds ut som resultat av någon användarinmatning, " | ||
n | 21091 | "exempelvis en tangenttryckning eller en musrörelse. Vanligen hanterare du " | n | 21083 | "exempelvis en tangenttryckning eller en musrörelse. Vanligen hanterar du " |
21092 | "inte dessa händelser direkt. I stället använder du en underklass till " | 21084 | "inte dessa händelser direkt. I stället använder du en underklass till " | ||
21093 | "<classname>Gtk::EventController</classname>, som <classname>Gtk::" | 21085 | "<classname>Gtk::EventController</classname>, som <classname>Gtk::" | ||
21094 | "EventControllerKey</classname> eller <classname>Gtk::GestureClick</" | 21086 | "EventControllerKey</classname> eller <classname>Gtk::GestureClick</" | ||
21095 | "classname>. Händelsekontroller kan läggas till i en komponent med " | 21087 | "classname>. Händelsekontroller kan läggas till i en komponent med " | ||
21096 | "<methodname>Gtk::Widget::add_controller()</methodname>." | 21088 | "<methodname>Gtk::Widget::add_controller()</methodname>." | ||
21163 | msgstr "" | 21155 | msgstr "" | ||
21164 | "\n" | 21156 | "\n" | ||
21165 | "void on_button_press(int n_press, double x, double y);\n" | 21157 | "void on_button_press(int n_press, double x, double y);\n" | ||
21166 | "Gtk::Button button(\"label\");\n" | 21158 | "Gtk::Button button(\"label\");\n" | ||
21167 | "auto controller = Gtk::GestureClick::create();\n" | 21159 | "auto controller = Gtk::GestureClick::create();\n" | ||
n | n | 21160 | "controller->set_propagation_phase(Gtk::PropagationPhase::CAPTURE);\n" | ||
21168 | "controller->signal_pressed().connect(sigc::ptr_fun(&on_button_press));\n | 21161 | "controller->signal_pressed().connect(sigc::ptr_fun(&on_button_press));\n | ||
> | " | > | " | ||
21169 | "button.add_controller(controller);\n" | 21162 | "button.add_controller(controller);\n" | ||
21170 | 21163 | ||||
21171 | #. (itstool) path: section/para | 21164 | #. (itstool) path: section/para | ||
21172 | #: C/index-in.docbook:9272 | 21165 | #: C/index-in.docbook:9272 | ||
21177 | "När musen är ovanför knappen och en musknapp trycks ned kommer " | 21170 | "När musen är ovanför knappen och en musknapp trycks ned kommer " | ||
21178 | "<methodname>on_button_press()</methodname> att anropas." | 21171 | "<methodname>on_button_press()</methodname> att anropas." | ||
21179 | 21172 | ||||
21180 | #. (itstool) path: section/para | 21173 | #. (itstool) path: section/para | ||
21181 | #: C/index-in.docbook:9276 | 21174 | #: C/index-in.docbook:9276 | ||
n | n | 21175 | #, fuzzy | ||
21182 | msgid "" | 21176 | msgid "" | ||
21183 | "The call to <methodname>set_propagation_phase()</methodname> is necessary in " | 21177 | "The call to <methodname>set_propagation_phase()</methodname> is necessary in " | ||
21184 | "this case because the <classname>GtkButton</classname> C class adds an event " | 21178 | "this case because the <classname>GtkButton</classname> C class adds an event " | ||
21185 | "controller, handling button clicks in the capture phase. " | 21179 | "controller, handling button clicks in the capture phase. " | ||
21186 | "<classname>GtkButton</classname> claims the event, meaning that the event is " | 21180 | "<classname>GtkButton</classname> claims the event, meaning that the event is " | ||
21187 | "not propagated in the bubble phase, where event controllers handle events by " | 21181 | "not propagated in the bubble phase, where event controllers handle events by " | ||
21188 | "default." | 21182 | "default." | ||
21189 | msgstr "" | 21183 | msgstr "" | ||
n | n | 21184 | "Anropet till <methodname>set_propagation_phase()</methodname> är nödvändigt " | ||
21185 | "i detta fall eftersom C-klassen <classname>GtkButton</classname> lägger till " | ||||
21186 | "en händelsekontroll som hanterar knapptryck i fångstfasen. " | ||||
21187 | "<classname>GtkButton</classname> gör anspråk på händelsen, vilket betyder " | ||||
21188 | "att händelsen inte sprids i bubbelfasen, där händelsekontroller hanterar " | ||||
21189 | "händelser som standard." | ||||
21190 | 21190 | ||||
21191 | #. (itstool) path: section/title | 21191 | #. (itstool) path: section/title | ||
21192 | #: C/index-in.docbook:9285 | 21192 | #: C/index-in.docbook:9285 | ||
21193 | msgid "Signal Handler sequence" | 21193 | msgid "Signal Handler sequence" | ||
21194 | msgstr "Signalhanterarsekvens" | 21194 | msgstr "Signalhanterarsekvens" | ||
27494 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | 27494 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | ||
27495 | #~ "<_:programlisting-2/>" | 27495 | #~ "<_:programlisting-2/>" | ||
27496 | #~ msgstr "" | 27496 | #~ msgstr "" | ||
27497 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | 27497 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | ||
27498 | #~ "här: <_:programlisting-2/>" | 27498 | #~ "här: <_:programlisting-2/>" | ||
t | 27499 | t | |||
27500 | #~ msgid "Widget Name and CSS Node Name" | ||||
27501 | #~ msgstr "Komponentnamn och CSS-nodnamn" | ||||
27502 | |||||
27503 | #, fuzzy | ||||
27504 | #~ msgid "" | ||||
27505 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27506 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27507 | #~ "user response. You can specify the type of message and the text in the " | ||||
27508 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27509 | #~ "ButtonsType</type> enum." | ||||
27510 | #~ msgstr "" | ||||
27511 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27512 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27513 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27514 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27515 | #~ "ButtonsType</type>-uppräkningen." | ||||
27516 | |||||
27517 | #~ msgid "" | ||||
27518 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27519 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27520 | #~ msgstr "" | ||||
27521 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27522 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27523 | |||||
27524 | #~ msgid "" | ||||
27525 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27526 | #~ "\"Open\" or \"Save\" menu items." | ||||
27527 | #~ msgstr "" | ||||
27528 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27529 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27530 | |||||
27531 | #~ msgid "FileChooser" | ||||
27532 | #~ msgstr "FileChooser" | ||||
27533 | |||||
27534 | #, fuzzy | ||||
27535 | #~ msgid "" | ||||
27536 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27537 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27538 | #~ "dialog when it is clicked." | ||||
27539 | #~ msgstr "" | ||||
27540 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27541 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27542 | #~ "klickas på." | ||||
27543 | |||||
27544 | #, fuzzy | ||||
27545 | #~ msgid "" | ||||
27546 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27547 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27548 | #~ "when it is clicked." | ||||
27549 | #~ msgstr "" | ||||
27550 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27551 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27552 | #~ "typsnittsväljardialog när den klickas på." | ||||
27553 | |||||
27554 | #~ msgid "" | ||||
27555 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27556 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27557 | #~ msgstr "" | ||||
27558 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27559 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27560 | |||||
27561 | #, fuzzy | ||||
27562 | #~ msgid "" | ||||
27563 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27564 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27565 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27566 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27567 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27568 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27569 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27570 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27571 | #~ "information. CSS files are described in the documentation of " | ||||
27572 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27573 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27574 | #~ msgstr "" | ||||
27575 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27576 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27577 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27578 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27579 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27580 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27581 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27582 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27583 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27584 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27585 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27586 | |||||
27587 | #, no-wrap | ||||
27588 | #~ msgid "" | ||||
27589 | #~ "\n" | ||||
27590 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||||
27591 | #~ " GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n" | ||||
27592 | #~ msgstr "" | ||||
27593 | #~ "\n" | ||||
27594 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||||
27595 | #~ " GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n" | ||||
27596 | |||||
27597 | #, no-wrap | ||||
27598 | #~ msgid "" | ||||
27599 | #~ "\n" | ||||
27600 | #~ "_WRAP_METHOD(bool get_cell_rect(const TreeModel::Path& path,\n" | ||||
27601 | #~ " const CellRenderer& cell, Gdk::Rectangle& rect{>>}) const,\n | ||||
> | " | ||||
27602 | #~ " gtk_icon_view_get_cell_rect)\n" | ||||
27603 | #~ msgstr "" | ||||
27604 | #~ "\n" | ||||
27605 | #~ "_WRAP_METHOD(bool get_cell_rect(const TreeModel::Path& path,\n" | ||||
27606 | #~ " const CellRenderer& cell, Gdk::Rectangle& rect{>>}) const,\n | ||||
> | " | ||||
27607 | #~ " gtk_icon_view_get_cell_rect)\n" | ||||
27608 | |||||
27609 | #, no-wrap | ||||
27610 | #~ msgid "" | ||||
27611 | #~ "\n" | ||||
27612 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||||
> | $4))')\n" | ||||
27613 | #~ msgstr "" | ||||
27614 | #~ "\n" | ||||
27615 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||||
> | $4))')\n" | ||||
27616 | |||||
27617 | # TODO: Fixed sep 2022? | ||||
27618 | #~ msgid "" | ||||
27619 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" | ||||
27620 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | ||||
27621 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " | ||||
27622 | #~ "latest info." | ||||
27623 | #~ msgstr "" | ||||
27624 | #~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i " | ||||
27625 | #~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://" | ||||
27626 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för " | ||||
27627 | #~ "den senaste informationen." | ||||
27628 | |||||
27629 | #~ msgid "An preference dialog" | ||||
27630 | #~ msgstr "En inställningsdialog" |
Note: both files are merged with latest POT file.