gtkmm-documentation - master - Tutorial - Swedish
Uploaded file by Anders Jonsson on 2023-03-05 10:31:54+00:00 | Uploaded file by Anders Jonsson on 2023-03-05 22:04:02+00:00 | ||||
---|---|---|---|---|---|
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 11:31+0100\n" | n | 10 | "PO-Revision-Date: 2023-03-05 23:03+0100\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" | ||
36 | "<personname><firstname>Murray</firstname><surname>Cumming</surname></" | 36 | "<personname><firstname>Murray</firstname><surname>Cumming</surname></" | ||
37 | "personname>" | 37 | "personname>" | ||
38 | 38 | ||||
39 | #. (itstool) path: authorgroup/author | 39 | #. (itstool) path: authorgroup/author | ||
40 | #: C/index-in.docbook:51 | 40 | #: C/index-in.docbook:51 | ||
n | 41 | #, fuzzy | n | ||
42 | msgid "" | 41 | msgid "" | ||
43 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | 42 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | ||
44 | "personname> <contrib>Chapter on \"Timeouts\".</contrib>" | 43 | "personname> <contrib>Chapter on \"Timeouts\".</contrib>" | ||
45 | msgstr "" | 44 | msgstr "" | ||
46 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | 45 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | ||
108 | "<personname><firstname>David</firstname><surname>King</surname></personname> " | 107 | "<personname><firstname>David</firstname><surname>King</surname></personname> " | ||
109 | "<contrib>Avsnittet om Gtk::Grid.</contrib>" | 108 | "<contrib>Avsnittet om Gtk::Grid.</contrib>" | ||
110 | 109 | ||||
111 | #. (itstool) path: authorgroup/author | 110 | #. (itstool) path: authorgroup/author | ||
112 | #: C/index-in.docbook:82 | 111 | #: C/index-in.docbook:82 | ||
n | 113 | #, fuzzy | n | ||
114 | #| msgid "" | ||||
115 | #| "<personname><firstname>Pedro</firstname><surname>Ferreira</surname></" | ||||
116 | #| "personname> <contrib>Chapter on Keyboard Events.</contrib>" | ||||
117 | msgid "" | 112 | msgid "" | ||
118 | "<personname><firstname>Pedro</firstname><surname>Ferreira</surname></" | 113 | "<personname><firstname>Pedro</firstname><surname>Ferreira</surname></" | ||
119 | "personname> <contrib>Chapter on \"Keyboard Events\".</contrib>" | 114 | "personname> <contrib>Chapter on \"Keyboard Events\".</contrib>" | ||
120 | msgstr "" | 115 | msgstr "" | ||
121 | "<personname><firstname>Pedro</firstname><surname>Ferreira</surname></" | 116 | "<personname><firstname>Pedro</firstname><surname>Ferreira</surname></" | ||
n | 122 | "personname> <contrib>Kapitlet om tangentbordshändelser.</contrib>" | n | 117 | "personname> <contrib>Kapitlet ”Tangentbordshändelser”.</contrib>" |
123 | 118 | ||||
124 | #. (itstool) path: authorgroup/author | 119 | #. (itstool) path: authorgroup/author | ||
125 | #: C/index-in.docbook:86 | 120 | #: C/index-in.docbook:86 | ||
n | 126 | #, fuzzy | n | ||
127 | #| msgid "" | ||||
128 | #| "<personname><firstname>Kjell</firstname><surname>Ahlstedt</surname></" | ||||
129 | #| "personname> <contrib>Update from gtkmm 3 to gtkmm 4.</contrib> " | ||||
130 | #| "<contrib>Chapter on \"Building applications\".</contrib>" | ||||
131 | msgid "" | 121 | msgid "" | ||
132 | "<personname><firstname>Kjell</firstname><surname>Ahlstedt</surname></" | 122 | "<personname><firstname>Kjell</firstname><surname>Ahlstedt</surname></" | ||
133 | "personname> <contrib>Update from gtkmm 3 to gtkmm 4.</contrib> " | 123 | "personname> <contrib>Update from gtkmm 3 to gtkmm 4.</contrib> " | ||
134 | "<contrib>Chapter on \"Building applications\".</contrib> <contrib>Chapter on " | 124 | "<contrib>Chapter on \"Building applications\".</contrib> <contrib>Chapter on " | ||
135 | "\"The DropDown Widget\".</contrib> <contrib>Chapter on \"ListView, GridView, " | 125 | "\"The DropDown Widget\".</contrib> <contrib>Chapter on \"ListView, GridView, " | ||
136 | "ColumnView\".</contrib>" | 126 | "ColumnView\".</contrib>" | ||
137 | msgstr "" | 127 | msgstr "" | ||
138 | "<personname><firstname>Kjell</firstname><surname>Ahlstedt</surname></" | 128 | "<personname><firstname>Kjell</firstname><surname>Ahlstedt</surname></" | ||
139 | "personname> <contrib>Uppdatering från gtkmm 3 till gtkmm 4.</contrib> " | 129 | "personname> <contrib>Uppdatering från gtkmm 3 till gtkmm 4.</contrib> " | ||
n | 140 | "<contrib>Kapitlet ”Bygga program”.</contrib>" | n | 130 | "<contrib>Kapitlet ”Bygga program”.</contrib> <contrib>Kapitlet ”DropDown-" |
131 | "komponenten”.</contrib> <contrib>Kapitlet ”ListView, GridView, ColumnView”.</" | ||||
132 | "contrib>" | ||||
141 | 133 | ||||
142 | #. (itstool) path: authorgroup/author | 134 | #. (itstool) path: authorgroup/author | ||
143 | #: C/index-in.docbook:93 | 135 | #: C/index-in.docbook:93 | ||
144 | #, fuzzy | 136 | #, fuzzy | ||
145 | #| msgid "" | 137 | #| msgid "" | ||
313 | #. (itstool) path: section/title | 305 | #. (itstool) path: section/title | ||
314 | #: C/index-in.docbook:154 | 306 | #: C/index-in.docbook:154 | ||
315 | msgid "Why use <application>gtkmm</application> instead of GTK?" | 307 | msgid "Why use <application>gtkmm</application> instead of GTK?" | ||
316 | msgstr "Varför använda <application>gtkmm</application> i stället för GTK?" | 308 | msgstr "Varför använda <application>gtkmm</application> i stället för GTK?" | ||
317 | 309 | ||||
n | 318 | # TODO: realize | n | ||
319 | #. (itstool) path: section/para | 310 | #. (itstool) path: section/para | ||
320 | #: C/index-in.docbook:156 | 311 | #: C/index-in.docbook:156 | ||
321 | #, fuzzy | 312 | #, fuzzy | ||
322 | #| msgid "" | 313 | #| msgid "" | ||
323 | #| "<application>gtkmm</application> allows you to write code using normal C+" | 314 | #| "<application>gtkmm</application> allows you to write code using normal C+" | ||
324 | #| "+ techniques such as encapsulation, derivation, and polymorphism. As a C+" | 315 | #| "+ techniques such as encapsulation, derivation, and polymorphism. As a C+" | ||
n | 325 | #| "+ programmer you probably already realise that this leads to clearer and " | n | 316 | #| "+ programmer you probably already realize that this leads to clearer and " |
326 | #| "better organized code." | 317 | #| "better organized code." | ||
327 | msgid "" | 318 | msgid "" | ||
328 | "<application>gtkmm</application> allows you to write code using normal " | 319 | "<application>gtkmm</application> allows you to write code using normal " | ||
329 | "<phrase role=\"nowrap\">C++</phrase> techniques such as encapsulation, " | 320 | "<phrase role=\"nowrap\">C++</phrase> techniques such as encapsulation, " | ||
330 | "derivation, and polymorphism. As a <phrase role=\"nowrap\">C++</phrase> " | 321 | "derivation, and polymorphism. As a <phrase role=\"nowrap\">C++</phrase> " | ||
405 | "application>, so it deserves discussion." | 396 | "application>, so it deserves discussion." | ||
406 | msgstr "" | 397 | msgstr "" | ||
407 | "Trolltechs Qt är den närmaste konkurrenten till <application>gtkmm</" | 398 | "Trolltechs Qt är den närmaste konkurrenten till <application>gtkmm</" | ||
408 | "application>, så det förtjänar att diskuteras." | 399 | "application>, så det förtjänar att diskuteras." | ||
409 | 400 | ||||
n | 410 | # TODO: Standardize? | n | ||
411 | #. (itstool) path: section/para | 401 | #. (itstool) path: section/para | ||
412 | #: C/index-in.docbook:168 | 402 | #: C/index-in.docbook:168 | ||
413 | #, fuzzy | 403 | #, fuzzy | ||
414 | #| msgid "" | 404 | #| msgid "" | ||
415 | #| "<application>gtkmm</application> developers tend to prefer " | 405 | #| "<application>gtkmm</application> developers tend to prefer " | ||
416 | #| "<application>gtkmm</application> to Qt because <application>gtkmm</" | 406 | #| "<application>gtkmm</application> to Qt because <application>gtkmm</" | ||
417 | #| "application> does things in a more C++ way. Qt originates from a time " | 407 | #| "application> does things in a more C++ way. Qt originates from a time " | ||
n | 418 | #| "when C++ and the standard library were not standardised or well supported " | n | 408 | #| "when C++ and the standard library were not standardized or well supported " |
419 | #| "by compilers. It therefore duplicates a lot of stuff that is now in the " | 409 | #| "by compilers. It therefore duplicates a lot of stuff that is now in the " | ||
420 | #| "standard library, such as containers and type information. Most " | 410 | #| "standard library, such as containers and type information. Most " | ||
421 | #| "significantly, Trolltech modified the C++ language to provide signals, so " | 411 | #| "significantly, Trolltech modified the C++ language to provide signals, so " | ||
422 | #| "that Qt classes cannot be used easily with non-Qt classes. " | 412 | #| "that Qt classes cannot be used easily with non-Qt classes. " | ||
423 | #| "<application>gtkmm</application> was able to use standard C++ to provide " | 413 | #| "<application>gtkmm</application> was able to use standard C++ to provide " | ||
551 | "Before attempting to install <application>gtkmm</" | 541 | "Before attempting to install <application>gtkmm</" | ||
552 | "application><application>-4.0</application>, you might first need to install " | 542 | "application><application>-4.0</application>, you might first need to install " | ||
553 | "these other packages." | 543 | "these other packages." | ||
554 | msgstr "" | 544 | msgstr "" | ||
555 | "Innan du försöker installera <application>gtkmm</" | 545 | "Innan du försöker installera <application>gtkmm</" | ||
n | 556 | "application><application>-4.0</application>, kan du först behöva installera " | n | 546 | "application><application>-4.0</application> kan du först behöva installera " |
557 | "dessa andra paket." | 547 | "dessa andra paket." | ||
558 | 548 | ||||
559 | #. (itstool) path: listitem/para | 549 | #. (itstool) path: listitem/para | ||
560 | #: C/index-in.docbook:204 | 550 | #: C/index-in.docbook:204 | ||
561 | msgid "<application>sigc++-3.0</application>" | 551 | msgid "<application>sigc++-3.0</application>" | ||
717 | "du hämtat." | 707 | "du hämtat." | ||
718 | 708 | ||||
719 | # TODO: root password for su, not sudo? | 709 | # TODO: root password for su, not sudo? | ||
720 | #. (itstool) path: note/para | 710 | #. (itstool) path: note/para | ||
721 | #: C/index-in.docbook:271 | 711 | #: C/index-in.docbook:271 | ||
n | 722 | #, fuzzy | n | ||
723 | msgid "" | 712 | msgid "" | ||
724 | "Remember that on a Unix or Linux operating system, you will probably need to " | 713 | "Remember that on a Unix or Linux operating system, you will probably need to " | ||
725 | "be <literal>root</literal> to install software. The <command>su</command> or " | 714 | "be <literal>root</literal> to install software. The <command>su</command> or " | ||
726 | "<command>sudo</command> command will allow you to enter the <literal>root</" | 715 | "<command>sudo</command> command will allow you to enter the <literal>root</" | ||
727 | "literal> password and have <literal>root</literal> status temporarily." | 716 | "literal> password and have <literal>root</literal> status temporarily." | ||
897 | "To begin our introduction to <application>gtkmm</application>, we'll start " | 886 | "To begin our introduction to <application>gtkmm</application>, we'll start " | ||
898 | "with the simplest program possible. This program will create an empty 200 x " | 887 | "with the simplest program possible. This program will create an empty 200 x " | ||
899 | "200 pixel window." | 888 | "200 pixel window." | ||
900 | msgstr "" | 889 | msgstr "" | ||
901 | "För att inleda vår introduktion till <application>gtkmm</application> så " | 890 | "För att inleda vår introduktion till <application>gtkmm</application> så " | ||
n | 902 | "börjar vi enklast möjliga program. Detta program kommer skapa ett tomt " | n | 891 | "börjar vi med enklast möjliga program. Detta program kommer skapa ett tomt " |
903 | "fönster på 200 × 200 bildpunkter." | 892 | "fönster på 200 × 200 bildpunkter." | ||
904 | 893 | ||||
905 | #. (itstool) path: section/para | 894 | #. (itstool) path: section/para | ||
906 | #: C/index-in.docbook:345 | 895 | #: C/index-in.docbook:345 | ||
907 | msgid "" | 896 | msgid "" | ||
1481 | #| msgid "" | 1470 | #| msgid "" | ||
1482 | #| "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | 1471 | #| "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | ||
1483 | #| "languages such as Arabic, Chinese, and Japanese. Although the encodings " | 1472 | #| "languages such as Arabic, Chinese, and Japanese. Although the encodings " | ||
1484 | #| "for these languages have been specified by the <link xlink:href=\"http://" | 1473 | #| "for these languages have been specified by the <link xlink:href=\"http://" | ||
1485 | #| "www.unicode.org/\">Unicode Consortium</link>, the C and C++ languages do " | 1474 | #| "www.unicode.org/\">Unicode Consortium</link>, the C and C++ languages do " | ||
n | 1486 | #| "not yet provide any standardised Unicode support for UTF-8 encoding. GTK " | n | 1475 | #| "not yet provide any standardized Unicode support for UTF-8 encoding. GTK " |
1487 | #| "and GNOME chose to implement Unicode using UTF-8, and that's what is " | 1476 | #| "and GNOME chose to implement Unicode using UTF-8, and that's what is " | ||
1488 | #| "wrapped by Glib::ustring. It provides almost exactly the same interface " | 1477 | #| "wrapped by Glib::ustring. It provides almost exactly the same interface " | ||
1489 | #| "as std::string, along with automatic conversions to and from std::string." | 1478 | #| "as std::string, along with automatic conversions to and from std::string." | ||
1490 | msgid "" | 1479 | msgid "" | ||
1491 | "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | 1480 | "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | ||
1684 | #: C/index-in.docbook:565 | 1673 | #: C/index-in.docbook:565 | ||
1685 | msgid "" | 1674 | msgid "" | ||
1686 | "it's a widget or other class that inherits from <classname>Gtk::Object</" | 1675 | "it's a widget or other class that inherits from <classname>Gtk::Object</" | ||
1687 | "classname>, and" | 1676 | "classname>, and" | ||
1688 | msgstr "" | 1677 | msgstr "" | ||
n | 1689 | "det är en komponent eller annan klass som ärver från<classname>Gtk::Object</" | n | 1678 | "det är en komponent eller annan klass som ärver från <classname>Gtk::Object</" |
1690 | "classname>, och" | 1679 | "classname>, och" | ||
1691 | 1680 | ||||
1692 | #. (itstool) path: listitem/para | 1681 | #. (itstool) path: listitem/para | ||
1693 | #: C/index-in.docbook:566 | 1682 | #: C/index-in.docbook:566 | ||
1694 | #, fuzzy | 1683 | #, fuzzy | ||
1845 | "\n" | 1834 | "\n" | ||
1846 | " //Medlemskomponenter:\n" | 1835 | " //Medlemskomponenter:\n" | ||
1847 | " Gtk::Button m_button;\n" | 1836 | " Gtk::Button m_button;\n" | ||
1848 | "};" | 1837 | "};" | ||
1849 | 1838 | ||||
n | 1850 | # TODO: initialization | n | ||
1851 | #. (itstool) path: section/para | 1839 | #. (itstool) path: section/para | ||
1852 | #: C/index-in.docbook:619 | 1840 | #: C/index-in.docbook:619 | ||
n | 1853 | #, fuzzy | n | ||
1854 | msgid "" | 1841 | msgid "" | ||
1855 | "This class implements the \"Hello World\" window. It's derived from " | 1842 | "This class implements the \"Hello World\" window. It's derived from " | ||
1856 | "<classname>Gtk::Window</classname>, and has a single <classname>Gtk::Button</" | 1843 | "<classname>Gtk::Window</classname>, and has a single <classname>Gtk::Button</" | ||
1857 | "classname> as a member. We've chosen to use the constructor to do all of the " | 1844 | "classname> as a member. We've chosen to use the constructor to do all of the " | ||
1858 | "initialization work for the window, including setting up the signals. Here " | 1845 | "initialization work for the window, including setting up the signals. Here " | ||
1893 | " m_button.signal_clicked().connect(sigc::mem_fun(*this,\n" | 1880 | " m_button.signal_clicked().connect(sigc::mem_fun(*this,\n" | ||
1894 | " &HelloWorld::on_button_clicked));\n" | 1881 | " &HelloWorld::on_button_clicked));\n" | ||
1895 | " set_child(m_button);\n" | 1882 | " set_child(m_button);\n" | ||
1896 | "}" | 1883 | "}" | ||
1897 | 1884 | ||||
n | 1898 | # TODO: initializer | n | ||
1899 | #. (itstool) path: section/para | 1885 | #. (itstool) path: section/para | ||
1900 | #: C/index-in.docbook:637 | 1886 | #: C/index-in.docbook:637 | ||
n | 1901 | #, fuzzy | n | ||
1902 | #| msgid "" | ||||
1903 | #| "Notice that we've used an initialiser statement to give the " | ||||
1904 | #| "<literal>m_button</literal> object the label \"Hello World\"." | ||||
1905 | msgid "" | 1887 | msgid "" | ||
1906 | "Notice that we've used an initializer statement to give the " | 1888 | "Notice that we've used an initializer statement to give the " | ||
1907 | "<literal>m_button</literal> object the label \"Hello World\"." | 1889 | "<literal>m_button</literal> object the label \"Hello World\"." | ||
1908 | msgstr "" | 1890 | msgstr "" | ||
1909 | "Observera att vi har använt en initierarsats för att ge <literal>m_button</" | 1891 | "Observera att vi har använt en initierarsats för att ge <literal>m_button</" | ||
2048 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" | 2030 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" | ||
2049 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | 2031 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | ||
2050 | 2032 | ||||
2051 | #. (itstool) path: chapter/para | 2033 | #. (itstool) path: chapter/para | ||
2052 | #: C/index-in.docbook:696 | 2034 | #: C/index-in.docbook:696 | ||
n | 2053 | #, fuzzy | n | ||
2054 | msgid "" | 2035 | msgid "" | ||
2055 | "<application>gtkmm</application> 3's library is called " | 2036 | "<application>gtkmm</application> 3's library is called " | ||
2056 | "<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> " | 2037 | "<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> " | ||
2057 | "and installs its headers in a similarly-versioned directory, so your pkg-" | 2038 | "and installs its headers in a similarly-versioned directory, so your pkg-" | ||
2058 | "config check should ask for <literal>gtkmm-3.0</literal> rather than " | 2039 | "config check should ask for <literal>gtkmm-3.0</literal> rather than " | ||
2115 | "t som du troligen kommer stöta på när du porterar kod som använt " | 2096 | "t som du troligen kommer stöta på när du porterar kod som använt " | ||
2116 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | 2097 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | ||
2117 | 2098 | ||||
2118 | #. (itstool) path: listitem/simpara | 2099 | #. (itstool) path: listitem/simpara | ||
2119 | #: C/index-in.docbook:711 | 2100 | #: C/index-in.docbook:711 | ||
n | 2120 | #, fuzzy | n | ||
2121 | msgid "" | 2101 | msgid "" | ||
2122 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | 2102 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | ||
2123 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | 2103 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | ||
2124 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | 2104 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | ||
2125 | "can be used to specify more details of how the <classname>CellRenderer</" | 2105 | "can be used to specify more details of how the <classname>CellRenderer</" | ||
2126 | "classname>s are arranged and aligned." | 2106 | "classname>s are arranged and aligned." | ||
2127 | msgstr "" | 2107 | msgstr "" | ||
2128 | "<classname>Gtk::CellLayout</classname> som används av <classname>Gtk::" | 2108 | "<classname>Gtk::CellLayout</classname> som används av <classname>Gtk::" | ||
2129 | "IconView</classname>, <classname>Gtk::TreeView::Column</classname> och " | 2109 | "IconView</classname>, <classname>Gtk::TreeView::Column</classname> och " | ||
2130 | "<classname>Gtk::ComboBox</classname> har nu en <classname>Gtk::CellArea</" | 2110 | "<classname>Gtk::ComboBox</classname> har nu en <classname>Gtk::CellArea</" | ||
n | 2131 | "classname> som kan användas för att ange mer detaljer på hur " | n | 2111 | "classname> som kan användas för att ange mer detaljer om hur " |
2132 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." | 2112 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." | ||
2133 | 2113 | ||||
2134 | #. (itstool) path: listitem/simpara | 2114 | #. (itstool) path: listitem/simpara | ||
2135 | #: C/index-in.docbook:713 | 2115 | #: C/index-in.docbook:713 | ||
n | 2136 | #, fuzzy | n | ||
2137 | msgid "" | 2116 | msgid "" | ||
2138 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | 2117 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | ||
2139 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | 2118 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | ||
2140 | msgstr "" | 2119 | msgstr "" | ||
2141 | "Gtk::ComboBox härleds nu från CellLayout, vilket tillåter lättare layout och " | 2120 | "Gtk::ComboBox härleds nu från CellLayout, vilket tillåter lättare layout och " | ||
2172 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | 2151 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | ||
2173 | "kräva användningen av en härledd klass som <classname>Gtk::HBox</classname>." | 2152 | "kräva användningen av en härledd klass som <classname>Gtk::HBox</classname>." | ||
2174 | 2153 | ||||
2175 | #. (itstool) path: listitem/simpara | 2154 | #. (itstool) path: listitem/simpara | ||
2176 | #: C/index-in.docbook:720 | 2155 | #: C/index-in.docbook:720 | ||
n | 2177 | #, fuzzy | n | ||
2178 | msgid "" | 2156 | msgid "" | ||
2179 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | 2157 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | ||
2180 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | 2158 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | ||
2181 | "Scrollable instead of having their own methods such as " | 2159 | "Scrollable instead of having their own methods such as " | ||
2182 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | 2160 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | ||
2188 | "<methodname>get_vadjustment()</methodname> och i stället för att ha sin egen " | 2166 | "<methodname>get_vadjustment()</methodname> och i stället för att ha sin egen " | ||
2189 | "set_scroll_adjustments-signal." | 2167 | "set_scroll_adjustments-signal." | ||
2190 | 2168 | ||||
2191 | #. (itstool) path: listitem/simpara | 2169 | #. (itstool) path: listitem/simpara | ||
2192 | #: C/index-in.docbook:722 | 2170 | #: C/index-in.docbook:722 | ||
n | 2193 | #, fuzzy | n | ||
2194 | msgid "" | 2171 | msgid "" | ||
2195 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | 2172 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||
2196 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | 2173 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||
2197 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | 2174 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||
2198 | "CssProvider</classname>." | 2175 | "CssProvider</classname>." | ||
2199 | msgstr "" | 2176 | msgstr "" | ||
2200 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 2177 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
2201 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 2178 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 2202 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 2179 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
2203 | "classname>." | 2180 | "CssProvider</classname>." | ||
2204 | 2181 | ||||
2205 | #. (itstool) path: listitem/simpara | 2182 | #. (itstool) path: listitem/simpara | ||
2206 | #: C/index-in.docbook:724 | 2183 | #: C/index-in.docbook:724 | ||
2207 | msgid "" | 2184 | msgid "" | ||
2208 | "Widget::on_expose_event() was replaced by Widget::on_draw(), which assumes " | 2185 | "Widget::on_expose_event() was replaced by Widget::on_draw(), which assumes " | ||
2209 | "that cairomm is used for drawing, via the provided <classname>Cairo::" | 2186 | "that cairomm is used for drawing, via the provided <classname>Cairo::" | ||
2210 | "Context</classname> and does not require you to call <methodname>Cairo::" | 2187 | "Context</classname> and does not require you to call <methodname>Cairo::" | ||
2211 | "Context::clip()</methodname>." | 2188 | "Context::clip()</methodname>." | ||
2212 | msgstr "" | 2189 | msgstr "" | ||
n | 2213 | "Widget::on_expose_event() ersattes av Widget::on_draw(), vilket antar att " | n | 2190 | "Widget::on_expose_event() ersattes av Widget::on_draw(), vilken antar att " |
2214 | "cairomm används för ritning genom tillhandahållen <classname>Cairo::Context</" | 2191 | "cairomm används för ritning genom tillhandahållen <classname>Cairo::Context</" | ||
n | 2215 | "classname> och kräver inte att du anropar <methodname>Cairo::Context::" | n | 2192 | "classname> och inte kräver att du anropar <methodname>Cairo::Context::" |
2216 | "clip()</methodname>." | 2193 | "clip()</methodname>." | ||
2217 | 2194 | ||||
2218 | #. (itstool) path: listitem/simpara | 2195 | #. (itstool) path: listitem/simpara | ||
2219 | #: C/index-in.docbook:726 | 2196 | #: C/index-in.docbook:726 | ||
n | 2220 | #, fuzzy | n | ||
2221 | msgid "" | 2197 | msgid "" | ||
2222 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | 2198 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | ||
2223 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | 2199 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | ||
2224 | "removed, along with its awkward use to allocate colors." | 2200 | "removed, along with its awkward use to allocate colors." | ||
2225 | msgstr "" | 2201 | msgstr "" | ||
2226 | "<classname>Gdk::RGBA</classname> ersätter <classname>Color</classname>, " | 2202 | "<classname>Gdk::RGBA</classname> ersätter <classname>Color</classname>, " | ||
2227 | "vilket lägger till en alfakomponent för opacitet. <classname>Colormap</" | 2203 | "vilket lägger till en alfakomponent för opacitet. <classname>Colormap</" | ||
2228 | "classname> togs bort, tillsammans med sin klumpiga användning för att " | 2204 | "classname> togs bort, tillsammans med sin klumpiga användning för att " | ||
2229 | "allokera färger." | 2205 | "allokera färger." | ||
2230 | 2206 | ||||
n | 2231 | # TODO: favor | n | ||
2232 | #. (itstool) path: listitem/simpara | 2207 | #. (itstool) path: listitem/simpara | ||
2233 | #: C/index-in.docbook:728 | 2208 | #: C/index-in.docbook:728 | ||
n | 2234 | #, fuzzy | n | ||
2235 | #| msgid "" | ||||
2236 | #| "<classname>Gdk::Pixmap</classname> and <classname>Gdk::Bitmap</classname> " | ||||
2237 | #| "were removed in favour of <classname>Gdk::Pixbuf</classname>." | ||||
2238 | msgid "" | 2209 | msgid "" | ||
2239 | "<classname>Gdk::Pixmap</classname> and <classname>Gdk::Bitmap</classname> " | 2210 | "<classname>Gdk::Pixmap</classname> and <classname>Gdk::Bitmap</classname> " | ||
2240 | "were removed in favor of <classname>Gdk::Pixbuf</classname>." | 2211 | "were removed in favor of <classname>Gdk::Pixbuf</classname>." | ||
2241 | msgstr "" | 2212 | msgstr "" | ||
2242 | "<classname>Gdk::Pixmap</classname> och <classname>Gdk::Bitmap</classname> " | 2213 | "<classname>Gdk::Pixmap</classname> och <classname>Gdk::Bitmap</classname> " | ||
2251 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | 2222 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | ||
2252 | "till <classname>Gdk::Window</classname>." | 2223 | "till <classname>Gdk::Window</classname>." | ||
2253 | 2224 | ||||
2254 | #. (itstool) path: listitem/simpara | 2225 | #. (itstool) path: listitem/simpara | ||
2255 | #: C/index-in.docbook:732 | 2226 | #: C/index-in.docbook:732 | ||
n | 2256 | #, fuzzy | n | ||
2257 | msgid "" | 2227 | msgid "" | ||
2258 | "We now use std::vector in several methods instead of the intermediate " | 2228 | "We now use std::vector in several methods instead of the intermediate " | ||
2259 | "*Handle types to make the API clearer." | 2229 | "*Handle types to make the API clearer." | ||
2260 | msgstr "" | 2230 | msgstr "" | ||
2261 | "Vi använder nu std::vector i flera metoder i stället för mellanliggande " | 2231 | "Vi använder nu std::vector i flera metoder i stället för mellanliggande " | ||
2326 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | 2296 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | ||
2327 | "du lugnt ignorera detta kapitel." | 2297 | "du lugnt ignorera detta kapitel." | ||
2328 | 2298 | ||||
2329 | #. (itstool) path: chapter/para | 2299 | #. (itstool) path: chapter/para | ||
2330 | #: C/index-in.docbook:754 | 2300 | #: C/index-in.docbook:754 | ||
n | 2331 | #, fuzzy | n | ||
2332 | msgid "" | 2301 | msgid "" | ||
2333 | "<application>gtkmm</application> 4's library is called " | 2302 | "<application>gtkmm</application> 4's library is called " | ||
2334 | "<literal>libgtkmm-4.0</literal> rather than <literal>libgtkmm-3.0</literal> " | 2303 | "<literal>libgtkmm-4.0</literal> rather than <literal>libgtkmm-3.0</literal> " | ||
2335 | "and installs its headers in a similarly-versioned directory, so your " | 2304 | "and installs its headers in a similarly-versioned directory, so your " | ||
2336 | "<application>pkg-config</application> check should ask for " | 2305 | "<application>pkg-config</application> check should ask for " | ||
2343 | "<literal>gtkmm-4.0</literal> snarare än <literal>gtkmm-3.0</literal>." | 2312 | "<literal>gtkmm-4.0</literal> snarare än <literal>gtkmm-3.0</literal>." | ||
2344 | 2313 | ||||
2345 | #. (itstool) path: chapter/para | 2314 | #. (itstool) path: chapter/para | ||
2346 | #: C/index-in.docbook:760 | 2315 | #: C/index-in.docbook:760 | ||
2347 | #, fuzzy | 2316 | #, fuzzy | ||
n | n | 2317 | #| msgid "" | ||
2318 | #| "<application>gtkmm</application>-4.0 is used in combination with " | ||||
2319 | #| "<application>glibmm-2.68</application>, which sets the global locale for " | ||||
2320 | #| "your program. The older <application>glibmm-2.4</application> does not do " | ||||
2321 | #| "that, and <application>gtkmm</application>-3.0 does it only to some " | ||||
2322 | #| "extent. What this means is briefly that if your <application>gtkmm</" | ||||
2323 | #| "application>-3.0 program contains a call to <function>std::locale::" | ||||
2324 | #| "global(std::locale(\"\"))</function>, you can probably remove it. If you " | ||||
2325 | #| "don't want <application>glibmm</application> or <application>gtkmm</" | ||||
2326 | #| "application> to set the global locale for you, you should add a call to " | ||||
2327 | #| "<function>Glib::set_init_to_users_preferred_locale(false)</function> " | ||||
2328 | #| "before any call to <function>Glib::init()</function> or <methodname>Gtk::" | ||||
2329 | #| "Application::create()</methodname>." | ||||
2348 | msgid "" | 2330 | msgid "" | ||
2349 | "<application>gtkmm</application>-4.0 is used in combination with " | 2331 | "<application>gtkmm</application>-4.0 is used in combination with " | ||
2350 | "<application>glibmm-2.68</application>, which sets the global locale for " | 2332 | "<application>glibmm-2.68</application>, which sets the global locale for " | ||
2351 | "your program. The older <application>glibmm-2.4</application> does not do " | 2333 | "your program. The older <application>glibmm-2.4</application> does not do " | ||
2352 | "that, and <application>gtkmm</application>-3.0 does it only to some extent. " | 2334 | "that, and <application>gtkmm</application>-3.0 does it only to some extent. " | ||
2531 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | 2513 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | ||
2532 | "<classname>Gtk::FontChooser</classname>." | 2514 | "<classname>Gtk::FontChooser</classname>." | ||
2533 | 2515 | ||||
2534 | #. (itstool) path: listitem/simpara | 2516 | #. (itstool) path: listitem/simpara | ||
2535 | #: C/index-in.docbook:822 | 2517 | #: C/index-in.docbook:822 | ||
n | 2536 | #, fuzzy | n | ||
2537 | msgid "" | 2518 | msgid "" | ||
2538 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | 2519 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | ||
2539 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | 2520 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | ||
2540 | "This change only affects custom widgets." | 2521 | "This change only affects custom widgets." | ||
2541 | msgstr "" | 2522 | msgstr "" | ||
n | 2542 | "<classname>Gtk::Widget</classname>: De olika " | n | 2523 | "<classname>Gtk::Widget</classname>: De olika metoderna " |
2543 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | 2524 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | ||
2544 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | 2525 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | ||
2545 | "anpassade komponenter." | 2526 | "anpassade komponenter." | ||
2546 | 2527 | ||||
2547 | #. (itstool) path: listitem/simpara | 2528 | #. (itstool) path: listitem/simpara | ||
2850 | msgid "Toggle buttons" | 2831 | msgid "Toggle buttons" | ||
2851 | msgstr "Växlingsknappar" | 2832 | msgstr "Växlingsknappar" | ||
2852 | 2833 | ||||
2853 | #. (itstool) path: listitem/para | 2834 | #. (itstool) path: listitem/para | ||
2854 | #: C/index-in.docbook:931 | 2835 | #: C/index-in.docbook:931 | ||
n | 2855 | #, fuzzy | n | ||
2856 | msgid "" | 2836 | msgid "" | ||
2857 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2837 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2858 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | 2838 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | ||
2859 | "link>. Unlike a normal Button, which springs back up, a ToggleButton stays " | 2839 | "link>. Unlike a normal Button, which springs back up, a ToggleButton stays " | ||
2860 | "down until you press it again. It might be useful as an on/off switch. See " | 2840 | "down until you press it again. It might be useful as an on/off switch. See " | ||
3404 | "Du använder exempelvis kanske en för att justera förstoringsnivån på en " | 3384 | "Du använder exempelvis kanske en för att justera förstoringsnivån på en " | ||
3405 | "zoomad förhandsgranskning av en bild, eller för att styra ljusstyrkan för en " | 3385 | "zoomad förhandsgranskning av en bild, eller för att styra ljusstyrkan för en " | ||
3406 | "färg, eller för att ange antalet inaktiva minuter innan en skärmsläckare tar " | 3386 | "färg, eller för att ange antalet inaktiva minuter innan en skärmsläckare tar " | ||
3407 | "över skärmen." | 3387 | "över skärmen." | ||
3408 | 3388 | ||||
n | 3409 | # TODO: behavior | n | ||
3410 | #. (itstool) path: section/para | 3389 | #. (itstool) path: section/para | ||
3411 | #: C/index-in.docbook:1194 | 3390 | #: C/index-in.docbook:1194 | ||
n | 3412 | #, fuzzy | n | ||
3413 | #| msgid "" | ||||
3414 | #| "As with <classname>Scrollbar</classname>s, the orientation can be either " | ||||
3415 | #| "horizontal or vertical. The default constructor creates an " | ||||
3416 | #| "<classname>Adjustment</classname> with all of its values set to " | ||||
3417 | #| "<literal>0.0</literal>. This isn't useful so you will need to set some " | ||||
3418 | #| "<classname>Adjustment</classname> details to get meaningful behaviour." | ||||
3419 | msgid "" | 3391 | msgid "" | ||
3420 | "As with <classname>Scrollbar</classname>s, the orientation can be either " | 3392 | "As with <classname>Scrollbar</classname>s, the orientation can be either " | ||
3421 | "horizontal or vertical. The default constructor creates an " | 3393 | "horizontal or vertical. The default constructor creates an " | ||
3422 | "<classname>Adjustment</classname> with all of its values set to " | 3394 | "<classname>Adjustment</classname> with all of its values set to " | ||
3423 | "<literal>0.0</literal>. This isn't useful so you will need to set some " | 3395 | "<literal>0.0</literal>. This isn't useful so you will need to set some " | ||
4394 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4366 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4395 | "classGtk_1_1InfoBar.html\">Referens</link>" | 4367 | "classGtk_1_1InfoBar.html\">Referens</link>" | ||
4396 | 4368 | ||||
4397 | #. (itstool) path: section/para | 4369 | #. (itstool) path: section/para | ||
4398 | #: C/index-in.docbook:1697 | 4370 | #: C/index-in.docbook:1697 | ||
n | 4399 | #, fuzzy | n | ||
4400 | #| msgid "" | ||||
4401 | #| "<classname>FileChooser</classname> and the classes that implement it are " | ||||
4402 | #| "deprecated since <application>gtkmm</application> 4.10. They have been " | ||||
4403 | #| "replaced by <classname>FileDialog</classname>, which is available since " | ||||
4404 | #| "<application>gtkmm</application> 4.10." | ||||
4405 | msgid "" | 4371 | msgid "" | ||
4406 | "The <classname>InfoBar</classname> widget is deprecated since " | 4372 | "The <classname>InfoBar</classname> widget is deprecated since " | ||
4407 | "<application>gtkmm</application> 4.10. The example shows an info bar " | 4373 | "<application>gtkmm</application> 4.10. The example shows an info bar " | ||
4408 | "consisting of a <classname>Box</classname> with a <classname>Label</" | 4374 | "consisting of a <classname>Box</classname> with a <classname>Label</" | ||
4409 | "classname> and a <classname>Button</classname>." | 4375 | "classname> and a <classname>Button</classname>." | ||
4410 | msgstr "" | 4376 | msgstr "" | ||
n | 4411 | "<classname>FileChooser</classname> och klasserna som implementerar den är " | n | 4377 | "<classname>InfoBar</classname>-komponenten är föråldrad sedan " |
4412 | "föråldrade sedan <application>gtkmm</application> 4.10. De har ersatts av " | 4378 | "<application>gtkmm</application> 4.10. Exemplen visar en inforad som består " | ||
4413 | "<classname>FileDialog</classname>, vilken finns tillgänglig sedan " | 4379 | "av en <classname>Box</classname> med en <classname>Label</classname> och en " | ||
4414 | "<application>gtkmm</application> 4.10." | 4380 | "<classname>Button</classname>." | ||
4415 | 4381 | ||||
4416 | #. (itstool) path: imageobject/imagedata | 4382 | #. (itstool) path: imageobject/imagedata | ||
4417 | #. This is a reference to an external file such as an image or video. When | 4383 | #. This is a reference to an external file such as an image or video. When | ||
4418 | #. the file changes, the md5 hash will change to let you know you need to | 4384 | #. the file changes, the md5 hash will change to let you know you need to | ||
4419 | #. update your localized copy. The msgstr is not used at all. Set it to | 4385 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
4979 | "begärt att tillgängligt utrymme ska delas mellan uppsättningar av " | 4945 | "begärt att tillgängligt utrymme ska delas mellan uppsättningar av " | ||
4980 | "komponenter. <application>gtkmm</application> använder sedan all denna " | 4946 | "komponenter. <application>gtkmm</application> använder sedan all denna " | ||
4981 | "information för att ändra storlek och position på allt på ett rimligt och " | 4947 | "information för att ändra storlek och position på allt på ett rimligt och " | ||
4982 | "smidigt sätt när användaren manipulerar fönstret." | 4948 | "smidigt sätt när användaren manipulerar fönstret." | ||
4983 | 4949 | ||||
n | 4984 | # TODO: flavors | n | ||
4985 | #. (itstool) path: section/para | 4950 | #. (itstool) path: section/para | ||
4986 | #: C/index-in.docbook:1983 | 4951 | #: C/index-in.docbook:1983 | ||
n | 4987 | #, fuzzy | n | ||
4988 | msgid "" | 4952 | msgid "" | ||
4989 | "<application>gtkmm</application> arranges widgets hierarchically, using " | 4953 | "<application>gtkmm</application> arranges widgets hierarchically, using " | ||
4990 | "<emphasis>containers</emphasis>. A container widget contains other widgets. " | 4954 | "<emphasis>containers</emphasis>. A container widget contains other widgets. " | ||
4991 | "Most <application>gtkmm</application> widgets are containers. Windows, " | 4955 | "Most <application>gtkmm</application> widgets are containers. Windows, " | ||
4992 | "Notebook tabs, and Buttons are all container widgets. There are two flavors " | 4956 | "Notebook tabs, and Buttons are all container widgets. There are two flavors " | ||
5095 | "master/examples/book/helloworld2\">Source Code</link>" | 5059 | "master/examples/book/helloworld2\">Source Code</link>" | ||
5096 | msgstr "" | 5060 | msgstr "" | ||
5097 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5061 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5098 | "master/examples/book/helloworld2\">Källkod</link>" | 5062 | "master/examples/book/helloworld2\">Källkod</link>" | ||
5099 | 5063 | ||||
n | 5100 | # TODO: behavior | n | ||
5101 | #. (itstool) path: section/para | 5064 | #. (itstool) path: section/para | ||
5102 | #: C/index-in.docbook:2048 | 5065 | #: C/index-in.docbook:2048 | ||
5103 | #, fuzzy | 5066 | #, fuzzy | ||
5104 | msgid "" | 5067 | msgid "" | ||
5105 | "After building and running this program, try resizing the window to see the " | 5068 | "After building and running this program, try resizing the window to see the " | ||
5202 | msgid "There are basically five different styles, as shown in this picture:" | 5165 | msgid "There are basically five different styles, as shown in this picture:" | ||
5203 | msgstr "Det finns i grunden fem olika stilar som kan ses i denna bild:" | 5166 | msgstr "Det finns i grunden fem olika stilar som kan ses i denna bild:" | ||
5204 | 5167 | ||||
5205 | #. (itstool) path: figure/title | 5168 | #. (itstool) path: figure/title | ||
5206 | #: C/index-in.docbook:2101 | 5169 | #: C/index-in.docbook:2101 | ||
n | 5207 | #, fuzzy | n | ||
5208 | msgid "Box Packing 1" | 5170 | msgid "Box Packing 1" | ||
5209 | msgstr "Boxpackning 1" | 5171 | msgstr "Boxpackning 1" | ||
5210 | 5172 | ||||
5211 | #. (itstool) path: imageobject/imagedata | 5173 | #. (itstool) path: imageobject/imagedata | ||
5212 | #. This is a reference to an external file such as an image or video. When | 5174 | #. This is a reference to an external file such as an image or video. When | ||
5314 | "Följande figur bör göra det tydligare. De visade marginalerna är vänster- " | 5276 | "Följande figur bör göra det tydligare. De visade marginalerna är vänster- " | ||
5315 | "och högermarginalerna för varje knapp i raden." | 5277 | "och högermarginalerna för varje knapp i raden." | ||
5316 | 5278 | ||||
5317 | #. (itstool) path: figure/title | 5279 | #. (itstool) path: figure/title | ||
5318 | #: C/index-in.docbook:2144 | 5280 | #: C/index-in.docbook:2144 | ||
n | 5319 | #, fuzzy | n | ||
5320 | msgid "Box Packing 2" | 5281 | msgid "Box Packing 2" | ||
5321 | msgstr "Boxpackning 2" | 5282 | msgstr "Boxpackning 2" | ||
5322 | 5283 | ||||
5323 | #. (itstool) path: imageobject/imagedata | 5284 | #. (itstool) path: imageobject/imagedata | ||
5324 | #. This is a reference to an external file such as an image or video. When | 5285 | #. This is a reference to an external file such as an image or video. When | ||
5752 | "master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>" | 5713 | "master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>" | ||
5753 | 5714 | ||||
5754 | #. (itstool) path: chapter/title | 5715 | #. (itstool) path: chapter/title | ||
5755 | #: C/index-in.docbook:2352 | 5716 | #: C/index-in.docbook:2352 | ||
5756 | msgid "ListView, GridView, ColumnView" | 5717 | msgid "ListView, GridView, ColumnView" | ||
n | 5757 | msgstr "" | n | 5718 | msgstr "ListView, GridView, ColumnView" |
5758 | 5719 | ||||
5759 | #. (itstool) path: chapter/para | 5720 | #. (itstool) path: chapter/para | ||
5760 | #: C/index-in.docbook:2354 | 5721 | #: C/index-in.docbook:2354 | ||
5761 | msgid "" | 5722 | msgid "" | ||
5762 | "Lists are intended to be used whenever developers want to display many " | 5723 | "Lists are intended to be used whenever developers want to display many " | ||
5763 | "objects in roughly the same way. They are perfectly fine to be used for very " | 5724 | "objects in roughly the same way. They are perfectly fine to be used for very " | ||
5764 | "short lists of only 2 or 3 items, but generally scale fine to thousands of " | 5725 | "short lists of only 2 or 3 items, but generally scale fine to thousands of " | ||
5765 | "items." | 5726 | "items." | ||
5766 | msgstr "" | 5727 | msgstr "" | ||
n | n | 5728 | "Listor är avsedda att användas närhelst utvecklare vill visa många objekt på " | ||
5729 | "i stort sett samma sätt. De fungerar utmärkt att använda för väldigt korta " | ||||
5730 | "listor på bara två eller tre objekt, men går även allmänt fint att skala upp " | ||||
5731 | "till tusentals objekt." | ||||
5767 | 5732 | ||||
5768 | #. (itstool) path: chapter/para | 5733 | #. (itstool) path: chapter/para | ||
5769 | #: C/index-in.docbook:2360 | 5734 | #: C/index-in.docbook:2360 | ||
5770 | msgid "" | 5735 | msgid "" | ||
5771 | "Lists are meant to be used with changing data, both with the items " | 5736 | "Lists are meant to be used with changing data, both with the items " | ||
5772 | "themselves changing as well as the list adding and removing items. Of " | 5737 | "themselves changing as well as the list adding and removing items. Of " | ||
5773 | "course, they work just as well with static data." | 5738 | "course, they work just as well with static data." | ||
5774 | msgstr "" | 5739 | msgstr "" | ||
n | n | 5740 | "Listor är tänkta att använda med data som ändras, både då objekten själva " | ||
5741 | "ändras samt då listan lägger till och tar bort objekt. De fungerar förstås " | ||||
5742 | "precis lika bra med statiska data." | ||||
5775 | 5743 | ||||
5776 | #. (itstool) path: chapter/para | 5744 | #. (itstool) path: chapter/para | ||
5777 | #: C/index-in.docbook:2366 | 5745 | #: C/index-in.docbook:2366 | ||
5778 | #, fuzzy | 5746 | #, fuzzy | ||
5779 | msgid "" | 5747 | msgid "" | ||
5785 | "html\">Input Handling</link> i GTK-dokumentationen beskriver hantering av " | 5753 | "html\">Input Handling</link> i GTK-dokumentationen beskriver hantering av " | ||
5786 | "användarinmatning mer detaljerat." | 5754 | "användarinmatning mer detaljerat." | ||
5787 | 5755 | ||||
5788 | #. (itstool) path: chapter/para | 5756 | #. (itstool) path: chapter/para | ||
5789 | #: C/index-in.docbook:2371 | 5757 | #: C/index-in.docbook:2371 | ||
n | 5790 | #, fuzzy | n | ||
5791 | #| msgid "" | ||||
5792 | #| "Some <classname>TreeView</classname> examples are shown here. There are " | ||||
5793 | #| "more examples in the <link xlink:href=\"https://gitlab.gnome.org/GNOME/" | ||||
5794 | #| "gtkmm-documentation/tree/master/examples/book/treeview/\">treeview " | ||||
5795 | #| "directory</link> in <application>gtkmm-documentation</application>'s " | ||||
5796 | #| "examples." | ||||
5797 | msgid "" | 5758 | msgid "" | ||
5798 | "Some examples are shown in this chapter. There are more examples in the " | 5759 | "Some examples are shown in this chapter. There are more examples in the " | ||
5799 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5760 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5800 | "master/examples/book/listmodelviews/\">listmodelviews directory</link> in " | 5761 | "master/examples/book/listmodelviews/\">listmodelviews directory</link> in " | ||
5801 | "<application>gtkmm-documentation</application>'s examples." | 5762 | "<application>gtkmm-documentation</application>'s examples." | ||
5802 | msgstr "" | 5763 | msgstr "" | ||
n | 5803 | "Några <classname>TreeView</classname>-exempel visas här. Det finns mer " | n | 5764 | "Några exempel visas i detta kapitel. Det finns mer exempel i <link xlink:" |
5804 | "exempel i <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 5765 | "href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/master/" | ||
5805 | "documentation/tree/master/examples/book/treeview/\">treeview-katalogen</" | 5766 | "examples/book/listmodelviews/\">listmodelviews-katalogen</link> i " | ||
5806 | "link> i <application>gtkmm-documentation</application>s exempel." | 5767 | "<application>gtkmm-documentation</application>s exempel." | ||
5807 | 5768 | ||||
5808 | #. (itstool) path: section/title | 5769 | #. (itstool) path: section/title | ||
5809 | #: C/index-in.docbook:2377 | 5770 | #: C/index-in.docbook:2377 | ||
n | 5810 | #, fuzzy | n | ||
5811 | msgid "The Data Model" | 5771 | msgid "The Data Model" | ||
n | 5812 | msgstr "Modellen" | n | 5772 | msgstr "Datamodellen" |
5813 | 5773 | ||||
5814 | #. (itstool) path: section/para | 5774 | #. (itstool) path: section/para | ||
5815 | #: C/index-in.docbook:2379 | 5775 | #: C/index-in.docbook:2379 | ||
5816 | msgid "" | 5776 | msgid "" | ||
5817 | "The data model is a class that implements the <classname>Gio::ListModel</" | 5777 | "The data model is a class that implements the <classname>Gio::ListModel</" | ||
5819 | "ListStore</classname> (not to be confused with the deprecated " | 5779 | "ListStore</classname> (not to be confused with the deprecated " | ||
5820 | "<classname>Gtk::ListStore</classname>), <classname>Gtk:StringList</" | 5780 | "<classname>Gtk::ListStore</classname>), <classname>Gtk:StringList</" | ||
5821 | "classname>, <classname>Gtk:DirectoryList</classname> and <classname>Pango::" | 5781 | "classname>, <classname>Gtk:DirectoryList</classname> and <classname>Pango::" | ||
5822 | "FontMap</classname>." | 5782 | "FontMap</classname>." | ||
5823 | msgstr "" | 5783 | msgstr "" | ||
n | n | 5784 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | ||
5785 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | ||||
5786 | "ListStore</classname> (inte att förväxlas med de föråldrade <classname>Gtk::" | ||||
5787 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | ||||
5788 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | ||||
5789 | "classname>." | ||||
5824 | 5790 | ||||
5825 | #. (itstool) path: section/para | 5791 | #. (itstool) path: section/para | ||
5826 | #: C/index-in.docbook:2387 | 5792 | #: C/index-in.docbook:2387 | ||
5827 | #, fuzzy | 5793 | #, fuzzy | ||
n | 5828 | #| msgid "" | n | ||
5829 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
5830 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
5831 | #| "ComboBox class with one integer and one text column, like so:" | ||||
5832 | msgid "" | 5794 | msgid "" | ||
5833 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | 5795 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | ||
5834 | "instances of a subclass of <classname>Glib::Object</classname>. For " | 5796 | "instances of a subclass of <classname>Glib::Object</classname>. For " | ||
5835 | "instance, you might have a <classname>ColumnView</classname> with one " | 5797 | "instance, you might have a <classname>ColumnView</classname> with one " | ||
5836 | "integer and one text column, like so:" | 5798 | "integer and one text column, like so:" | ||
5837 | msgstr "" | 5799 | msgstr "" | ||
n | 5838 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 5800 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
5839 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 5801 | "exakt som för en <classname>ListView</classname> eller en " | ||
5840 | "ett heltal och en textkolumn, så här:" | 5802 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
5803 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
5804 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
5841 | 5805 | ||||
5842 | #. (itstool) path: section/programlisting | 5806 | #. (itstool) path: section/programlisting | ||
5843 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | 5807 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | ||
5844 | #, fuzzy, no-wrap | 5808 | #, fuzzy, no-wrap | ||
5845 | #| msgid "" | 5809 | #| msgid "" | ||
5913 | "Every item in a model has a position which is the unsigned integer that " | 5877 | "Every item in a model has a position which is the unsigned integer that " | ||
5914 | "describes where in the model the item is located. The first item in a model " | 5878 | "describes where in the model the item is located. The first item in a model " | ||
5915 | "is at position 0. The position of an item can of course change as other " | 5879 | "is at position 0. The position of an item can of course change as other " | ||
5916 | "items are added to or removed from the model." | 5880 | "items are added to or removed from the model." | ||
5917 | msgstr "" | 5881 | msgstr "" | ||
n | n | 5882 | "Varje objekt i en modell har en position vilken är det teckenlösa heltalet " | ||
5883 | "som beskriver var i modellen som objektet finns. Det första objektet i en " | ||||
5884 | "modell har position 0. Positionen för ett objekt kan förstås ändras då andra " | ||||
5885 | "objekt läggs till eller tas bort från modellen." | ||||
5918 | 5886 | ||||
5919 | #. (itstool) path: section/para | 5887 | #. (itstool) path: section/para | ||
5920 | #: C/index-in.docbook:2421 | 5888 | #: C/index-in.docbook:2421 | ||
n | 5921 | #, fuzzy | n | ||
5922 | #| msgid "" | ||||
5923 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||||
5924 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||||
5925 | msgid "" | 5889 | msgid "" | ||
5926 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 5890 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
5927 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | 5891 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | ||
5928 | msgstr "" | 5892 | msgstr "" | ||
5929 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 5893 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
n | 5930 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | n | 5894 | "classGio_1_1ListStore.html\">Referens för Gio::ListStore</link>" |
5931 | 5895 | ||||
5932 | #. (itstool) path: section/para | 5896 | #. (itstool) path: section/para | ||
5933 | #: C/index-in.docbook:2422 | 5897 | #: C/index-in.docbook:2422 | ||
n | 5934 | #, fuzzy | n | ||
5935 | #| msgid "" | ||||
5936 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5937 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5938 | msgid "" | 5898 | msgid "" | ||
5939 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5899 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5940 | "classGtk_1_1StringList.html\">StringList Reference</link>" | 5900 | "classGtk_1_1StringList.html\">StringList Reference</link>" | ||
5941 | msgstr "" | 5901 | msgstr "" | ||
5942 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5902 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5943 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5903 | "classGtk_1_1StringList.html\">Referens för StringList</link>" |
5944 | 5904 | ||||
5945 | #. (itstool) path: section/para | 5905 | #. (itstool) path: section/para | ||
5946 | #: C/index-in.docbook:2423 | 5906 | #: C/index-in.docbook:2423 | ||
n | 5947 | #, fuzzy | n | ||
5948 | #| msgid "" | ||||
5949 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5950 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5951 | msgid "" | 5907 | msgid "" | ||
5952 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5908 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5953 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | 5909 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | ||
5954 | msgstr "" | 5910 | msgstr "" | ||
5955 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5911 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5956 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5912 | "classGtk_1_1DirectoryList.html\">Referens för DirectoryList</link>" |
5957 | 5913 | ||||
5958 | #. (itstool) path: section/title | 5914 | #. (itstool) path: section/title | ||
5959 | #: C/index-in.docbook:2427 | 5915 | #: C/index-in.docbook:2427 | ||
5960 | #, fuzzy | 5916 | #, fuzzy | ||
5961 | msgid "The Selection Model" | 5917 | msgid "The Selection Model" | ||
5980 | "och <classname>Gio::ActionMap</classname> är basklasser för <classname>Gtk::" | 5936 | "och <classname>Gio::ActionMap</classname> är basklasser för <classname>Gtk::" | ||
5981 | "ApplicationWindow</classname>." | 5937 | "ApplicationWindow</classname>." | ||
5982 | 5938 | ||||
5983 | #. (itstool) path: section/para | 5939 | #. (itstool) path: section/para | ||
5984 | #: C/index-in.docbook:2434 | 5940 | #: C/index-in.docbook:2434 | ||
n | 5985 | #, fuzzy | n | ||
5986 | #| msgid "" | ||||
5987 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5988 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
5989 | msgid "" | 5941 | msgid "" | ||
5990 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5942 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5991 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | 5943 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | ||
5992 | msgstr "" | 5944 | msgstr "" | ||
5993 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5945 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5994 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | n | 5946 | "classGtk_1_1NoSelection.html\">Referens för NoSelection</link>" |
5995 | 5947 | ||||
5996 | #. (itstool) path: section/para | 5948 | #. (itstool) path: section/para | ||
5997 | #: C/index-in.docbook:2435 | 5949 | #: C/index-in.docbook:2435 | ||
n | 5998 | #, fuzzy | n | ||
5999 | #| msgid "" | ||||
6000 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6001 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6002 | msgid "" | 5950 | msgid "" | ||
6003 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5951 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6004 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | 5952 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | ||
6005 | msgstr "" | 5953 | msgstr "" | ||
6006 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5954 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6007 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5955 | "classGtk_1_1SingleSelection.html\">Referens för SingleSelection</link>" |
6008 | 5956 | ||||
6009 | #. (itstool) path: section/para | 5957 | #. (itstool) path: section/para | ||
6010 | #: C/index-in.docbook:2436 | 5958 | #: C/index-in.docbook:2436 | ||
n | 6011 | #, fuzzy | n | ||
6012 | #| msgid "" | ||||
6013 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6014 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||||
6015 | msgid "" | 5959 | msgid "" | ||
6016 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5960 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6017 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | 5961 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | ||
6018 | msgstr "" | 5962 | msgstr "" | ||
6019 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5963 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6020 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | n | 5964 | "classGtk_1_1MultiSelection.html\">Referens för MultiSelection</link>" |
6021 | 5965 | ||||
6022 | #. (itstool) path: section/title | 5966 | #. (itstool) path: section/title | ||
6023 | #: C/index-in.docbook:2440 | 5967 | #: C/index-in.docbook:2440 | ||
6024 | #, fuzzy | 5968 | #, fuzzy | ||
6025 | msgid "The Factory" | 5969 | msgid "The Factory" | ||
n | 6026 | msgstr "Inmatningen" | n | 5970 | msgstr "Fabriken" |
6027 | 5971 | ||||
6028 | #. (itstool) path: section/para | 5972 | #. (itstool) path: section/para | ||
6029 | #: C/index-in.docbook:2442 | 5973 | #: C/index-in.docbook:2442 | ||
n | n | 5974 | #, fuzzy | ||
6030 | msgid "" | 5975 | msgid "" | ||
6031 | "Data from the data model is added to the view by a factory, which is a " | 5976 | "Data from the data model is added to the view by a factory, which is a " | ||
6032 | "subclass of <classname>ListItemFactory</classname>. There is only one such " | 5977 | "subclass of <classname>ListItemFactory</classname>. There is only one such " | ||
6033 | "subclass in <application>gtkmm</application>, " | 5978 | "subclass in <application>gtkmm</application>, " | ||
6034 | "<classname>SignalListItemFactory</classname>. Data from the model is added " | 5979 | "<classname>SignalListItemFactory</classname>. Data from the model is added " | ||
6035 | "to the view with signal handlers connected to a " | 5980 | "to the view with signal handlers connected to a " | ||
6036 | "<classname>SignalListItemFactory</classname>." | 5981 | "<classname>SignalListItemFactory</classname>." | ||
6037 | msgstr "" | 5982 | msgstr "" | ||
n | n | 5983 | "Data från datamodellen läggs till i vyn av en fabrik, vilken är en " | ||
5984 | "underklass av <classname>ListItemFactory</classname>. Det finns endast en " | ||||
5985 | "sådan underklass i <application>gtkmm</application>, " | ||||
5986 | "<classname>SignalListItemFactory</classname>. Data från modellen läggs till " | ||||
5987 | "i vyn med signalhanterare anslutna till en <classname>SignalListItemFactory</" | ||||
5988 | "classname>." | ||||
6038 | 5989 | ||||
6039 | #. (itstool) path: section/para | 5990 | #. (itstool) path: section/para | ||
6040 | #: C/index-in.docbook:2448 | 5991 | #: C/index-in.docbook:2448 | ||
n | 6041 | #, fuzzy | n | ||
6042 | #| msgid "" | ||||
6043 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6044 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6045 | msgid "" | 5992 | msgid "" | ||
6046 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5993 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6047 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | 5994 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | ||
6048 | "link>" | 5995 | "link>" | ||
6049 | msgstr "" | 5996 | msgstr "" | ||
6050 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5997 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6051 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5998 | "classGtk_1_1SignalListItemFactory.html\">Referens för SignalListItemFactory</" |
5999 | "link>" | ||||
6052 | 6000 | ||||
6053 | #. (itstool) path: section/title | 6001 | #. (itstool) path: section/title | ||
6054 | #: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872 | 6002 | #: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872 | ||
6055 | #, fuzzy | 6003 | #, fuzzy | ||
6056 | msgid "The View" | 6004 | msgid "The View" | ||
n | 6057 | msgstr "View" | n | 6005 | msgstr "Vyn" |
6058 | 6006 | ||||
6059 | #. (itstool) path: section/para | 6007 | #. (itstool) path: section/para | ||
6060 | #: C/index-in.docbook:2454 | 6008 | #: C/index-in.docbook:2454 | ||
6061 | #, fuzzy | 6009 | #, fuzzy | ||
6062 | msgid "" | 6010 | msgid "" | ||
6063 | "The View is the widget that displays the model data and allows the user to " | 6011 | "The View is the widget that displays the model data and allows the user to " | ||
6064 | "interact with it. The View can show all of the model's columns, or just " | 6012 | "interact with it. The View can show all of the model's columns, or just " | ||
6065 | "some, and it can show them in various ways." | 6013 | "some, and it can show them in various ways." | ||
6066 | msgstr "" | 6014 | msgstr "" | ||
n | 6067 | "Vyn är den faktiska komponenten (<classname>Gtk::TreeView</classname>) som " | n | 6015 | "Vyn är komponenten som visar data för modellen och låter användaren " |
6068 | "visar data för modellen (<classname>Gtk::TreeModel</classname>) och låter " | ||||
6069 | "användaren interagera med dem. Vyn kan visa alla modellens kolumner, eller " | 6016 | "interagera med dem. Vyn kan visa alla modellens kolumner, eller bara några, " | ||
6070 | "bara några, och den kan visa dem på olika sätt." | 6017 | "och den kan visa dem på olika sätt." | ||
6071 | 6018 | ||||
6072 | #. (itstool) path: section/para | 6019 | #. (itstool) path: section/para | ||
6073 | #: C/index-in.docbook:2460 | 6020 | #: C/index-in.docbook:2460 | ||
n | n | 6021 | #, fuzzy | ||
6074 | msgid "" | 6022 | msgid "" | ||
6075 | "An important requirement for views (especially views of long lists) is that " | 6023 | "An important requirement for views (especially views of long lists) is that " | ||
6076 | "they need to know which items are not visible so they can be recycled. Views " | 6024 | "they need to know which items are not visible so they can be recycled. Views " | ||
6077 | "achieve that by implementing the <classname>Scrollable</classname> interface " | 6025 | "achieve that by implementing the <classname>Scrollable</classname> interface " | ||
6078 | "and expecting to be placed directly into a <classname>ScrolledWindow</" | 6026 | "and expecting to be placed directly into a <classname>ScrolledWindow</" | ||
6079 | "classname>." | 6027 | "classname>." | ||
6080 | msgstr "" | 6028 | msgstr "" | ||
n | n | 6029 | "Ett viktigt krav för vyer (särskilt vyer över långa listor) är att de " | ||
6030 | "behöver veta vilka objekt som inte är synliga, så att de kan återvinnas. " | ||||
6031 | "Vyer åstadkommer det genom att implementera gränssnittet " | ||||
6032 | "<classname>Scrollable</classname> och förväntar sig att placeras direkt i " | ||||
6033 | "ett <classname>ScrolledWindow</classname>." | ||||
6081 | 6034 | ||||
6082 | #. (itstool) path: section/para | 6035 | #. (itstool) path: section/para | ||
6083 | #: C/index-in.docbook:2467 | 6036 | #: C/index-in.docbook:2467 | ||
n | n | 6037 | #, fuzzy | ||
6084 | msgid "There are different view widgets to choose from." | 6038 | msgid "There are different view widgets to choose from." | ||
n | 6085 | msgstr "" | n | 6039 | msgstr "Det finns olika vykomponenter att välja från." |
6086 | 6040 | ||||
6087 | #. (itstool) path: section/title | 6041 | #. (itstool) path: section/title | ||
6088 | #. (itstool) path: figure/title | 6042 | #. (itstool) path: figure/title | ||
6089 | #: C/index-in.docbook:2472 C/index-in.docbook:2484 | 6043 | #: C/index-in.docbook:2472 C/index-in.docbook:2484 | ||
n | 6090 | #, fuzzy | n | ||
6091 | #| msgid "TextView" | ||||
6092 | msgid "ListView" | 6044 | msgid "ListView" | ||
n | 6093 | msgstr "TextView" | n | 6045 | msgstr "ListView" |
6094 | 6046 | ||||
6095 | #. (itstool) path: section/para | 6047 | #. (itstool) path: section/para | ||
6096 | #: C/index-in.docbook:2474 | 6048 | #: C/index-in.docbook:2474 | ||
n | 6097 | #, fuzzy | n | ||
6098 | #| msgid "" | ||||
6099 | #| "The <classname>Gtk::TreeView</classname> widget can contain lists or " | ||||
6100 | #| "trees of data, in columns." | ||||
6101 | msgid "" | 6049 | msgid "" | ||
6102 | "The <classname>ListView</classname> shows a 1-dimensional list with one " | 6050 | "The <classname>ListView</classname> shows a 1-dimensional list with one " | ||
6103 | "column." | 6051 | "column." | ||
6104 | msgstr "" | 6052 | msgstr "" | ||
n | 6105 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | n | 6053 | "<classname>ListView</classname> visar en 1-dimensionell lista med en kolumn." |
6106 | "träd med data i kolumner." | ||||
6107 | 6054 | ||||
6108 | #. (itstool) path: section/para | 6055 | #. (itstool) path: section/para | ||
6109 | #: C/index-in.docbook:2478 | 6056 | #: C/index-in.docbook:2478 | ||
n | 6110 | #, fuzzy | n | ||
6111 | #| msgid "" | ||||
6112 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6113 | #| "classGtk_1_1TextView.html\">Reference</link>" | ||||
6114 | msgid "" | 6057 | msgid "" | ||
6115 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6058 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6116 | "classGtk_1_1ListView.html\">Reference</link>" | 6059 | "classGtk_1_1ListView.html\">Reference</link>" | ||
6117 | msgstr "" | 6060 | msgstr "" | ||
6118 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6061 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6119 | "classGtk_1_1TextView.html\">Referens</link>" | n | 6062 | "classGtk_1_1ListView.html\">Referens</link>" |
6120 | 6063 | ||||
6121 | #. (itstool) path: imageobject/imagedata | 6064 | #. (itstool) path: imageobject/imagedata | ||
6122 | #. This is a reference to an external file such as an image or video. When | 6065 | #. This is a reference to an external file such as an image or video. When | ||
6123 | #. the file changes, the md5 hash will change to let you know you need to | 6066 | #. the file changes, the md5 hash will change to let you know you need to | ||
6124 | #. update your localized copy. The msgstr is not used at all. Set it to | 6067 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6132 | msgstr "" | 6075 | msgstr "" | ||
6133 | "external ref='figures/textview.png' md5='451e30f66cc32c4231bb6bc442cf0d2f'" | 6076 | "external ref='figures/textview.png' md5='451e30f66cc32c4231bb6bc442cf0d2f'" | ||
6134 | 6077 | ||||
6135 | #. (itstool) path: section/para | 6078 | #. (itstool) path: section/para | ||
6136 | #: C/index-in.docbook:2490 | 6079 | #: C/index-in.docbook:2490 | ||
n | 6137 | #, fuzzy | n | ||
6138 | #| msgid "" | ||||
6139 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6140 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " | ||||
6141 | #| "GridView</link>" | ||||
6142 | msgid "" | 6080 | msgid "" | ||
6143 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6081 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6144 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | 6082 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | ||
6145 | msgstr "" | 6083 | msgstr "" | ||
6146 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6084 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6147 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" | n | 6085 | "master/examples/book/listmodelviews/list_listview\">Källkod</link>" |
6148 | 6086 | ||||
6149 | #. (itstool) path: section/title | 6087 | #. (itstool) path: section/title | ||
6150 | #. (itstool) path: figure/title | 6088 | #. (itstool) path: figure/title | ||
6151 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | 6089 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | ||
n | 6152 | #, fuzzy | n | ||
6153 | #| msgid "Grid" | ||||
6154 | msgid "GridView" | 6090 | msgid "GridView" | ||
n | 6155 | msgstr "Grid" | n | 6091 | msgstr "GridView" |
6156 | 6092 | ||||
6157 | #. (itstool) path: section/para | 6093 | #. (itstool) path: section/para | ||
6158 | #: C/index-in.docbook:2498 | 6094 | #: C/index-in.docbook:2498 | ||
n | 6159 | #, fuzzy | n | ||
6160 | #| msgid "The <classname>Tag</classname> class has many other properties." | ||||
6161 | msgid "The <classname>GridView</classname> shows a 2-dimensional grid." | 6095 | msgid "The <classname>GridView</classname> shows a 2-dimensional grid." | ||
n | 6162 | msgstr "Klassen <classname>Tag</classname> har många andra egenskaper." | n | 6096 | msgstr "<classname>GridView</classname> visar ett 2-dimensionellt rutnät." |
6163 | 6097 | ||||
6164 | #. (itstool) path: section/para | 6098 | #. (itstool) path: section/para | ||
6165 | #: C/index-in.docbook:2502 | 6099 | #: C/index-in.docbook:2502 | ||
n | 6166 | #, fuzzy | n | ||
6167 | #| msgid "" | ||||
6168 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6169 | #| "classGtk_1_1Grid.html\">Reference</link>" | ||||
6170 | msgid "" | 6100 | msgid "" | ||
6171 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6101 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6172 | "classGtk_1_1GridView.html\">Reference</link>" | 6102 | "classGtk_1_1GridView.html\">Reference</link>" | ||
6173 | msgstr "" | 6103 | msgstr "" | ||
6174 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6104 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6175 | "classGtk_1_1Grid.html\">Referens</link>" | n | 6105 | "classGtk_1_1GridView.html\">Referens</link>" |
6176 | 6106 | ||||
6177 | #. (itstool) path: imageobject/imagedata | 6107 | #. (itstool) path: imageobject/imagedata | ||
6178 | #. This is a reference to an external file such as an image or video. When | 6108 | #. This is a reference to an external file such as an image or video. When | ||
6179 | #. the file changes, the md5 hash will change to let you know you need to | 6109 | #. the file changes, the md5 hash will change to let you know you need to | ||
6180 | #. update your localized copy. The msgstr is not used at all. Set it to | 6110 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6189 | "external ref='figures/treeview_list.png' " | 6119 | "external ref='figures/treeview_list.png' " | ||
6190 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6120 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | ||
6191 | 6121 | ||||
6192 | #. (itstool) path: section/para | 6122 | #. (itstool) path: section/para | ||
6193 | #: C/index-in.docbook:2514 | 6123 | #: C/index-in.docbook:2514 | ||
n | 6194 | #, fuzzy | n | ||
6195 | #| msgid "" | ||||
6196 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6197 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " | ||||
6198 | #| "GridView</link>" | ||||
6199 | msgid "" | 6124 | msgid "" | ||
6200 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6125 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6201 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | 6126 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | ||
6202 | msgstr "" | 6127 | msgstr "" | ||
6203 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6128 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6204 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" | n | 6129 | "master/examples/book/listmodelviews/gridview\">Källkod</link>" |
6205 | 6130 | ||||
6206 | #. (itstool) path: section/title | 6131 | #. (itstool) path: section/title | ||
6207 | #. (itstool) path: figure/title | 6132 | #. (itstool) path: figure/title | ||
6208 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | 6133 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | ||
6209 | msgid "ColumnView" | 6134 | msgid "ColumnView" | ||
n | 6210 | msgstr "" | n | 6135 | msgstr "ColumnView" |
6211 | 6136 | ||||
6212 | #. (itstool) path: section/para | 6137 | #. (itstool) path: section/para | ||
6213 | #: C/index-in.docbook:2522 | 6138 | #: C/index-in.docbook:2522 | ||
n | 6214 | #, fuzzy | n | ||
6215 | #| msgid "" | ||||
6216 | #| "The <classname>Gtk::TreeView</classname> widget can contain lists or " | ||||
6217 | #| "trees of data, in columns." | ||||
6218 | msgid "" | 6139 | msgid "" | ||
6219 | "The <classname>ColumnView</classname> shows a 1-dimensional list with one or " | 6140 | "The <classname>ColumnView</classname> shows a 1-dimensional list with one or " | ||
6220 | "more columns." | 6141 | "more columns." | ||
6221 | msgstr "" | 6142 | msgstr "" | ||
n | 6222 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | n | 6143 | "<classname>ColumnView</classname> visar en 1-dimensionell lista med en eller " |
6223 | "träd med data i kolumner." | 6144 | "flera kolumner." | ||
6224 | 6145 | ||||
6225 | #. (itstool) path: section/para | 6146 | #. (itstool) path: section/para | ||
6226 | #: C/index-in.docbook:2526 | 6147 | #: C/index-in.docbook:2526 | ||
n | 6227 | #, fuzzy | n | ||
6228 | #| msgid "" | ||||
6229 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6230 | #| "classGtk_1_1TreeView.html\">Reference</link>" | ||||
6231 | msgid "" | 6148 | msgid "" | ||
6232 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6149 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6233 | "classGtk_1_1ColumnView.html\">Reference</link>" | 6150 | "classGtk_1_1ColumnView.html\">Reference</link>" | ||
6234 | msgstr "" | 6151 | msgstr "" | ||
6235 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6152 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6236 | "classGtk_1_1TreeView.html\">Referens</link>" | n | 6153 | "classGtk_1_1ColumnView.html\">Referens</link>" |
6237 | 6154 | ||||
6238 | #. (itstool) path: imageobject/imagedata | 6155 | #. (itstool) path: imageobject/imagedata | ||
6239 | #. This is a reference to an external file such as an image or video. When | 6156 | #. This is a reference to an external file such as an image or video. When | ||
6240 | #. the file changes, the md5 hash will change to let you know you need to | 6157 | #. the file changes, the md5 hash will change to let you know you need to | ||
6241 | #. update your localized copy. The msgstr is not used at all. Set it to | 6158 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6249 | msgstr "" | 6166 | msgstr "" | ||
6250 | "external ref='figures/aspectframe.png' md5='9d8aac9521789ed27036a97a22fedece'" | 6167 | "external ref='figures/aspectframe.png' md5='9d8aac9521789ed27036a97a22fedece'" | ||
6251 | 6168 | ||||
6252 | #. (itstool) path: section/para | 6169 | #. (itstool) path: section/para | ||
6253 | #: C/index-in.docbook:2538 | 6170 | #: C/index-in.docbook:2538 | ||
n | 6254 | #, fuzzy | n | ||
6255 | #| msgid "" | ||||
6256 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6257 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " | ||||
6258 | #| "GridView</link>" | ||||
6259 | msgid "" | 6171 | msgid "" | ||
6260 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6172 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6261 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | 6173 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | ||
6262 | msgstr "" | 6174 | msgstr "" | ||
6263 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6175 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6264 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" | n | 6176 | "master/examples/book/listmodelviews/list_columnview\">Källkod</link>" |
6265 | 6177 | ||||
6266 | #. (itstool) path: section/title | 6178 | #. (itstool) path: section/title | ||
6267 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | 6179 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | ||
6268 | msgid "Sorting" | 6180 | msgid "Sorting" | ||
6269 | msgstr "Sortering" | 6181 | msgstr "Sortering" | ||
6270 | 6182 | ||||
6271 | #. (itstool) path: section/para | 6183 | #. (itstool) path: section/para | ||
6272 | #: C/index-in.docbook:2547 | 6184 | #: C/index-in.docbook:2547 | ||
n | n | 6185 | #, fuzzy | ||
6273 | msgid "" | 6186 | msgid "" | ||
6274 | "The list can be sorted by wrapping it in a <classname>SortListModel</" | 6187 | "The list can be sorted by wrapping it in a <classname>SortListModel</" | ||
6275 | "classname>. There are two ways to do this." | 6188 | "classname>. There are two ways to do this." | ||
6276 | msgstr "" | 6189 | msgstr "" | ||
n | n | 6190 | "Listan kan sorteras genom att omsluta den i en <classname>SortListModel</" | ||
6191 | "classname>. Det finns två sätt att göra detta." | ||||
6277 | 6192 | ||||
6278 | #. (itstool) path: listitem/para | 6193 | #. (itstool) path: listitem/para | ||
6279 | #: C/index-in.docbook:2552 | 6194 | #: C/index-in.docbook:2552 | ||
n | n | 6195 | #, fuzzy | ||
6280 | msgid "" | 6196 | msgid "" | ||
6281 | "In a <classname>ColumnView</classname>, get the <classname>ColumnViewSorter</" | 6197 | "In a <classname>ColumnView</classname>, get the <classname>ColumnViewSorter</" | ||
6282 | "classname> from the <classname>ColumnView</classname> and set it to the " | 6198 | "classname> from the <classname>ColumnView</classname> and set it to the " | ||
6283 | "<classname>SortListModel</classname>. Set a <classname>Sorter</classname> to " | 6199 | "<classname>SortListModel</classname>. Set a <classname>Sorter</classname> to " | ||
6284 | "each <classname>ColumnViewColumn</classname>. Then the user of your app can " | 6200 | "each <classname>ColumnViewColumn</classname>. Then the user of your app can " | ||
6285 | "sort the items by clicking on a column heading." | 6201 | "sort the items by clicking on a column heading." | ||
6286 | msgstr "" | 6202 | msgstr "" | ||
n | n | 6203 | "I en <classname>ColumnView</classname> hämtar du " | ||
6204 | "<classname>ColumnViewSorter</classname> från denna <classname>ColumnView</" | ||||
6205 | "classname> och ställer in den till <classname>SortListModel</classname>-" | ||||
6206 | "modellen. Ställ in en <classname>Sorter</classname> för varje " | ||||
6207 | "<classname>ColumnViewColumn</classname>. Användaren av ditt program kan " | ||||
6208 | "sedan sortera objekten genom att klicka på en kolumnrubrik." | ||||
6287 | 6209 | ||||
6288 | #. (itstool) path: listitem/para | 6210 | #. (itstool) path: listitem/para | ||
6289 | #: C/index-in.docbook:2557 | 6211 | #: C/index-in.docbook:2557 | ||
6290 | #, fuzzy | 6212 | #, fuzzy | ||
6291 | #| msgid "" | 6213 | #| msgid "" | ||
6295 | msgid "" | 6217 | msgid "" | ||
6296 | "In any view, set a <classname>Sorter</classname> such as a " | 6218 | "In any view, set a <classname>Sorter</classname> such as a " | ||
6297 | "<classname>StringSorter</classname> or a <classname>NumericSorter</" | 6219 | "<classname>StringSorter</classname> or a <classname>NumericSorter</" | ||
6298 | "classname> to the <classname>SortListModel</classname>." | 6220 | "classname> to the <classname>SortListModel</classname>." | ||
6299 | msgstr "" | 6221 | msgstr "" | ||
n | 6300 | "Som nämns ovan har varje <classname>TextView</classname> en " | n | 6222 | "Ställ i valfri vy in en <classname>Sorter</classname> som en " |
6301 | "<classname>TextBuffer</classname>, och en eller flera <classname>TextView</" | 6223 | "<classname>StringSorter</classname> eller en <classname>NumericSorter</" | ||
6302 | "classname> kan dela på samma <classname>TextBuffer</classname>." | 6224 | "classname> till <classname>SortListModel</classname>-modellen." | ||
6303 | 6225 | ||||
6304 | #. (itstool) path: section/para | 6226 | #. (itstool) path: section/para | ||
6305 | #: C/index-in.docbook:2562 | 6227 | #: C/index-in.docbook:2562 | ||
n | 6306 | #, fuzzy | n | ||
6307 | #| msgid "" | ||||
6308 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6309 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | ||||
6310 | msgid "" | 6228 | msgid "" | ||
6311 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6229 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6312 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | 6230 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | ||
6313 | msgstr "" | 6231 | msgstr "" | ||
6314 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6232 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6315 | "classGtk_1_1TreeModel.html\">Referens</link>" | n | 6233 | "classGtk_1_1SortListModel.html\">Referens för SortListModel</link>" |
6316 | 6234 | ||||
6317 | #. (itstool) path: section/para | 6235 | #. (itstool) path: section/para | ||
6318 | #: C/index-in.docbook:2563 | 6236 | #: C/index-in.docbook:2563 | ||
n | 6319 | #, fuzzy | n | ||
6320 | #| msgid "" | ||||
6321 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6322 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||||
6323 | msgid "" | 6237 | msgid "" | ||
6324 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6238 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6325 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | 6239 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | ||
6326 | msgstr "" | 6240 | msgstr "" | ||
6327 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6241 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6328 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | n | 6242 | "classGtk_1_1StringSorter.html\">Referens för StringSorter</link>" |
6329 | 6243 | ||||
6330 | #. (itstool) path: section/para | 6244 | #. (itstool) path: section/para | ||
6331 | #: C/index-in.docbook:2564 | 6245 | #: C/index-in.docbook:2564 | ||
n | 6332 | #, fuzzy | n | ||
6333 | #| msgid "" | ||||
6334 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6335 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||||
6336 | msgid "" | 6246 | msgid "" | ||
6337 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6247 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6338 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | 6248 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | ||
6339 | msgstr "" | 6249 | msgstr "" | ||
6340 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6250 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6341 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | n | 6251 | "classGtk_1_1NumericSorter.html\">Referens för NumericSorter</link>" |
6342 | 6252 | ||||
6343 | #. (itstool) path: figure/title | 6253 | #. (itstool) path: figure/title | ||
6344 | #: C/index-in.docbook:2570 | 6254 | #: C/index-in.docbook:2570 | ||
6345 | msgid "SortListModel" | 6255 | msgid "SortListModel" | ||
n | 6346 | msgstr "" | n | 6256 | msgstr "SortListModel" |
6347 | 6257 | ||||
6348 | #. (itstool) path: imageobject/imagedata | 6258 | #. (itstool) path: imageobject/imagedata | ||
6349 | #. This is a reference to an external file such as an image or video. When | 6259 | #. This is a reference to an external file such as an image or video. When | ||
6350 | #. the file changes, the md5 hash will change to let you know you need to | 6260 | #. the file changes, the md5 hash will change to let you know you need to | ||
6351 | #. update your localized copy. The msgstr is not used at all. Set it to | 6261 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6360 | "external ref='figures/treeview_list.png' " | 6270 | "external ref='figures/treeview_list.png' " | ||
6361 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6271 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | ||
6362 | 6272 | ||||
6363 | #. (itstool) path: section/para | 6273 | #. (itstool) path: section/para | ||
6364 | #: C/index-in.docbook:2576 | 6274 | #: C/index-in.docbook:2576 | ||
n | 6365 | #, fuzzy | n | ||
6366 | #| msgid "" | ||||
6367 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6368 | #| "tree/master/examples/book/textview/\">Source Code</link>" | ||||
6369 | msgid "" | 6275 | msgid "" | ||
6370 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6276 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6371 | "master/examples/book/listmodelviews/sort\">Source Code</link>" | 6277 | "master/examples/book/listmodelviews/sort\">Source Code</link>" | ||
6372 | msgstr "" | 6278 | msgstr "" | ||
6373 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6279 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6374 | "master/examples/book/textview/\">Källkod</link>" | n | 6280 | "master/examples/book/listmodelviews/sort\">Källkod</link>" |
6375 | 6281 | ||||
6376 | #. (itstool) path: section/title | 6282 | #. (itstool) path: section/title | ||
6377 | #: C/index-in.docbook:2582 | 6283 | #: C/index-in.docbook:2582 | ||
n | 6378 | #, fuzzy | n | ||
6379 | #| msgid "Filtering Files" | ||||
6380 | msgid "Filtering" | 6284 | msgid "Filtering" | ||
n | 6381 | msgstr "Filtrera filer" | n | 6285 | msgstr "Filtrering" |
6382 | 6286 | ||||
6383 | #. (itstool) path: section/para | 6287 | #. (itstool) path: section/para | ||
6384 | #: C/index-in.docbook:2584 | 6288 | #: C/index-in.docbook:2584 | ||
6385 | #, fuzzy | 6289 | #, fuzzy | ||
n | n | 6290 | #| msgid "" | ||
6291 | #| "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||||
6292 | #| "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||||
6293 | #| "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||||
6294 | #| "CssProvider</classname>." | ||||
6386 | msgid "" | 6295 | msgid "" | ||
6387 | "The list can be filtered by wrapping it in a <classname>FilterListModel</" | 6296 | "The list can be filtered by wrapping it in a <classname>FilterListModel</" | ||
6388 | "classname>. Set a <classname>Filter</classname> such as a " | 6297 | "classname>. Set a <classname>Filter</classname> such as a " | ||
6389 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | 6298 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | ||
6390 | "to the <classname>FilterListModel</classname>." | 6299 | "to the <classname>FilterListModel</classname>." | ||
6391 | msgstr "" | 6300 | msgstr "" | ||
6392 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 6301 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
6393 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 6302 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 6394 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 6303 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
6395 | "classname>." | 6304 | "CssProvider</classname>." | ||
6396 | 6305 | ||||
6397 | #. (itstool) path: section/para | 6306 | #. (itstool) path: section/para | ||
6398 | #: C/index-in.docbook:2590 | 6307 | #: C/index-in.docbook:2590 | ||
n | 6399 | #, fuzzy | n | ||
6400 | #| msgid "" | ||||
6401 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6402 | #| "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||||
6403 | msgid "" | 6308 | msgid "" | ||
6404 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6309 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6405 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | 6310 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | ||
6406 | msgstr "" | 6311 | msgstr "" | ||
6407 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6312 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6408 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | n | 6313 | "classGtk_1_1FilterListModel.html\">Referens för FilterListModel</link>" |
6409 | 6314 | ||||
6410 | #. (itstool) path: section/para | 6315 | #. (itstool) path: section/para | ||
6411 | #: C/index-in.docbook:2591 | 6316 | #: C/index-in.docbook:2591 | ||
n | 6412 | #, fuzzy | n | ||
6413 | #| msgid "" | ||||
6414 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6415 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6416 | msgid "" | 6317 | msgid "" | ||
6417 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6318 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6418 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | 6319 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | ||
6419 | msgstr "" | 6320 | msgstr "" | ||
6420 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6321 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6421 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 6322 | "classGtk_1_1StringFilter.html\">Referens för StringFilter</link>" |
6422 | 6323 | ||||
6423 | #. (itstool) path: section/para | 6324 | #. (itstool) path: section/para | ||
6424 | #: C/index-in.docbook:2592 | 6325 | #: C/index-in.docbook:2592 | ||
n | 6425 | #, fuzzy | n | ||
6426 | #| msgid "" | ||||
6427 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6428 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
6429 | msgid "" | 6326 | msgid "" | ||
6430 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6327 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6431 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | 6328 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | ||
6432 | msgstr "" | 6329 | msgstr "" | ||
6433 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6330 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6434 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | n | 6331 | "classGtk_1_1BoolFilter.html\">Referens för BoolFilter</link>" |
6435 | 6332 | ||||
6436 | #. (itstool) path: figure/title | 6333 | #. (itstool) path: figure/title | ||
6437 | #: C/index-in.docbook:2598 | 6334 | #: C/index-in.docbook:2598 | ||
6438 | msgid "FilterListModel" | 6335 | msgid "FilterListModel" | ||
n | 6439 | msgstr "" | n | 6336 | msgstr "FilterListModel" |
6440 | 6337 | ||||
6441 | #. (itstool) path: imageobject/imagedata | 6338 | #. (itstool) path: imageobject/imagedata | ||
6442 | #. This is a reference to an external file such as an image or video. When | 6339 | #. This is a reference to an external file such as an image or video. When | ||
6443 | #. the file changes, the md5 hash will change to let you know you need to | 6340 | #. the file changes, the md5 hash will change to let you know you need to | ||
6444 | #. update your localized copy. The msgstr is not used at all. Set it to | 6341 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6452 | msgstr "" | 6349 | msgstr "" | ||
6453 | "external ref='figures/recentfiles.png' md5='2ca280c98b5c8822ad48ca40f7ce0bb4'" | 6350 | "external ref='figures/recentfiles.png' md5='2ca280c98b5c8822ad48ca40f7ce0bb4'" | ||
6454 | 6351 | ||||
6455 | #. (itstool) path: section/para | 6352 | #. (itstool) path: section/para | ||
6456 | #: C/index-in.docbook:2604 | 6353 | #: C/index-in.docbook:2604 | ||
n | 6457 | #, fuzzy | n | ||
6458 | #| msgid "" | ||||
6459 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6460 | #| "tree/master/examples/book/textview/\">Source Code</link>" | ||||
6461 | msgid "" | 6354 | msgid "" | ||
6462 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6355 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6463 | "master/examples/book/listmodelviews/filter\">Source Code</link>" | 6356 | "master/examples/book/listmodelviews/filter\">Source Code</link>" | ||
6464 | msgstr "" | 6357 | msgstr "" | ||
6465 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6358 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6466 | "master/examples/book/textview/\">Källkod</link>" | n | 6359 | "master/examples/book/listmodelviews/filter\">Källkod</link>" |
6467 | 6360 | ||||
6468 | #. (itstool) path: section/title | 6361 | #. (itstool) path: section/title | ||
6469 | #: C/index-in.docbook:2610 | 6362 | #: C/index-in.docbook:2610 | ||
n | 6470 | #, fuzzy | n | ||
6471 | #| msgid "Applying Tags" | ||||
6472 | msgid "Displaying Trees" | 6363 | msgid "Displaying Trees" | ||
n | 6473 | msgstr "Tillämpa taggar" | n | 6364 | msgstr "Visa träd" |
6474 | 6365 | ||||
6475 | #. (itstool) path: section/para | 6366 | #. (itstool) path: section/para | ||
6476 | #: C/index-in.docbook:2612 | 6367 | #: C/index-in.docbook:2612 | ||
n | n | 6368 | #, fuzzy | ||
6477 | msgid "" | 6369 | msgid "" | ||
6478 | "While the deprecated <classname>TreeView</classname> provided built-in " | 6370 | "While the deprecated <classname>TreeView</classname> provided built-in " | ||
6479 | "support for trees, the list widgets, and in particular <classname>Gio::" | 6371 | "support for trees, the list widgets, and in particular <classname>Gio::" | ||
6480 | "ListModel</classname>, do not. However, <application>gtkmm</application> " | 6372 | "ListModel</classname>, do not. However, <application>gtkmm</application> " | ||
6481 | "provides functionality to make trees look and behave like lists for the " | 6373 | "provides functionality to make trees look and behave like lists for the " | ||
6482 | "people who still want to display lists. This is achieved by using the " | 6374 | "people who still want to display lists. This is achieved by using the " | ||
6483 | "<classname>TreeListModel</classname> to flatten a tree into a list. The " | 6375 | "<classname>TreeListModel</classname> to flatten a tree into a list. The " | ||
6484 | "<classname>TreeExpander</classname> widget can then be used inside a " | 6376 | "<classname>TreeExpander</classname> widget can then be used inside a " | ||
6485 | "listitem to allow users to expand and collapse rows." | 6377 | "listitem to allow users to expand and collapse rows." | ||
6486 | msgstr "" | 6378 | msgstr "" | ||
n | n | 6379 | "Medan den föråldrade <classname>TreeView</classname> tillhandahöll inbyggt " | ||
6380 | "stöd för träd så gör listkomponenterna, och i synnerhet <classname>Gio::" | ||||
6381 | "ListModel</classname>, inte det. <application>gtkmm</application> " | ||||
6382 | "tillhandahåller dock funktionalitet för att få träd att se ut och uppföra " | ||||
6383 | "sig som listor för de som fortfarande vill visa listor. Detta åstadkoms " | ||||
6384 | "genom att använda <classname>TreeListModel</classname>-modellen för att " | ||||
6385 | "platta ut ett träd till en lista. <classname>TreeExpander</classname>-" | ||||
6386 | "komponenten kan sedan användas inuti ett listobjekt för att låta användare " | ||||
6387 | "expandera och fälla ihop rader." | ||||
6487 | 6388 | ||||
6488 | #. (itstool) path: section/para | 6389 | #. (itstool) path: section/para | ||
6489 | #: C/index-in.docbook:2622 | 6390 | #: C/index-in.docbook:2622 | ||
n | 6490 | #, fuzzy | n | ||
6491 | #| msgid "" | ||||
6492 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6493 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||||
6494 | msgid "" | 6391 | msgid "" | ||
6495 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6392 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6496 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | 6393 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | ||
6497 | msgstr "" | 6394 | msgstr "" | ||
6498 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6395 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6499 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | n | 6396 | "classGtk_1_1TreeListModel.html\">Referens för TreeListModel</link>" |
6500 | 6397 | ||||
6501 | #. (itstool) path: section/para | 6398 | #. (itstool) path: section/para | ||
6502 | #: C/index-in.docbook:2623 | 6399 | #: C/index-in.docbook:2623 | ||
n | 6503 | #, fuzzy | n | ||
6504 | #| msgid "" | ||||
6505 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6506 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||||
6507 | msgid "" | 6400 | msgid "" | ||
6508 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6401 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6509 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | 6402 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | ||
6510 | msgstr "" | 6403 | msgstr "" | ||
6511 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6404 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6512 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | n | 6405 | "classGtk_1_1TreeExpander.html\">Referens för TreeExpander</link>" |
6513 | 6406 | ||||
6514 | #. (itstool) path: figure/title | 6407 | #. (itstool) path: figure/title | ||
6515 | #: C/index-in.docbook:2629 | 6408 | #: C/index-in.docbook:2629 | ||
n | 6516 | #, fuzzy | n | ||
6517 | msgid "TreeListModel" | 6409 | msgid "TreeListModel" | ||
n | 6518 | msgstr "Modellen" | n | 6410 | msgstr "TreeListModel" |
6519 | 6411 | ||||
6520 | #. (itstool) path: imageobject/imagedata | 6412 | #. (itstool) path: imageobject/imagedata | ||
6521 | #. This is a reference to an external file such as an image or video. When | 6413 | #. This is a reference to an external file such as an image or video. When | ||
6522 | #. the file changes, the md5 hash will change to let you know you need to | 6414 | #. the file changes, the md5 hash will change to let you know you need to | ||
6523 | #. update your localized copy. The msgstr is not used at all. Set it to | 6415 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6531 | msgstr "" | 6423 | msgstr "" | ||
6532 | "external ref='figures/notebook.png' md5='b46c25388d4c250b0ab737f71f82d81b'" | 6424 | "external ref='figures/notebook.png' md5='b46c25388d4c250b0ab737f71f82d81b'" | ||
6533 | 6425 | ||||
6534 | #. (itstool) path: section/para | 6426 | #. (itstool) path: section/para | ||
6535 | #: C/index-in.docbook:2635 | 6427 | #: C/index-in.docbook:2635 | ||
n | 6536 | #, fuzzy | n | ||
6537 | #| msgid "" | ||||
6538 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6539 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " | ||||
6540 | #| "GridView</link>" | ||||
6541 | msgid "" | 6428 | msgid "" | ||
6542 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6429 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6543 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | 6430 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | ||
6544 | msgstr "" | 6431 | msgstr "" | ||
6545 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6432 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6546 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" | n | 6433 | "master/examples/book/listmodelviews/tree_columnview\">Källkod</link>" |
6547 | 6434 | ||||
6548 | #. (itstool) path: chapter/title | 6435 | #. (itstool) path: chapter/title | ||
6549 | #: C/index-in.docbook:2643 | 6436 | #: C/index-in.docbook:2643 | ||
6550 | msgid "The TreeView widget" | 6437 | msgid "The TreeView widget" | ||
6551 | msgstr "TreeView-komponenten" | 6438 | msgstr "TreeView-komponenten" | ||
6552 | 6439 | ||||
6553 | #. (itstool) path: note/para | 6440 | #. (itstool) path: note/para | ||
6554 | #: C/index-in.docbook:2645 | 6441 | #: C/index-in.docbook:2645 | ||
n | 6555 | #, fuzzy | n | ||
6556 | #| msgid "" | ||||
6557 | #| "The <classname>FileChooserDialog</classname> (deprecated since " | ||||
6558 | #| "<application>gtkmm</application> 4.10) and <classname>FileDialog</" | ||||
6559 | #| "classname> (available since <application>gtkmm</application> 4.10) are " | ||||
6560 | #| "suitable for use with \"Open\" or \"Save\" menu items." | ||||
6561 | msgid "" | 6442 | msgid "" | ||
6562 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | 6443 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | ||
6563 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | 6444 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | ||
6564 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | 6445 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | ||
6565 | msgstr "" | 6446 | msgstr "" | ||
n | 6566 | "<classname>FileChooserDialog</classname> (föråldrad sedan " | n | 6447 | "<classname>Gtk::TreeView</classname> är föråldrad sedan <application>gtkmm</" |
6567 | "<application>gtkmm</application> 4.10) och <classname>FileDialog</classname> " | 6448 | "application> 4.10. Använd i ny kod <classname>Gtk::ListView</classname> för " | ||
6568 | "(tillgänglig sedan <application>gtkmm</application> 4.10) är lämpliga för " | 6449 | "listor och <classname>Gtk::ColumnView</classname> för tabellistor." | ||
6569 | "användning med menyobjekten ”Öppna” eller ”Spara”." | ||||
6570 | 6450 | ||||
6571 | #. (itstool) path: chapter/para | 6451 | #. (itstool) path: chapter/para | ||
6572 | #: C/index-in.docbook:2650 | 6452 | #: C/index-in.docbook:2650 | ||
6573 | msgid "" | 6453 | msgid "" | ||
6574 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | 6454 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | ||
6577 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | 6457 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | ||
6578 | "träd med data i kolumner." | 6458 | "träd med data i kolumner." | ||
6579 | 6459 | ||||
6580 | #. (itstool) path: section/title | 6460 | #. (itstool) path: section/title | ||
6581 | #: C/index-in.docbook:2656 | 6461 | #: C/index-in.docbook:2656 | ||
n | 6582 | #, fuzzy | n | ||
6583 | msgid "The Model" | 6462 | msgid "The Model" | ||
6584 | msgstr "Modellen" | 6463 | msgstr "Modellen" | ||
6585 | 6464 | ||||
6586 | #. (itstool) path: section/para | 6465 | #. (itstool) path: section/para | ||
6587 | #: C/index-in.docbook:2658 | 6466 | #: C/index-in.docbook:2658 | ||
7914 | msgid "Drag and Drop" | 7793 | msgid "Drag and Drop" | ||
7915 | msgstr "Dra och släpp" | 7794 | msgstr "Dra och släpp" | ||
7916 | 7795 | ||||
7917 | #. (itstool) path: section/para | 7796 | #. (itstool) path: section/para | ||
7918 | #: C/index-in.docbook:3197 | 7797 | #: C/index-in.docbook:3197 | ||
n | 7919 | #, fuzzy | n | ||
7920 | msgid "" | 7798 | msgid "" | ||
7921 | "<classname>Gtk::TreeView</classname> already implements simple drag-and-drop " | 7799 | "<classname>Gtk::TreeView</classname> already implements simple drag-and-drop " | ||
7922 | "when used with the <classname>Gtk::ListStore</classname> or <classname>Gtk::" | 7800 | "when used with the <classname>Gtk::ListStore</classname> or <classname>Gtk::" | ||
7923 | "TreeStore</classname> models (since gtk 4.8). If necessary, it also allows " | 7801 | "TreeStore</classname> models (since gtk 4.8). If necessary, it also allows " | ||
7924 | "you to implement more complex behavior when items are dragged and dropped, " | 7802 | "you to implement more complex behavior when items are dragged and dropped, " | ||
7925 | "using the normal <link linkend=\"chapter-draganddrop\">Drag and Drop</link> " | 7803 | "using the normal <link linkend=\"chapter-draganddrop\">Drag and Drop</link> " | ||
7926 | "API." | 7804 | "API." | ||
7927 | msgstr "" | 7805 | msgstr "" | ||
7928 | "<classname>Gtk::TreeView</classname> implementerar redan enkelt dra-och-" | 7806 | "<classname>Gtk::TreeView</classname> implementerar redan enkelt dra-och-" | ||
7929 | "släpp när den används med <classname>Gtk::ListStore</classname>- eller " | 7807 | "släpp när den används med <classname>Gtk::ListStore</classname>- eller " | ||
n | 7930 | "<classname>Gtk::TreeStore</classname>-modellerna. Om nödvändigt låter den " | n | 7808 | "<classname>Gtk::TreeStore</classname>-modellerna (sedan gtk 4.8). Om " |
7931 | "dig också implementera mer komplext beteende när objekt dras och släpps, med " | 7809 | "nödvändigt låter den dig också implementera mer komplext beteende när objekt " | ||
7932 | "det vanliga <link linkend=\"chapter-draganddrop\">Dra och släpp</link>-API:t." | 7810 | "dras och släpps, med det vanliga <link linkend=\"chapter-draganddrop\">Dra " | ||
7811 | "och släpp</link>-API:t." | ||||
7933 | 7812 | ||||
7934 | #. (itstool) path: section/title | 7813 | #. (itstool) path: section/title | ||
7935 | #: C/index-in.docbook:3206 | 7814 | #: C/index-in.docbook:3206 | ||
7936 | #, fuzzy | 7815 | #, fuzzy | ||
7937 | msgid "Reorderable rows" | 7816 | msgid "Reorderable rows" | ||
7973 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | 7852 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | ||
7974 | "<literal>true</literal> eller <literal>false</literal>." | 7853 | "<literal>true</literal> eller <literal>false</literal>." | ||
7975 | 7854 | ||||
7976 | #. (itstool) path: section/para | 7855 | #. (itstool) path: section/para | ||
7977 | #: C/index-in.docbook:3220 | 7856 | #: C/index-in.docbook:3220 | ||
n | 7978 | #, fuzzy | n | ||
7979 | msgid "This is demonstrated in the drag_and_drop example." | 7857 | msgid "This is demonstrated in the drag_and_drop example." | ||
7980 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | 7858 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | ||
7981 | 7859 | ||||
7982 | #. (itstool) path: section/title | 7860 | #. (itstool) path: section/title | ||
7983 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | 7861 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | ||
8271 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | 8149 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | ||
8272 | "om inget av de tillgängliga valen passar." | 8150 | "om inget av de tillgängliga valen passar." | ||
8273 | 8151 | ||||
8274 | #. (itstool) path: chapter/para | 8152 | #. (itstool) path: chapter/para | ||
8275 | #: C/index-in.docbook:3373 | 8153 | #: C/index-in.docbook:3373 | ||
n | 8276 | #, fuzzy | n | ||
8277 | msgid "" | 8154 | msgid "" | ||
8278 | "The list is provided via a <classname>Gio::ListModel</classname>, and data " | 8155 | "The list is provided via a <classname>Gio::ListModel</classname>, and data " | ||
8279 | "from this model is added to the <classname>DropDown</classname>'s view with " | 8156 | "from this model is added to the <classname>DropDown</classname>'s view with " | ||
8280 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | 8157 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | ||
8281 | "This provides flexibility, but the <classname>StringList</classname> class " | 8158 | "This provides flexibility, but the <classname>StringList</classname> class " | ||
8282 | "provides a simpler text-based specialization in case that flexibility is not " | 8159 | "provides a simpler text-based specialization in case that flexibility is not " | ||
8283 | "required." | 8160 | "required." | ||
8284 | msgstr "" | 8161 | msgstr "" | ||
n | 8285 | "Listan tillhandahålls via en <classname>TreeModel</classname>, och kolumner " | n | 8162 | "Listan tillhandahålls via en <classname>Gio::ListModel</classname>, och data " |
8286 | "från denna modell läggs till vyn för ComboBox-komponenten med metoden " | 8163 | "från denna modell läggs till vyn för <classname>DropDown</classname>-" | ||
8287 | "<methodname>ComboBox::pack_start()</methodname>. Detta tillhandahåller " | 8164 | "komponenten med signalhanterare anslutna till en " | ||
8288 | "flexibilitet och typsäkerhet under kompilering, men <classname>ComboBoxText</" | 8165 | "<classname>SignalListItemFactory</classname>. Detta tillhandahåller " | ||
8289 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8166 | "flexibilitet, men <classname>StringList</classname>-klassen tillhandahåller " | ||
8290 | "den flexibiliteten inte behövs." | 8167 | "en enklare textbaserad specialisering om den flexibiliteten inte behövs." | ||
8291 | 8168 | ||||
8292 | #. (itstool) path: chapter/para | 8169 | #. (itstool) path: chapter/para | ||
8293 | #: C/index-in.docbook:3380 | 8170 | #: C/index-in.docbook:3380 | ||
8294 | msgid "" | 8171 | msgid "" | ||
8295 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8172 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8304 | msgstr "Modellen" | 8181 | msgstr "Modellen" | ||
8305 | 8182 | ||||
8306 | #. (itstool) path: section/para | 8183 | #. (itstool) path: section/para | ||
8307 | #: C/index-in.docbook:3385 | 8184 | #: C/index-in.docbook:3385 | ||
8308 | #, fuzzy | 8185 | #, fuzzy | ||
n | 8309 | #| msgid "" | n | ||
8310 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
8311 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
8312 | #| "ComboBox class with one integer and one text column, like so:" | ||||
8313 | msgid "" | 8186 | msgid "" | ||
8314 | "The model for a <classname>DropDown</classname> can be defined and filled " | 8187 | "The model for a <classname>DropDown</classname> can be defined and filled " | ||
8315 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | 8188 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | ||
8316 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | 8189 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | ||
8317 | "For instance, you might have a <classname>DropDown</classname> with one " | 8190 | "For instance, you might have a <classname>DropDown</classname> with one " | ||
8318 | "integer and one text column, like so:" | 8191 | "integer and one text column, like so:" | ||
8319 | msgstr "" | 8192 | msgstr "" | ||
n | 8320 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 8193 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
8321 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 8194 | "exakt som för en <classname>ListView</classname> eller en " | ||
8322 | "ett heltal och en textkolumn, så här:" | 8195 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
8196 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
8197 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
8323 | 8198 | ||||
8324 | #. (itstool) path: section/para | 8199 | #. (itstool) path: section/para | ||
8325 | #: C/index-in.docbook:3413 | 8200 | #: C/index-in.docbook:3413 | ||
8326 | #, fuzzy | 8201 | #, fuzzy | ||
8327 | msgid "" | 8202 | msgid "" | ||
8360 | "get the selected data from the model. For instance, you might read an " | 8235 | "get the selected data from the model. For instance, you might read an " | ||
8361 | "integer ID value from the model, even though you have chosen only to show " | 8236 | "integer ID value from the model, even though you have chosen only to show " | ||
8362 | "the human-readable description in the <classname>DropDown</classname>. For " | 8237 | "the human-readable description in the <classname>DropDown</classname>. For " | ||
8363 | "instance:" | 8238 | "instance:" | ||
8364 | msgstr "" | 8239 | msgstr "" | ||
n | 8365 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | n | 8240 | "För att upptäcka vilket objekt, om något, som användaren har valt från vår " |
8366 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | 8241 | "<classname>DropDown</classname>, anropa <methodname>DropDown::" | ||
8367 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8242 | "get_selected()</methodname>. Detta returnerar en <type>unsigned int</type> " | ||
8368 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | 8243 | "som du kan använda för att få valda data från modellen. Exempelvis kanske du " | ||
8369 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | 8244 | "läser ett heltals-ID-värde från modellen, även om du valt att bara visa den " | ||
8370 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | 8245 | "mänskligt läsbara beskrivningen i vår <classname>DropDown</classname>. Till " | ||
8371 | "ComboBox. Till exempel:" | 8246 | "exempel:" | ||
8372 | 8247 | ||||
8373 | #. (itstool) path: section/programlisting | 8248 | #. (itstool) path: section/programlisting | ||
8374 | #: C/index-in.docbook:3433 | 8249 | #: C/index-in.docbook:3433 | ||
8375 | #, fuzzy, no-wrap | 8250 | #, fuzzy, no-wrap | ||
8376 | msgid "" | 8251 | msgid "" | ||
8407 | "You might need to react to every change of selection in the " | 8282 | "You might need to react to every change of selection in the " | ||
8408 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | 8283 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | ||
8409 | "so, you should connect to <methodname>property_selected().signal_changed()</" | 8284 | "so, you should connect to <methodname>property_selected().signal_changed()</" | ||
8410 | "methodname>. For instance:" | 8285 | "methodname>. For instance:" | ||
8411 | msgstr "" | 8286 | msgstr "" | ||
n | 8412 | "Du behöver reagera på varje ändring av val i vår ComboBox, till exempel för " | n | 8287 | "Du kan behöva reagera på varje ändring av val i vår <classname>DropDown</" |
8413 | "att uppdatera andra komponenter. För att göra så bör du hantera signalen " | 8288 | "classname>, till exempel för att uppdatera andra komponenter. För att göra " | ||
8414 | "<literal>changed</literal>. Till exempel:" | 8289 | "så bör du ansluta till <methodname>property_selected().signal_changed()</" | ||
8290 | "methodname>. Till exempel:" | ||||
8415 | 8291 | ||||
8416 | #. (itstool) path: section/programlisting | 8292 | #. (itstool) path: section/programlisting | ||
8417 | #: C/index-in.docbook:3452 | 8293 | #: C/index-in.docbook:3452 | ||
8418 | #, fuzzy, no-wrap | 8294 | #, fuzzy, no-wrap | ||
8419 | #| msgid "" | 8295 | #| msgid "" | ||
8471 | msgid "" | 8347 | msgid "" | ||
8472 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | 8348 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | ||
8473 | "search for items in the list. Call <methodname>set_enable_search()</" | 8349 | "search for items in the list. Call <methodname>set_enable_search()</" | ||
8474 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | 8350 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | ||
8475 | msgstr "" | 8351 | msgstr "" | ||
n | 8476 | "Rullgardinsmeny kan innehålla ett <classname>Entry</classname> som tillåter " | n | 8352 | "Rullgardinsmenyn kan innehålla ett <classname>Entry</classname> som tillåter " |
8477 | "sökning efter objekt i listan. Anropa <methodname>set_enable_search()</" | 8353 | "sökning efter objekt i listan. Anropa <methodname>set_enable_search()</" | ||
8478 | "methodname> och <methodname>set_expression()</methodname>. Till exempel:" | 8354 | "methodname> och <methodname>set_expression()</methodname>. Till exempel:" | ||
8479 | 8355 | ||||
8480 | #. (itstool) path: section/programlisting | 8356 | #. (itstool) path: section/programlisting | ||
8481 | #: C/index-in.docbook:3477 | 8357 | #: C/index-in.docbook:3477 | ||
8561 | msgid "Font Example" | 8437 | msgid "Font Example" | ||
8562 | msgstr "Typsnittsexempel" | 8438 | msgstr "Typsnittsexempel" | ||
8563 | 8439 | ||||
8564 | #. (itstool) path: section/para | 8440 | #. (itstool) path: section/para | ||
8565 | #: C/index-in.docbook:3506 | 8441 | #: C/index-in.docbook:3506 | ||
n | 8566 | #, fuzzy | n | ||
8567 | #| msgid "" | ||||
8568 | #| "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</" | ||||
8569 | #| "classname>, <classname>Gtk::MenuItem</classname> and <classname>Gtk::" | ||||
8570 | #| "Switch</classname> implement the <classname>Gtk::Actionable</classname> " | ||||
8571 | #| "interface instead of the removed <classname>Gtk::Activatable</classname> " | ||||
8572 | #| "interface." | ||||
8573 | msgid "" | 8442 | msgid "" | ||
8574 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | 8443 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | ||
8575 | "is possible because <classname>Pango::FontMap</classname> implements the " | 8444 | "is possible because <classname>Pango::FontMap</classname> implements the " | ||
8576 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | 8445 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | ||
8577 | "<classname>FontDialogButton</classname> instead." | 8446 | "<classname>FontDialogButton</classname> instead." | ||
8578 | msgstr "" | 8447 | msgstr "" | ||
n | 8579 | "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</classname>, " | n | 8448 | "Detta exempel använder en <classname>Pango::FontMap</classname> som sin " |
8580 | "<classname>Gtk::MenuItem</classname> och <classname>Gtk::Switch</classname> " | 8449 | "modell. Detta är möjligt för att <classname>Pango::FontMap</classname> " | ||
8581 | "implementerar <classname>Gtk::Actionable</classname>-gränssnittet i stället " | 8450 | "implementerar <classname>Gio::ListModel</classname>-gränssnittet. Du kan " | ||
8582 | "för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet." | 8451 | "förstås använda en <classname>FontDialogButton</classname> i stället." | ||
8583 | 8452 | ||||
8584 | #. (itstool) path: figure/title | 8453 | #. (itstool) path: figure/title | ||
8585 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | 8454 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | ||
8586 | msgid "Search Font" | 8455 | msgid "Search Font" | ||
8587 | msgstr "Sök typsnitt" | 8456 | msgstr "Sök typsnitt" | ||
8655 | msgid "Combo Boxes" | 8524 | msgid "Combo Boxes" | ||
8656 | msgstr "Kombinationsrutor" | 8525 | msgstr "Kombinationsrutor" | ||
8657 | 8526 | ||||
8658 | #. (itstool) path: note/para | 8527 | #. (itstool) path: note/para | ||
8659 | #: C/index-in.docbook:3545 | 8528 | #: C/index-in.docbook:3545 | ||
n | 8660 | #, fuzzy | n | ||
8661 | #| msgid "" | ||||
8662 | #| "<classname>Gdk::DrawContext</classname> and <classname>Gdk::CairoContext</" | ||||
8663 | #| "classname> are new. <classname>Gdk::DrawingContext</classname> has been " | ||||
8664 | #| "removed." | ||||
8665 | msgid "" | 8529 | msgid "" | ||
8666 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | 8530 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | ||
8667 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | 8531 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | ||
8668 | "<classname>Gtk::DropDown</classname> in new code." | 8532 | "<classname>Gtk::DropDown</classname> in new code." | ||
8669 | msgstr "" | 8533 | msgstr "" | ||
n | 8670 | "<classname>Gdk::DrawContext</classname> och <classname>Gdk::CairoContext</" | n | 8534 | "<classname>Gtk::ComboBox</classname> och <classname>Gtk::ComboBoxText</" |
8671 | "classname> är nya. <classname>Gdk::DrawingContext</classname> har tagits " | 8535 | "classname> är föråldrade sedan <application>gtkmm</application> 4.10. Använd " | ||
8672 | "bort." | 8536 | "<classname>Gtk::DropDown</classname> i ny kod." | ||
8673 | 8537 | ||||
8674 | #. (itstool) path: chapter/para | 8538 | #. (itstool) path: chapter/para | ||
8675 | #: C/index-in.docbook:3549 | 8539 | #: C/index-in.docbook:3549 | ||
8676 | msgid "" | 8540 | msgid "" | ||
8677 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | 8541 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | ||
8690 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | 8554 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | ||
8691 | "om inget av de tillgängliga valen passar." | 8555 | "om inget av de tillgängliga valen passar." | ||
8692 | 8556 | ||||
8693 | #. (itstool) path: chapter/para | 8557 | #. (itstool) path: chapter/para | ||
8694 | #: C/index-in.docbook:3552 | 8558 | #: C/index-in.docbook:3552 | ||
n | 8695 | #, fuzzy | n | ||
8696 | msgid "" | 8559 | msgid "" | ||
8697 | "The list is provided via a <classname>TreeModel</classname>, and columns " | 8560 | "The list is provided via a <classname>TreeModel</classname>, and columns " | ||
8698 | "from this model are added to the ComboBox's view with the " | 8561 | "from this model are added to the ComboBox's view with the " | ||
8699 | "<methodname>ComboBox::pack_start()</methodname> method. This provides " | 8562 | "<methodname>ComboBox::pack_start()</methodname> method. This provides " | ||
8700 | "flexibility and compile-time type-safety, but the <classname>ComboBoxText</" | 8563 | "flexibility and compile-time type-safety, but the <classname>ComboBoxText</" | ||
8800 | "instance, you might read an integer ID value from the model, even though you " | 8663 | "instance, you might read an integer ID value from the model, even though you " | ||
8801 | "have chosen only to show the human-readable description in the ComboBox. For " | 8664 | "have chosen only to show the human-readable description in the ComboBox. For " | ||
8802 | "instance:" | 8665 | "instance:" | ||
8803 | msgstr "" | 8666 | msgstr "" | ||
8804 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | 8667 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | ||
n | 8805 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | n | 8668 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. Detta " |
8806 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8669 | "returnerar en <classname>TreeModel::iterator</classname> som du kan " | ||
8807 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | 8670 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | ||
8808 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | 8671 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | ||
8809 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | 8672 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | ||
8810 | "ComboBox. Till exempel:" | 8673 | "ComboBox. Till exempel:" | ||
8811 | 8674 | ||||
9648 | 9511 | ||||
9649 | #. (itstool) path: section/para | 9512 | #. (itstool) path: section/para | ||
9650 | #: C/index-in.docbook:3965 | 9513 | #: C/index-in.docbook:3965 | ||
9651 | #, fuzzy | 9514 | #, fuzzy | ||
9652 | #| msgid "" | 9515 | #| msgid "" | ||
n | 9653 | #| "Some <classname>TreeView</classname> examples are shown here. There are " | n | 9516 | #| "Some examples are shown in this chapter. There are more examples in the " |
9654 | #| "more examples in the <link xlink:href=\"https://gitlab.gnome.org/GNOME/" | 9517 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
9655 | #| "gtkmm-documentation/tree/master/examples/book/treeview/\">treeview " | 9518 | #| "tree/master/examples/book/listmodelviews/\">listmodelviews directory</" | ||
9656 | #| "directory</link> in <application>gtkmm-documentation</application>'s " | 9519 | #| "link> in <application>gtkmm-documentation</application>'s examples." | ||
9657 | #| "examples." | ||||
9658 | msgid "" | 9520 | msgid "" | ||
9659 | "There is a more complicated example among <link xlink:href=\"https://gitlab." | 9521 | "There is a more complicated example among <link xlink:href=\"https://gitlab." | ||
9660 | "gnome.org/GNOME/gtkmm/tree/master/demos/gtk-demo/example_textview." | 9522 | "gnome.org/GNOME/gtkmm/tree/master/demos/gtk-demo/example_textview." | ||
9661 | "cc\"><application>gtkmm</application>'s demo programs</link>." | 9523 | "cc\"><application>gtkmm</application>'s demo programs</link>." | ||
9662 | msgstr "" | 9524 | msgstr "" | ||
n | 9663 | "Några <classname>TreeView</classname>-exempel visas här. Det finns mer " | n | 9525 | "Några exempel visas i detta kapitel. Det finns mer exempel i <link xlink:" |
9664 | "exempel i <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 9526 | "href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/master/" | ||
9665 | "documentation/tree/master/examples/book/treeview/\">treeview-katalogen</" | 9527 | "examples/book/listmodelviews/\">listmodelviews-katalogen</link> i " | ||
9666 | "link> i <application>gtkmm-documentation</application>s exempel." | 9528 | "<application>gtkmm-documentation</application>s exempel." | ||
9667 | 9529 | ||||
9668 | #. (itstool) path: chapter/title | 9530 | #. (itstool) path: chapter/title | ||
9669 | #: C/index-in.docbook:3973 | 9531 | #: C/index-in.docbook:3973 | ||
9670 | msgid "Menus and Toolbars" | 9532 | msgid "Menus and Toolbars" | ||
9671 | msgstr "Menyer och verktygsfält" | 9533 | msgstr "Menyer och verktygsfält" | ||
10814 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | 10676 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | ||
10815 | "<methodname>add_button()</methodname>." | 10677 | "<methodname>add_button()</methodname>." | ||
10816 | 10678 | ||||
10817 | #. (itstool) path: chapter/para | 10679 | #. (itstool) path: chapter/para | ||
10818 | #: C/index-in.docbook:4499 | 10680 | #: C/index-in.docbook:4499 | ||
n | 10819 | #, fuzzy | n | ||
10820 | msgid "" | 10681 | msgid "" | ||
10821 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | 10682 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | ||
10822 | "same dialog instance will be shown several times, you must also call " | 10683 | "same dialog instance will be shown several times, you must also call " | ||
10823 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | 10684 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | ||
10824 | "destroyed when it's closed. Connect to the <literal>response</literal> " | 10685 | "destroyed when it's closed. Connect to the <literal>response</literal> " | ||
10825 | "signal, if you want to know which button was pressed. The <literal>response</" | 10686 | "signal, if you want to know which button was pressed. The <literal>response</" | ||
10826 | "literal> signal handler is also where you should hide the dialog." | 10687 | "literal> signal handler is also where you should hide the dialog." | ||
10827 | msgstr "" | 10688 | msgstr "" | ||
n | 10828 | "För att visa dialogrutan, anropa <methodname>show()</methodname>. Om samma " | n | 10689 | "För att visa dialogrutan, anropa <methodname>set_visible(true)</methodname>. " |
10829 | "dialoginstans kommer visas flera gånger måste du också anropa " | 10690 | "Om samma dialoginstans kommer visas flera gånger måste du också anropa " | ||
10830 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | 10691 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | ||
10831 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | 10692 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | ||
10832 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | 10693 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | ||
10833 | "signalhanteraren är också var du ska dölja dialogrutan." | 10694 | "signalhanteraren är också var du ska dölja dialogrutan." | ||
10834 | 10695 | ||||
10942 | msgid "" | 10803 | msgid "" | ||
10943 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10804 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10944 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | 10805 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||
10945 | msgstr "" | 10806 | msgstr "" | ||
10946 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10807 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10947 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | n | 10808 | "classGtk_1_1FileDialog.html\">Referens för FileDialog</link>" |
10948 | 10809 | ||||
n | 10949 | # TODO: FileChooseDialog Reference | n | ||
10950 | #. (itstool) path: section/para | 10810 | #. (itstool) path: section/para | ||
10951 | #: C/index-in.docbook:4549 | 10811 | #: C/index-in.docbook:4549 | ||
n | 10952 | #, fuzzy | n | ||
10953 | #| msgid "" | ||||
10954 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10955 | #| "classGtk_1_1FileChooserDialog.html\">FileChooserDialogReference</link>" | ||||
10956 | msgid "" | 10812 | msgid "" | ||
10957 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10813 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10958 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | 10814 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | ||
10959 | msgstr "" | 10815 | msgstr "" | ||
10960 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10816 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10961 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog-referens</link>" | n | 10817 | "classGtk_1_1FileChooserDialog.html\">Referens för FileChooserDialog</link>" |
10962 | 10818 | ||||
10963 | #. (itstool) path: figure/title | 10819 | #. (itstool) path: figure/title | ||
10964 | #: C/index-in.docbook:4555 | 10820 | #: C/index-in.docbook:4555 | ||
10965 | msgid "FileDialog" | 10821 | msgid "FileDialog" | ||
10966 | msgstr "FileDialog" | 10822 | msgstr "FileDialog" | ||
11020 | msgid "" | 10876 | msgid "" | ||
11021 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10877 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11022 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | 10878 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | ||
11023 | msgstr "" | 10879 | msgstr "" | ||
11024 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10880 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11025 | "classGtk_1_1ColorDialog.html\">ColorDialog-referens</link>" | n | 10881 | "classGtk_1_1ColorDialog.html\">Referens för ColorDialog</link>" |
11026 | 10882 | ||||
11027 | #. (itstool) path: section/para | 10883 | #. (itstool) path: section/para | ||
11028 | #: C/index-in.docbook:4576 | 10884 | #: C/index-in.docbook:4576 | ||
11029 | msgid "" | 10885 | msgid "" | ||
11030 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10886 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11031 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | 10887 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | ||
11032 | msgstr "" | 10888 | msgstr "" | ||
11033 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10889 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11034 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog-referens</link>" | n | 10890 | "classGtk_1_1ColorChooserDialog.html\">Referens för ColorChooserDialog</link>" |
11035 | 10891 | ||||
11036 | #. (itstool) path: figure/title | 10892 | #. (itstool) path: figure/title | ||
11037 | #: C/index-in.docbook:4582 | 10893 | #: C/index-in.docbook:4582 | ||
11038 | msgid "ColorDialog" | 10894 | msgid "ColorDialog" | ||
11039 | msgstr "ColorDialog" | 10895 | msgstr "ColorDialog" | ||
11091 | msgid "" | 10947 | msgid "" | ||
11092 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10948 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11093 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | 10949 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | ||
11094 | msgstr "" | 10950 | msgstr "" | ||
11095 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10951 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11096 | "classGtk_1_1FontDialog.html\">FontDialog-referens</link>" | n | 10952 | "classGtk_1_1FontDialog.html\">Referens för FontDialog</link>" |
11097 | 10953 | ||||
11098 | #. (itstool) path: section/para | 10954 | #. (itstool) path: section/para | ||
11099 | #: C/index-in.docbook:4603 | 10955 | #: C/index-in.docbook:4603 | ||
11100 | msgid "" | 10956 | msgid "" | ||
11101 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10957 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11102 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | 10958 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | ||
11103 | msgstr "" | 10959 | msgstr "" | ||
11104 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10960 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11105 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog-referens</link>" | n | 10961 | "classGtk_1_1FontChooserDialog.html\">Referens för FontChooserDialog</link>" |
11106 | 10962 | ||||
11107 | #. (itstool) path: figure/title | 10963 | #. (itstool) path: figure/title | ||
11108 | #: C/index-in.docbook:4609 | 10964 | #: C/index-in.docbook:4609 | ||
11109 | msgid "FontDialog" | 10965 | msgid "FontDialog" | ||
11110 | msgstr "FontDialog" | 10966 | msgstr "FontDialog" | ||
11231 | msgid "" | 11087 | msgid "" | ||
11232 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11088 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11233 | "classGtk_1_1Window.html\">Window Reference</link>" | 11089 | "classGtk_1_1Window.html\">Window Reference</link>" | ||
11234 | msgstr "" | 11090 | msgstr "" | ||
11235 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11091 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11236 | "classGtk_1_1Window.html\">Window-referens</link>" | n | 11092 | "classGtk_1_1Window.html\">Referens för Window</link>" |
11237 | 11093 | ||||
11238 | #. (itstool) path: figure/title | 11094 | #. (itstool) path: figure/title | ||
11239 | #: C/index-in.docbook:4665 | 11095 | #: C/index-in.docbook:4665 | ||
11240 | #, fuzzy | 11096 | #, fuzzy | ||
11241 | msgid "Window Dialog" | 11097 | msgid "Window Dialog" | ||
11597 | "kontext i ritfunktionen." | 11453 | "kontext i ritfunktionen." | ||
11598 | 11454 | ||||
11599 | #. (itstool) path: section/title | 11455 | #. (itstool) path: section/title | ||
11600 | #: C/index-in.docbook:4816 | 11456 | #: C/index-in.docbook:4816 | ||
11601 | msgid "Drawing Straight Lines" | 11457 | msgid "Drawing Straight Lines" | ||
n | 11602 | msgstr "Rita raka linjer" | n | 11458 | msgstr "Rita räta linjer" |
11603 | 11459 | ||||
11604 | #. (itstool) path: tip/para | 11460 | #. (itstool) path: tip/para | ||
11605 | #: C/index-in.docbook:4825 | 11461 | #: C/index-in.docbook:4825 | ||
11606 | #, fuzzy | 11462 | #, fuzzy | ||
11607 | msgid "" | 11463 | msgid "" | ||
11635 | "Cairo's coordinate system. The origin of the Cairo coordinate system is " | 11491 | "Cairo's coordinate system. The origin of the Cairo coordinate system is " | ||
11636 | "located in the upper-left corner of the window with positive x values to the " | 11492 | "located in the upper-left corner of the window with positive x values to the " | ||
11637 | "right and positive y values going down. <_:tip-1/>" | 11493 | "right and positive y values going down. <_:tip-1/>" | ||
11638 | msgstr "" | 11494 | msgstr "" | ||
11639 | "Nu då vi förstå grunderna hos Cairo-grafikbiblioteket är vi nästan klara att " | 11495 | "Nu då vi förstå grunderna hos Cairo-grafikbiblioteket är vi nästan klara att " | ||
n | 11640 | "börja rita. Vi börjar med det enklaste av ritelement: den raka linjen. Men " | n | 11496 | "börja rita. Vi börjar med det enklaste av ritelement: den räta linjen. Men " |
11641 | "först behöver du känna till lite om Cairos koordinatsystem. Origo för Cairos " | 11497 | "först behöver du känna till lite om Cairos koordinatsystem. Origo för Cairos " | ||
11642 | "koordinatsystem finns i fönstrets övre vänstra hörn med positiva x-värden " | 11498 | "koordinatsystem finns i fönstrets övre vänstra hörn med positiva x-värden " | ||
11643 | "till höger och positiva y-värden nedåt. <_:tip-1/>" | 11499 | "till höger och positiva y-värden nedåt. <_:tip-1/>" | ||
11644 | 11500 | ||||
11645 | #. (itstool) path: section/para | 11501 | #. (itstool) path: section/para | ||
11792 | msgid "" | 11648 | msgid "" | ||
11793 | "In addition to drawing basic straight lines, there are a number of things " | 11649 | "In addition to drawing basic straight lines, there are a number of things " | ||
11794 | "that you can customize about a line. You've already seen examples of setting " | 11650 | "that you can customize about a line. You've already seen examples of setting " | ||
11795 | "a line's color and width, but there are others as well." | 11651 | "a line's color and width, but there are others as well." | ||
11796 | msgstr "" | 11652 | msgstr "" | ||
n | 11797 | "Utöver att rita enkla raka linjer så finns det ett antal saker som du kan " | n | 11653 | "Utöver att rita enkla räta linjer så finns det ett antal saker som du kan " |
11798 | "anpassa med en linje. Du har redan sett exempel på att ställa in en linjes " | 11654 | "anpassa med en linje. Du har redan sett exempel på att ställa in en linjes " | ||
11799 | "färg och bredd, men det finns även annat." | 11655 | "färg och bredd, men det finns även annat." | ||
11800 | 11656 | ||||
11801 | # TODO: are show*n* | 11657 | # TODO: are show*n* | ||
11802 | #. (itstool) path: section/para | 11658 | #. (itstool) path: section/para | ||
11856 | "<methodname>Cairo::Context::set_line_cap()</methodname>." | 11712 | "<methodname>Cairo::Context::set_line_cap()</methodname>." | ||
11857 | 11713 | ||||
11858 | #. (itstool) path: section/para | 11714 | #. (itstool) path: section/para | ||
11859 | #: C/index-in.docbook:4940 | 11715 | #: C/index-in.docbook:4940 | ||
11860 | #, fuzzy | 11716 | #, fuzzy | ||
n | n | 11717 | #| msgid "" | ||
11718 | #| "There are other things you can customize as well, including creating " | ||||
11719 | #| "dashed lines and other things. For more information, see the Cairo API " | ||||
11720 | #| "documentation." | ||||
11861 | msgid "" | 11721 | msgid "" | ||
11862 | "There are other things you can customize as well, including creating dashed " | 11722 | "There are other things you can customize as well, including creating dashed " | ||
11863 | "lines and other things. For more information, see the Cairo API " | 11723 | "lines and other things. For more information, see the Cairo API " | ||
11864 | "documentation. Dashed lines are shown in the example in the <link " | 11724 | "documentation. Dashed lines are shown in the example in the <link " | ||
11865 | "linkend=\"cairo-example-curves\">Drawing Curved Lines</link> section." | 11725 | "linkend=\"cairo-example-curves\">Drawing Curved Lines</link> section." | ||
11866 | msgstr "" | 11726 | msgstr "" | ||
n | 11867 | "Det finns även andra saker du kan anpassa, som att skapa och andra saker. Se " | n | 11727 | "Det finns även andra saker du kan anpassa, som att skapa streckade linjer " |
11868 | "Cairos API-dokumentation för mer information." | 11728 | "och andra saker. Se Cairos API-dokumentation för mer information." | ||
11869 | 11729 | ||||
11870 | #. (itstool) path: section/title | 11730 | #. (itstool) path: section/title | ||
11871 | #: C/index-in.docbook:4950 | 11731 | #: C/index-in.docbook:4950 | ||
11872 | msgid "Drawing thin lines" | 11732 | msgid "Drawing thin lines" | ||
11873 | msgstr "Rita tunna linjer" | 11733 | msgstr "Rita tunna linjer" | ||
12010 | msgid "" | 11870 | msgid "" | ||
12011 | "The only difference between this example and the straight line example is in " | 11871 | "The only difference between this example and the straight line example is in " | ||
12012 | "the <methodname>on_draw()</methodname> function, but there are a few new " | 11872 | "the <methodname>on_draw()</methodname> function, but there are a few new " | ||
12013 | "concepts and functions introduced here, so let's examine them briefly." | 11873 | "concepts and functions introduced here, so let's examine them briefly." | ||
12014 | msgstr "" | 11874 | msgstr "" | ||
n | 12015 | "Den enda skillnaden mellan detta exempel och exemplet för raka linjer är i " | n | 11875 | "Den enda skillnaden mellan detta exempel och exemplet för räta linjer är i " |
12016 | "funktionen <methodname>on_draw()</methodname>, men några nya koncept och " | 11876 | "funktionen <methodname>on_draw()</methodname>, men några nya koncept och " | ||
12017 | "funktioner introduceras här, så låt oss kort ta en titt på dem." | 11877 | "funktioner introduceras här, så låt oss kort ta en titt på dem." | ||
12018 | 11878 | ||||
12019 | #. (itstool) path: section/para | 11879 | #. (itstool) path: section/para | ||
12020 | #: C/index-in.docbook:5010 | 11880 | #: C/index-in.docbook:5010 | ||
14202 | #: C/index-in.docbook:6080 | 14062 | #: C/index-in.docbook:6080 | ||
14203 | msgid "" | 14063 | msgid "" | ||
14204 | "<varname>is_private</varname>: Whether this resource should be visible only " | 14064 | "<varname>is_private</varname>: Whether this resource should be visible only " | ||
14205 | "to applications that have registered it or not" | 14065 | "to applications that have registered it or not" | ||
14206 | msgstr "" | 14066 | msgstr "" | ||
n | 14207 | "<varname>is_private</varname>: huruvida denna resurs endast ska vara synlig " | n | 14067 | "<varname>is_private</varname>: Huruvida denna resurs endast ska vara synlig " |
14208 | "för program som har registrerat den eller inte" | 14068 | "för program som har registrerat den eller inte" | ||
14209 | 14069 | ||||
14210 | #. (itstool) path: listitem/para | 14070 | #. (itstool) path: listitem/para | ||
14211 | #: C/index-in.docbook:6084 | 14071 | #: C/index-in.docbook:6084 | ||
14212 | msgid "<varname>mime_type</varname>: The MIME type of the resource" | 14072 | msgid "<varname>mime_type</varname>: The MIME type of the resource" | ||
14917 | "though. <_:itemizedlist-1/>" | 14777 | "though. <_:itemizedlist-1/>" | ||
14918 | msgstr "" | 14778 | msgstr "" | ||
14919 | 14779 | ||||
14920 | #. (itstool) path: section/para | 14780 | #. (itstool) path: section/para | ||
14921 | #: C/index-in.docbook:6402 | 14781 | #: C/index-in.docbook:6402 | ||
n | n | 14782 | #, fuzzy | ||
14783 | #| msgid "" | ||||
14784 | #| "The data model is a class that implements the <classname>Gio::ListModel</" | ||||
14785 | #| "classname> interface. Examples of such classes are <classname>Gio::" | ||||
14786 | #| "ListStore</classname> (not to be confused with the deprecated " | ||||
14787 | #| "<classname>Gtk::ListStore</classname>), <classname>Gtk:StringList</" | ||||
14788 | #| "classname>, <classname>Gtk:DirectoryList</classname> and " | ||||
14789 | #| "<classname>Pango::FontMap</classname>." | ||||
14922 | msgid "" | 14790 | msgid "" | ||
14923 | "The event classes that handle mouse events are also useful for handling " | 14791 | "The event classes that handle mouse events are also useful for handling " | ||
14924 | "events from touchscreens. There are also many subclasses of <classname>Gtk::" | 14792 | "events from touchscreens. There are also many subclasses of <classname>Gtk::" | ||
14925 | "EventController</classname> which are only (or mainly) useful for " | 14793 | "EventController</classname> which are only (or mainly) useful for " | ||
14926 | "touchscreens. Examples: <classname>Gtk::GestureRotate</classname>, " | 14794 | "touchscreens. Examples: <classname>Gtk::GestureRotate</classname>, " | ||
14927 | "<classname>Gtk::GestureZoom</classname>, <classname>Gtk::GestureSwipe</" | 14795 | "<classname>Gtk::GestureZoom</classname>, <classname>Gtk::GestureSwipe</" | ||
14928 | "classname>, <classname>Gtk::GestureLongPress</classname>." | 14796 | "classname>, <classname>Gtk::GestureLongPress</classname>." | ||
14929 | msgstr "" | 14797 | msgstr "" | ||
n | n | 14798 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | ||
14799 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | ||||
14800 | "ListStore</classname> (inte att förväxlas med de föråldrade <classname>Gtk::" | ||||
14801 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | ||||
14802 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | ||||
14803 | "classname>." | ||||
14930 | 14804 | ||||
14931 | #. (itstool) path: section/para | 14805 | #. (itstool) path: section/para | ||
14932 | #: C/index-in.docbook:6411 | 14806 | #: C/index-in.docbook:6411 | ||
14933 | #, fuzzy | 14807 | #, fuzzy | ||
14934 | #| msgid "" | 14808 | #| msgid "" | ||
14980 | msgid "Timeouts, I/O and Idle Functions" | 14854 | msgid "Timeouts, I/O and Idle Functions" | ||
14981 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | 14855 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | ||
14982 | 14856 | ||||
14983 | #. (itstool) path: section/title | 14857 | #. (itstool) path: section/title | ||
14984 | #: C/index-in.docbook:6435 | 14858 | #: C/index-in.docbook:6435 | ||
n | 14985 | #, fuzzy | n | ||
14986 | msgid "Timeouts" | 14859 | msgid "Timeouts" | ||
14987 | msgstr "Timeout" | 14860 | msgstr "Timeout" | ||
14988 | 14861 | ||||
14989 | #. (itstool) path: section/para | 14862 | #. (itstool) path: section/para | ||
14990 | #: C/index-in.docbook:6437 | 14863 | #: C/index-in.docbook:6437 | ||
15487 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | 15360 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | ||
15488 | 15361 | ||||
15489 | #. (itstool) path: section/programlisting | 15362 | #. (itstool) path: section/programlisting | ||
15490 | #: C/index-in.docbook:6672 | 15363 | #: C/index-in.docbook:6672 | ||
15491 | #, fuzzy, no-wrap | 15364 | #, fuzzy, no-wrap | ||
n | n | 15365 | #| msgid "" | ||
15366 | #| "\n" | ||||
15367 | #| "{\n" | ||||
15368 | #| " Gtk::Button aButton;\n" | ||||
15369 | #| " aButton.set_visible(true);\n" | ||||
15370 | #| " ...\n" | ||||
15371 | #| " app->run();\n" | ||||
15372 | #| "}\n" | ||||
15492 | msgid "" | 15373 | msgid "" | ||
15493 | "<code>{\n" | 15374 | "<code>{\n" | ||
15494 | " Gtk::Button aButton;\n" | 15375 | " Gtk::Button aButton;\n" | ||
15495 | " aButton.set_visible(true);\n" | 15376 | " aButton.set_visible(true);\n" | ||
15496 | " ...\n" | 15377 | " ...\n" | ||
15499 | "</code>" | 15380 | "</code>" | ||
15500 | msgstr "" | 15381 | msgstr "" | ||
15501 | "\n" | 15382 | "\n" | ||
15502 | "{\n" | 15383 | "{\n" | ||
15503 | " Gtk::Button aButton;\n" | 15384 | " Gtk::Button aButton;\n" | ||
n | 15504 | " aButton.show();\n" | n | 15385 | " aButton.set_visible(true);\n" |
15505 | " ...\n" | 15386 | " ...\n" | ||
15506 | " app->run();\n" | 15387 | " app->run();\n" | ||
15507 | "}\n" | 15388 | "}\n" | ||
15508 | 15389 | ||||
15509 | #. (itstool) path: section/para | 15390 | #. (itstool) path: section/para | ||
15525 | #: C/index-in.docbook:6689 | 15406 | #: C/index-in.docbook:6689 | ||
15526 | #, fuzzy | 15407 | #, fuzzy | ||
15527 | msgid "Dynamic allocation with new and delete" | 15408 | msgid "Dynamic allocation with new and delete" | ||
15528 | msgstr "Dynamisk allokering med new och delete" | 15409 | msgstr "Dynamisk allokering med new och delete" | ||
15529 | 15410 | ||||
n | 15530 | # TODO: favor? | n | ||
15531 | #. (itstool) path: section/para | 15411 | #. (itstool) path: section/para | ||
15532 | #: C/index-in.docbook:6690 | 15412 | #: C/index-in.docbook:6690 | ||
15533 | #, fuzzy | 15413 | #, fuzzy | ||
n | n | 15414 | #| msgid "" | ||
15415 | #| "Usually, the programmer will prefer to allow containers to automatically " | ||||
15416 | #| "destroy their children by creating them using <function>Gtk::" | ||||
15417 | #| "make_managed()</function> (see below). This is not strictly required, as " | ||||
15418 | #| "the <literal>new</literal> and <literal>delete</literal> operators may " | ||||
15419 | #| "also be used, but modern C++ style discourages those in favor of safer " | ||||
15420 | #| "models of memory management, so it is better to create widgets using " | ||||
15421 | #| "<function>Gtk::make_managed()</function> and let their parent destroy " | ||||
15422 | #| "them, than to manually perform dynamic allocation. <_:programlisting-1/> " | ||||
15423 | #| "Here, the programmer deletes <varname>pButton</varname> to prevent a " | ||||
15424 | #| "memory leak." | ||||
15534 | msgid "" | 15425 | msgid "" | ||
15535 | "Usually, the programmer will prefer to allow containers to automatically " | 15426 | "Usually, the programmer will prefer to allow containers to automatically " | ||
15536 | "destroy their children by creating them using <function>Gtk::make_managed()</" | 15427 | "destroy their children by creating them using <function>Gtk::make_managed()</" | ||
15537 | "function> (see below). This is not strictly required, as the <literal>new</" | 15428 | "function> (see below). This is not strictly required, as the <literal>new</" | ||
15538 | "literal> and <literal>delete</literal> operators may also be used, but " | 15429 | "literal> and <literal>delete</literal> operators may also be used, but " | ||
16064 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | 15955 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | ||
16065 | "This name should be specified in the <application>Cambalache</application> " | 15956 | "This name should be specified in the <application>Cambalache</application> " | ||
16066 | "window. If the widget could not be found, or is of the wrong type, then the " | 15957 | "window. If the widget could not be found, or is of the wrong type, then the " | ||
16067 | "pointer will be set to <literal>nullptr</literal>." | 15958 | "pointer will be set to <literal>nullptr</literal>." | ||
16068 | msgstr "" | 15959 | msgstr "" | ||
n | 16069 | "För att komma åt en komponent, exempelvis för att visa en dialogruta med " | n | 15960 | "För att komma åt en komponent, exempelvis för att visa en dialogruta, " |
16070 | "<methodname>show()</methodname>, använder du metoden " | 15961 | "använder du metoden <methodname>get_widget()</methodname> och " | ||
16071 | "<methodname>get_widget()</methodname> och tillhandahåller komponentens namn. " | 15962 | "tillhandahåller komponentens namn. Detta namn bör anges i " | ||
16072 | "Detta namn bör anges i <application>Glade</application>s egenskapsfönster. " | 15963 | "<application>Glade</application>s egenskapsfönster. Om komponenten inte " | ||
16073 | "Om komponenten inte kunde hittas eller är av fel typ så kommer pekaren " | 15964 | "kunde hittas eller är av fel typ så kommer pekaren sättas till nullptr." | ||
16074 | "sättas till nullptr." | ||||
16075 | 15965 | ||||
16076 | #. (itstool) path: section/para | 15966 | #. (itstool) path: section/para | ||
16077 | #: C/index-in.docbook:6910 | 15967 | #: C/index-in.docbook:6910 | ||
n | 16078 | #, fuzzy | n | ||
16079 | msgid "" | 15968 | msgid "" | ||
16080 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | 15969 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | ||
16081 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | 15970 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | ||
16082 | "<application>gtkmm</application> 4.10." | 15971 | "<application>gtkmm</application> 4.10." | ||
16083 | msgstr "" | 15972 | msgstr "" | ||
n | 16084 | "I detta steg använder vi en <classname>Gtk::Builder</classname>-instans för " | n | 15973 | "Dialogrutorna i detta kapitel är härledda från <classname>Gtk::Window</" |
16085 | "att associera en <classname>Gtk::Builder</classname>-ui-fil med vår " | 15974 | "classname> eftersom <classname>Gtk::Dialog</classname> är föråldrat sedan " | ||
16086 | "programfönsterklass." | 15975 | "<application>gtkmm</application> 4.10." | ||
16087 | 15976 | ||||
16088 | #. (itstool) path: section/programlisting | 15977 | #. (itstool) path: section/programlisting | ||
16089 | #: C/index-in.docbook:6914 | 15978 | #: C/index-in.docbook:6914 | ||
16090 | #, fuzzy, no-wrap | 15979 | #, fuzzy, no-wrap | ||
16091 | msgid "" | 15980 | msgid "" | ||
16101 | msgid "" | 15990 | msgid "" | ||
16102 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | 15991 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | ||
16103 | "that the widget is of the expected type, and will show warnings on the " | 15992 | "that the widget is of the expected type, and will show warnings on the " | ||
16104 | "command line about these." | 15993 | "command line about these." | ||
16105 | msgstr "" | 15994 | msgstr "" | ||
n | 16106 | "<application>Gtk::Builder</application> tittar efter en null-pekare, och " | n | 15995 | "<classname>Gtk::Builder</classname> tittar efter en null-pekare, och " |
16107 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | 15996 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | ||
16108 | "på kommandoraden om dessa." | 15997 | "på kommandoraden om dessa." | ||
16109 | 15998 | ||||
16110 | #. (itstool) path: section/para | 15999 | #. (itstool) path: section/para | ||
16111 | #: C/index-in.docbook:6923 | 16000 | #: C/index-in.docbook:6923 | ||
16192 | "<application>gtkmm</application> widget classes. This keeps your code " | 16081 | "<application>gtkmm</application> widget classes. This keeps your code " | ||
16193 | "organized and encapsulated, separating declarative presentation from " | 16082 | "organized and encapsulated, separating declarative presentation from " | ||
16194 | "business logic, avoiding having most of your source just be setting " | 16083 | "business logic, avoiding having most of your source just be setting " | ||
16195 | "properties and packing in containers." | 16084 | "properties and packing in containers." | ||
16196 | msgstr "" | 16085 | msgstr "" | ||
n | 16197 | "Du kan använda<classname>Gtk::Builder</classname> och <application>Glade</" | n | 16086 | "Du kan använda <classname>Gtk::Builder</classname> och <application>Glade</" |
16198 | "application> för att göra en layout för dina egna anpassade komponenter " | 16087 | "application> för att göra en layout för dina egna anpassade komponenter " | ||
16199 | "härledda från <application>gtkmm</application>-komponentklasser. Detta " | 16088 | "härledda från <application>gtkmm</application>-komponentklasser. Detta " | ||
16200 | "håller din kod organiserad och inkapslad, skiljer på deklarativ presentation " | 16089 | "håller din kod organiserad och inkapslad, skiljer på deklarativ presentation " | ||
16201 | "från affärslogik, och undviker att det mesta av din kod bara ställer in " | 16090 | "från affärslogik, och undviker att det mesta av din kod bara ställer in " | ||
16202 | "egenskaper och packning i behållare." | 16091 | "egenskaper och packning i behållare." | ||
16313 | "}\n" | 16202 | "}\n" | ||
16314 | 16203 | ||||
16315 | #. (itstool) path: section/para | 16204 | #. (itstool) path: section/para | ||
16316 | #: C/index-in.docbook:7009 | 16205 | #: C/index-in.docbook:7009 | ||
16317 | #, fuzzy | 16206 | #, fuzzy | ||
n | n | 16207 | #| msgid "" | ||
16208 | #| "It's possible to pass additional arguments from " | ||||
16209 | #| "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||||
16210 | #| "derived widget. For instance, this call to " | ||||
16211 | #| "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> can " | ||||
16212 | #| "invoke this constructor" | ||||
16318 | msgid "" | 16213 | msgid "" | ||
16319 | "It's possible to pass additional arguments from " | 16214 | "It's possible to pass additional arguments from " | ||
16320 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | 16215 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||
16321 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | 16216 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | ||
16322 | "methodname>" | 16217 | "methodname>" | ||
16323 | msgstr "" | 16218 | msgstr "" | ||
16324 | "Det är möjligt att skicka ytterligare argument från " | 16219 | "Det är möjligt att skicka ytterligare argument från " | ||
16325 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | 16220 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | ||
16326 | "härledda komponenten. Exempelvis kan detta anrop till " | 16221 | "härledda komponenten. Exempelvis kan detta anrop till " | ||
16327 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | 16222 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | ||
n | 16328 | "denna konstruktor <_:programlisting-2/>" | n | 16223 | "denna konstruktor" |
16329 | 16224 | ||||
16330 | #. (itstool) path: section/programlisting | 16225 | #. (itstool) path: section/programlisting | ||
16331 | #: C/index-in.docbook:7014 | 16226 | #: C/index-in.docbook:7014 | ||
16332 | #, fuzzy, no-wrap | 16227 | #, fuzzy, no-wrap | ||
16333 | msgid "" | 16228 | msgid "" | ||
16421 | " prop_int(*this, \"button-int\", 10)\n" | 16316 | " prop_int(*this, \"button-int\", 10)\n" | ||
16422 | "{\n" | 16317 | "{\n" | ||
16423 | " // ....\n" | 16318 | " // ....\n" | ||
16424 | "}\n" | 16319 | "}\n" | ||
16425 | 16320 | ||||
n | 16426 | # TODO: recognize | n | ||
16427 | #. (itstool) path: section/para | 16321 | #. (itstool) path: section/para | ||
16428 | #: C/index-in.docbook:7051 | 16322 | #: C/index-in.docbook:7051 | ||
16429 | #, fuzzy | 16323 | #, fuzzy | ||
n | n | 16324 | #| msgid "" | ||
16325 | #| "When using <application>gtkmm</application> with a version of " | ||||
16326 | #| "<application>glibmm</application> from 2.62 onwards, it is possible also " | ||||
16327 | #| "to specify properties of derived widgets, declared in C++ using " | ||||
16328 | #| "<application>gtkmm</application>, within <filename>.glade</filename> " | ||||
16329 | #| "files and load/set these using <classname>Gtk::Builder</classname>. See " | ||||
16330 | #| "the documentation of <classname>Gtk::Builder</classname> for more details " | ||||
16331 | #| "on how to achieve this. Glade won’t recognize such properties as-is, but " | ||||
16332 | #| "it should be able to through use of <link xlink:href=\"https://developer-" | ||||
16333 | #| "old.gnome.org/gladeui/stable/properties.html\"> property class " | ||||
16334 | #| "definitions</link> and a catalog declaring those new properties." | ||||
16430 | msgid "" | 16335 | msgid "" | ||
16431 | "It is possible also to specify properties of derived widgets, declared in " | 16336 | "It is possible also to specify properties of derived widgets, declared in " | ||
16432 | "<phrase role=\"nowrap\">C++</phrase> using <application>gtkmm</application>, " | 16337 | "<phrase role=\"nowrap\">C++</phrase> using <application>gtkmm</application>, " | ||
16433 | "within <filename class=\"extension\">.ui</filename> files and load/set these " | 16338 | "within <filename class=\"extension\">.ui</filename> files and load/set these " | ||
16434 | "using <classname>Gtk::Builder</classname>. See the documentation of " | 16339 | "using <classname>Gtk::Builder</classname>. See the documentation of " | ||
16483 | "languages, including non-European languages such as Chinese and right-to-" | 16388 | "languages, including non-European languages such as Chinese and right-to-" | ||
16484 | "left languages such as Arabic. An appropriately-written and translated " | 16389 | "left languages such as Arabic. An appropriately-written and translated " | ||
16485 | "<application>gtkmm</application> application will use the appropriate " | 16390 | "<application>gtkmm</application> application will use the appropriate " | ||
16486 | "language at runtime based on the user's environment." | 16391 | "language at runtime based on the user's environment." | ||
16487 | msgstr "" | 16392 | msgstr "" | ||
n | 16488 | "<application>gtkmm</application>-program kan lätt stöda flera språk, " | n | 16393 | "<application>gtkmm</application>-program kan lätt stödja flera språk, " |
16489 | "inklusive icke-europeiska språk som kinesiska och höger-till-vänster-språk " | 16394 | "inklusive icke-europeiska språk som kinesiska och höger-till-vänster-språk " | ||
16490 | "som arabiska. Ett korrekt skrivet och översatt <application>gtkmm</" | 16395 | "som arabiska. Ett korrekt skrivet och översatt <application>gtkmm</" | ||
16491 | "application>-program kommer använda lämpligt språk vid körning beroende på " | 16396 | "application>-program kommer använda lämpligt språk vid körning beroende på " | ||
16492 | "användarens miljö." | 16397 | "användarens miljö." | ||
16493 | 16398 | ||||
16577 | "po</filename>-standardfiler." | 16482 | "po</filename>-standardfiler." | ||
16578 | 16483 | ||||
16579 | #. (itstool) path: note/para | 16484 | #. (itstool) path: note/para | ||
16580 | #: C/index-in.docbook:7131 | 16485 | #: C/index-in.docbook:7131 | ||
16581 | #, fuzzy | 16486 | #, fuzzy | ||
n | n | 16487 | #| msgid "" | ||
16488 | #| "We also assume that you are using autotools (<application>automake</" | ||||
16489 | #| "application> and <application>autoconf</application>) to build your " | ||||
16490 | #| "project (although autotools is not recommended for new applications), and " | ||||
16491 | #| "that you are using <link xlink:href=\"https://gitlab.gnome.org/GNOME/" | ||||
16492 | #| "gnome-common/blob/master/autogen.sh\"> <literal>./autogen.sh</literal> " | ||||
16493 | #| "from <application>gnome-common</application></link> or a similar " | ||||
16494 | #| "<literal>autogen.sh</literal> file, which, among other things, takes care " | ||||
16495 | #| "of some <application>intltool</application> initialization." | ||||
16582 | msgid "" | 16496 | msgid "" | ||
16583 | "We also assume that you are using autotools (<application>automake</" | 16497 | "We also assume that you are using autotools (<application>automake</" | ||
16584 | "application> and <application>autoconf</application>) to build your project " | 16498 | "application> and <application>autoconf</application>) to build your project " | ||
16585 | "(although autotools is not recommended for new applications), and that you " | 16499 | "(although autotools is not recommended for new applications), and that you " | ||
16586 | "are using <link xlink:href=\"https://gitlab.gnome.org/Archive/gnome-common/-/" | 16500 | "are using <link xlink:href=\"https://gitlab.gnome.org/Archive/gnome-common/-/" | ||
16806 | "PROGRAMNAME_LOCALEDIR=[${datadir}/locale]\n" | 16720 | "PROGRAMNAME_LOCALEDIR=[${datadir}/locale]\n" | ||
16807 | "AC_SUBST(PROGRAMNAME_LOCALEDIR)" | 16721 | "AC_SUBST(PROGRAMNAME_LOCALEDIR)" | ||
16808 | 16722 | ||||
16809 | #. (itstool) path: section/para | 16723 | #. (itstool) path: section/para | ||
16810 | #: C/index-in.docbook:7233 | 16724 | #: C/index-in.docbook:7233 | ||
n | 16811 | #, fuzzy | n | ||
16812 | msgid "" | 16725 | msgid "" | ||
16813 | "This <varname>PROGRAMNAME_LOCALEDIR</varname> variable will be used later in " | 16726 | "This <varname>PROGRAMNAME_LOCALEDIR</varname> variable will be used later in " | ||
16814 | "the <literal>Makefile.am</literal> file, to define a macro that will be used " | 16727 | "the <literal>Makefile.am</literal> file, to define a macro that will be used " | ||
16815 | "when you initialize <application>gettext</application> in your source code." | 16728 | "when you initialize <application>gettext</application> in your source code." | ||
16816 | msgstr "" | 16729 | msgstr "" | ||
17256 | msgid "Expecting UTF8" | 17169 | msgid "Expecting UTF8" | ||
17257 | msgstr "Förvänta sig UTF8" | 17170 | msgstr "Förvänta sig UTF8" | ||
17258 | 17171 | ||||
17259 | #. (itstool) path: section/para | 17172 | #. (itstool) path: section/para | ||
17260 | #: C/index-in.docbook:7460 | 17173 | #: C/index-in.docbook:7460 | ||
n | 17261 | #, fuzzy | n | ||
17262 | msgid "" | 17174 | msgid "" | ||
17263 | "A properly internationalized application will not make assumptions about the " | 17175 | "A properly internationalized application will not make assumptions about the " | ||
17264 | "number of bytes in a character. That means that you shouldn't use pointer " | 17176 | "number of bytes in a character. That means that you shouldn't use pointer " | ||
17265 | "arithmetic to step through the characters in a string, and it means you " | 17177 | "arithmetic to step through the characters in a string, and it means you " | ||
17266 | "shouldn't use <classname>std::string</classname> or standard C functions " | 17178 | "shouldn't use <classname>std::string</classname> or standard C functions " | ||
17438 | #. (itstool) path: section/title | 17350 | #. (itstool) path: section/title | ||
17439 | #: C/index-in.docbook:7538 | 17351 | #: C/index-in.docbook:7538 | ||
17440 | msgid "Composition of strings" | 17352 | msgid "Composition of strings" | ||
17441 | msgstr "Sammansättning av strängar" | 17353 | msgstr "Sammansättning av strängar" | ||
17442 | 17354 | ||||
n | 17443 | # TODO: favors | n | ||
17444 | #. (itstool) path: section/para | 17355 | #. (itstool) path: section/para | ||
17445 | #: C/index-in.docbook:7540 | 17356 | #: C/index-in.docbook:7540 | ||
17446 | #, fuzzy | 17357 | #, fuzzy | ||
n | n | 17358 | #| msgid "" | ||
17359 | #| "C programmers use <function>sprintf()</function> to compose and " | ||||
17360 | #| "concatenate strings. C++ favors streams, but unfortunately, this approach " | ||||
17361 | #| "makes translation difficult, because each fragment of text is translated " | ||||
17362 | #| "separately, without allowing the translators to rearrange them according " | ||||
17363 | #| "to the grammar of the language." | ||||
17447 | msgid "" | 17364 | msgid "" | ||
17448 | "C programmers use <function>sprintf()</function> to compose and concatenate " | 17365 | "C programmers use <function>sprintf()</function> to compose and concatenate " | ||
17449 | "strings. <phrase role=\"nowrap\">C++</phrase> favors streams, but " | 17366 | "strings. <phrase role=\"nowrap\">C++</phrase> favors streams, but " | ||
17450 | "unfortunately, this approach makes translation difficult, because each " | 17367 | "unfortunately, this approach makes translation difficult, because each " | ||
17451 | "fragment of text is translated separately, without allowing the translators " | 17368 | "fragment of text is translated separately, without allowing the translators " | ||
17616 | "where translators can access it, then file an <link xlink:href=\"https://" | 17533 | "where translators can access it, then file an <link xlink:href=\"https://" | ||
17617 | "gitlab.gnome.org/Infrastructure/damned-lies/-/issues\"> issue to the damned-" | 17534 | "gitlab.gnome.org/Infrastructure/damned-lies/-/issues\"> issue to the damned-" | ||
17618 | "lies project</link> and ask to have your program added to the <link xlink:" | 17535 | "lies project</link> and ask to have your program added to the <link xlink:" | ||
17619 | "href=\"http://l10n.gnome.org/module/\">list of modules to translate</link>." | 17536 | "href=\"http://l10n.gnome.org/module/\">list of modules to translate</link>." | ||
17620 | msgstr "" | 17537 | msgstr "" | ||
n | 17621 | "Sättet detta fungerar är att du kan placera din källkod i ett git-förråd där " | n | 17538 | "Sättet detta fungerar är att du kan placera din källkod i ett git-arkiv där " |
17622 | "översättare kan komma åt den, och sedan kontakta sändlistan gnome-i18n och " | 17539 | "översättare kan komma åt den, och sedan kontakta sändlistan gnome-i18n och " | ||
17623 | "be att ditt program ska läggas till i <link xlink:href=\"http://l10n.gnome." | 17540 | "be att ditt program ska läggas till i <link xlink:href=\"http://l10n.gnome." | ||
17624 | "org/module/\">listan över moduler att översätta</link>." | 17541 | "org/module/\">listan över moduler att översätta</link>." | ||
17625 | 17542 | ||||
17626 | #. (itstool) path: section/para | 17543 | #. (itstool) path: section/para | ||
18050 | "huvud taget, anropas från klassens init-funktion. Några andra " | 17967 | "huvud taget, anropas från klassens init-funktion. Några andra " | ||
18051 | "<application>GTK</application>-funktioner måste, om de anropas, anropas från " | 17968 | "<application>GTK</application>-funktioner måste, om de anropas, anropas från " | ||
18052 | "instansens init-funktion. Om din anpassade komponent måste anropa någon av " | 17969 | "instansens init-funktion. Om din anpassade komponent måste anropa någon av " | ||
18053 | "dessa funktioner kan du härleda en klass från <classname>Glib::" | 17970 | "dessa funktioner kan du härleda en klass från <classname>Glib::" | ||
18054 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | 17971 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | ||
n | n | 17972 | "Exemplet för <link linkend=\"custom-css-name-example\">anpassat CSS-namn</" | ||
18055 | "Följande exempel visar hur detta görs." | 17973 | "link> visar hur detta görs." | ||
18056 | 17974 | ||||
18057 | #. (itstool) path: section/para | 17975 | #. (itstool) path: section/para | ||
18058 | #: C/index-in.docbook:7780 | 17976 | #: C/index-in.docbook:7780 | ||
18059 | msgid "This example implements a widget which draws Penrose triangles." | 17977 | msgid "This example implements a widget which draws Penrose triangles." | ||
18060 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | 17978 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | ||
18091 | #. (itstool) path: section/title | 18009 | #. (itstool) path: section/title | ||
18092 | #: C/index-in.docbook:7794 | 18010 | #: C/index-in.docbook:7794 | ||
18093 | msgid "Custom CSS Names" | 18011 | msgid "Custom CSS Names" | ||
18094 | msgstr "Anpassade CSS-namn" | 18012 | msgstr "Anpassade CSS-namn" | ||
18095 | 18013 | ||||
n | 18096 | # TODO: controlled | n | ||
18097 | #. (itstool) path: section/para | 18014 | #. (itstool) path: section/para | ||
18098 | #: C/index-in.docbook:7796 | 18015 | #: C/index-in.docbook:7796 | ||
18099 | #, fuzzy | 18016 | #, fuzzy | ||
18100 | msgid "" | 18017 | msgid "" | ||
18101 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | 18018 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | ||
18103 | "etc. If you give some widgets their own names or their own CSS classes, you " | 18020 | "etc. If you give some widgets their own names or their own CSS classes, you " | ||
18104 | "can define CSS rules that apply only to those widgets, for instance certain " | 18021 | "can define CSS rules that apply only to those widgets, for instance certain " | ||
18105 | "buttons, without affecting other similar widgets." | 18022 | "buttons, without affecting other similar widgets." | ||
18106 | msgstr "" | 18023 | msgstr "" | ||
18107 | "Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style " | 18024 | "Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style " | ||
n | 18108 | "Sheet). Med CSS-filer kan du välja färg, typsnitt, radtjocklek och så " | n | 18025 | "Sheet). Med CSS-filer kan du välja färg, typsnitt, linjetjocklek och så " |
18109 | "vidare. Om du ger några komponenter egna namn så kan du definiera CSS-regler " | 18026 | "vidare. Om du ger några komponenter egna namn eller egna CSS-klasser så kan " | ||
18110 | "som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan " | 18027 | "du definiera CSS-regler som endast tillämpas på dessa komponenter, " | ||
18111 | "att påverka andra liknande komponenter." | 18028 | "exempelvis vissa knappar, utan att påverka andra liknande komponenter." | ||
18112 | 18029 | ||||
18113 | #. (itstool) path: section/title | 18030 | #. (itstool) path: section/title | ||
18114 | #: C/index-in.docbook:7803 | 18031 | #: C/index-in.docbook:7803 | ||
n | 18115 | #, fuzzy | n | ||
18116 | msgid "CSS Node Name, Widget Name, CSS Class Name" | 18032 | msgid "CSS Node Name, Widget Name, CSS Class Name" | ||
18117 | msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn" | 18033 | msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn" | ||
18118 | 18034 | ||||
18119 | #. (itstool) path: listitem/para | 18035 | #. (itstool) path: listitem/para | ||
18120 | #: C/index-in.docbook:7807 | 18036 | #: C/index-in.docbook:7807 | ||
18145 | "konstruktor. Den ställer in namnet för en komponentinstans." | 18061 | "konstruktor. Den ställer in namnet för en komponentinstans." | ||
18146 | 18062 | ||||
18147 | #. (itstool) path: listitem/para | 18063 | #. (itstool) path: listitem/para | ||
18148 | #: C/index-in.docbook:7814 | 18064 | #: C/index-in.docbook:7814 | ||
18149 | #, fuzzy | 18065 | #, fuzzy | ||
n | n | 18066 | #| msgid "" | ||
18067 | #| "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from " | ||||
18068 | #| "a C++ constructor. It adds the name of a CSS class, used by a widget " | ||||
18069 | #| "instance." | ||||
18150 | msgid "" | 18070 | msgid "" | ||
18151 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | 18071 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | ||
18152 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | 18072 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | ||
18153 | "class, used by a widget instance." | 18073 | "class, used by a widget instance." | ||
18154 | msgstr "" | 18074 | msgstr "" | ||
n | 18155 | "<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-" | n | 18075 | "<methodname>Gtk::Widget::add_class_name()</methodname> kan anropas från en C+" |
18156 | "konstruktor. Den ställer in namnet för en CSS-klass, använd av en " | 18076 | "+-konstruktor. Den lägger till namnet för en CSS-klass, använd av en " | ||
18157 | "komponentinstans." | 18077 | "komponentinstans." | ||
18158 | 18078 | ||||
18159 | #. (itstool) path: section/para | 18079 | #. (itstool) path: section/para | ||
18160 | #: C/index-in.docbook:7805 | 18080 | #: C/index-in.docbook:7805 | ||
18161 | #, fuzzy | 18081 | #, fuzzy | ||
18162 | msgid "" | 18082 | msgid "" | ||
18163 | "There are three ways of referring from a widget to data in a CSS file: <_:" | 18083 | "There are three ways of referring from a widget to data in a CSS file: <_:" | ||
18164 | "itemizedlist-1/> The following example shows a button with its own CSS node " | 18084 | "itemizedlist-1/> The following example shows a button with its own CSS node " | ||
18165 | "name, a label with a widget name and a label that uses its own CSS class." | 18085 | "name, a label with a widget name and a label that uses its own CSS class." | ||
18166 | msgstr "" | 18086 | msgstr "" | ||
n | 18167 | "Det finns två sätt att ge en komponent ett namn som du kan hänvisa till från " | n | 18087 | "Det finns tre sätt att referera från en komponent till data i en CSS-fil: <_:" |
18168 | "en CSS-file: <_:itemizedlist-1/> Följande exempel visar en knapp med eget " | 18088 | "itemizedlist-1/> Följande exempel visar en knapp med eget CSS-nodnamn, en " | ||
18169 | "CSS-nodnamn och en etikett med ett komponentnamn." | 18089 | "etikett med ett komponentnamn och en etikett som använder sin egen CSS-klass." | ||
18170 | 18090 | ||||
18171 | #. (itstool) path: section/title | 18091 | #. (itstool) path: section/title | ||
18172 | #: C/index-in.docbook:7823 | 18092 | #: C/index-in.docbook:7823 | ||
18173 | msgid "Custom Style Information" | 18093 | msgid "Custom Style Information" | ||
18174 | msgstr "Anpassad stilinformation" | 18094 | msgstr "Anpassad stilinformation" | ||
18208 | "Detta exempel implementerar en knapp och två etiketter med anpassad " | 18128 | "Detta exempel implementerar en knapp och två etiketter med anpassad " | ||
18209 | "stilinformation." | 18129 | "stilinformation." | ||
18210 | 18130 | ||||
18211 | #. (itstool) path: figure/title | 18131 | #. (itstool) path: figure/title | ||
18212 | #: C/index-in.docbook:7841 | 18132 | #: C/index-in.docbook:7841 | ||
n | 18213 | #, fuzzy | n | ||
18214 | msgid "Custom CSS Name" | 18133 | msgid "Custom CSS Name" | ||
18215 | msgstr "Anpassat CSS-namn" | 18134 | msgstr "Anpassat CSS-namn" | ||
18216 | 18135 | ||||
18217 | #. (itstool) path: imageobject/imagedata | 18136 | #. (itstool) path: imageobject/imagedata | ||
18218 | #. This is a reference to an external file such as an image or video. When | 18137 | #. This is a reference to an external file such as an image or video. When | ||
18750 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | 18669 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | ||
18751 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | 18670 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | ||
18752 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | 18671 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | ||
18753 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | 18672 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | ||
18754 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | 18673 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | ||
n | 18755 | "eller när din kod bestämmer sig för att köra <methodname>hide()</methodname> " | n | 18674 | "eller när din kod bestämmer sig för att dölja fönstret med " |
18756 | "på fönstret. Du kan förhindra användaren från att stränga fönstret " | 18675 | "<methodname>set_visible(false)</methodname>. Du kan förhindra användaren " | ||
18757 | "(exempelvis om det finns osparade ändringar) genom att åsidosätta " | 18676 | "från att stränga fönstret (exempelvis om det finns osparade ändringar) genom " | ||
18758 | "<methodname>Gtk::Window::on_close_request()</methodname>." | 18677 | "att åsidosätta <methodname>Gtk::Window::on_close_request()</methodname>." | ||
18759 | 18678 | ||||
18760 | #. (itstool) path: section/para | 18679 | #. (itstool) path: section/para | ||
18761 | #: C/index-in.docbook:8139 | 18680 | #: C/index-in.docbook:8139 | ||
18762 | msgid "Most of our examples use this technique." | 18681 | msgid "Most of our examples use this technique." | ||
18763 | msgstr "De flesta av våra exempel använder denna teknik." | 18682 | msgstr "De flesta av våra exempel använder denna teknik." | ||
18818 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | 18737 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | ||
18819 | "Box::append()</methodname>." | 18738 | "Box::append()</methodname>." | ||
18820 | 18739 | ||||
18821 | #. (itstool) path: section/para | 18740 | #. (itstool) path: section/para | ||
18822 | #: C/index-in.docbook:8187 | 18741 | #: C/index-in.docbook:8187 | ||
n | 18823 | #, fuzzy | n | ||
18824 | msgid "" | 18742 | msgid "" | ||
18825 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | 18743 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | ||
18826 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | 18744 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | ||
18827 | "If a container widget is hidden, all of its child widgets are also hidden, " | 18745 | "If a container widget is hidden, all of its child widgets are also hidden, " | ||
18828 | "even if <methodname>set_visible(false)</methodname> is not called on the " | 18746 | "even if <methodname>set_visible(false)</methodname> is not called on the " | ||
18829 | "child widgets." | 18747 | "child widgets." | ||
18830 | msgstr "" | 18748 | msgstr "" | ||
18831 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | 18749 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | ||
n | 18832 | "Widget::hide()</methodname> på komponenterna som du inte vill ska visas. Om " | n | 18750 | "Widget::set_visible(false)</methodname> på komponenterna som du inte vill " |
18833 | "en behållarkomponent är dold så är även alla dess underordnade komponenter " | 18751 | "ska visas. Om en behållarkomponent är dold så är även alla dess underordnade " | ||
18834 | "dolda, även om <methodname>hide()</methodname> inte anropas på de " | 18752 | "komponenter dolda, även om <methodname>set_visible(false)</methodname> inte " | ||
18835 | "underordnade komponenterna." | 18753 | "anropas på de underordnade komponenterna." | ||
18836 | 18754 | ||||
18837 | #. (itstool) path: chapter/title | 18755 | #. (itstool) path: chapter/title | ||
18838 | #: C/index-in.docbook:8198 | 18756 | #: C/index-in.docbook:8198 | ||
18839 | msgid "Building applications" | 18757 | msgid "Building applications" | ||
18840 | msgstr "Bygga program" | 18758 | msgstr "Bygga program" | ||
19556 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | 19474 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | ||
19557 | "preference dialog. The types of the properties in these classes can't be " | 19475 | "preference dialog. The types of the properties in these classes can't be " | ||
19558 | "automatically converted to the string type that <classname>Gio::Settings</" | 19476 | "automatically converted to the string type that <classname>Gio::Settings</" | ||
19559 | "classname> requires." | 19477 | "classname> requires." | ||
19560 | msgstr "" | 19478 | msgstr "" | ||
n | 19561 | "Vi denna punkt kommer programmet redan reagera om du ändrar en av " | n | 19479 | "Vid denna punkt kommer programmet redan reagera om du ändrar en av " |
19562 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | 19480 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | ||
19563 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | 19481 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | ||
19564 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | 19482 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | ||
19565 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | 19483 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | ||
19566 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | 19484 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | ||
19567 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | 19485 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | ||
n | 19568 | "classname>-ui-fil och inställningsbindningar." | n | 19486 | "classname>-ui-fil och inställningsbindningar. I detta fall är dock " |
19487 | "bindningarna mer avancerade. Vi använder <classname>Gtk::FontDialogButton</" | ||||
19488 | "classname> och <classname>Gtk::DropDown</classname> i inställningsdialogen. " | ||||
19489 | "Typerna för egenskaperna i dessa klasser kan inte automatiskt konverteras " | ||||
19490 | "till den strängtyp som <classname>Gio::Settings</classname> kräver." | ||||
19569 | 19491 | ||||
19570 | #. (itstool) path: section/para | 19492 | #. (itstool) path: section/para | ||
19571 | #: C/index-in.docbook:8525 | 19493 | #: C/index-in.docbook:8525 | ||
19572 | #, fuzzy | 19494 | #, fuzzy | ||
19573 | msgid "" | 19495 | msgid "" | ||
19577 | "in our application class, and make it open a new preference dialog." | 19499 | "in our application class, and make it open a new preference dialog." | ||
19578 | msgstr "" | 19500 | msgstr "" | ||
19579 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | 19501 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | ||
19580 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | 19502 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | ||
19581 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | 19503 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | ||
n | 19582 | "programklass, och får den öppna en ny inställningsdialog." | n | 19504 | "programklass, och får den att öppna en ny inställningsdialog." |
19583 | 19505 | ||||
19584 | #. (itstool) path: section/programlisting | 19506 | #. (itstool) path: section/programlisting | ||
19585 | #: C/index-in.docbook:8530 | 19507 | #: C/index-in.docbook:8530 | ||
19586 | #, fuzzy, no-wrap | 19508 | #, fuzzy, no-wrap | ||
19587 | #| msgid "" | 19509 | #| msgid "" | ||
20114 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | 20036 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | ||
20115 | "i GNOME git." | 20037 | "i GNOME git." | ||
20116 | 20038 | ||||
20117 | #. (itstool) path: chapter/para | 20039 | #. (itstool) path: chapter/para | ||
20118 | #: C/index-in.docbook:8760 | 20040 | #: C/index-in.docbook:8760 | ||
n | 20119 | #, fuzzy | n | ||
20120 | msgid "" | 20041 | msgid "" | ||
20121 | "If you do decide to contribute, please post your contribution as an issue or " | 20042 | "If you do decide to contribute, please post your contribution as an issue or " | ||
20122 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 20043 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | ||
20123 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | 20044 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | ||
20124 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | 20045 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | ||
20128 | "document is free, and any addition you provide must also be free. That is, " | 20049 | "document is free, and any addition you provide must also be free. That is, " | ||
20129 | "people must be able to use any portion of your examples in their programs, " | 20050 | "people must be able to use any portion of your examples in their programs, " | ||
20130 | "and copies of this document (including your contribution) may be distributed " | 20051 | "and copies of this document (including your contribution) may be distributed " | ||
20131 | "freely." | 20052 | "freely." | ||
20132 | msgstr "" | 20053 | msgstr "" | ||
n | 20133 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag till sändlistan " | n | 20054 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag som ett ärende " |
20134 | "för <application>gtkmm</application> på <link xlink:href=\"mailto:gtkmm-" | ||||
20135 | "list@gnome.org\"><gtkmm-list@gnome.org></link> eller som ett ärende " | ||||
20136 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | 20055 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | ||
n | 20137 | "GNOME/gtkmm-documentation\">GitLab</link>. Var också medveten om att hela " | n | 20056 | "GNOME/gtkmm-documentation\">GitLab</link>. Du kan också diskutera dina idéer " |
20057 | "på GNOMEs <link xlink:href=\"https://discourse.gnome.org\">Discourse</link>-" | ||||
20058 | "instans, under kategorin <link xlink:href=\"https://discourse.gnome.org/c/" | ||||
20059 | "platform/language-bindings\"> Platform/Language bindings</link> med en " | ||||
20060 | "<literal>cplusplus</literal>-tagg. Var också medveten om att hela detta " | ||||
20138 | "detta dokument är fritt, och alla tillägg du gör också måste vara fria. Det " | 20061 | "dokument är fritt, och alla tillägg du gör också måste vara fria. Det vill " | ||
20139 | "vill säga att personer måste kunna använda alla delar av dina exempel i sina " | 20062 | "säga att personer måste kunna använda alla delar av dina exempel i sina " | ||
20140 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | 20063 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | ||
20141 | "fritt." | 20064 | "fritt." | ||
20142 | 20065 | ||||
20143 | #. (itstool) path: appendix/title | 20066 | #. (itstool) path: appendix/title | ||
20144 | #: C/index-in.docbook:8775 | 20067 | #: C/index-in.docbook:8775 | ||
20443 | #: C/index-in.docbook:8885 | 20366 | #: C/index-in.docbook:8885 | ||
20444 | #, fuzzy | 20367 | #, fuzzy | ||
20445 | msgid "Constness" | 20368 | msgid "Constness" | ||
20446 | msgstr "Const-het" | 20369 | msgstr "Const-het" | ||
20447 | 20370 | ||||
n | 20448 | # TODO: realize | n | ||
20449 | #. (itstool) path: section/para | 20371 | #. (itstool) path: section/para | ||
20450 | #: C/index-in.docbook:8886 | 20372 | #: C/index-in.docbook:8886 | ||
20451 | #, fuzzy | 20373 | #, fuzzy | ||
20452 | msgid "" | 20374 | msgid "" | ||
20453 | "The use of the <literal>const</literal> keyword in <phrase role=\"nowrap\">C+" | 20375 | "The use of the <literal>const</literal> keyword in <phrase role=\"nowrap\">C+" | ||
22096 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22018 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22097 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22019 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22098 | 22020 | ||||
22099 | #. (itstool) path: section/para | 22021 | #. (itstool) path: section/para | ||
22100 | #: C/index-in.docbook:9632 | 22022 | #: C/index-in.docbook:9632 | ||
n | 22101 | #, fuzzy | n | ||
22102 | msgid "" | 22023 | msgid "" | ||
22103 | "To set up <application>jhbuild</application>, follow the basic installation " | 22024 | "To set up <application>jhbuild</application>, follow the basic installation " | ||
22104 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | 22025 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | ||
22105 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | 22026 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | ||
22106 | "<application>jhbuild</application>, you should copy the sample " | 22027 | "<application>jhbuild</application>, you should copy the sample " | ||
22107 | "<application>jhbuild</application> configuration file into your home " | 22028 | "<application>jhbuild</application> configuration file into your home " | ||
22108 | "directory by executing the following command from the <application>jhbuild</" | 22029 | "directory by executing the following command from the <application>jhbuild</" | ||
22109 | "application> directory: <_:screen-1/>" | 22030 | "application> directory: <_:screen-1/>" | ||
22110 | msgstr "" | 22031 | msgstr "" | ||
22111 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | 22032 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | ||
n | 22112 | "href=\"http://developer-old.gnome.org/jhbuild/unstable/\">handboken för " | n | 22033 | "href=\"https://gnome.pages.gitlab.gnome.org/jhbuild/\">handboken för " |
22113 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | 22034 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | ||
22114 | "att du har installerat <application>jhbuild</application> bör du kopiera " | 22035 | "att du har installerat <application>jhbuild</application> bör du kopiera " | ||
22115 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | 22036 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | ||
22116 | "hemkatalog genom att exekvera följande kommando från katalogen " | 22037 | "hemkatalog genom att exekvera följande kommando från katalogen " | ||
22117 | "<application>jhbuild</application>: <_:screen-1/>" | 22038 | "<application>jhbuild</application>: <_:screen-1/>" | ||
26105 | "char**</classname> such as the following:" | 26026 | "char**</classname> such as the following:" | ||
26106 | msgstr "" | 26027 | msgstr "" | ||
26107 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | 26028 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | ||
26108 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | 26029 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | ||
26109 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | 26030 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | ||
n | 26110 | "returnerar ett värde i sin C-utdataparameter <parameter>rect</parameter>: <_:" | n | 26031 | "returnerar ett värde i sin C-utdataparameter <parameter>out_mime_type</" |
26111 | "programlisting-1/> För att <command>gmmproc</command> ska placera det " | 26032 | "parameter>: <_:programlisting-1/> För att <command>gmmproc</command> ska " | ||
26112 | "returnerade värdet i C++-utdataparametern <parameter>rect</parameter> ska " | 26033 | "placera det returnerade värdet i C++-utdataparametern " | ||
26113 | "något i stil med följande <function>_WRAP_METHOD()</function>-makro " | 26034 | "<parameter>out_mime_type</parameter> ska något i stil med följande " | ||
26114 | "användas: <_:programlisting-2/> Den <literal>{>>}</literal> som följer " | 26035 | "<function>_WRAP_METHOD()</function>-makro användas: <_:programlisting-2/> " | ||
26115 | "parameternamnet <parameter>rect</parameter> indikerar att C++-" | 26036 | "Den <literal>{>>}</literal> som följer parameternamnet " | ||
26037 | "<parameter>out_mime_type</parameter> indikerar att C++-utdataparametern ska " | ||||
26116 | "utdataparametern ska ställas in från värdet som returneras C-parametern från " | 26038 | "ställas in från värdet som returneras i C-parametern från C-funktionen. " | ||
26117 | "C-funktionen. <command>gmmproc</command> kommer att generera en deklaration " | 26039 | "<command>gmmproc</command> kommer att generera en deklaration av en temporär " | ||
26118 | "av en temporär variabel i vilken värdet av C-utdataparametern och en sats " | 26040 | "variabel i vilken värdet av C-utdataparametern och en sats som sätter C++-" | ||
26119 | "som sätter C++-utdataparametern från temporärvariabeln. I detta fall kan det " | 26041 | "utdataparametern från temporärvariabeln. I detta fall kan det vara " | ||
26120 | "vara nödvändigt att ha en <function>_INITIALIZATION()</function> som " | 26042 | "nödvändigt att ha en <function>_INITIALIZATION()</function> som beskriver " | ||
26121 | "beskriver hur en <classname>Gdk::Rectangle&</classname> ska sättas från " | 26043 | "hur en <classname>Glib::ustring&</classname> ska sättas från en " | ||
26122 | "en <classname>GdkRectangle*</classname> som i det följande: <_:" | 26044 | "<classname>const char**</classname> som i det följande: <_:programlisting-3/>" | ||
26123 | "programlisting-3/>" | ||||
26124 | 26045 | ||||
26125 | #. (itstool) path: section/programlisting | 26046 | #. (itstool) path: section/programlisting | ||
26126 | #: C/index-in.docbook:11301 | 26047 | #: C/index-in.docbook:11301 | ||
26127 | #, fuzzy, no-wrap | 26048 | #, fuzzy, no-wrap | ||
26128 | #| msgid "" | 26049 | #| msgid "" | ||
26129 | #| "\n" | 26050 | #| "\n" | ||
n | 26130 | #| "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26051 | #| "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const |
> | _gchar_ptr_to_ustring($4)')\n" | ||||
26131 | msgid "" | 26052 | msgid "" | ||
26132 | "<code>\n" | 26053 | "<code>\n" | ||
26133 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | 26054 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | ||
> | har_ptr_to_ustring($4)')\n" | > | har_ptr_to_ustring($4)')\n" | ||
26134 | "</code>" | 26055 | "</code>" | ||
26135 | msgstr "" | 26056 | msgstr "" | ||
26136 | "\n" | 26057 | "\n" | ||
t | 26137 | "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | t | 26058 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc |
> | har_ptr_to_ustring($4)')\n" | ||||
26138 | 26059 | ||||
26139 | #. (itstool) path: section/title | 26060 | #. (itstool) path: section/title | ||
26140 | #: C/index-in.docbook:11307 | 26061 | #: C/index-in.docbook:11307 | ||
26141 | #, fuzzy | 26062 | #, fuzzy | ||
26142 | msgid "String Parameter Processing" | 26063 | msgid "String Parameter Processing" |
Note: both files are merged with latest POT file.