gtkmm-documentation - master - Tutorial - Swedish
Uploaded file by Anders Jonsson on 2023-03-05 01:03:36+00:00 | Uploaded file by Anders Jonsson on 2023-03-06 17:16:08+00:00 | ||||
---|---|---|---|---|---|
f | 1 | # Swedish translation for gtkmm-documentation. | f | 1 | # Swedish translation for gtkmm-documentation. |
n | 2 | # Copyright © 2022 gtkmm-documentation's COPYRIGHT HOLDER | n | 2 | # Copyright © 2022, 2023 gtkmm-documentation's COPYRIGHT HOLDER |
3 | # This file is distributed under the same license as the gtkmm-documentation pac | 3 | # This file is distributed under the same license as the gtkmm-documentation pac | ||
> | kage. | > | kage. | ||
n | 4 | # Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022. | n | 4 | # Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022, 2023. |
5 | # | 5 | # | ||
6 | msgid "" | 6 | msgid "" | ||
7 | msgstr "" | 7 | msgstr "" | ||
8 | "Project-Id-Version: gtkmm-documentation master\n" | 8 | "Project-Id-Version: gtkmm-documentation master\n" | ||
9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | 9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | ||
n | 10 | "PO-Revision-Date: 2023-03-05 02:03+0100\n" | n | 10 | "PO-Revision-Date: 2023-03-05 23:26+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 | ||
2830 | msgid "Push buttons" | 2811 | msgid "Push buttons" | ||
2831 | msgstr "Tryckknappar" | 2812 | msgstr "Tryckknappar" | ||
2832 | 2813 | ||||
2833 | #. (itstool) path: listitem/para | 2814 | #. (itstool) path: listitem/para | ||
2834 | #: C/index-in.docbook:922 | 2815 | #: C/index-in.docbook:922 | ||
n | 2835 | #, fuzzy | n | ||
2836 | msgid "" | 2816 | msgid "" | ||
2837 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2817 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2838 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | 2818 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||
2839 | "Standard buttons, usually marked with a label or picture. Pushing one " | 2819 | "Standard buttons, usually marked with a label or picture. Pushing one " | ||
2840 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | 2820 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | ||
2851 | msgid "Toggle buttons" | 2831 | msgid "Toggle buttons" | ||
2852 | msgstr "Växlingsknappar" | 2832 | msgstr "Växlingsknappar" | ||
2853 | 2833 | ||||
2854 | #. (itstool) path: listitem/para | 2834 | #. (itstool) path: listitem/para | ||
2855 | #: C/index-in.docbook:931 | 2835 | #: C/index-in.docbook:931 | ||
n | 2856 | #, fuzzy | n | ||
2857 | msgid "" | 2836 | msgid "" | ||
2858 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2837 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2859 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | 2838 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | ||
2860 | "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 " | ||
2861 | "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 " | ||
2873 | msgid "Check buttons" | 2852 | msgid "Check buttons" | ||
2874 | msgstr "Kryssrutor" | 2853 | msgstr "Kryssrutor" | ||
2875 | 2854 | ||||
2876 | #. (itstool) path: listitem/para | 2855 | #. (itstool) path: listitem/para | ||
2877 | #: C/index-in.docbook:941 | 2856 | #: C/index-in.docbook:941 | ||
n | 2878 | #, fuzzy | n | ||
2879 | msgid "" | 2857 | msgid "" | ||
2880 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2858 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2881 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | 2859 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||
2882 | "link>. These act like ToggleButtons, but show their state in small squares, " | 2860 | "link>. These act like ToggleButtons, but show their state in small squares, " | ||
2883 | "with their label at the side. They should be used in most situations which " | 2861 | "with their label at the side. They should be used in most situations which " | ||
3406 | "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 " | ||
3407 | "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 " | ||
3408 | "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 " | ||
3409 | "över skärmen." | 3387 | "över skärmen." | ||
3410 | 3388 | ||||
n | 3411 | # TODO: behavior | n | ||
3412 | #. (itstool) path: section/para | 3389 | #. (itstool) path: section/para | ||
3413 | #: C/index-in.docbook:1194 | 3390 | #: C/index-in.docbook:1194 | ||
n | 3414 | #, fuzzy | n | ||
3415 | #| msgid "" | ||||
3416 | #| "As with <classname>Scrollbar</classname>s, the orientation can be either " | ||||
3417 | #| "horizontal or vertical. The default constructor creates an " | ||||
3418 | #| "<classname>Adjustment</classname> with all of its values set to " | ||||
3419 | #| "<literal>0.0</literal>. This isn't useful so you will need to set some " | ||||
3420 | #| "<classname>Adjustment</classname> details to get meaningful behaviour." | ||||
3421 | msgid "" | 3391 | msgid "" | ||
3422 | "As with <classname>Scrollbar</classname>s, the orientation can be either " | 3392 | "As with <classname>Scrollbar</classname>s, the orientation can be either " | ||
3423 | "horizontal or vertical. The default constructor creates an " | 3393 | "horizontal or vertical. The default constructor creates an " | ||
3424 | "<classname>Adjustment</classname> with all of its values set to " | 3394 | "<classname>Adjustment</classname> with all of its values set to " | ||
3425 | "<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 " | ||
3789 | msgid "Entry Completion" | 3759 | msgid "Entry Completion" | ||
3790 | msgstr "Inmatningskomplettering" | 3760 | msgstr "Inmatningskomplettering" | ||
3791 | 3761 | ||||
3792 | #. (itstool) path: note/para | 3762 | #. (itstool) path: note/para | ||
3793 | #: C/index-in.docbook:1381 | 3763 | #: C/index-in.docbook:1381 | ||
n | 3794 | #, fuzzy | n | ||
3795 | #| msgid "" | ||||
3796 | #| "Some new classes were added in <application>gtkmm</application> 4 and " | ||||
3797 | #| "<application>glibmm</application> 2.68:" | ||||
3798 | msgid "" | 3764 | msgid "" | ||
3799 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | 3765 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | ||
3800 | "<application>gtkmm</application> 4.10. There is no replacement in " | 3766 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
3801 | "<application>gtkmm</application>." | 3767 | "<application>gtkmm</application>." | ||
3802 | msgstr "" | 3768 | msgstr "" | ||
n | 3803 | "Några nya klasser lades till i <application>gtkmm</application> 4 och " | n | 3769 | "<classname>Gtk::EntryCompletion</classname> är föråldrad sedan " |
3770 | "<application>gtkmm</application> 4.10. Det finns ingen ersättning i " | ||||
3804 | "<application>glibmm</application> 2.68:" | 3771 | "<application>gtkmm</application>." | ||
3805 | 3772 | ||||
3806 | #. (itstool) path: section/para | 3773 | #. (itstool) path: section/para | ||
3807 | #: C/index-in.docbook:1385 | 3774 | #: C/index-in.docbook:1385 | ||
3808 | msgid "" | 3775 | msgid "" | ||
3809 | "An <classname>Entry</classname> widget can offer a drop-down list of pre-" | 3776 | "An <classname>Entry</classname> widget can offer a drop-down list of pre-" | ||
4399 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4366 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4400 | "classGtk_1_1InfoBar.html\">Referens</link>" | 4367 | "classGtk_1_1InfoBar.html\">Referens</link>" | ||
4401 | 4368 | ||||
4402 | #. (itstool) path: section/para | 4369 | #. (itstool) path: section/para | ||
4403 | #: C/index-in.docbook:1697 | 4370 | #: C/index-in.docbook:1697 | ||
n | 4404 | #, fuzzy | n | ||
4405 | #| msgid "" | ||||
4406 | #| "<classname>FileChooser</classname> and the classes that implement it are " | ||||
4407 | #| "deprecated since <application>gtkmm</application> 4.10. They have been " | ||||
4408 | #| "replaced by <classname>FileDialog</classname>, which is available since " | ||||
4409 | #| "<application>gtkmm</application> 4.10." | ||||
4410 | msgid "" | 4371 | msgid "" | ||
4411 | "The <classname>InfoBar</classname> widget is deprecated since " | 4372 | "The <classname>InfoBar</classname> widget is deprecated since " | ||
4412 | "<application>gtkmm</application> 4.10. The example shows an info bar " | 4373 | "<application>gtkmm</application> 4.10. The example shows an info bar " | ||
4413 | "consisting of a <classname>Box</classname> with a <classname>Label</" | 4374 | "consisting of a <classname>Box</classname> with a <classname>Label</" | ||
4414 | "classname> and a <classname>Button</classname>." | 4375 | "classname> and a <classname>Button</classname>." | ||
4415 | msgstr "" | 4376 | msgstr "" | ||
n | 4416 | "<classname>FileChooser</classname> och klasserna som implementerar den är " | n | 4377 | "<classname>InfoBar</classname>-komponenten är föråldrad sedan " |
4417 | "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 " | ||
4418 | "<classname>FileDialog</classname>, vilken finns tillgänglig sedan " | 4379 | "av en <classname>Box</classname> med en <classname>Label</classname> och en " | ||
4419 | "<application>gtkmm</application> 4.10." | 4380 | "<classname>Button</classname>." | ||
4420 | 4381 | ||||
4421 | #. (itstool) path: imageobject/imagedata | 4382 | #. (itstool) path: imageobject/imagedata | ||
4422 | #. 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 | ||
4423 | #. 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 | ||
4424 | #. 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 | ||
4984 | "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 " | ||
4985 | "komponenter. <application>gtkmm</application> använder sedan all denna " | 4946 | "komponenter. <application>gtkmm</application> använder sedan all denna " | ||
4986 | "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 " | ||
4987 | "smidigt sätt när användaren manipulerar fönstret." | 4948 | "smidigt sätt när användaren manipulerar fönstret." | ||
4988 | 4949 | ||||
n | 4989 | # TODO: flavors | n | ||
4990 | #. (itstool) path: section/para | 4950 | #. (itstool) path: section/para | ||
4991 | #: C/index-in.docbook:1983 | 4951 | #: C/index-in.docbook:1983 | ||
n | 4992 | #, fuzzy | n | ||
4993 | msgid "" | 4952 | msgid "" | ||
4994 | "<application>gtkmm</application> arranges widgets hierarchically, using " | 4953 | "<application>gtkmm</application> arranges widgets hierarchically, using " | ||
4995 | "<emphasis>containers</emphasis>. A container widget contains other widgets. " | 4954 | "<emphasis>containers</emphasis>. A container widget contains other widgets. " | ||
4996 | "Most <application>gtkmm</application> widgets are containers. Windows, " | 4955 | "Most <application>gtkmm</application> widgets are containers. Windows, " | ||
4997 | "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 " | ||
5100 | "master/examples/book/helloworld2\">Source Code</link>" | 5059 | "master/examples/book/helloworld2\">Source Code</link>" | ||
5101 | msgstr "" | 5060 | msgstr "" | ||
5102 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5061 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5103 | "master/examples/book/helloworld2\">Källkod</link>" | 5062 | "master/examples/book/helloworld2\">Källkod</link>" | ||
5104 | 5063 | ||||
n | 5105 | # TODO: behavior | n | ||
5106 | #. (itstool) path: section/para | 5064 | #. (itstool) path: section/para | ||
5107 | #: C/index-in.docbook:2048 | 5065 | #: C/index-in.docbook:2048 | ||
5108 | #, fuzzy | 5066 | #, fuzzy | ||
5109 | msgid "" | 5067 | msgid "" | ||
5110 | "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 " | ||
5207 | 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:" | ||
5208 | 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:" | ||
5209 | 5167 | ||||
5210 | #. (itstool) path: figure/title | 5168 | #. (itstool) path: figure/title | ||
5211 | #: C/index-in.docbook:2101 | 5169 | #: C/index-in.docbook:2101 | ||
n | 5212 | #, fuzzy | n | ||
5213 | msgid "Box Packing 1" | 5170 | msgid "Box Packing 1" | ||
5214 | msgstr "Boxpackning 1" | 5171 | msgstr "Boxpackning 1" | ||
5215 | 5172 | ||||
5216 | #. (itstool) path: imageobject/imagedata | 5173 | #. (itstool) path: imageobject/imagedata | ||
5217 | #. 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 | ||
5319 | "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- " | ||
5320 | "och högermarginalerna för varje knapp i raden." | 5277 | "och högermarginalerna för varje knapp i raden." | ||
5321 | 5278 | ||||
5322 | #. (itstool) path: figure/title | 5279 | #. (itstool) path: figure/title | ||
5323 | #: C/index-in.docbook:2144 | 5280 | #: C/index-in.docbook:2144 | ||
n | 5324 | #, fuzzy | n | ||
5325 | msgid "Box Packing 2" | 5281 | msgid "Box Packing 2" | ||
5326 | msgstr "Boxpackning 2" | 5282 | msgstr "Boxpackning 2" | ||
5327 | 5283 | ||||
5328 | #. (itstool) path: imageobject/imagedata | 5284 | #. (itstool) path: imageobject/imagedata | ||
5329 | #. 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 | ||
5614 | "<application>gtkmm</application> 4.10. There is no replacement in " | 5570 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
5615 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | 5571 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | ||
5616 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | 5572 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | ||
5617 | "classname> might be an acceptable replacement." | 5573 | "classname> might be an acceptable replacement." | ||
5618 | msgstr "" | 5574 | msgstr "" | ||
n | n | 5575 | "<classname>Gtk::Assistant</classname> är föråldrad sedan <application>gtkmm</" | ||
5576 | "application> 4.10. Det finns ingen ersättning i <application>gtkmm</" | ||||
5577 | "application>. libadwaita (ett C-bibliotek) har ersättningsdelar (som " | ||||
5578 | "AdwCarousel). I vissa fall kan en <classname>Gtk::Notebook</classname> vara " | ||||
5579 | "en acceptabel ersättning." | ||||
5619 | 5580 | ||||
5620 | #. (itstool) path: section/para | 5581 | #. (itstool) path: section/para | ||
5621 | #: C/index-in.docbook:2297 | 5582 | #: C/index-in.docbook:2297 | ||
5622 | #, fuzzy | 5583 | #, fuzzy | ||
5623 | msgid "" | 5584 | msgid "" | ||
5742 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5703 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5743 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | 5704 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | ||
5744 | 5705 | ||||
5745 | #. (itstool) path: section/para | 5706 | #. (itstool) path: section/para | ||
5746 | #: C/index-in.docbook:2345 | 5707 | #: C/index-in.docbook:2345 | ||
n | 5747 | #, fuzzy | n | ||
5748 | #| msgid "" | ||||
5749 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
5750 | #| "tree/master/examples/book/flowbox\">Source Code, FlowBox</link>" | ||||
5751 | msgid "" | 5708 | msgid "" | ||
5752 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5709 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5753 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | 5710 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | ||
5754 | msgstr "" | 5711 | msgstr "" | ||
5755 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5712 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 5756 | "master/examples/book/flowbox\">Källkod, FlowBox</link>" | n | 5713 | "master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>" |
5757 | 5714 | ||||
5758 | #. (itstool) path: chapter/title | 5715 | #. (itstool) path: chapter/title | ||
5759 | #: C/index-in.docbook:2352 | 5716 | #: C/index-in.docbook:2352 | ||
5760 | msgid "ListView, GridView, ColumnView" | 5717 | msgid "ListView, GridView, ColumnView" | ||
n | 5761 | msgstr "" | n | 5718 | msgstr "ListView, GridView, ColumnView" |
5762 | 5719 | ||||
5763 | #. (itstool) path: chapter/para | 5720 | #. (itstool) path: chapter/para | ||
5764 | #: C/index-in.docbook:2354 | 5721 | #: C/index-in.docbook:2354 | ||
5765 | msgid "" | 5722 | msgid "" | ||
5766 | "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 " | ||
5767 | "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 " | ||
5768 | "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 " | ||
5769 | "items." | 5726 | "items." | ||
5770 | 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." | ||||
5771 | 5732 | ||||
5772 | #. (itstool) path: chapter/para | 5733 | #. (itstool) path: chapter/para | ||
5773 | #: C/index-in.docbook:2360 | 5734 | #: C/index-in.docbook:2360 | ||
5774 | msgid "" | 5735 | msgid "" | ||
5775 | "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 " | ||
5776 | "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 " | ||
5777 | "course, they work just as well with static data." | 5738 | "course, they work just as well with static data." | ||
5778 | 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." | ||||
5779 | 5743 | ||||
5780 | #. (itstool) path: chapter/para | 5744 | #. (itstool) path: chapter/para | ||
5781 | #: C/index-in.docbook:2366 | 5745 | #: C/index-in.docbook:2366 | ||
5782 | #, fuzzy | 5746 | #, fuzzy | ||
5783 | msgid "" | 5747 | msgid "" | ||
5789 | "html\">Input Handling</link> i GTK-dokumentationen beskriver hantering av " | 5753 | "html\">Input Handling</link> i GTK-dokumentationen beskriver hantering av " | ||
5790 | "användarinmatning mer detaljerat." | 5754 | "användarinmatning mer detaljerat." | ||
5791 | 5755 | ||||
5792 | #. (itstool) path: chapter/para | 5756 | #. (itstool) path: chapter/para | ||
5793 | #: C/index-in.docbook:2371 | 5757 | #: C/index-in.docbook:2371 | ||
n | 5794 | #, fuzzy | n | ||
5795 | #| msgid "" | ||||
5796 | #| "Some <classname>TreeView</classname> examples are shown here. There are " | ||||
5797 | #| "more examples in the <link xlink:href=\"https://gitlab.gnome.org/GNOME/" | ||||
5798 | #| "gtkmm-documentation/tree/master/examples/book/treeview/\">treeview " | ||||
5799 | #| "directory</link> in <application>gtkmm-documentation</application>'s " | ||||
5800 | #| "examples." | ||||
5801 | msgid "" | 5758 | msgid "" | ||
5802 | "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 " | ||
5803 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5760 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5804 | "master/examples/book/listmodelviews/\">listmodelviews directory</link> in " | 5761 | "master/examples/book/listmodelviews/\">listmodelviews directory</link> in " | ||
5805 | "<application>gtkmm-documentation</application>'s examples." | 5762 | "<application>gtkmm-documentation</application>'s examples." | ||
5806 | msgstr "" | 5763 | msgstr "" | ||
n | 5807 | "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:" |
5808 | "exempel i <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 5765 | "href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/master/" | ||
5809 | "documentation/tree/master/examples/book/treeview/\">treeview-katalogen</" | 5766 | "examples/book/listmodelviews/\">listmodelviews-katalogen</link> i " | ||
5810 | "link> i <application>gtkmm-documentation</application>s exempel." | 5767 | "<application>gtkmm-documentation</application>s exempel." | ||
5811 | 5768 | ||||
5812 | #. (itstool) path: section/title | 5769 | #. (itstool) path: section/title | ||
5813 | #: C/index-in.docbook:2377 | 5770 | #: C/index-in.docbook:2377 | ||
n | 5814 | #, fuzzy | n | ||
5815 | msgid "The Data Model" | 5771 | msgid "The Data Model" | ||
n | 5816 | msgstr "Modellen" | n | 5772 | msgstr "Datamodellen" |
5817 | 5773 | ||||
5818 | #. (itstool) path: section/para | 5774 | #. (itstool) path: section/para | ||
5819 | #: C/index-in.docbook:2379 | 5775 | #: C/index-in.docbook:2379 | ||
5820 | msgid "" | 5776 | msgid "" | ||
5821 | "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</" | ||
5823 | "ListStore</classname> (not to be confused with the deprecated " | 5779 | "ListStore</classname> (not to be confused with the deprecated " | ||
5824 | "<classname>Gtk::ListStore</classname>), <classname>Gtk:StringList</" | 5780 | "<classname>Gtk::ListStore</classname>), <classname>Gtk:StringList</" | ||
5825 | "classname>, <classname>Gtk:DirectoryList</classname> and <classname>Pango::" | 5781 | "classname>, <classname>Gtk:DirectoryList</classname> and <classname>Pango::" | ||
5826 | "FontMap</classname>." | 5782 | "FontMap</classname>." | ||
5827 | 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 den föråldrade <classname>Gtk::" | ||||
5787 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | ||||
5788 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | ||||
5789 | "classname>." | ||||
5828 | 5790 | ||||
5829 | #. (itstool) path: section/para | 5791 | #. (itstool) path: section/para | ||
5830 | #: C/index-in.docbook:2387 | 5792 | #: C/index-in.docbook:2387 | ||
n | 5831 | #, fuzzy | n | ||
5832 | #| msgid "" | ||||
5833 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
5834 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
5835 | #| "ComboBox class with one integer and one text column, like so:" | ||||
5836 | msgid "" | 5793 | msgid "" | ||
5837 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | 5794 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | ||
5838 | "instances of a subclass of <classname>Glib::Object</classname>. For " | 5795 | "instances of a subclass of <classname>Glib::Object</classname>. For " | ||
5839 | "instance, you might have a <classname>ColumnView</classname> with one " | 5796 | "instance, you might have a <classname>ColumnView</classname> with one " | ||
5840 | "integer and one text column, like so:" | 5797 | "integer and one text column, like so:" | ||
5841 | msgstr "" | 5798 | msgstr "" | ||
n | 5842 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 5799 | "Elementen i en modell kallas <emphasis>objekt</emphasis>. Alla objekt är " |
5843 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 5800 | "instanser av en underklass till <classname>Glib::Object</classname>. " | ||
5801 | "Exempelvis kan du ha en <classname>ColumnView</classname> med ett heltal och " | ||||
5844 | "ett heltal och en textkolumn, så här:" | 5802 | "en textkolumn, så här:" | ||
5845 | 5803 | ||||
5846 | #. (itstool) path: section/programlisting | 5804 | #. (itstool) path: section/programlisting | ||
5847 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | 5805 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | ||
n | 5848 | #, no-wrap | n | 5806 | #, fuzzy, no-wrap |
5807 | #| msgid "" | ||||
5808 | #| "class ModelColumns : public Glib::Object\n" | ||||
5809 | #| "{\n" | ||||
5810 | #| "public:\n" | ||||
5811 | #| " int m_col_id;\n" | ||||
5812 | #| " Glib::ustring m_col_name;\n" | ||||
5813 | #| "\n" | ||||
5814 | #| " static Glib::RefPtr<ModelColumns> create(\n" | ||||
5815 | #| " int col_id, const Glib::ustring& col_name)\n" | ||||
5816 | #| " {\n" | ||||
5817 | #| " return Glib::make_refptr_for_instance<ModelColumns>(\n" | ||||
5818 | #| " new ModelColumns(col_id, col_name));\n" | ||||
5819 | #| " }\n" | ||||
5820 | #| "\n" | ||||
5821 | #| "protected:\n" | ||||
5822 | #| " ModelColumns(int col_id, const Glib::ustring& col_name)\n" | ||||
5823 | #| " : m_col_id(col_id), m_col_name(col_name)\n" | ||||
5824 | #| " {}\n" | ||||
5825 | #| "};\n" | ||||
5826 | #| "\n" | ||||
5827 | #| "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||||
5849 | msgid "" | 5828 | msgid "" | ||
5850 | "<code>class ModelColumns : public Glib::Object\n" | 5829 | "<code>class ModelColumns : public Glib::Object\n" | ||
5851 | "{\n" | 5830 | "{\n" | ||
5852 | "public:\n" | 5831 | "public:\n" | ||
5853 | " int m_col_id;\n" | 5832 | " int m_col_id;\n" | ||
5867 | "};\n" | 5846 | "};\n" | ||
5868 | "\n" | 5847 | "\n" | ||
5869 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | 5848 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||
5870 | "</code>" | 5849 | "</code>" | ||
5871 | msgstr "" | 5850 | msgstr "" | ||
n | n | 5851 | "class ModelColumns : public Glib::Object\n" | ||
5852 | "{\n" | ||||
5853 | "public:\n" | ||||
5854 | " int m_col_id;\n" | ||||
5855 | " Glib::ustring m_col_name;\n" | ||||
5856 | "\n" | ||||
5857 | " static Glib::RefPtr<ModelColumns> create(\n" | ||||
5858 | " int col_id, const Glib::ustring& col_name)\n" | ||||
5859 | " {\n" | ||||
5860 | " return Glib::make_refptr_for_instance<ModelColumns>(\n" | ||||
5861 | " new ModelColumns(col_id, col_name));\n" | ||||
5862 | " }\n" | ||||
5863 | "\n" | ||||
5864 | "protected:\n" | ||||
5865 | " ModelColumns(int col_id, const Glib::ustring& col_name)\n" | ||||
5866 | " : m_col_id(col_id), m_col_name(col_name)\n" | ||||
5867 | " {}\n" | ||||
5868 | "};\n" | ||||
5869 | "\n" | ||||
5870 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||||
5872 | 5871 | ||||
5873 | #. (itstool) path: section/para | 5872 | #. (itstool) path: section/para | ||
5874 | #: C/index-in.docbook:2415 | 5873 | #: C/index-in.docbook:2415 | ||
5875 | msgid "" | 5874 | msgid "" | ||
5876 | "Every item in a model has a position which is the unsigned integer that " | 5875 | "Every item in a model has a position which is the unsigned integer that " | ||
5877 | "describes where in the model the item is located. The first item in a model " | 5876 | "describes where in the model the item is located. The first item in a model " | ||
5878 | "is at position 0. The position of an item can of course change as other " | 5877 | "is at position 0. The position of an item can of course change as other " | ||
5879 | "items are added to or removed from the model." | 5878 | "items are added to or removed from the model." | ||
5880 | msgstr "" | 5879 | msgstr "" | ||
n | n | 5880 | "Varje objekt i en modell har en position vilken är det teckenlösa heltalet " | ||
5881 | "som beskriver var i modellen som objektet finns. Det första objektet i en " | ||||
5882 | "modell har position 0. Positionen för ett objekt kan förstås ändras då andra " | ||||
5883 | "objekt läggs till eller tas bort från modellen." | ||||
5881 | 5884 | ||||
5882 | #. (itstool) path: section/para | 5885 | #. (itstool) path: section/para | ||
5883 | #: C/index-in.docbook:2421 | 5886 | #: C/index-in.docbook:2421 | ||
n | 5884 | #, fuzzy | n | ||
5885 | #| msgid "" | ||||
5886 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||||
5887 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||||
5888 | msgid "" | 5887 | msgid "" | ||
5889 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 5888 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
5890 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | 5889 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | ||
5891 | msgstr "" | 5890 | msgstr "" | ||
5892 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 5891 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
n | 5893 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | n | 5892 | "classGio_1_1ListStore.html\">Referens för Gio::ListStore</link>" |
5894 | 5893 | ||||
5895 | #. (itstool) path: section/para | 5894 | #. (itstool) path: section/para | ||
5896 | #: C/index-in.docbook:2422 | 5895 | #: C/index-in.docbook:2422 | ||
n | 5897 | #, fuzzy | n | ||
5898 | #| msgid "" | ||||
5899 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5900 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5901 | msgid "" | 5896 | msgid "" | ||
5902 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5897 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5903 | "classGtk_1_1StringList.html\">StringList Reference</link>" | 5898 | "classGtk_1_1StringList.html\">StringList Reference</link>" | ||
5904 | msgstr "" | 5899 | msgstr "" | ||
5905 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5900 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5906 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5901 | "classGtk_1_1StringList.html\">Referens för StringList</link>" |
5907 | 5902 | ||||
5908 | #. (itstool) path: section/para | 5903 | #. (itstool) path: section/para | ||
5909 | #: C/index-in.docbook:2423 | 5904 | #: C/index-in.docbook:2423 | ||
n | 5910 | #, fuzzy | n | ||
5911 | #| msgid "" | ||||
5912 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5913 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5914 | msgid "" | 5905 | msgid "" | ||
5915 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5906 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5916 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | 5907 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | ||
5917 | msgstr "" | 5908 | msgstr "" | ||
5918 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5909 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5919 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5910 | "classGtk_1_1DirectoryList.html\">Referens för DirectoryList</link>" |
5920 | 5911 | ||||
5921 | #. (itstool) path: section/title | 5912 | #. (itstool) path: section/title | ||
5922 | #: C/index-in.docbook:2427 | 5913 | #: C/index-in.docbook:2427 | ||
5923 | #, fuzzy | 5914 | #, fuzzy | ||
5924 | msgid "The Selection Model" | 5915 | msgid "The Selection Model" | ||
5943 | "och <classname>Gio::ActionMap</classname> är basklasser för <classname>Gtk::" | 5934 | "och <classname>Gio::ActionMap</classname> är basklasser för <classname>Gtk::" | ||
5944 | "ApplicationWindow</classname>." | 5935 | "ApplicationWindow</classname>." | ||
5945 | 5936 | ||||
5946 | #. (itstool) path: section/para | 5937 | #. (itstool) path: section/para | ||
5947 | #: C/index-in.docbook:2434 | 5938 | #: C/index-in.docbook:2434 | ||
n | 5948 | #, fuzzy | n | ||
5949 | #| msgid "" | ||||
5950 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5951 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
5952 | msgid "" | 5939 | msgid "" | ||
5953 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5940 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5954 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | 5941 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | ||
5955 | msgstr "" | 5942 | msgstr "" | ||
5956 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5943 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5957 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | n | 5944 | "classGtk_1_1NoSelection.html\">Referens för NoSelection</link>" |
5958 | 5945 | ||||
5959 | #. (itstool) path: section/para | 5946 | #. (itstool) path: section/para | ||
5960 | #: C/index-in.docbook:2435 | 5947 | #: C/index-in.docbook:2435 | ||
n | 5961 | #, fuzzy | n | ||
5962 | #| msgid "" | ||||
5963 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5964 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5965 | msgid "" | 5948 | msgid "" | ||
5966 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5949 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5967 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | 5950 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | ||
5968 | msgstr "" | 5951 | msgstr "" | ||
5969 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5952 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5970 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5953 | "classGtk_1_1SingleSelection.html\">Referens för SingleSelection</link>" |
5971 | 5954 | ||||
5972 | #. (itstool) path: section/para | 5955 | #. (itstool) path: section/para | ||
5973 | #: C/index-in.docbook:2436 | 5956 | #: C/index-in.docbook:2436 | ||
n | 5974 | #, fuzzy | n | ||
5975 | #| msgid "" | ||||
5976 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5977 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||||
5978 | msgid "" | 5957 | msgid "" | ||
5979 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5958 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5980 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | 5959 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | ||
5981 | msgstr "" | 5960 | msgstr "" | ||
5982 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5961 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 5983 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | n | 5962 | "classGtk_1_1MultiSelection.html\">Referens för MultiSelection</link>" |
5984 | 5963 | ||||
5985 | #. (itstool) path: section/title | 5964 | #. (itstool) path: section/title | ||
5986 | #: C/index-in.docbook:2440 | 5965 | #: C/index-in.docbook:2440 | ||
5987 | #, fuzzy | 5966 | #, fuzzy | ||
5988 | msgid "The Factory" | 5967 | msgid "The Factory" | ||
n | 5989 | msgstr "Inmatningen" | n | 5968 | msgstr "Fabriken" |
5990 | 5969 | ||||
5991 | #. (itstool) path: section/para | 5970 | #. (itstool) path: section/para | ||
5992 | #: C/index-in.docbook:2442 | 5971 | #: C/index-in.docbook:2442 | ||
n | n | 5972 | #, fuzzy | ||
5993 | msgid "" | 5973 | msgid "" | ||
5994 | "Data from the data model is added to the view by a factory, which is a " | 5974 | "Data from the data model is added to the view by a factory, which is a " | ||
5995 | "subclass of <classname>ListItemFactory</classname>. There is only one such " | 5975 | "subclass of <classname>ListItemFactory</classname>. There is only one such " | ||
5996 | "subclass in <application>gtkmm</application>, " | 5976 | "subclass in <application>gtkmm</application>, " | ||
5997 | "<classname>SignalListItemFactory</classname>. Data from the model is added " | 5977 | "<classname>SignalListItemFactory</classname>. Data from the model is added " | ||
5998 | "to the view with signal handlers connected to a " | 5978 | "to the view with signal handlers connected to a " | ||
5999 | "<classname>SignalListItemFactory</classname>." | 5979 | "<classname>SignalListItemFactory</classname>." | ||
6000 | msgstr "" | 5980 | msgstr "" | ||
n | n | 5981 | "Data från datamodellen läggs till i vyn av en fabrik, vilken är en " | ||
5982 | "underklass av <classname>ListItemFactory</classname>. Det finns endast en " | ||||
5983 | "sådan underklass i <application>gtkmm</application>, " | ||||
5984 | "<classname>SignalListItemFactory</classname>. Data från modellen läggs till " | ||||
5985 | "i vyn med signalhanterare anslutna till en <classname>SignalListItemFactory</" | ||||
5986 | "classname>." | ||||
6001 | 5987 | ||||
6002 | #. (itstool) path: section/para | 5988 | #. (itstool) path: section/para | ||
6003 | #: C/index-in.docbook:2448 | 5989 | #: C/index-in.docbook:2448 | ||
n | 6004 | #, fuzzy | n | ||
6005 | #| msgid "" | ||||
6006 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6007 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6008 | msgid "" | 5990 | msgid "" | ||
6009 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5991 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6010 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | 5992 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | ||
6011 | "link>" | 5993 | "link>" | ||
6012 | msgstr "" | 5994 | msgstr "" | ||
6013 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5995 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6014 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 5996 | "classGtk_1_1SignalListItemFactory.html\">Referens för SignalListItemFactory</" |
5997 | "link>" | ||||
6015 | 5998 | ||||
6016 | #. (itstool) path: section/title | 5999 | #. (itstool) path: section/title | ||
6017 | #: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872 | 6000 | #: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872 | ||
6018 | #, fuzzy | 6001 | #, fuzzy | ||
6019 | msgid "The View" | 6002 | msgid "The View" | ||
n | 6020 | msgstr "View" | n | 6003 | msgstr "Vyn" |
6021 | 6004 | ||||
6022 | #. (itstool) path: section/para | 6005 | #. (itstool) path: section/para | ||
6023 | #: C/index-in.docbook:2454 | 6006 | #: C/index-in.docbook:2454 | ||
6024 | #, fuzzy | 6007 | #, fuzzy | ||
6025 | msgid "" | 6008 | msgid "" | ||
6026 | "The View is the widget that displays the model data and allows the user to " | 6009 | "The View is the widget that displays the model data and allows the user to " | ||
6027 | "interact with it. The View can show all of the model's columns, or just " | 6010 | "interact with it. The View can show all of the model's columns, or just " | ||
6028 | "some, and it can show them in various ways." | 6011 | "some, and it can show them in various ways." | ||
6029 | msgstr "" | 6012 | msgstr "" | ||
n | 6030 | "Vyn är den faktiska komponenten (<classname>Gtk::TreeView</classname>) som " | n | 6013 | "Vyn är komponenten som visar data för modellen och låter användaren " |
6031 | "visar data för modellen (<classname>Gtk::TreeModel</classname>) och låter " | ||||
6032 | "användaren interagera med dem. Vyn kan visa alla modellens kolumner, eller " | 6014 | "interagera med dem. Vyn kan visa alla modellens kolumner, eller bara några, " | ||
6033 | "bara några, och den kan visa dem på olika sätt." | 6015 | "och den kan visa dem på olika sätt." | ||
6034 | 6016 | ||||
6035 | #. (itstool) path: section/para | 6017 | #. (itstool) path: section/para | ||
6036 | #: C/index-in.docbook:2460 | 6018 | #: C/index-in.docbook:2460 | ||
n | n | 6019 | #, fuzzy | ||
6037 | msgid "" | 6020 | msgid "" | ||
6038 | "An important requirement for views (especially views of long lists) is that " | 6021 | "An important requirement for views (especially views of long lists) is that " | ||
6039 | "they need to know which items are not visible so they can be recycled. Views " | 6022 | "they need to know which items are not visible so they can be recycled. Views " | ||
6040 | "achieve that by implementing the <classname>Scrollable</classname> interface " | 6023 | "achieve that by implementing the <classname>Scrollable</classname> interface " | ||
6041 | "and expecting to be placed directly into a <classname>ScrolledWindow</" | 6024 | "and expecting to be placed directly into a <classname>ScrolledWindow</" | ||
6042 | "classname>." | 6025 | "classname>." | ||
6043 | msgstr "" | 6026 | msgstr "" | ||
n | n | 6027 | "Ett viktigt krav för vyer (särskilt vyer över långa listor) är att de " | ||
6028 | "behöver veta vilka objekt som inte är synliga, så att de kan återvinnas. " | ||||
6029 | "Vyer åstadkommer det genom att implementera gränssnittet " | ||||
6030 | "<classname>Scrollable</classname> och förväntar sig att placeras direkt i " | ||||
6031 | "ett <classname>ScrolledWindow</classname>." | ||||
6044 | 6032 | ||||
6045 | #. (itstool) path: section/para | 6033 | #. (itstool) path: section/para | ||
6046 | #: C/index-in.docbook:2467 | 6034 | #: C/index-in.docbook:2467 | ||
n | n | 6035 | #, fuzzy | ||
6047 | msgid "There are different view widgets to choose from." | 6036 | msgid "There are different view widgets to choose from." | ||
n | 6048 | msgstr "" | n | 6037 | msgstr "Det finns olika vykomponenter att välja från." |
6049 | 6038 | ||||
6050 | #. (itstool) path: section/title | 6039 | #. (itstool) path: section/title | ||
6051 | #. (itstool) path: figure/title | 6040 | #. (itstool) path: figure/title | ||
6052 | #: C/index-in.docbook:2472 C/index-in.docbook:2484 | 6041 | #: C/index-in.docbook:2472 C/index-in.docbook:2484 | ||
n | 6053 | #, fuzzy | n | ||
6054 | #| msgid "TextView" | ||||
6055 | msgid "ListView" | 6042 | msgid "ListView" | ||
n | 6056 | msgstr "TextView" | n | 6043 | msgstr "ListView" |
6057 | 6044 | ||||
6058 | #. (itstool) path: section/para | 6045 | #. (itstool) path: section/para | ||
6059 | #: C/index-in.docbook:2474 | 6046 | #: C/index-in.docbook:2474 | ||
n | 6060 | #, fuzzy | n | ||
6061 | #| msgid "" | ||||
6062 | #| "The <classname>Gtk::TreeView</classname> widget can contain lists or " | ||||
6063 | #| "trees of data, in columns." | ||||
6064 | msgid "" | 6047 | msgid "" | ||
6065 | "The <classname>ListView</classname> shows a 1-dimensional list with one " | 6048 | "The <classname>ListView</classname> shows a 1-dimensional list with one " | ||
6066 | "column." | 6049 | "column." | ||
6067 | msgstr "" | 6050 | msgstr "" | ||
n | 6068 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | n | 6051 | "<classname>ListView</classname> visar en 1-dimensionell lista med en kolumn." |
6069 | "träd med data i kolumner." | ||||
6070 | 6052 | ||||
6071 | #. (itstool) path: section/para | 6053 | #. (itstool) path: section/para | ||
6072 | #: C/index-in.docbook:2478 | 6054 | #: C/index-in.docbook:2478 | ||
n | 6073 | #, fuzzy | n | ||
6074 | #| msgid "" | ||||
6075 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6076 | #| "classGtk_1_1TextView.html\">Reference</link>" | ||||
6077 | msgid "" | 6055 | msgid "" | ||
6078 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6056 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6079 | "classGtk_1_1ListView.html\">Reference</link>" | 6057 | "classGtk_1_1ListView.html\">Reference</link>" | ||
6080 | msgstr "" | 6058 | msgstr "" | ||
6081 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6059 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6082 | "classGtk_1_1TextView.html\">Referens</link>" | n | 6060 | "classGtk_1_1ListView.html\">Referens</link>" |
6083 | 6061 | ||||
6084 | #. (itstool) path: imageobject/imagedata | 6062 | #. (itstool) path: imageobject/imagedata | ||
6085 | #. This is a reference to an external file such as an image or video. When | 6063 | #. This is a reference to an external file such as an image or video. When | ||
6086 | #. the file changes, the md5 hash will change to let you know you need to | 6064 | #. the file changes, the md5 hash will change to let you know you need to | ||
6087 | #. update your localized copy. The msgstr is not used at all. Set it to | 6065 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6091 | msgctxt "_" | 6069 | msgctxt "_" | ||
6092 | msgid "" | 6070 | msgid "" | ||
6093 | "external ref='figures/listmodel_listview.png' " | 6071 | "external ref='figures/listmodel_listview.png' " | ||
6094 | "md5='5e49d159f43fdc5242998713bdedafc8'" | 6072 | "md5='5e49d159f43fdc5242998713bdedafc8'" | ||
6095 | msgstr "" | 6073 | msgstr "" | ||
n | 6096 | "external ref='figures/textview.png' md5='451e30f66cc32c4231bb6bc442cf0d2f'" | n | 6074 | "external ref='figures/listmodel_listview.png' " |
6075 | "md5='5e49d159f43fdc5242998713bdedafc8'" | ||||
6097 | 6076 | ||||
6098 | #. (itstool) path: section/para | 6077 | #. (itstool) path: section/para | ||
6099 | #: C/index-in.docbook:2490 | 6078 | #: C/index-in.docbook:2490 | ||
n | 6100 | #, fuzzy | n | ||
6101 | #| msgid "" | ||||
6102 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6103 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | ||||
6104 | msgid "" | 6079 | msgid "" | ||
6105 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6080 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6106 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | 6081 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | ||
6107 | msgstr "" | 6082 | msgstr "" | ||
6108 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6083 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6109 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6084 | "master/examples/book/listmodelviews/list_listview\">Källkod</link>" |
6110 | 6085 | ||||
6111 | #. (itstool) path: section/title | 6086 | #. (itstool) path: section/title | ||
6112 | #. (itstool) path: figure/title | 6087 | #. (itstool) path: figure/title | ||
6113 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | 6088 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | ||
n | 6114 | #, fuzzy | n | ||
6115 | #| msgid "Grid" | ||||
6116 | msgid "GridView" | 6089 | msgid "GridView" | ||
n | 6117 | msgstr "Grid" | n | 6090 | msgstr "GridView" |
6118 | 6091 | ||||
6119 | #. (itstool) path: section/para | 6092 | #. (itstool) path: section/para | ||
6120 | #: C/index-in.docbook:2498 | 6093 | #: C/index-in.docbook:2498 | ||
n | 6121 | #, fuzzy | n | ||
6122 | #| msgid "The <classname>Tag</classname> class has many other properties." | ||||
6123 | msgid "The <classname>GridView</classname> shows a 2-dimensional grid." | 6094 | msgid "The <classname>GridView</classname> shows a 2-dimensional grid." | ||
n | 6124 | msgstr "Klassen <classname>Tag</classname> har många andra egenskaper." | n | 6095 | msgstr "<classname>GridView</classname> visar ett 2-dimensionellt rutnät." |
6125 | 6096 | ||||
6126 | #. (itstool) path: section/para | 6097 | #. (itstool) path: section/para | ||
6127 | #: C/index-in.docbook:2502 | 6098 | #: C/index-in.docbook:2502 | ||
n | 6128 | #, fuzzy | n | ||
6129 | #| msgid "" | ||||
6130 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6131 | #| "classGtk_1_1Grid.html\">Reference</link>" | ||||
6132 | msgid "" | 6099 | msgid "" | ||
6133 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6100 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6134 | "classGtk_1_1GridView.html\">Reference</link>" | 6101 | "classGtk_1_1GridView.html\">Reference</link>" | ||
6135 | msgstr "" | 6102 | msgstr "" | ||
6136 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6103 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6137 | "classGtk_1_1Grid.html\">Referens</link>" | n | 6104 | "classGtk_1_1GridView.html\">Referens</link>" |
6138 | 6105 | ||||
6139 | #. (itstool) path: imageobject/imagedata | 6106 | #. (itstool) path: imageobject/imagedata | ||
6140 | #. This is a reference to an external file such as an image or video. When | 6107 | #. This is a reference to an external file such as an image or video. When | ||
6141 | #. the file changes, the md5 hash will change to let you know you need to | 6108 | #. the file changes, the md5 hash will change to let you know you need to | ||
6142 | #. update your localized copy. The msgstr is not used at all. Set it to | 6109 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6146 | msgctxt "_" | 6113 | msgctxt "_" | ||
6147 | msgid "" | 6114 | msgid "" | ||
6148 | "external ref='figures/listmodel_gridview.png' " | 6115 | "external ref='figures/listmodel_gridview.png' " | ||
6149 | "md5='0d87e962deacc452f32513f0d5e07e04'" | 6116 | "md5='0d87e962deacc452f32513f0d5e07e04'" | ||
6150 | msgstr "" | 6117 | msgstr "" | ||
n | 6151 | "external ref='figures/treeview_list.png' " | n | 6118 | "external ref='figures/listmodel_gridview.png' " |
6152 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6119 | "md5='0d87e962deacc452f32513f0d5e07e04'" | ||
6153 | 6120 | ||||
6154 | #. (itstool) path: section/para | 6121 | #. (itstool) path: section/para | ||
6155 | #: C/index-in.docbook:2514 | 6122 | #: C/index-in.docbook:2514 | ||
n | 6156 | #, fuzzy | n | ||
6157 | #| msgid "" | ||||
6158 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6159 | #| "tree/master/examples/book/textview/\">Source Code</link>" | ||||
6160 | msgid "" | 6123 | msgid "" | ||
6161 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6124 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6162 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | 6125 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | ||
6163 | msgstr "" | 6126 | msgstr "" | ||
6164 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6127 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6165 | "master/examples/book/textview/\">Källkod</link>" | n | 6128 | "master/examples/book/listmodelviews/gridview\">Källkod</link>" |
6166 | 6129 | ||||
6167 | #. (itstool) path: section/title | 6130 | #. (itstool) path: section/title | ||
6168 | #. (itstool) path: figure/title | 6131 | #. (itstool) path: figure/title | ||
6169 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | 6132 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | ||
6170 | msgid "ColumnView" | 6133 | msgid "ColumnView" | ||
n | 6171 | msgstr "" | n | 6134 | msgstr "ColumnView" |
6172 | 6135 | ||||
6173 | #. (itstool) path: section/para | 6136 | #. (itstool) path: section/para | ||
6174 | #: C/index-in.docbook:2522 | 6137 | #: C/index-in.docbook:2522 | ||
n | 6175 | #, fuzzy | n | ||
6176 | #| msgid "" | ||||
6177 | #| "The <classname>Gtk::TreeView</classname> widget can contain lists or " | ||||
6178 | #| "trees of data, in columns." | ||||
6179 | msgid "" | 6138 | msgid "" | ||
6180 | "The <classname>ColumnView</classname> shows a 1-dimensional list with one or " | 6139 | "The <classname>ColumnView</classname> shows a 1-dimensional list with one or " | ||
6181 | "more columns." | 6140 | "more columns." | ||
6182 | msgstr "" | 6141 | msgstr "" | ||
n | 6183 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | n | 6142 | "<classname>ColumnView</classname> visar en 1-dimensionell lista med en eller " |
6184 | "träd med data i kolumner." | 6143 | "flera kolumner." | ||
6185 | 6144 | ||||
6186 | #. (itstool) path: section/para | 6145 | #. (itstool) path: section/para | ||
6187 | #: C/index-in.docbook:2526 | 6146 | #: C/index-in.docbook:2526 | ||
n | 6188 | #, fuzzy | n | ||
6189 | #| msgid "" | ||||
6190 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6191 | #| "classGtk_1_1TreeView.html\">Reference</link>" | ||||
6192 | msgid "" | 6147 | msgid "" | ||
6193 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6148 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6194 | "classGtk_1_1ColumnView.html\">Reference</link>" | 6149 | "classGtk_1_1ColumnView.html\">Reference</link>" | ||
6195 | msgstr "" | 6150 | msgstr "" | ||
6196 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6151 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6197 | "classGtk_1_1TreeView.html\">Referens</link>" | n | 6152 | "classGtk_1_1ColumnView.html\">Referens</link>" |
6198 | 6153 | ||||
6199 | #. (itstool) path: imageobject/imagedata | 6154 | #. (itstool) path: imageobject/imagedata | ||
6200 | #. This is a reference to an external file such as an image or video. When | 6155 | #. This is a reference to an external file such as an image or video. When | ||
6201 | #. the file changes, the md5 hash will change to let you know you need to | 6156 | #. the file changes, the md5 hash will change to let you know you need to | ||
6202 | #. update your localized copy. The msgstr is not used at all. Set it to | 6157 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6206 | msgctxt "_" | 6161 | msgctxt "_" | ||
6207 | msgid "" | 6162 | msgid "" | ||
6208 | "external ref='figures/listmodel_columnview.png' " | 6163 | "external ref='figures/listmodel_columnview.png' " | ||
6209 | "md5='fd8445f1904773397a7252bf843e2c38'" | 6164 | "md5='fd8445f1904773397a7252bf843e2c38'" | ||
6210 | msgstr "" | 6165 | msgstr "" | ||
n | 6211 | "external ref='figures/aspectframe.png' md5='9d8aac9521789ed27036a97a22fedece'" | n | 6166 | "external ref='figures/listmodel_columnview.png' " |
6167 | "md5='fd8445f1904773397a7252bf843e2c38'" | ||||
6212 | 6168 | ||||
6213 | #. (itstool) path: section/para | 6169 | #. (itstool) path: section/para | ||
6214 | #: C/index-in.docbook:2538 | 6170 | #: C/index-in.docbook:2538 | ||
n | 6215 | #, fuzzy | n | ||
6216 | #| msgid "" | ||||
6217 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6218 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | ||||
6219 | msgid "" | 6171 | msgid "" | ||
6220 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6172 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6221 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | 6173 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | ||
6222 | msgstr "" | 6174 | msgstr "" | ||
6223 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6175 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6224 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6176 | "master/examples/book/listmodelviews/list_columnview\">Källkod</link>" |
6225 | 6177 | ||||
6226 | #. (itstool) path: section/title | 6178 | #. (itstool) path: section/title | ||
6227 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | 6179 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | ||
6228 | msgid "Sorting" | 6180 | msgid "Sorting" | ||
6229 | msgstr "Sortering" | 6181 | msgstr "Sortering" | ||
6230 | 6182 | ||||
6231 | #. (itstool) path: section/para | 6183 | #. (itstool) path: section/para | ||
6232 | #: C/index-in.docbook:2547 | 6184 | #: C/index-in.docbook:2547 | ||
n | n | 6185 | #, fuzzy | ||
6233 | msgid "" | 6186 | msgid "" | ||
6234 | "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</" | ||
6235 | "classname>. There are two ways to do this." | 6188 | "classname>. There are two ways to do this." | ||
6236 | 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." | ||||
6237 | 6192 | ||||
6238 | #. (itstool) path: listitem/para | 6193 | #. (itstool) path: listitem/para | ||
6239 | #: C/index-in.docbook:2552 | 6194 | #: C/index-in.docbook:2552 | ||
n | n | 6195 | #, fuzzy | ||
6240 | msgid "" | 6196 | msgid "" | ||
6241 | "In a <classname>ColumnView</classname>, get the <classname>ColumnViewSorter</" | 6197 | "In a <classname>ColumnView</classname>, get the <classname>ColumnViewSorter</" | ||
6242 | "classname> from the <classname>ColumnView</classname> and set it to the " | 6198 | "classname> from the <classname>ColumnView</classname> and set it to the " | ||
6243 | "<classname>SortListModel</classname>. Set a <classname>Sorter</classname> to " | 6199 | "<classname>SortListModel</classname>. Set a <classname>Sorter</classname> to " | ||
6244 | "each <classname>ColumnViewColumn</classname>. Then the user of your app can " | 6200 | "each <classname>ColumnViewColumn</classname>. Then the user of your app can " | ||
6245 | "sort the items by clicking on a column heading." | 6201 | "sort the items by clicking on a column heading." | ||
6246 | 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." | ||||
6247 | 6209 | ||||
6248 | #. (itstool) path: listitem/para | 6210 | #. (itstool) path: listitem/para | ||
6249 | #: C/index-in.docbook:2557 | 6211 | #: C/index-in.docbook:2557 | ||
6250 | #, fuzzy | 6212 | #, fuzzy | ||
6251 | #| msgid "" | 6213 | #| msgid "" | ||
6255 | msgid "" | 6217 | msgid "" | ||
6256 | "In any view, set a <classname>Sorter</classname> such as a " | 6218 | "In any view, set a <classname>Sorter</classname> such as a " | ||
6257 | "<classname>StringSorter</classname> or a <classname>NumericSorter</" | 6219 | "<classname>StringSorter</classname> or a <classname>NumericSorter</" | ||
6258 | "classname> to the <classname>SortListModel</classname>." | 6220 | "classname> to the <classname>SortListModel</classname>." | ||
6259 | msgstr "" | 6221 | msgstr "" | ||
n | 6260 | "Som nämns ovan har varje <classname>TextView</classname> en " | n | 6222 | "Ställ i valfri vy in en <classname>Sorter</classname> som en " |
6261 | "<classname>TextBuffer</classname>, och en eller flera <classname>TextView</" | 6223 | "<classname>StringSorter</classname> eller en <classname>NumericSorter</" | ||
6262 | "classname> kan dela på samma <classname>TextBuffer</classname>." | 6224 | "classname> till <classname>SortListModel</classname>-modellen." | ||
6263 | 6225 | ||||
6264 | #. (itstool) path: section/para | 6226 | #. (itstool) path: section/para | ||
6265 | #: C/index-in.docbook:2562 | 6227 | #: C/index-in.docbook:2562 | ||
n | 6266 | #, fuzzy | n | ||
6267 | #| msgid "" | ||||
6268 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6269 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | ||||
6270 | msgid "" | 6228 | msgid "" | ||
6271 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6229 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6272 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | 6230 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | ||
6273 | msgstr "" | 6231 | msgstr "" | ||
6274 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6232 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6275 | "classGtk_1_1TreeModel.html\">Referens</link>" | n | 6233 | "classGtk_1_1SortListModel.html\">Referens för SortListModel</link>" |
6276 | 6234 | ||||
6277 | #. (itstool) path: section/para | 6235 | #. (itstool) path: section/para | ||
6278 | #: C/index-in.docbook:2563 | 6236 | #: C/index-in.docbook:2563 | ||
n | 6279 | #, fuzzy | n | ||
6280 | #| msgid "" | ||||
6281 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6282 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||||
6283 | msgid "" | 6237 | msgid "" | ||
6284 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6238 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6285 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | 6239 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | ||
6286 | msgstr "" | 6240 | msgstr "" | ||
6287 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6241 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6288 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | n | 6242 | "classGtk_1_1StringSorter.html\">Referens för StringSorter</link>" |
6289 | 6243 | ||||
6290 | #. (itstool) path: section/para | 6244 | #. (itstool) path: section/para | ||
6291 | #: C/index-in.docbook:2564 | 6245 | #: C/index-in.docbook:2564 | ||
n | 6292 | #, fuzzy | n | ||
6293 | #| msgid "" | ||||
6294 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6295 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||||
6296 | msgid "" | 6246 | msgid "" | ||
6297 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6247 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6298 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | 6248 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | ||
6299 | msgstr "" | 6249 | msgstr "" | ||
6300 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6250 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6301 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | n | 6251 | "classGtk_1_1NumericSorter.html\">Referens för NumericSorter</link>" |
6302 | 6252 | ||||
6303 | #. (itstool) path: figure/title | 6253 | #. (itstool) path: figure/title | ||
6304 | #: C/index-in.docbook:2570 | 6254 | #: C/index-in.docbook:2570 | ||
6305 | msgid "SortListModel" | 6255 | msgid "SortListModel" | ||
n | 6306 | msgstr "" | n | 6256 | msgstr "SortListModel" |
6307 | 6257 | ||||
6308 | #. (itstool) path: imageobject/imagedata | 6258 | #. (itstool) path: imageobject/imagedata | ||
6309 | #. 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 | ||
6310 | #. 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 | ||
6311 | #. 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 | ||
6315 | msgctxt "_" | 6265 | msgctxt "_" | ||
6316 | msgid "" | 6266 | msgid "" | ||
6317 | "external ref='figures/listmodel_sort.png' " | 6267 | "external ref='figures/listmodel_sort.png' " | ||
6318 | "md5='9f6ee5fc4c2f03172fefc8027d97063e'" | 6268 | "md5='9f6ee5fc4c2f03172fefc8027d97063e'" | ||
6319 | msgstr "" | 6269 | msgstr "" | ||
n | 6320 | "external ref='figures/treeview_list.png' " | n | 6270 | "external ref='figures/listmodel_sort.png' " |
6321 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6271 | "md5='9f6ee5fc4c2f03172fefc8027d97063e'" | ||
6322 | 6272 | ||||
6323 | #. (itstool) path: section/para | 6273 | #. (itstool) path: section/para | ||
6324 | #: C/index-in.docbook:2576 | 6274 | #: C/index-in.docbook:2576 | ||
n | 6325 | #, fuzzy | n | ||
6326 | #| msgid "" | ||||
6327 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6328 | #| "tree/master/examples/book/textview/\">Source Code</link>" | ||||
6329 | msgid "" | 6275 | msgid "" | ||
6330 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6276 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6331 | "master/examples/book/listmodelviews/sort\">Source Code</link>" | 6277 | "master/examples/book/listmodelviews/sort\">Source Code</link>" | ||
6332 | msgstr "" | 6278 | msgstr "" | ||
6333 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6279 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6334 | "master/examples/book/textview/\">Källkod</link>" | n | 6280 | "master/examples/book/listmodelviews/sort\">Källkod</link>" |
6335 | 6281 | ||||
6336 | #. (itstool) path: section/title | 6282 | #. (itstool) path: section/title | ||
6337 | #: C/index-in.docbook:2582 | 6283 | #: C/index-in.docbook:2582 | ||
n | 6338 | #, fuzzy | n | ||
6339 | #| msgid "Filtering Files" | ||||
6340 | msgid "Filtering" | 6284 | msgid "Filtering" | ||
n | 6341 | msgstr "Filtrera filer" | n | 6285 | msgstr "Filtrering" |
6342 | 6286 | ||||
6343 | #. (itstool) path: section/para | 6287 | #. (itstool) path: section/para | ||
6344 | #: C/index-in.docbook:2584 | 6288 | #: C/index-in.docbook:2584 | ||
6345 | #, 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>." | ||||
6346 | msgid "" | 6295 | msgid "" | ||
6347 | "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</" | ||
6348 | "classname>. Set a <classname>Filter</classname> such as a " | 6297 | "classname>. Set a <classname>Filter</classname> such as a " | ||
6349 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | 6298 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | ||
6350 | "to the <classname>FilterListModel</classname>." | 6299 | "to the <classname>FilterListModel</classname>." | ||
6351 | msgstr "" | 6300 | msgstr "" | ||
6352 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 6301 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
6353 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 6302 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 6354 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 6303 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
6355 | "classname>." | 6304 | "CssProvider</classname>." | ||
6356 | 6305 | ||||
6357 | #. (itstool) path: section/para | 6306 | #. (itstool) path: section/para | ||
6358 | #: C/index-in.docbook:2590 | 6307 | #: C/index-in.docbook:2590 | ||
n | 6359 | #, fuzzy | n | ||
6360 | #| msgid "" | ||||
6361 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6362 | #| "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||||
6363 | msgid "" | 6308 | msgid "" | ||
6364 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6309 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6365 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | 6310 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | ||
6366 | msgstr "" | 6311 | msgstr "" | ||
6367 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6312 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6368 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | n | 6313 | "classGtk_1_1FilterListModel.html\">Referens för FilterListModel</link>" |
6369 | 6314 | ||||
6370 | #. (itstool) path: section/para | 6315 | #. (itstool) path: section/para | ||
6371 | #: C/index-in.docbook:2591 | 6316 | #: C/index-in.docbook:2591 | ||
n | 6372 | #, fuzzy | n | ||
6373 | #| msgid "" | ||||
6374 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6375 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6376 | msgid "" | 6317 | msgid "" | ||
6377 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6318 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6378 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | 6319 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | ||
6379 | msgstr "" | 6320 | msgstr "" | ||
6380 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6321 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6381 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 6322 | "classGtk_1_1StringFilter.html\">Referens för StringFilter</link>" |
6382 | 6323 | ||||
6383 | #. (itstool) path: section/para | 6324 | #. (itstool) path: section/para | ||
6384 | #: C/index-in.docbook:2592 | 6325 | #: C/index-in.docbook:2592 | ||
n | 6385 | #, fuzzy | n | ||
6386 | #| msgid "" | ||||
6387 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6388 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
6389 | msgid "" | 6326 | msgid "" | ||
6390 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6327 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6391 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | 6328 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | ||
6392 | msgstr "" | 6329 | msgstr "" | ||
6393 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6330 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6394 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | n | 6331 | "classGtk_1_1BoolFilter.html\">Referens för BoolFilter</link>" |
6395 | 6332 | ||||
6396 | #. (itstool) path: figure/title | 6333 | #. (itstool) path: figure/title | ||
6397 | #: C/index-in.docbook:2598 | 6334 | #: C/index-in.docbook:2598 | ||
6398 | msgid "FilterListModel" | 6335 | msgid "FilterListModel" | ||
n | 6399 | msgstr "" | n | 6336 | msgstr "FilterListModel" |
6400 | 6337 | ||||
6401 | #. (itstool) path: imageobject/imagedata | 6338 | #. (itstool) path: imageobject/imagedata | ||
6402 | #. 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 | ||
6403 | #. 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 | ||
6404 | #. 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 | ||
6408 | msgctxt "_" | 6345 | msgctxt "_" | ||
6409 | msgid "" | 6346 | msgid "" | ||
6410 | "external ref='figures/listmodel_filter.png' " | 6347 | "external ref='figures/listmodel_filter.png' " | ||
6411 | "md5='b1407e88c99b90c2ad7698ce30a46a1e'" | 6348 | "md5='b1407e88c99b90c2ad7698ce30a46a1e'" | ||
6412 | msgstr "" | 6349 | msgstr "" | ||
n | 6413 | "external ref='figures/recentfiles.png' md5='2ca280c98b5c8822ad48ca40f7ce0bb4'" | n | 6350 | "external ref='figures/listmodel_filter.png' " |
6351 | "md5='b1407e88c99b90c2ad7698ce30a46a1e'" | ||||
6414 | 6352 | ||||
6415 | #. (itstool) path: section/para | 6353 | #. (itstool) path: section/para | ||
6416 | #: C/index-in.docbook:2604 | 6354 | #: C/index-in.docbook:2604 | ||
n | 6417 | #, fuzzy | n | ||
6418 | #| msgid "" | ||||
6419 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6420 | #| "tree/master/examples/book/textview/\">Source Code</link>" | ||||
6421 | msgid "" | 6355 | msgid "" | ||
6422 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6356 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6423 | "master/examples/book/listmodelviews/filter\">Source Code</link>" | 6357 | "master/examples/book/listmodelviews/filter\">Source Code</link>" | ||
6424 | msgstr "" | 6358 | msgstr "" | ||
6425 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6359 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6426 | "master/examples/book/textview/\">Källkod</link>" | n | 6360 | "master/examples/book/listmodelviews/filter\">Källkod</link>" |
6427 | 6361 | ||||
6428 | #. (itstool) path: section/title | 6362 | #. (itstool) path: section/title | ||
6429 | #: C/index-in.docbook:2610 | 6363 | #: C/index-in.docbook:2610 | ||
n | 6430 | #, fuzzy | n | ||
6431 | #| msgid "Applying Tags" | ||||
6432 | msgid "Displaying Trees" | 6364 | msgid "Displaying Trees" | ||
n | 6433 | msgstr "Tillämpa taggar" | n | 6365 | msgstr "Visa träd" |
6434 | 6366 | ||||
6435 | #. (itstool) path: section/para | 6367 | #. (itstool) path: section/para | ||
6436 | #: C/index-in.docbook:2612 | 6368 | #: C/index-in.docbook:2612 | ||
n | n | 6369 | #, fuzzy | ||
6437 | msgid "" | 6370 | msgid "" | ||
6438 | "While the deprecated <classname>TreeView</classname> provided built-in " | 6371 | "While the deprecated <classname>TreeView</classname> provided built-in " | ||
6439 | "support for trees, the list widgets, and in particular <classname>Gio::" | 6372 | "support for trees, the list widgets, and in particular <classname>Gio::" | ||
6440 | "ListModel</classname>, do not. However, <application>gtkmm</application> " | 6373 | "ListModel</classname>, do not. However, <application>gtkmm</application> " | ||
6441 | "provides functionality to make trees look and behave like lists for the " | 6374 | "provides functionality to make trees look and behave like lists for the " | ||
6442 | "people who still want to display lists. This is achieved by using the " | 6375 | "people who still want to display lists. This is achieved by using the " | ||
6443 | "<classname>TreeListModel</classname> to flatten a tree into a list. The " | 6376 | "<classname>TreeListModel</classname> to flatten a tree into a list. The " | ||
6444 | "<classname>TreeExpander</classname> widget can then be used inside a " | 6377 | "<classname>TreeExpander</classname> widget can then be used inside a " | ||
6445 | "listitem to allow users to expand and collapse rows." | 6378 | "listitem to allow users to expand and collapse rows." | ||
6446 | msgstr "" | 6379 | msgstr "" | ||
n | n | 6380 | "Medan den föråldrade <classname>TreeView</classname> tillhandahöll inbyggt " | ||
6381 | "stöd för träd så gör listkomponenterna, och i synnerhet <classname>Gio::" | ||||
6382 | "ListModel</classname>, inte det. <application>gtkmm</application> " | ||||
6383 | "tillhandahåller dock funktionalitet för att få träd att se ut och uppföra " | ||||
6384 | "sig som listor för de som fortfarande vill visa listor. Detta åstadkoms " | ||||
6385 | "genom att använda <classname>TreeListModel</classname>-modellen för att " | ||||
6386 | "platta ut ett träd till en lista. <classname>TreeExpander</classname>-" | ||||
6387 | "komponenten kan sedan användas inuti ett listobjekt för att låta användare " | ||||
6388 | "expandera och fälla ihop rader." | ||||
6447 | 6389 | ||||
6448 | #. (itstool) path: section/para | 6390 | #. (itstool) path: section/para | ||
6449 | #: C/index-in.docbook:2622 | 6391 | #: C/index-in.docbook:2622 | ||
n | 6450 | #, fuzzy | n | ||
6451 | #| msgid "" | ||||
6452 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6453 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||||
6454 | msgid "" | 6392 | msgid "" | ||
6455 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6393 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6456 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | 6394 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | ||
6457 | msgstr "" | 6395 | msgstr "" | ||
6458 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6396 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6459 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | n | 6397 | "classGtk_1_1TreeListModel.html\">Referens för TreeListModel</link>" |
6460 | 6398 | ||||
6461 | #. (itstool) path: section/para | 6399 | #. (itstool) path: section/para | ||
6462 | #: C/index-in.docbook:2623 | 6400 | #: C/index-in.docbook:2623 | ||
n | 6463 | #, fuzzy | n | ||
6464 | #| msgid "" | ||||
6465 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6466 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||||
6467 | msgid "" | 6401 | msgid "" | ||
6468 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6402 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6469 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | 6403 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | ||
6470 | msgstr "" | 6404 | msgstr "" | ||
6471 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6405 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6472 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | n | 6406 | "classGtk_1_1TreeExpander.html\">Referens för TreeExpander</link>" |
6473 | 6407 | ||||
6474 | #. (itstool) path: figure/title | 6408 | #. (itstool) path: figure/title | ||
6475 | #: C/index-in.docbook:2629 | 6409 | #: C/index-in.docbook:2629 | ||
n | 6476 | #, fuzzy | n | ||
6477 | msgid "TreeListModel" | 6410 | msgid "TreeListModel" | ||
n | 6478 | msgstr "Modellen" | n | 6411 | msgstr "TreeListModel" |
6479 | 6412 | ||||
6480 | #. (itstool) path: imageobject/imagedata | 6413 | #. (itstool) path: imageobject/imagedata | ||
6481 | #. This is a reference to an external file such as an image or video. When | 6414 | #. This is a reference to an external file such as an image or video. When | ||
6482 | #. the file changes, the md5 hash will change to let you know you need to | 6415 | #. the file changes, the md5 hash will change to let you know you need to | ||
6483 | #. update your localized copy. The msgstr is not used at all. Set it to | 6416 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
6487 | msgctxt "_" | 6420 | msgctxt "_" | ||
6488 | msgid "" | 6421 | msgid "" | ||
6489 | "external ref='figures/listmodel_tree.png' " | 6422 | "external ref='figures/listmodel_tree.png' " | ||
6490 | "md5='656307ee78c8fd9ac379f2a0d01b8a81'" | 6423 | "md5='656307ee78c8fd9ac379f2a0d01b8a81'" | ||
6491 | msgstr "" | 6424 | msgstr "" | ||
n | 6492 | "external ref='figures/notebook.png' md5='b46c25388d4c250b0ab737f71f82d81b'" | n | 6425 | "external ref='figures/listmodel_tree.png' " |
6426 | "md5='656307ee78c8fd9ac379f2a0d01b8a81'" | ||||
6493 | 6427 | ||||
6494 | #. (itstool) path: section/para | 6428 | #. (itstool) path: section/para | ||
6495 | #: C/index-in.docbook:2635 | 6429 | #: C/index-in.docbook:2635 | ||
n | 6496 | #, fuzzy | n | ||
6497 | #| msgid "" | ||||
6498 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
6499 | #| "tree/master/examples/book/treeview/tree/\">Source Code</link>" | ||||
6500 | msgid "" | 6430 | msgid "" | ||
6501 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6431 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6502 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | 6432 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | ||
6503 | msgstr "" | 6433 | msgstr "" | ||
6504 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6434 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6505 | "master/examples/book/treeview/tree/\">Källkod</link>" | n | 6435 | "master/examples/book/listmodelviews/tree_columnview\">Källkod</link>" |
6506 | 6436 | ||||
6507 | #. (itstool) path: chapter/title | 6437 | #. (itstool) path: chapter/title | ||
6508 | #: C/index-in.docbook:2643 | 6438 | #: C/index-in.docbook:2643 | ||
6509 | msgid "The TreeView widget" | 6439 | msgid "The TreeView widget" | ||
6510 | msgstr "TreeView-komponenten" | 6440 | msgstr "TreeView-komponenten" | ||
6511 | 6441 | ||||
6512 | #. (itstool) path: note/para | 6442 | #. (itstool) path: note/para | ||
6513 | #: C/index-in.docbook:2645 | 6443 | #: C/index-in.docbook:2645 | ||
n | 6514 | #, fuzzy | n | ||
6515 | #| msgid "" | ||||
6516 | #| "The <classname>FileChooserDialog</classname> (deprecated since " | ||||
6517 | #| "<application>gtkmm</application> 4.10) and <classname>FileDialog</" | ||||
6518 | #| "classname> (available since <application>gtkmm</application> 4.10) are " | ||||
6519 | #| "suitable for use with \"Open\" or \"Save\" menu items." | ||||
6520 | msgid "" | 6444 | msgid "" | ||
6521 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | 6445 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | ||
6522 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | 6446 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | ||
6523 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | 6447 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | ||
6524 | msgstr "" | 6448 | msgstr "" | ||
n | 6525 | "<classname>FileChooserDialog</classname> (föråldrad sedan " | n | 6449 | "<classname>Gtk::TreeView</classname> är föråldrad sedan <application>gtkmm</" |
6526 | "<application>gtkmm</application> 4.10) och <classname>FileDialog</classname> " | 6450 | "application> 4.10. Använd i ny kod <classname>Gtk::ListView</classname> för " | ||
6527 | "(tillgänglig sedan <application>gtkmm</application> 4.10) är lämpliga för " | 6451 | "listor och <classname>Gtk::ColumnView</classname> för tabellistor." | ||
6528 | "användning med menyobjekten ”Öppna” eller ”Spara”." | ||||
6529 | 6452 | ||||
6530 | #. (itstool) path: chapter/para | 6453 | #. (itstool) path: chapter/para | ||
6531 | #: C/index-in.docbook:2650 | 6454 | #: C/index-in.docbook:2650 | ||
6532 | msgid "" | 6455 | msgid "" | ||
6533 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | 6456 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | ||
6536 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | 6459 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | ||
6537 | "träd med data i kolumner." | 6460 | "träd med data i kolumner." | ||
6538 | 6461 | ||||
6539 | #. (itstool) path: section/title | 6462 | #. (itstool) path: section/title | ||
6540 | #: C/index-in.docbook:2656 | 6463 | #: C/index-in.docbook:2656 | ||
n | 6541 | #, fuzzy | n | ||
6542 | msgid "The Model" | 6464 | msgid "The Model" | ||
6543 | msgstr "Modellen" | 6465 | msgstr "Modellen" | ||
6544 | 6466 | ||||
6545 | #. (itstool) path: section/para | 6467 | #. (itstool) path: section/para | ||
6546 | #: C/index-in.docbook:2658 | 6468 | #: C/index-in.docbook:2658 | ||
7873 | msgid "Drag and Drop" | 7795 | msgid "Drag and Drop" | ||
7874 | msgstr "Dra och släpp" | 7796 | msgstr "Dra och släpp" | ||
7875 | 7797 | ||||
7876 | #. (itstool) path: section/para | 7798 | #. (itstool) path: section/para | ||
7877 | #: C/index-in.docbook:3197 | 7799 | #: C/index-in.docbook:3197 | ||
n | 7878 | #, fuzzy | n | ||
7879 | msgid "" | 7800 | msgid "" | ||
7880 | "<classname>Gtk::TreeView</classname> already implements simple drag-and-drop " | 7801 | "<classname>Gtk::TreeView</classname> already implements simple drag-and-drop " | ||
7881 | "when used with the <classname>Gtk::ListStore</classname> or <classname>Gtk::" | 7802 | "when used with the <classname>Gtk::ListStore</classname> or <classname>Gtk::" | ||
7882 | "TreeStore</classname> models (since gtk 4.8). If necessary, it also allows " | 7803 | "TreeStore</classname> models (since gtk 4.8). If necessary, it also allows " | ||
7883 | "you to implement more complex behavior when items are dragged and dropped, " | 7804 | "you to implement more complex behavior when items are dragged and dropped, " | ||
7884 | "using the normal <link linkend=\"chapter-draganddrop\">Drag and Drop</link> " | 7805 | "using the normal <link linkend=\"chapter-draganddrop\">Drag and Drop</link> " | ||
7885 | "API." | 7806 | "API." | ||
7886 | msgstr "" | 7807 | msgstr "" | ||
7887 | "<classname>Gtk::TreeView</classname> implementerar redan enkelt dra-och-" | 7808 | "<classname>Gtk::TreeView</classname> implementerar redan enkelt dra-och-" | ||
7888 | "släpp när den används med <classname>Gtk::ListStore</classname>- eller " | 7809 | "släpp när den används med <classname>Gtk::ListStore</classname>- eller " | ||
n | 7889 | "<classname>Gtk::TreeStore</classname>-modellerna. Om nödvändigt låter den " | n | 7810 | "<classname>Gtk::TreeStore</classname>-modellerna (sedan gtk 4.8). Om " |
7890 | "dig också implementera mer komplext beteende när objekt dras och släpps, med " | 7811 | "nödvändigt låter den dig också implementera mer komplext beteende när objekt " | ||
7891 | "det vanliga <link linkend=\"chapter-draganddrop\">Dra och släpp</link>-API:t." | 7812 | "dras och släpps, med det vanliga <link linkend=\"chapter-draganddrop\">dra " | ||
7813 | "och släpp</link>-API:t." | ||||
7892 | 7814 | ||||
7893 | #. (itstool) path: section/title | 7815 | #. (itstool) path: section/title | ||
7894 | #: C/index-in.docbook:3206 | 7816 | #: C/index-in.docbook:3206 | ||
7895 | #, fuzzy | 7817 | #, fuzzy | ||
7896 | msgid "Reorderable rows" | 7818 | msgid "Reorderable rows" | ||
7932 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | 7854 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | ||
7933 | "<literal>true</literal> eller <literal>false</literal>." | 7855 | "<literal>true</literal> eller <literal>false</literal>." | ||
7934 | 7856 | ||||
7935 | #. (itstool) path: section/para | 7857 | #. (itstool) path: section/para | ||
7936 | #: C/index-in.docbook:3220 | 7858 | #: C/index-in.docbook:3220 | ||
n | 7937 | #, fuzzy | n | ||
7938 | msgid "This is demonstrated in the drag_and_drop example." | 7859 | msgid "This is demonstrated in the drag_and_drop example." | ||
7939 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | 7860 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | ||
7940 | 7861 | ||||
7941 | #. (itstool) path: section/title | 7862 | #. (itstool) path: section/title | ||
7942 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | 7863 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | ||
8186 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8107 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8187 | "master/examples/book/treeview/popup/\">Källkod</link>" | 8108 | "master/examples/book/treeview/popup/\">Källkod</link>" | ||
8188 | 8109 | ||||
8189 | #. (itstool) path: chapter/title | 8110 | #. (itstool) path: chapter/title | ||
8190 | #: C/index-in.docbook:3359 | 8111 | #: C/index-in.docbook:3359 | ||
n | 8191 | #, fuzzy | n | ||
8192 | #| msgid "The DrawingArea Widget" | ||||
8193 | msgid "The DropDown Widget" | 8112 | msgid "The DropDown Widget" | ||
n | 8194 | msgstr "DrawingArea-komponenten" | n | 8113 | msgstr "DropDown-komponenten" |
8195 | 8114 | ||||
8196 | #. (itstool) path: chapter/para | 8115 | #. (itstool) path: chapter/para | ||
8197 | #: C/index-in.docbook:3361 | 8116 | #: C/index-in.docbook:3361 | ||
8198 | msgid "" | 8117 | msgid "" | ||
8199 | "The <classname>DropDown</classname> widget is an alternative to the " | 8118 | "The <classname>DropDown</classname> widget is an alternative to the " | ||
8200 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | 8119 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | ||
8201 | "tree models, and the content is displayed using widgets instead of cell " | 8120 | "tree models, and the content is displayed using widgets instead of cell " | ||
8202 | "renderers." | 8121 | "renderers." | ||
8203 | msgstr "" | 8122 | msgstr "" | ||
n | n | 8123 | "Komponenten <classname>DropDown</classname> är ett alternativ till den " | ||
8124 | "föråldrade <classname>ComboBox</classname>. Den använder listmodeller i " | ||||
8125 | "stället för trädmodeller, och innehållet visas med komponenter i stället för " | ||||
8126 | "cellrenderare." | ||||
8204 | 8127 | ||||
8205 | #. (itstool) path: chapter/para | 8128 | #. (itstool) path: chapter/para | ||
8206 | #: C/index-in.docbook:3366 | 8129 | #: C/index-in.docbook:3366 | ||
8207 | #, fuzzy | 8130 | #, fuzzy | ||
8208 | #| msgid "" | 8131 | #| msgid "" | ||
8228 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | 8151 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | ||
8229 | "om inget av de tillgängliga valen passar." | 8152 | "om inget av de tillgängliga valen passar." | ||
8230 | 8153 | ||||
8231 | #. (itstool) path: chapter/para | 8154 | #. (itstool) path: chapter/para | ||
8232 | #: C/index-in.docbook:3373 | 8155 | #: C/index-in.docbook:3373 | ||
n | 8233 | #, fuzzy | n | ||
8234 | msgid "" | 8156 | msgid "" | ||
8235 | "The list is provided via a <classname>Gio::ListModel</classname>, and data " | 8157 | "The list is provided via a <classname>Gio::ListModel</classname>, and data " | ||
8236 | "from this model is added to the <classname>DropDown</classname>'s view with " | 8158 | "from this model is added to the <classname>DropDown</classname>'s view with " | ||
8237 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | 8159 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | ||
8238 | "This provides flexibility, but the <classname>StringList</classname> class " | 8160 | "This provides flexibility, but the <classname>StringList</classname> class " | ||
8239 | "provides a simpler text-based specialization in case that flexibility is not " | 8161 | "provides a simpler text-based specialization in case that flexibility is not " | ||
8240 | "required." | 8162 | "required." | ||
8241 | msgstr "" | 8163 | msgstr "" | ||
n | 8242 | "Listan tillhandahålls via en <classname>TreeModel</classname>, och kolumner " | n | 8164 | "Listan tillhandahålls via en <classname>Gio::ListModel</classname>, och data " |
8243 | "från denna modell läggs till vyn för ComboBox-komponenten med metoden " | 8165 | "från denna modell läggs till vyn för <classname>DropDown</classname>-" | ||
8244 | "<methodname>ComboBox::pack_start()</methodname>. Detta tillhandahåller " | 8166 | "komponenten med signalhanterare anslutna till en " | ||
8245 | "flexibilitet och typsäkerhet under kompilering, men <classname>ComboBoxText</" | 8167 | "<classname>SignalListItemFactory</classname>. Detta tillhandahåller " | ||
8246 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8168 | "flexibilitet, men <classname>StringList</classname>-klassen tillhandahåller " | ||
8247 | "den flexibiliteten inte behövs." | 8169 | "en enklare textbaserad specialisering om den flexibiliteten inte behövs." | ||
8248 | 8170 | ||||
8249 | #. (itstool) path: chapter/para | 8171 | #. (itstool) path: chapter/para | ||
8250 | #: C/index-in.docbook:3380 | 8172 | #: C/index-in.docbook:3380 | ||
n | 8251 | #, fuzzy | n | ||
8252 | #| msgid "" | ||||
8253 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
8254 | #| "classGtk_1_1Box.html\">Reference</link>" | ||||
8255 | msgid "" | 8173 | msgid "" | ||
8256 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8174 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8257 | "classGtk_1_1DropDown.html\">Reference</link>" | 8175 | "classGtk_1_1DropDown.html\">Reference</link>" | ||
8258 | msgstr "" | 8176 | msgstr "" | ||
8259 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8177 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 8260 | "classGtk_1_1Box.html\">Referens</link>" | n | 8178 | "classGtk_1_1DropDown.html\">Referens</link>" |
8261 | 8179 | ||||
8262 | #. (itstool) path: section/title | 8180 | #. (itstool) path: section/title | ||
8263 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | 8181 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | ||
n | 8264 | #, fuzzy | n | ||
8265 | msgid "The model" | 8182 | msgid "The model" | ||
8266 | msgstr "Modellen" | 8183 | msgstr "Modellen" | ||
8267 | 8184 | ||||
8268 | #. (itstool) path: section/para | 8185 | #. (itstool) path: section/para | ||
8269 | #: C/index-in.docbook:3385 | 8186 | #: C/index-in.docbook:3385 | ||
8270 | #, fuzzy | 8187 | #, fuzzy | ||
n | 8271 | #| msgid "" | n | ||
8272 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
8273 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
8274 | #| "ComboBox class with one integer and one text column, like so:" | ||||
8275 | msgid "" | 8188 | msgid "" | ||
8276 | "The model for a <classname>DropDown</classname> can be defined and filled " | 8189 | "The model for a <classname>DropDown</classname> can be defined and filled " | ||
8277 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | 8190 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | ||
8278 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | 8191 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | ||
8279 | "For instance, you might have a <classname>DropDown</classname> with one " | 8192 | "For instance, you might have a <classname>DropDown</classname> with one " | ||
8280 | "integer and one text column, like so:" | 8193 | "integer and one text column, like so:" | ||
8281 | msgstr "" | 8194 | msgstr "" | ||
n | 8282 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 8195 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
8283 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 8196 | "exakt som för en <classname>ListView</classname> eller en " | ||
8284 | "ett heltal och en textkolumn, så här:" | 8197 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
8198 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
8199 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
8285 | 8200 | ||||
8286 | #. (itstool) path: section/para | 8201 | #. (itstool) path: section/para | ||
8287 | #: C/index-in.docbook:3413 | 8202 | #: C/index-in.docbook:3413 | ||
n | n | 8203 | #, fuzzy | ||
8288 | msgid "" | 8204 | msgid "" | ||
8289 | "After appending rows to this model, you should provide the model to the " | 8205 | "After appending rows to this model, you should provide the model to the " | ||
8290 | "<classname>DropDown</classname> with the <methodname>set_model()</" | 8206 | "<classname>DropDown</classname> with the <methodname>set_model()</" | ||
8291 | "methodname> method. Unless you use the <classname>StringList</classname> " | 8207 | "methodname> method. Unless you use the <classname>StringList</classname> " | ||
8292 | "model, you also need to set a <classname>ListItemFactory</classname> with " | 8208 | "model, you also need to set a <classname>ListItemFactory</classname> with " | ||
8294 | "dropdown menu to look different from the item in the <classname>DropDown</" | 8210 | "dropdown menu to look different from the item in the <classname>DropDown</" | ||
8295 | "classname> widget, you also need to set a separate " | 8211 | "classname> widget, you also need to set a separate " | ||
8296 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | 8212 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | ||
8297 | "methodname>." | 8213 | "methodname>." | ||
8298 | msgstr "" | 8214 | msgstr "" | ||
n | n | 8215 | "Efter att ha lagt till rader till denna modell bör du tillhandahålla " | ||
8216 | "modellen till vår <classname>DropDown</classname> med metoden " | ||||
8217 | "<methodname>set_model()</methodname>. Om du inte använder modellen " | ||||
8218 | "<classname>StringList</classname> så kommer du också behöva ställa in en " | ||||
8219 | "<classname>ListItemFactory</classname> med <methodname>set_factory()</" | ||||
8220 | "methodname>. Om du vill att objekten i rullgardinsmenyn ska se annorlunda " | ||||
8221 | "från objektet i <classname>DropDown</classname>-komponenten så behöver du " | ||||
8222 | "också ställa in en separat <classname>ListItemFactory</classname> med " | ||||
8223 | "<methodname>set_list_factory()</methodname>." | ||||
8299 | 8224 | ||||
8300 | #. (itstool) path: section/title | 8225 | #. (itstool) path: section/title | ||
8301 | #: C/index-in.docbook:3424 | 8226 | #: C/index-in.docbook:3424 | ||
n | 8302 | #, fuzzy | n | ||
8303 | msgid "The selected item" | 8227 | msgid "The selected item" | ||
n | 8304 | msgstr "De markerade raderna" | n | 8228 | msgstr "Det valda objektet" |
8305 | 8229 | ||||
8306 | #. (itstool) path: section/para | 8230 | #. (itstool) path: section/para | ||
8307 | #: C/index-in.docbook:3426 | 8231 | #: C/index-in.docbook:3426 | ||
8308 | #, fuzzy | 8232 | #, fuzzy | ||
8309 | msgid "" | 8233 | msgid "" | ||
8313 | "get the selected data from the model. For instance, you might read an " | 8237 | "get the selected data from the model. For instance, you might read an " | ||
8314 | "integer ID value from the model, even though you have chosen only to show " | 8238 | "integer ID value from the model, even though you have chosen only to show " | ||
8315 | "the human-readable description in the <classname>DropDown</classname>. For " | 8239 | "the human-readable description in the <classname>DropDown</classname>. For " | ||
8316 | "instance:" | 8240 | "instance:" | ||
8317 | msgstr "" | 8241 | msgstr "" | ||
n | 8318 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | n | 8242 | "För att upptäcka vilket objekt, om något, som användaren har valt från vår " |
8319 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | 8243 | "<classname>DropDown</classname>, anropa <methodname>DropDown::" | ||
8320 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8244 | "get_selected()</methodname>. Detta returnerar en <type>unsigned int</type> " | ||
8321 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | 8245 | "som du kan använda för att få valda data från modellen. Exempelvis kanske du " | ||
8322 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | 8246 | "läser ett heltals-ID-värde från modellen, även om du valt att bara visa den " | ||
8323 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | 8247 | "mänskligt läsbara beskrivningen i vår <classname>DropDown</classname>. Till " | ||
8324 | "ComboBox. Till exempel:" | 8248 | "exempel:" | ||
8325 | 8249 | ||||
8326 | #. (itstool) path: section/programlisting | 8250 | #. (itstool) path: section/programlisting | ||
8327 | #: C/index-in.docbook:3433 | 8251 | #: C/index-in.docbook:3433 | ||
8328 | #, fuzzy, no-wrap | 8252 | #, fuzzy, no-wrap | ||
8329 | msgid "" | 8253 | msgid "" | ||
8336 | "}\n" | 8260 | "}\n" | ||
8337 | "else\n" | 8261 | "else\n" | ||
8338 | " set_nothing_chosen(); // Your own function.\n" | 8262 | " set_nothing_chosen(); // Your own function.\n" | ||
8339 | "</code>" | 8263 | "</code>" | ||
8340 | msgstr "" | 8264 | msgstr "" | ||
n | 8341 | "Gtk::TreeModel::iterator iter = m_Combo.get_active();\n" | n | 8265 | "unsigned int sel = m_DropDown.get_selected();\n" |
8342 | "if(iter)\n" | 8266 | "if (sel != GTK_INVALID_LIST_POSITION)\n" | ||
8343 | "{\n" | 8267 | "{\n" | ||
n | 8344 | " auto row = *iter;\n" | n | ||
8345 | "\n" | ||||
8346 | " //Få data för markerad rad, med vår kunskap\n" | 8268 | " // Få data för markerad rad, med vår kunskap om listmodellen:\n" | ||
8347 | " //om trädmodellen:\n" | 8269 | " auto id = m_ListStore->get_item(sel).m_col_id;\n" | ||
8348 | " auto id = row[m_Columns.m_col_id];\n" | ||||
8349 | " set_something_id_chosen(id); //Din egen funktion.\n" | 8270 | " set_some_id_chosen(id); // Din egen funktion.\n" | ||
8350 | "}\n" | 8271 | "}\n" | ||
8351 | "else\n" | 8272 | "else\n" | ||
n | 8352 | " set_nothing_chosen(); //Din egen funktion." | n | 8273 | " set_nothing_chosen(); // Din egen funktion.\n" |
8353 | 8274 | ||||
8354 | #. (itstool) path: section/title | 8275 | #. (itstool) path: section/title | ||
8355 | #: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658 | 8276 | #: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658 | ||
8356 | msgid "Responding to changes" | 8277 | msgid "Responding to changes" | ||
8357 | msgstr "Svara på ändringar" | 8278 | msgstr "Svara på ändringar" | ||
8363 | "You might need to react to every change of selection in the " | 8284 | "You might need to react to every change of selection in the " | ||
8364 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | 8285 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | ||
8365 | "so, you should connect to <methodname>property_selected().signal_changed()</" | 8286 | "so, you should connect to <methodname>property_selected().signal_changed()</" | ||
8366 | "methodname>. For instance:" | 8287 | "methodname>. For instance:" | ||
8367 | msgstr "" | 8288 | msgstr "" | ||
n | 8368 | "Du behöver reagera på varje ändring av val i vår ComboBox, till exempel för " | n | 8289 | "Du kan behöva reagera på varje ändring av val i vår <classname>DropDown</" |
8369 | "att uppdatera andra komponenter. För att göra så bör du hantera signalen " | 8290 | "classname>, till exempel för att uppdatera andra komponenter. För att göra " | ||
8370 | "<literal>changed</literal>. Till exempel:" | 8291 | "så bör du ansluta till <methodname>property_selected().signal_changed()</" | ||
8292 | "methodname>. Till exempel:" | ||||
8371 | 8293 | ||||
8372 | #. (itstool) path: section/programlisting | 8294 | #. (itstool) path: section/programlisting | ||
8373 | #: C/index-in.docbook:3452 | 8295 | #: C/index-in.docbook:3452 | ||
8374 | #, fuzzy, no-wrap | 8296 | #, fuzzy, no-wrap | ||
8375 | #| msgid "" | 8297 | #| msgid "" | ||
n | 8376 | #| "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8298 | #| "m_DropDown.property_selected().signal_changed().connect(\n" |
8377 | #| " &ExampleWindow::on_combo_changed) );" | 8299 | #| " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8378 | msgid "" | 8300 | msgid "" | ||
8379 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | 8301 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | ||
8380 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | 8302 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8381 | "</code>" | 8303 | "</code>" | ||
8382 | msgstr "" | 8304 | msgstr "" | ||
n | 8383 | "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8305 | "m_DropDown.property_selected().signal_changed().connect(\n" |
8384 | " &ExampleWindow::on_combo_changed) );" | 8306 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8385 | 8307 | ||||
8386 | #. (itstool) path: section/title | 8308 | #. (itstool) path: section/title | ||
8387 | #: C/index-in.docbook:3458 | 8309 | #: C/index-in.docbook:3458 | ||
n | 8388 | #, fuzzy | n | ||
8389 | msgid "Simple String Example" | 8310 | msgid "Simple String Example" | ||
n | 8390 | msgstr "Enkelt inmatningsexempel" | n | 8311 | msgstr "Enkelt strängexempel" |
8391 | 8312 | ||||
8392 | #. (itstool) path: figure/title | 8313 | #. (itstool) path: figure/title | ||
8393 | #: C/index-in.docbook:3461 | 8314 | #: C/index-in.docbook:3461 | ||
8394 | msgid "Simple DropDown" | 8315 | msgid "Simple DropDown" | ||
n | 8395 | msgstr "" | n | 8316 | msgstr "Enkel DropDown" |
8396 | 8317 | ||||
8397 | #. (itstool) path: imageobject/imagedata | 8318 | #. (itstool) path: imageobject/imagedata | ||
8398 | #. This is a reference to an external file such as an image or video. When | 8319 | #. This is a reference to an external file such as an image or video. When | ||
8399 | #. the file changes, the md5 hash will change to let you know you need to | 8320 | #. the file changes, the md5 hash will change to let you know you need to | ||
8400 | #. update your localized copy. The msgstr is not used at all. Set it to | 8321 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8404 | msgctxt "_" | 8325 | msgctxt "_" | ||
8405 | msgid "" | 8326 | msgid "" | ||
8406 | "external ref='figures/dropdown_string.png' " | 8327 | "external ref='figures/dropdown_string.png' " | ||
8407 | "md5='b1689605c645e1ada3040f6df3335c56'" | 8328 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||
8408 | msgstr "" | 8329 | msgstr "" | ||
n | 8409 | "external ref='figures/printing.png' md5='d4565328475ec89edf5f2230cb3fc5d0'" | n | 8330 | "external ref='figures/dropdown_string.png' " |
8331 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||||
8410 | 8332 | ||||
8411 | #. (itstool) path: section/para | 8333 | #. (itstool) path: section/para | ||
8412 | #: C/index-in.docbook:3467 | 8334 | #: C/index-in.docbook:3467 | ||
n | 8413 | #, fuzzy | n | ||
8414 | #| msgid "" | ||||
8415 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8416 | #| "tree/master/examples/book/entry/icon\">Source Code</link>" | ||||
8417 | msgid "" | 8335 | msgid "" | ||
8418 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8336 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8419 | "master/examples/book/dropdown/string\">Source Code</link>" | 8337 | "master/examples/book/dropdown/string\">Source Code</link>" | ||
8420 | msgstr "" | 8338 | msgstr "" | ||
8421 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8339 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8422 | "master/examples/book/entry/icon\">Källkod</link>" | n | 8340 | "master/examples/book/dropdown/string\">Källkod</link>" |
8423 | 8341 | ||||
8424 | #. (itstool) path: section/title | 8342 | #. (itstool) path: section/title | ||
8425 | #: C/index-in.docbook:3471 | 8343 | #: C/index-in.docbook:3471 | ||
8426 | msgid "Examples with a Search Entry" | 8344 | msgid "Examples with a Search Entry" | ||
n | 8427 | msgstr "" | n | 8345 | msgstr "Exempel med ett sökfält" |
8428 | 8346 | ||||
8429 | #. (itstool) path: section/para | 8347 | #. (itstool) path: section/para | ||
8430 | #: C/index-in.docbook:3473 | 8348 | #: C/index-in.docbook:3473 | ||
n | 8431 | #, fuzzy | n | ||
8432 | #| msgid "" | ||||
8433 | #| "<classname>Gtk::Grid</classname> arranges its child widgets in rows and " | ||||
8434 | #| "columns. Use <methodname>attach()</methodname> and " | ||||
8435 | #| "<methodname>attach_next_to()</methodname> to insert child widgets." | ||||
8436 | msgid "" | 8349 | msgid "" | ||
8437 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | 8350 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | ||
8438 | "search for items in the list. Call <methodname>set_enable_search()</" | 8351 | "search for items in the list. Call <methodname>set_enable_search()</" | ||
8439 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | 8352 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | ||
8440 | msgstr "" | 8353 | msgstr "" | ||
n | 8441 | "<classname>Gtk::Grid</classname> arrangerar sina underordnade komponenter i " | n | 8354 | "Rullgardinsmenyn kan innehålla ett <classname>Entry</classname> som tillåter " |
8442 | "rader och kolumner. Använd <methodname>attach()</methodname> och " | 8355 | "sökning efter objekt i listan. Anropa <methodname>set_enable_search()</" | ||
8443 | "<methodname>attach_next_to()</methodname> för att infoga underordnade " | 8356 | "methodname> och <methodname>set_expression()</methodname>. Till exempel:" | ||
8444 | "komponenter." | ||||
8445 | 8357 | ||||
8446 | #. (itstool) path: section/programlisting | 8358 | #. (itstool) path: section/programlisting | ||
8447 | #: C/index-in.docbook:3477 | 8359 | #: C/index-in.docbook:3477 | ||
n | 8448 | #, no-wrap | n | 8360 | #, fuzzy, no-wrap |
8361 | #| msgid "" | ||||
8362 | #| "m_DropDown.set_enable_search(true);\n" | ||||
8363 | #| "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||||
8364 | #| " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||||
8365 | #| "m_DropDown.set_expression(expression);\n" | ||||
8366 | #| "\n" | ||||
8367 | #| "//-------\n" | ||||
8368 | #| "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr<Glib::Object | ||||
> | Base>& item)\n" | ||||
8369 | #| "{\n" | ||||
8370 | #| " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||||
8371 | #| " return col ? col->m_col_name : \"\";\n" | ||||
8372 | #| "}\n" | ||||
8449 | msgid "" | 8373 | msgid "" | ||
8450 | "<code>m_DropDown.set_enable_search(true);\n" | 8374 | "<code>m_DropDown.set_enable_search(true);\n" | ||
8451 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | 8375 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||
8452 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | 8376 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||
8453 | "m_DropDown.set_expression(expression);\n" | 8377 | "m_DropDown.set_expression(expression);\n" | ||
8458 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | 8382 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||
8459 | " return col ? col->m_col_name : \"\";\n" | 8383 | " return col ? col->m_col_name : \"\";\n" | ||
8460 | "}\n" | 8384 | "}\n" | ||
8461 | "</code>" | 8385 | "</code>" | ||
8462 | msgstr "" | 8386 | msgstr "" | ||
n | n | 8387 | "m_DropDown.set_enable_search(true);\n" | ||
8388 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||||
8389 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||||
8390 | "m_DropDown.set_expression(expression);\n" | ||||
8391 | "\n" | ||||
8392 | "//-------\n" | ||||
8393 | "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr<Glib::ObjectBas | ||||
> | e>& item)\n" | ||||
8394 | "{\n" | ||||
8395 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||||
8396 | " return col ? col->m_col_name : \"\";\n" | ||||
8397 | "}\n" | ||||
8463 | 8398 | ||||
8464 | #. (itstool) path: section/title | 8399 | #. (itstool) path: section/title | ||
8465 | #: C/index-in.docbook:3491 | 8400 | #: C/index-in.docbook:3491 | ||
n | 8466 | #, fuzzy | n | ||
8467 | #| msgid "Simple Example" | ||||
8468 | msgid "String Example" | 8401 | msgid "String Example" | ||
n | 8469 | msgstr "Enkelt exempel" | n | 8402 | msgstr "Strängexempel" |
8470 | 8403 | ||||
8471 | #. (itstool) path: figure/title | 8404 | #. (itstool) path: figure/title | ||
8472 | #: C/index-in.docbook:3494 | 8405 | #: C/index-in.docbook:3494 | ||
8473 | msgid "Search String" | 8406 | msgid "Search String" | ||
n | 8474 | msgstr "" | n | 8407 | msgstr "Sök sträng" |
8475 | 8408 | ||||
8476 | #. (itstool) path: imageobject/imagedata | 8409 | #. (itstool) path: imageobject/imagedata | ||
8477 | #. This is a reference to an external file such as an image or video. When | 8410 | #. This is a reference to an external file such as an image or video. When | ||
8478 | #. the file changes, the md5 hash will change to let you know you need to | 8411 | #. the file changes, the md5 hash will change to let you know you need to | ||
8479 | #. update your localized copy. The msgstr is not used at all. Set it to | 8412 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8487 | msgctxt "_" | 8420 | msgctxt "_" | ||
8488 | msgid "" | 8421 | msgid "" | ||
8489 | "external ref='figures/dropdown_search_string.png' " | 8422 | "external ref='figures/dropdown_search_string.png' " | ||
8490 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | 8423 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8491 | msgstr "" | 8424 | msgstr "" | ||
n | 8492 | "external ref='figures/drawingarea_arcs.png' " | n | 8425 | "external ref='figures/dropdown_search_string.png' " |
8493 | "md5='d94b40e33b9fab7ea9e2c870b97fcf0c'" | 8426 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8494 | 8427 | ||||
8495 | #. (itstool) path: section/para | 8428 | #. (itstool) path: section/para | ||
8496 | #: C/index-in.docbook:3500 | 8429 | #: C/index-in.docbook:3500 | ||
n | 8497 | #, fuzzy | n | ||
8498 | #| msgid "" | ||||
8499 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8500 | #| "tree/master/examples/book/drawingarea/arcs\">Source Code</link>" | ||||
8501 | msgid "" | 8430 | msgid "" | ||
8502 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8431 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8503 | "master/examples/book/dropdown/search_string\">Source Code</link>" | 8432 | "master/examples/book/dropdown/search_string\">Source Code</link>" | ||
8504 | msgstr "" | 8433 | msgstr "" | ||
8505 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8434 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8506 | "master/examples/book/drawingarea/arcs\">Källkod</link>" | n | 8435 | "master/examples/book/dropdown/search_string\">Källkod</link>" |
8507 | 8436 | ||||
8508 | #. (itstool) path: section/title | 8437 | #. (itstool) path: section/title | ||
8509 | #: C/index-in.docbook:3504 | 8438 | #: C/index-in.docbook:3504 | ||
n | 8510 | #, fuzzy | n | ||
8511 | #| msgid "Full Example" | ||||
8512 | msgid "Font Example" | 8439 | msgid "Font Example" | ||
n | 8513 | msgstr "Fullständigt exempel" | n | 8440 | msgstr "Typsnittsexempel" |
8514 | 8441 | ||||
8515 | #. (itstool) path: section/para | 8442 | #. (itstool) path: section/para | ||
8516 | #: C/index-in.docbook:3506 | 8443 | #: C/index-in.docbook:3506 | ||
n | 8517 | #, fuzzy | n | ||
8518 | #| msgid "" | ||||
8519 | #| "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</" | ||||
8520 | #| "classname>, <classname>Gtk::MenuItem</classname> and <classname>Gtk::" | ||||
8521 | #| "Switch</classname> implement the <classname>Gtk::Actionable</classname> " | ||||
8522 | #| "interface instead of the removed <classname>Gtk::Activatable</classname> " | ||||
8523 | #| "interface." | ||||
8524 | msgid "" | 8444 | msgid "" | ||
8525 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | 8445 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | ||
8526 | "is possible because <classname>Pango::FontMap</classname> implements the " | 8446 | "is possible because <classname>Pango::FontMap</classname> implements the " | ||
8527 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | 8447 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | ||
8528 | "<classname>FontDialogButton</classname> instead." | 8448 | "<classname>FontDialogButton</classname> instead." | ||
8529 | msgstr "" | 8449 | msgstr "" | ||
n | 8530 | "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</classname>, " | n | 8450 | "Detta exempel använder en <classname>Pango::FontMap</classname> som sin " |
8531 | "<classname>Gtk::MenuItem</classname> och <classname>Gtk::Switch</classname> " | 8451 | "modell. Detta är möjligt för att <classname>Pango::FontMap</classname> " | ||
8532 | "implementerar <classname>Gtk::Actionable</classname>-gränssnittet i stället " | 8452 | "implementerar <classname>Gio::ListModel</classname>-gränssnittet. Du kan " | ||
8533 | "för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet." | 8453 | "förstås använda en <classname>FontDialogButton</classname> i stället." | ||
8534 | 8454 | ||||
8535 | #. (itstool) path: figure/title | 8455 | #. (itstool) path: figure/title | ||
8536 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | 8456 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | ||
8537 | msgid "Search Font" | 8457 | msgid "Search Font" | ||
n | 8538 | msgstr "" | n | 8458 | msgstr "Sök typsnitt" |
8539 | 8459 | ||||
8540 | #. (itstool) path: imageobject/imagedata | 8460 | #. (itstool) path: imageobject/imagedata | ||
8541 | #. This is a reference to an external file such as an image or video. When | 8461 | #. This is a reference to an external file such as an image or video. When | ||
8542 | #. the file changes, the md5 hash will change to let you know you need to | 8462 | #. the file changes, the md5 hash will change to let you know you need to | ||
8543 | #. update your localized copy. The msgstr is not used at all. Set it to | 8463 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8547 | msgctxt "_" | 8467 | msgctxt "_" | ||
8548 | msgid "" | 8468 | msgid "" | ||
8549 | "external ref='figures/dropdown_search_font.png' " | 8469 | "external ref='figures/dropdown_search_font.png' " | ||
8550 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | 8470 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8551 | msgstr "" | 8471 | msgstr "" | ||
n | 8552 | "external ref='figures/drawingarea_pango_text.png' " | n | 8472 | "external ref='figures/dropdown_search_font.png' " |
8553 | "md5='07c39668c9dda2ac1f9455caf6e4d16a'" | 8473 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8554 | 8474 | ||||
8555 | #. (itstool) path: section/para | 8475 | #. (itstool) path: section/para | ||
8556 | #: C/index-in.docbook:3519 | 8476 | #: C/index-in.docbook:3519 | ||
n | 8557 | #, fuzzy | n | ||
8558 | #| msgid "" | ||||
8559 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8560 | #| "tree/master/examples/book/paned\">Source Code</link>" | ||||
8561 | msgid "" | 8477 | msgid "" | ||
8562 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8478 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8563 | "master/examples/book/dropdown/search_font\">Source Code</link>" | 8479 | "master/examples/book/dropdown/search_font\">Source Code</link>" | ||
8564 | msgstr "" | 8480 | msgstr "" | ||
8565 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8481 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8566 | "master/examples/book/paned\">Källkod</link>" | n | 8482 | "master/examples/book/dropdown/search_font\">Källkod</link>" |
8567 | 8483 | ||||
8568 | #. (itstool) path: section/title | 8484 | #. (itstool) path: section/title | ||
8569 | #: C/index-in.docbook:3524 | 8485 | #: C/index-in.docbook:3524 | ||
n | 8570 | #, fuzzy | n | ||
8571 | #| msgid "Simple Example" | ||||
8572 | msgid "Complex Example" | 8486 | msgid "Complex Example" | ||
n | 8573 | msgstr "Enkelt exempel" | n | 8487 | msgstr "Komplext exempel" |
8574 | 8488 | ||||
8575 | #. (itstool) path: section/para | 8489 | #. (itstool) path: section/para | ||
8576 | #: C/index-in.docbook:3526 | 8490 | #: C/index-in.docbook:3526 | ||
8577 | msgid "" | 8491 | msgid "" | ||
8578 | "This is a more complex example with two <classname>SignalListItemFactory</" | 8492 | "This is a more complex example with two <classname>SignalListItemFactory</" | ||
8579 | "classname> objects and their signal handlers. This example would be simpler " | 8493 | "classname> objects and their signal handlers. This example would be simpler " | ||
8580 | "without the checkmark in the dropdown menu." | 8494 | "without the checkmark in the dropdown menu." | ||
8581 | msgstr "" | 8495 | msgstr "" | ||
n | n | 8496 | "Detta är ett mer komplext exempel med två <classname>SignalListItemFactory</" | ||
8497 | "classname>-objekt och deras signalhanterare. Detta exempel skulle vara " | ||||
8498 | "enklare utan bocken i rullgardinsmenyn." | ||||
8582 | 8499 | ||||
8583 | #. (itstool) path: imageobject/imagedata | 8500 | #. (itstool) path: imageobject/imagedata | ||
8584 | #. This is a reference to an external file such as an image or video. When | 8501 | #. This is a reference to an external file such as an image or video. When | ||
8585 | #. the file changes, the md5 hash will change to let you know you need to | 8502 | #. the file changes, the md5 hash will change to let you know you need to | ||
8586 | #. update your localized copy. The msgstr is not used at all. Set it to | 8503 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8590 | msgctxt "_" | 8507 | msgctxt "_" | ||
8591 | msgid "" | 8508 | msgid "" | ||
8592 | "external ref='figures/dropdown_complex.png' " | 8509 | "external ref='figures/dropdown_complex.png' " | ||
8593 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | 8510 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8594 | msgstr "" | 8511 | msgstr "" | ||
n | 8595 | "external ref='figures/combobox_complex.png' " | n | 8512 | "external ref='figures/dropdown_complex.png' " |
8596 | "md5='ec96e29fe85caef072868284443e413e'" | 8513 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8597 | 8514 | ||||
8598 | #. (itstool) path: section/para | 8515 | #. (itstool) path: section/para | ||
8599 | #: C/index-in.docbook:3538 | 8516 | #: C/index-in.docbook:3538 | ||
n | 8600 | #, fuzzy | n | ||
8601 | #| msgid "" | ||||
8602 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8603 | #| "tree/master/examples/book/combobox/complex\">Source Code</link>" | ||||
8604 | msgid "" | 8517 | msgid "" | ||
8605 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8518 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8606 | "master/examples/book/dropdown/complex\">Source Code</link>" | 8519 | "master/examples/book/dropdown/complex\">Source Code</link>" | ||
8607 | msgstr "" | 8520 | msgstr "" | ||
8608 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8521 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8609 | "master/examples/book/combobox/complex\">Källkod</link>" | n | 8522 | "master/examples/book/dropdown/complex\">Källkod</link>" |
8610 | 8523 | ||||
8611 | #. (itstool) path: chapter/title | 8524 | #. (itstool) path: chapter/title | ||
8612 | #: C/index-in.docbook:3543 | 8525 | #: C/index-in.docbook:3543 | ||
8613 | msgid "Combo Boxes" | 8526 | msgid "Combo Boxes" | ||
8614 | msgstr "Kombinationsrutor" | 8527 | msgstr "Kombinationsrutor" | ||
8615 | 8528 | ||||
8616 | #. (itstool) path: note/para | 8529 | #. (itstool) path: note/para | ||
8617 | #: C/index-in.docbook:3545 | 8530 | #: C/index-in.docbook:3545 | ||
n | 8618 | #, fuzzy | n | ||
8619 | #| msgid "" | ||||
8620 | #| "<classname>Gdk::DrawContext</classname> and <classname>Gdk::CairoContext</" | ||||
8621 | #| "classname> are new. <classname>Gdk::DrawingContext</classname> has been " | ||||
8622 | #| "removed." | ||||
8623 | msgid "" | 8531 | msgid "" | ||
8624 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | 8532 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | ||
8625 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | 8533 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | ||
8626 | "<classname>Gtk::DropDown</classname> in new code." | 8534 | "<classname>Gtk::DropDown</classname> in new code." | ||
8627 | msgstr "" | 8535 | msgstr "" | ||
n | 8628 | "<classname>Gdk::DrawContext</classname> och <classname>Gdk::CairoContext</" | n | 8536 | "<classname>Gtk::ComboBox</classname> och <classname>Gtk::ComboBoxText</" |
8629 | "classname> är nya. <classname>Gdk::DrawingContext</classname> har tagits " | 8537 | "classname> är föråldrade sedan <application>gtkmm</application> 4.10. Använd " | ||
8630 | "bort." | 8538 | "<classname>Gtk::DropDown</classname> i ny kod." | ||
8631 | 8539 | ||||
8632 | #. (itstool) path: chapter/para | 8540 | #. (itstool) path: chapter/para | ||
8633 | #: C/index-in.docbook:3549 | 8541 | #: C/index-in.docbook:3549 | ||
8634 | msgid "" | 8542 | msgid "" | ||
8635 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | 8543 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | ||
8648 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | 8556 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | ||
8649 | "om inget av de tillgängliga valen passar." | 8557 | "om inget av de tillgängliga valen passar." | ||
8650 | 8558 | ||||
8651 | #. (itstool) path: chapter/para | 8559 | #. (itstool) path: chapter/para | ||
8652 | #: C/index-in.docbook:3552 | 8560 | #: C/index-in.docbook:3552 | ||
n | 8653 | #, fuzzy | n | ||
8654 | msgid "" | 8561 | msgid "" | ||
8655 | "The list is provided via a <classname>TreeModel</classname>, and columns " | 8562 | "The list is provided via a <classname>TreeModel</classname>, and columns " | ||
8656 | "from this model are added to the ComboBox's view with the " | 8563 | "from this model are added to the ComboBox's view with the " | ||
8657 | "<methodname>ComboBox::pack_start()</methodname> method. This provides " | 8564 | "<methodname>ComboBox::pack_start()</methodname> method. This provides " | ||
8658 | "flexibility and compile-time type-safety, but the <classname>ComboBoxText</" | 8565 | "flexibility and compile-time type-safety, but the <classname>ComboBoxText</" | ||
8758 | "instance, you might read an integer ID value from the model, even though you " | 8665 | "instance, you might read an integer ID value from the model, even though you " | ||
8759 | "have chosen only to show the human-readable description in the ComboBox. For " | 8666 | "have chosen only to show the human-readable description in the ComboBox. For " | ||
8760 | "instance:" | 8667 | "instance:" | ||
8761 | msgstr "" | 8668 | msgstr "" | ||
8762 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | 8669 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | ||
n | 8763 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | n | 8670 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. Detta " |
8764 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8671 | "returnerar en <classname>TreeModel::iterator</classname> som du kan " | ||
8765 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | 8672 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | ||
8766 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | 8673 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | ||
8767 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | 8674 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | ||
8768 | "ComboBox. Till exempel:" | 8675 | "ComboBox. Till exempel:" | ||
8769 | 8676 | ||||
9606 | 9513 | ||||
9607 | #. (itstool) path: section/para | 9514 | #. (itstool) path: section/para | ||
9608 | #: C/index-in.docbook:3965 | 9515 | #: C/index-in.docbook:3965 | ||
9609 | #, fuzzy | 9516 | #, fuzzy | ||
9610 | #| msgid "" | 9517 | #| msgid "" | ||
n | 9611 | #| "Some <classname>TreeView</classname> examples are shown here. There are " | n | 9518 | #| "Some examples are shown in this chapter. There are more examples in the " |
9612 | #| "more examples in the <link xlink:href=\"https://gitlab.gnome.org/GNOME/" | 9519 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
9613 | #| "gtkmm-documentation/tree/master/examples/book/treeview/\">treeview " | 9520 | #| "tree/master/examples/book/listmodelviews/\">listmodelviews directory</" | ||
9614 | #| "directory</link> in <application>gtkmm-documentation</application>'s " | 9521 | #| "link> in <application>gtkmm-documentation</application>'s examples." | ||
9615 | #| "examples." | ||||
9616 | msgid "" | 9522 | msgid "" | ||
9617 | "There is a more complicated example among <link xlink:href=\"https://gitlab." | 9523 | "There is a more complicated example among <link xlink:href=\"https://gitlab." | ||
9618 | "gnome.org/GNOME/gtkmm/tree/master/demos/gtk-demo/example_textview." | 9524 | "gnome.org/GNOME/gtkmm/tree/master/demos/gtk-demo/example_textview." | ||
9619 | "cc\"><application>gtkmm</application>'s demo programs</link>." | 9525 | "cc\"><application>gtkmm</application>'s demo programs</link>." | ||
9620 | msgstr "" | 9526 | msgstr "" | ||
n | 9621 | "Några <classname>TreeView</classname>-exempel visas här. Det finns mer " | n | 9527 | "Några exempel visas i detta kapitel. Det finns mer exempel i <link xlink:" |
9622 | "exempel i <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 9528 | "href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/master/" | ||
9623 | "documentation/tree/master/examples/book/treeview/\">treeview-katalogen</" | 9529 | "examples/book/listmodelviews/\">listmodelviews-katalogen</link> i " | ||
9624 | "link> i <application>gtkmm-documentation</application>s exempel." | 9530 | "<application>gtkmm-documentation</application>s exempel." | ||
9625 | 9531 | ||||
9626 | #. (itstool) path: chapter/title | 9532 | #. (itstool) path: chapter/title | ||
9627 | #: C/index-in.docbook:3973 | 9533 | #: C/index-in.docbook:3973 | ||
9628 | msgid "Menus and Toolbars" | 9534 | msgid "Menus and Toolbars" | ||
9629 | msgstr "Menyer och verktygsfält" | 9535 | msgstr "Menyer och verktygsfält" | ||
10772 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | 10678 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | ||
10773 | "<methodname>add_button()</methodname>." | 10679 | "<methodname>add_button()</methodname>." | ||
10774 | 10680 | ||||
10775 | #. (itstool) path: chapter/para | 10681 | #. (itstool) path: chapter/para | ||
10776 | #: C/index-in.docbook:4499 | 10682 | #: C/index-in.docbook:4499 | ||
n | 10777 | #, fuzzy | n | ||
10778 | msgid "" | 10683 | msgid "" | ||
10779 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | 10684 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | ||
10780 | "same dialog instance will be shown several times, you must also call " | 10685 | "same dialog instance will be shown several times, you must also call " | ||
10781 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | 10686 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | ||
10782 | "destroyed when it's closed. Connect to the <literal>response</literal> " | 10687 | "destroyed when it's closed. Connect to the <literal>response</literal> " | ||
10783 | "signal, if you want to know which button was pressed. The <literal>response</" | 10688 | "signal, if you want to know which button was pressed. The <literal>response</" | ||
10784 | "literal> signal handler is also where you should hide the dialog." | 10689 | "literal> signal handler is also where you should hide the dialog." | ||
10785 | msgstr "" | 10690 | msgstr "" | ||
n | 10786 | "För att visa dialogrutan, anropa <methodname>show()</methodname>. Om samma " | n | 10691 | "För att visa dialogrutan, anropa <methodname>set_visible(true)</methodname>. " |
10787 | "dialoginstans kommer visas flera gånger måste du också anropa " | 10692 | "Om samma dialoginstans kommer visas flera gånger måste du också anropa " | ||
10788 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | 10693 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | ||
10789 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | 10694 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | ||
10790 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | 10695 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | ||
10791 | "signalhanteraren är också var du ska dölja dialogrutan." | 10696 | "signalhanteraren är också var du ska dölja dialogrutan." | ||
10792 | 10697 | ||||
10852 | msgctxt "_" | 10757 | msgctxt "_" | ||
10853 | msgid "" | 10758 | msgid "" | ||
10854 | "external ref='figures/dialogs_alertdialog.png' " | 10759 | "external ref='figures/dialogs_alertdialog.png' " | ||
10855 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | 10760 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
10856 | msgstr "" | 10761 | msgstr "" | ||
n | 10857 | "external ref='figures/dialogs_messagedialog.png' " | n | 10762 | "external ref='figures/dialogs_alertdialog.png' " |
10858 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 10763 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
10859 | 10764 | ||||
10860 | #. (itstool) path: section/para | 10765 | #. (itstool) path: section/para | ||
10861 | #: C/index-in.docbook:4532 | 10766 | #: C/index-in.docbook:4532 | ||
10862 | msgid "" | 10767 | msgid "" | ||
10863 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10768 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
10900 | msgid "" | 10805 | msgid "" | ||
10901 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10806 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10902 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | 10807 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||
10903 | msgstr "" | 10808 | msgstr "" | ||
10904 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10809 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10905 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | n | 10810 | "classGtk_1_1FileDialog.html\">Referens för FileDialog</link>" |
10906 | 10811 | ||||
n | 10907 | # TODO: FileChooseDialog Reference | n | ||
10908 | #. (itstool) path: section/para | 10812 | #. (itstool) path: section/para | ||
10909 | #: C/index-in.docbook:4549 | 10813 | #: C/index-in.docbook:4549 | ||
n | 10910 | #, fuzzy | n | ||
10911 | #| msgid "" | ||||
10912 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10913 | #| "classGtk_1_1FileChooserDialog.html\">FileChooserDialogReference</link>" | ||||
10914 | msgid "" | 10814 | msgid "" | ||
10915 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10815 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10916 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | 10816 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | ||
10917 | msgstr "" | 10817 | msgstr "" | ||
10918 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10818 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10919 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog-referens</link>" | n | 10819 | "classGtk_1_1FileChooserDialog.html\">Referens för FileChooserDialog</link>" |
10920 | 10820 | ||||
10921 | #. (itstool) path: figure/title | 10821 | #. (itstool) path: figure/title | ||
10922 | #: C/index-in.docbook:4555 | 10822 | #: C/index-in.docbook:4555 | ||
10923 | msgid "FileDialog" | 10823 | msgid "FileDialog" | ||
10924 | msgstr "FileDialog" | 10824 | msgstr "FileDialog" | ||
10933 | msgctxt "_" | 10833 | msgctxt "_" | ||
10934 | msgid "" | 10834 | msgid "" | ||
10935 | "external ref='figures/dialogs_filedialog.png' " | 10835 | "external ref='figures/dialogs_filedialog.png' " | ||
10936 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10836 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
10937 | msgstr "" | 10837 | msgstr "" | ||
n | 10938 | "external ref='figures/dialogs_filechooser.png' " | n | 10838 | "external ref='figures/dialogs_filedialog.png' " |
10939 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10839 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
10940 | 10840 | ||||
10941 | #. (itstool) path: section/para | 10841 | #. (itstool) path: section/para | ||
10942 | #: C/index-in.docbook:4561 | 10842 | #: C/index-in.docbook:4561 | ||
10943 | msgid "" | 10843 | msgid "" | ||
10978 | msgid "" | 10878 | msgid "" | ||
10979 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10879 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10980 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | 10880 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | ||
10981 | msgstr "" | 10881 | msgstr "" | ||
10982 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10882 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10983 | "classGtk_1_1ColorDialog.html\">ColorDialog-referens</link>" | n | 10883 | "classGtk_1_1ColorDialog.html\">Referens för ColorDialog</link>" |
10984 | 10884 | ||||
10985 | #. (itstool) path: section/para | 10885 | #. (itstool) path: section/para | ||
10986 | #: C/index-in.docbook:4576 | 10886 | #: C/index-in.docbook:4576 | ||
10987 | msgid "" | 10887 | msgid "" | ||
10988 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10888 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10989 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | 10889 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | ||
10990 | msgstr "" | 10890 | msgstr "" | ||
10991 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10891 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10992 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog-referens</link>" | n | 10892 | "classGtk_1_1ColorChooserDialog.html\">Referens för ColorChooserDialog</link>" |
10993 | 10893 | ||||
10994 | #. (itstool) path: figure/title | 10894 | #. (itstool) path: figure/title | ||
10995 | #: C/index-in.docbook:4582 | 10895 | #: C/index-in.docbook:4582 | ||
10996 | msgid "ColorDialog" | 10896 | msgid "ColorDialog" | ||
10997 | msgstr "ColorDialog" | 10897 | msgstr "ColorDialog" | ||
11006 | msgctxt "_" | 10906 | msgctxt "_" | ||
11007 | msgid "" | 10907 | msgid "" | ||
11008 | "external ref='figures/dialogs_colordialog.png' " | 10908 | "external ref='figures/dialogs_colordialog.png' " | ||
11009 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 10909 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
11010 | msgstr "" | 10910 | msgstr "" | ||
n | 11011 | "external ref='figures/dialogs_colorchooserdialog.png' " | n | 10911 | "external ref='figures/dialogs_colordialog.png' " |
11012 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 10912 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
11013 | 10913 | ||||
11014 | #. (itstool) path: section/para | 10914 | #. (itstool) path: section/para | ||
11015 | #: C/index-in.docbook:4588 | 10915 | #: C/index-in.docbook:4588 | ||
11016 | msgid "" | 10916 | msgid "" | ||
11049 | msgid "" | 10949 | msgid "" | ||
11050 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10950 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11051 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | 10951 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | ||
11052 | msgstr "" | 10952 | msgstr "" | ||
11053 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10953 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11054 | "classGtk_1_1FontDialog.html\">FontDialog-referens</link>" | n | 10954 | "classGtk_1_1FontDialog.html\">Referens för FontDialog</link>" |
11055 | 10955 | ||||
11056 | #. (itstool) path: section/para | 10956 | #. (itstool) path: section/para | ||
11057 | #: C/index-in.docbook:4603 | 10957 | #: C/index-in.docbook:4603 | ||
11058 | msgid "" | 10958 | msgid "" | ||
11059 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10959 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11060 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | 10960 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | ||
11061 | msgstr "" | 10961 | msgstr "" | ||
11062 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10962 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11063 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog-referens</link>" | n | 10963 | "classGtk_1_1FontChooserDialog.html\">Referens för FontChooserDialog</link>" |
11064 | 10964 | ||||
11065 | #. (itstool) path: figure/title | 10965 | #. (itstool) path: figure/title | ||
11066 | #: C/index-in.docbook:4609 | 10966 | #: C/index-in.docbook:4609 | ||
11067 | msgid "FontDialog" | 10967 | msgid "FontDialog" | ||
11068 | msgstr "FontDialog" | 10968 | msgstr "FontDialog" | ||
11077 | msgctxt "_" | 10977 | msgctxt "_" | ||
11078 | msgid "" | 10978 | msgid "" | ||
11079 | "external ref='figures/dialogs_fontdialog.png' " | 10979 | "external ref='figures/dialogs_fontdialog.png' " | ||
11080 | "md5='e35e05429468fa8823416b8a0deff342'" | 10980 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11081 | msgstr "" | 10981 | msgstr "" | ||
n | 11082 | "external ref='figures/dialogs_fontchooserdialog.png' " | n | 10982 | "external ref='figures/dialogs_fontdialog.png' " |
11083 | "md5='e35e05429468fa8823416b8a0deff342'" | 10983 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11084 | 10984 | ||||
11085 | #. (itstool) path: section/para | 10985 | #. (itstool) path: section/para | ||
11086 | #: C/index-in.docbook:4615 | 10986 | #: C/index-in.docbook:4615 | ||
11087 | msgid "" | 10987 | msgid "" | ||
11167 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | 11067 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | ||
11168 | 11068 | ||||
11169 | #. (itstool) path: section/title | 11069 | #. (itstool) path: section/title | ||
11170 | #: C/index-in.docbook:4652 | 11070 | #: C/index-in.docbook:4652 | ||
11171 | #, fuzzy | 11071 | #, fuzzy | ||
n | 11172 | #| msgid "Custom Widget" | n | ||
11173 | msgid "Custom Dialog" | 11072 | msgid "Custom Dialog" | ||
n | 11174 | msgstr "Anpassad komponent" | n | 11073 | msgstr "Anpassad dialogruta" |
11175 | 11074 | ||||
11176 | #. (itstool) path: section/para | 11075 | #. (itstool) path: section/para | ||
11177 | #: C/index-in.docbook:4653 | 11076 | #: C/index-in.docbook:4653 | ||
11178 | #, fuzzy | 11077 | #, fuzzy | ||
11179 | msgid "" | 11078 | msgid "" | ||
11185 | "skapa din egen dialogruta genom att härleda en klass från <classname>Window</" | 11084 | "skapa din egen dialogruta genom att härleda en klass från <classname>Window</" | ||
11186 | "classname> och fylla den med komponenterna som du behöver." | 11085 | "classname> och fylla den med komponenterna som du behöver." | ||
11187 | 11086 | ||||
11188 | #. (itstool) path: section/para | 11087 | #. (itstool) path: section/para | ||
11189 | #: C/index-in.docbook:4659 | 11088 | #: C/index-in.docbook:4659 | ||
n | 11190 | #, fuzzy | n | ||
11191 | #| msgid "" | ||||
11192 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
11193 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
11194 | msgid "" | 11089 | msgid "" | ||
11195 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11090 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11196 | "classGtk_1_1Window.html\">Window Reference</link>" | 11091 | "classGtk_1_1Window.html\">Window Reference</link>" | ||
11197 | msgstr "" | 11092 | msgstr "" | ||
11198 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11093 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11199 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 11094 | "classGtk_1_1Window.html\">Referens för Window</link>" |
11200 | 11095 | ||||
11201 | #. (itstool) path: figure/title | 11096 | #. (itstool) path: figure/title | ||
11202 | #: C/index-in.docbook:4665 | 11097 | #: C/index-in.docbook:4665 | ||
11203 | #, fuzzy | 11098 | #, fuzzy | ||
n | 11204 | #| msgid "Dialogs" | n | ||
11205 | msgid "Window Dialog" | 11099 | msgid "Window Dialog" | ||
n | 11206 | msgstr "Dialogrutor" | n | 11100 | msgstr "Fönsterdialog" |
11207 | 11101 | ||||
11208 | #. (itstool) path: imageobject/imagedata | 11102 | #. (itstool) path: imageobject/imagedata | ||
11209 | #. This is a reference to an external file such as an image or video. When | 11103 | #. This is a reference to an external file such as an image or video. When | ||
11210 | #. the file changes, the md5 hash will change to let you know you need to | 11104 | #. the file changes, the md5 hash will change to let you know you need to | ||
11211 | #. update your localized copy. The msgstr is not used at all. Set it to | 11105 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11215 | msgctxt "_" | 11109 | msgctxt "_" | ||
11216 | msgid "" | 11110 | msgid "" | ||
11217 | "external ref='figures/dialogs_windowdialog.png' " | 11111 | "external ref='figures/dialogs_windowdialog.png' " | ||
11218 | "md5='53deb18153f6903fe45d015fc06ccef3'" | 11112 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11219 | msgstr "" | 11113 | msgstr "" | ||
n | 11220 | "external ref='figures/dialogs_messagedialog.png' " | n | 11114 | "external ref='figures/dialogs_windowdialog.png' " |
11221 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 11115 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11222 | 11116 | ||||
11223 | #. (itstool) path: section/para | 11117 | #. (itstool) path: section/para | ||
11224 | #: C/index-in.docbook:4671 | 11118 | #: C/index-in.docbook:4671 | ||
11225 | msgid "" | 11119 | msgid "" | ||
11226 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11120 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11561 | "kontext i ritfunktionen." | 11455 | "kontext i ritfunktionen." | ||
11562 | 11456 | ||||
11563 | #. (itstool) path: section/title | 11457 | #. (itstool) path: section/title | ||
11564 | #: C/index-in.docbook:4816 | 11458 | #: C/index-in.docbook:4816 | ||
11565 | msgid "Drawing Straight Lines" | 11459 | msgid "Drawing Straight Lines" | ||
n | 11566 | msgstr "Rita raka linjer" | n | 11460 | msgstr "Rita räta linjer" |
11567 | 11461 | ||||
11568 | #. (itstool) path: tip/para | 11462 | #. (itstool) path: tip/para | ||
11569 | #: C/index-in.docbook:4825 | 11463 | #: C/index-in.docbook:4825 | ||
11570 | #, fuzzy | 11464 | #, fuzzy | ||
11571 | msgid "" | 11465 | msgid "" | ||
11599 | "Cairo's coordinate system. The origin of the Cairo coordinate system is " | 11493 | "Cairo's coordinate system. The origin of the Cairo coordinate system is " | ||
11600 | "located in the upper-left corner of the window with positive x values to the " | 11494 | "located in the upper-left corner of the window with positive x values to the " | ||
11601 | "right and positive y values going down. <_:tip-1/>" | 11495 | "right and positive y values going down. <_:tip-1/>" | ||
11602 | msgstr "" | 11496 | msgstr "" | ||
11603 | "Nu då vi förstå grunderna hos Cairo-grafikbiblioteket är vi nästan klara att " | 11497 | "Nu då vi förstå grunderna hos Cairo-grafikbiblioteket är vi nästan klara att " | ||
n | 11604 | "börja rita. Vi börjar med det enklaste av ritelement: den raka linjen. Men " | n | 11498 | "börja rita. Vi börjar med det enklaste av ritelement: den räta linjen. Men " |
11605 | "först behöver du känna till lite om Cairos koordinatsystem. Origo för Cairos " | 11499 | "först behöver du känna till lite om Cairos koordinatsystem. Origo för Cairos " | ||
11606 | "koordinatsystem finns i fönstrets övre vänstra hörn med positiva x-värden " | 11500 | "koordinatsystem finns i fönstrets övre vänstra hörn med positiva x-värden " | ||
11607 | "till höger och positiva y-värden nedåt. <_:tip-1/>" | 11501 | "till höger och positiva y-värden nedåt. <_:tip-1/>" | ||
11608 | 11502 | ||||
11609 | #. (itstool) path: section/para | 11503 | #. (itstool) path: section/para | ||
11756 | msgid "" | 11650 | msgid "" | ||
11757 | "In addition to drawing basic straight lines, there are a number of things " | 11651 | "In addition to drawing basic straight lines, there are a number of things " | ||
11758 | "that you can customize about a line. You've already seen examples of setting " | 11652 | "that you can customize about a line. You've already seen examples of setting " | ||
11759 | "a line's color and width, but there are others as well." | 11653 | "a line's color and width, but there are others as well." | ||
11760 | msgstr "" | 11654 | msgstr "" | ||
n | 11761 | "Utöver att rita enkla raka linjer så finns det ett antal saker som du kan " | n | 11655 | "Utöver att rita enkla räta linjer så finns det ett antal saker som du kan " |
11762 | "anpassa med en linje. Du har redan sett exempel på att ställa in en linjes " | 11656 | "anpassa med en linje. Du har redan sett exempel på att ställa in en linjes " | ||
11763 | "färg och bredd, men det finns även annat." | 11657 | "färg och bredd, men det finns även annat." | ||
11764 | 11658 | ||||
11765 | # TODO: are show*n* | 11659 | # TODO: are show*n* | ||
11766 | #. (itstool) path: section/para | 11660 | #. (itstool) path: section/para | ||
11820 | "<methodname>Cairo::Context::set_line_cap()</methodname>." | 11714 | "<methodname>Cairo::Context::set_line_cap()</methodname>." | ||
11821 | 11715 | ||||
11822 | #. (itstool) path: section/para | 11716 | #. (itstool) path: section/para | ||
11823 | #: C/index-in.docbook:4940 | 11717 | #: C/index-in.docbook:4940 | ||
11824 | #, fuzzy | 11718 | #, fuzzy | ||
n | n | 11719 | #| msgid "" | ||
11720 | #| "There are other things you can customize as well, including creating " | ||||
11721 | #| "dashed lines and other things. For more information, see the Cairo API " | ||||
11722 | #| "documentation." | ||||
11825 | msgid "" | 11723 | msgid "" | ||
11826 | "There are other things you can customize as well, including creating dashed " | 11724 | "There are other things you can customize as well, including creating dashed " | ||
11827 | "lines and other things. For more information, see the Cairo API " | 11725 | "lines and other things. For more information, see the Cairo API " | ||
11828 | "documentation. Dashed lines are shown in the example in the <link " | 11726 | "documentation. Dashed lines are shown in the example in the <link " | ||
11829 | "linkend=\"cairo-example-curves\">Drawing Curved Lines</link> section." | 11727 | "linkend=\"cairo-example-curves\">Drawing Curved Lines</link> section." | ||
11830 | msgstr "" | 11728 | msgstr "" | ||
n | 11831 | "Det finns även andra saker du kan anpassa, som att skapa och andra saker. Se " | n | 11729 | "Det finns även andra saker du kan anpassa, som att skapa streckade linjer " |
11832 | "Cairos API-dokumentation för mer information." | 11730 | "och andra saker. Se Cairos API-dokumentation för mer information." | ||
11833 | 11731 | ||||
11834 | #. (itstool) path: section/title | 11732 | #. (itstool) path: section/title | ||
11835 | #: C/index-in.docbook:4950 | 11733 | #: C/index-in.docbook:4950 | ||
11836 | msgid "Drawing thin lines" | 11734 | msgid "Drawing thin lines" | ||
11837 | msgstr "Rita tunna linjer" | 11735 | msgstr "Rita tunna linjer" | ||
11974 | msgid "" | 11872 | msgid "" | ||
11975 | "The only difference between this example and the straight line example is in " | 11873 | "The only difference between this example and the straight line example is in " | ||
11976 | "the <methodname>on_draw()</methodname> function, but there are a few new " | 11874 | "the <methodname>on_draw()</methodname> function, but there are a few new " | ||
11977 | "concepts and functions introduced here, so let's examine them briefly." | 11875 | "concepts and functions introduced here, so let's examine them briefly." | ||
11978 | msgstr "" | 11876 | msgstr "" | ||
n | 11979 | "Den enda skillnaden mellan detta exempel och exemplet för raka linjer är i " | n | 11877 | "Den enda skillnaden mellan detta exempel och exemplet för räta linjer är i " |
11980 | "funktionen <methodname>on_draw()</methodname>, men några nya koncept och " | 11878 | "funktionen <methodname>on_draw()</methodname>, men några nya koncept och " | ||
11981 | "funktioner introduceras här, så låt oss kort ta en titt på dem." | 11879 | "funktioner introduceras här, så låt oss kort ta en titt på dem." | ||
11982 | 11880 | ||||
11983 | #. (itstool) path: section/para | 11881 | #. (itstool) path: section/para | ||
11984 | #: C/index-in.docbook:5010 | 11882 | #: C/index-in.docbook:5010 | ||
14166 | #: C/index-in.docbook:6080 | 14064 | #: C/index-in.docbook:6080 | ||
14167 | msgid "" | 14065 | msgid "" | ||
14168 | "<varname>is_private</varname>: Whether this resource should be visible only " | 14066 | "<varname>is_private</varname>: Whether this resource should be visible only " | ||
14169 | "to applications that have registered it or not" | 14067 | "to applications that have registered it or not" | ||
14170 | msgstr "" | 14068 | msgstr "" | ||
n | 14171 | "<varname>is_private</varname>: huruvida denna resurs endast ska vara synlig " | n | 14069 | "<varname>is_private</varname>: Huruvida denna resurs endast ska vara synlig " |
14172 | "för program som har registrerat den eller inte" | 14070 | "för program som har registrerat den eller inte" | ||
14173 | 14071 | ||||
14174 | #. (itstool) path: listitem/para | 14072 | #. (itstool) path: listitem/para | ||
14175 | #: C/index-in.docbook:6084 | 14073 | #: C/index-in.docbook:6084 | ||
14176 | msgid "<varname>mime_type</varname>: The MIME type of the resource" | 14074 | msgid "<varname>mime_type</varname>: The MIME type of the resource" | ||
14881 | "though. <_:itemizedlist-1/>" | 14779 | "though. <_:itemizedlist-1/>" | ||
14882 | msgstr "" | 14780 | msgstr "" | ||
14883 | 14781 | ||||
14884 | #. (itstool) path: section/para | 14782 | #. (itstool) path: section/para | ||
14885 | #: C/index-in.docbook:6402 | 14783 | #: C/index-in.docbook:6402 | ||
n | n | 14784 | #, fuzzy | ||
14785 | #| msgid "" | ||||
14786 | #| "The data model is a class that implements the <classname>Gio::ListModel</" | ||||
14787 | #| "classname> interface. Examples of such classes are <classname>Gio::" | ||||
14788 | #| "ListStore</classname> (not to be confused with the deprecated " | ||||
14789 | #| "<classname>Gtk::ListStore</classname>), <classname>Gtk:StringList</" | ||||
14790 | #| "classname>, <classname>Gtk:DirectoryList</classname> and " | ||||
14791 | #| "<classname>Pango::FontMap</classname>." | ||||
14886 | msgid "" | 14792 | msgid "" | ||
14887 | "The event classes that handle mouse events are also useful for handling " | 14793 | "The event classes that handle mouse events are also useful for handling " | ||
14888 | "events from touchscreens. There are also many subclasses of <classname>Gtk::" | 14794 | "events from touchscreens. There are also many subclasses of <classname>Gtk::" | ||
14889 | "EventController</classname> which are only (or mainly) useful for " | 14795 | "EventController</classname> which are only (or mainly) useful for " | ||
14890 | "touchscreens. Examples: <classname>Gtk::GestureRotate</classname>, " | 14796 | "touchscreens. Examples: <classname>Gtk::GestureRotate</classname>, " | ||
14891 | "<classname>Gtk::GestureZoom</classname>, <classname>Gtk::GestureSwipe</" | 14797 | "<classname>Gtk::GestureZoom</classname>, <classname>Gtk::GestureSwipe</" | ||
14892 | "classname>, <classname>Gtk::GestureLongPress</classname>." | 14798 | "classname>, <classname>Gtk::GestureLongPress</classname>." | ||
14893 | msgstr "" | 14799 | msgstr "" | ||
n | n | 14800 | "Datamodellen är en klass som implementerar <classname>Gio::ListModel</" | ||
14801 | "classname>-gränssnittet. Exempel på sådana klasser är <classname>Gio::" | ||||
14802 | "ListStore</classname> (inte att förväxlas med den föråldrade <classname>Gtk::" | ||||
14803 | "ListStore</classname>), <classname>Gtk:StringList</classname>, " | ||||
14804 | "<classname>Gtk:DirectoryList</classname> och <classname>Pango::FontMap</" | ||||
14805 | "classname>." | ||||
14894 | 14806 | ||||
14895 | #. (itstool) path: section/para | 14807 | #. (itstool) path: section/para | ||
14896 | #: C/index-in.docbook:6411 | 14808 | #: C/index-in.docbook:6411 | ||
14897 | #, fuzzy | 14809 | #, fuzzy | ||
14898 | #| msgid "" | 14810 | #| msgid "" | ||
14944 | msgid "Timeouts, I/O and Idle Functions" | 14856 | msgid "Timeouts, I/O and Idle Functions" | ||
14945 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | 14857 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | ||
14946 | 14858 | ||||
14947 | #. (itstool) path: section/title | 14859 | #. (itstool) path: section/title | ||
14948 | #: C/index-in.docbook:6435 | 14860 | #: C/index-in.docbook:6435 | ||
n | 14949 | #, fuzzy | n | ||
14950 | msgid "Timeouts" | 14861 | msgid "Timeouts" | ||
14951 | msgstr "Timeout" | 14862 | msgstr "Timeout" | ||
14952 | 14863 | ||||
14953 | #. (itstool) path: section/para | 14864 | #. (itstool) path: section/para | ||
14954 | #: C/index-in.docbook:6437 | 14865 | #: C/index-in.docbook:6437 | ||
15451 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | 15362 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | ||
15452 | 15363 | ||||
15453 | #. (itstool) path: section/programlisting | 15364 | #. (itstool) path: section/programlisting | ||
15454 | #: C/index-in.docbook:6672 | 15365 | #: C/index-in.docbook:6672 | ||
15455 | #, fuzzy, no-wrap | 15366 | #, fuzzy, no-wrap | ||
n | n | 15367 | #| msgid "" | ||
15368 | #| "\n" | ||||
15369 | #| "{\n" | ||||
15370 | #| " Gtk::Button aButton;\n" | ||||
15371 | #| " aButton.set_visible(true);\n" | ||||
15372 | #| " ...\n" | ||||
15373 | #| " app->run();\n" | ||||
15374 | #| "}\n" | ||||
15456 | msgid "" | 15375 | msgid "" | ||
15457 | "<code>{\n" | 15376 | "<code>{\n" | ||
15458 | " Gtk::Button aButton;\n" | 15377 | " Gtk::Button aButton;\n" | ||
15459 | " aButton.set_visible(true);\n" | 15378 | " aButton.set_visible(true);\n" | ||
15460 | " ...\n" | 15379 | " ...\n" | ||
15463 | "</code>" | 15382 | "</code>" | ||
15464 | msgstr "" | 15383 | msgstr "" | ||
15465 | "\n" | 15384 | "\n" | ||
15466 | "{\n" | 15385 | "{\n" | ||
15467 | " Gtk::Button aButton;\n" | 15386 | " Gtk::Button aButton;\n" | ||
n | 15468 | " aButton.show();\n" | n | 15387 | " aButton.set_visible(true);\n" |
15469 | " ...\n" | 15388 | " ...\n" | ||
15470 | " app->run();\n" | 15389 | " app->run();\n" | ||
15471 | "}\n" | 15390 | "}\n" | ||
15472 | 15391 | ||||
15473 | #. (itstool) path: section/para | 15392 | #. (itstool) path: section/para | ||
15489 | #: C/index-in.docbook:6689 | 15408 | #: C/index-in.docbook:6689 | ||
15490 | #, fuzzy | 15409 | #, fuzzy | ||
15491 | msgid "Dynamic allocation with new and delete" | 15410 | msgid "Dynamic allocation with new and delete" | ||
15492 | msgstr "Dynamisk allokering med new och delete" | 15411 | msgstr "Dynamisk allokering med new och delete" | ||
15493 | 15412 | ||||
n | 15494 | # TODO: favor? | n | ||
15495 | #. (itstool) path: section/para | 15413 | #. (itstool) path: section/para | ||
15496 | #: C/index-in.docbook:6690 | 15414 | #: C/index-in.docbook:6690 | ||
15497 | #, fuzzy | 15415 | #, fuzzy | ||
n | n | 15416 | #| msgid "" | ||
15417 | #| "Usually, the programmer will prefer to allow containers to automatically " | ||||
15418 | #| "destroy their children by creating them using <function>Gtk::" | ||||
15419 | #| "make_managed()</function> (see below). This is not strictly required, as " | ||||
15420 | #| "the <literal>new</literal> and <literal>delete</literal> operators may " | ||||
15421 | #| "also be used, but modern C++ style discourages those in favor of safer " | ||||
15422 | #| "models of memory management, so it is better to create widgets using " | ||||
15423 | #| "<function>Gtk::make_managed()</function> and let their parent destroy " | ||||
15424 | #| "them, than to manually perform dynamic allocation. <_:programlisting-1/> " | ||||
15425 | #| "Here, the programmer deletes <varname>pButton</varname> to prevent a " | ||||
15426 | #| "memory leak." | ||||
15498 | msgid "" | 15427 | msgid "" | ||
15499 | "Usually, the programmer will prefer to allow containers to automatically " | 15428 | "Usually, the programmer will prefer to allow containers to automatically " | ||
15500 | "destroy their children by creating them using <function>Gtk::make_managed()</" | 15429 | "destroy their children by creating them using <function>Gtk::make_managed()</" | ||
15501 | "function> (see below). This is not strictly required, as the <literal>new</" | 15430 | "function> (see below). This is not strictly required, as the <literal>new</" | ||
15502 | "literal> and <literal>delete</literal> operators may also be used, but " | 15431 | "literal> and <literal>delete</literal> operators may also be used, but " | ||
16028 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | 15957 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | ||
16029 | "This name should be specified in the <application>Cambalache</application> " | 15958 | "This name should be specified in the <application>Cambalache</application> " | ||
16030 | "window. If the widget could not be found, or is of the wrong type, then the " | 15959 | "window. If the widget could not be found, or is of the wrong type, then the " | ||
16031 | "pointer will be set to <literal>nullptr</literal>." | 15960 | "pointer will be set to <literal>nullptr</literal>." | ||
16032 | msgstr "" | 15961 | msgstr "" | ||
n | 16033 | "För att komma åt en komponent, exempelvis för att visa en dialogruta med " | n | 15962 | "För att komma åt en komponent, exempelvis för att visa en dialogruta, " |
16034 | "<methodname>show()</methodname>, använder du metoden " | 15963 | "använder du metoden <methodname>get_widget()</methodname> och " | ||
16035 | "<methodname>get_widget()</methodname> och tillhandahåller komponentens namn. " | 15964 | "tillhandahåller komponentens namn. Detta namn bör anges i " | ||
16036 | "Detta namn bör anges i <application>Glade</application>s egenskapsfönster. " | 15965 | "<application>Glade</application>s egenskapsfönster. Om komponenten inte " | ||
16037 | "Om komponenten inte kunde hittas eller är av fel typ så kommer pekaren " | 15966 | "kunde hittas eller är av fel typ så kommer pekaren sättas till nullptr." | ||
16038 | "sättas till nullptr." | ||||
16039 | 15967 | ||||
16040 | #. (itstool) path: section/para | 15968 | #. (itstool) path: section/para | ||
16041 | #: C/index-in.docbook:6910 | 15969 | #: C/index-in.docbook:6910 | ||
n | 16042 | #, fuzzy | n | ||
16043 | msgid "" | 15970 | msgid "" | ||
16044 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | 15971 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | ||
16045 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | 15972 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | ||
16046 | "<application>gtkmm</application> 4.10." | 15973 | "<application>gtkmm</application> 4.10." | ||
16047 | msgstr "" | 15974 | msgstr "" | ||
n | 16048 | "I detta steg använder vi en <classname>Gtk::Builder</classname>-instans för " | n | 15975 | "Dialogrutorna i detta kapitel är härledda från <classname>Gtk::Window</" |
16049 | "att associera en <classname>Gtk::Builder</classname>-ui-fil med vår " | 15976 | "classname> eftersom <classname>Gtk::Dialog</classname> är föråldrat sedan " | ||
16050 | "programfönsterklass." | 15977 | "<application>gtkmm</application> 4.10." | ||
16051 | 15978 | ||||
16052 | #. (itstool) path: section/programlisting | 15979 | #. (itstool) path: section/programlisting | ||
16053 | #: C/index-in.docbook:6914 | 15980 | #: C/index-in.docbook:6914 | ||
16054 | #, fuzzy, no-wrap | 15981 | #, fuzzy, no-wrap | ||
16055 | msgid "" | 15982 | msgid "" | ||
16065 | msgid "" | 15992 | msgid "" | ||
16066 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | 15993 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | ||
16067 | "that the widget is of the expected type, and will show warnings on the " | 15994 | "that the widget is of the expected type, and will show warnings on the " | ||
16068 | "command line about these." | 15995 | "command line about these." | ||
16069 | msgstr "" | 15996 | msgstr "" | ||
n | 16070 | "<application>Gtk::Builder</application> tittar efter en null-pekare, och " | n | 15997 | "<classname>Gtk::Builder</classname> tittar efter en null-pekare, och " |
16071 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | 15998 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | ||
16072 | "på kommandoraden om dessa." | 15999 | "på kommandoraden om dessa." | ||
16073 | 16000 | ||||
16074 | #. (itstool) path: section/para | 16001 | #. (itstool) path: section/para | ||
16075 | #: C/index-in.docbook:6923 | 16002 | #: C/index-in.docbook:6923 | ||
16156 | "<application>gtkmm</application> widget classes. This keeps your code " | 16083 | "<application>gtkmm</application> widget classes. This keeps your code " | ||
16157 | "organized and encapsulated, separating declarative presentation from " | 16084 | "organized and encapsulated, separating declarative presentation from " | ||
16158 | "business logic, avoiding having most of your source just be setting " | 16085 | "business logic, avoiding having most of your source just be setting " | ||
16159 | "properties and packing in containers." | 16086 | "properties and packing in containers." | ||
16160 | msgstr "" | 16087 | msgstr "" | ||
n | 16161 | "Du kan använda<classname>Gtk::Builder</classname> och <application>Glade</" | n | 16088 | "Du kan använda <classname>Gtk::Builder</classname> och <application>Glade</" |
16162 | "application> för att göra en layout för dina egna anpassade komponenter " | 16089 | "application> för att göra en layout för dina egna anpassade komponenter " | ||
16163 | "härledda från <application>gtkmm</application>-komponentklasser. Detta " | 16090 | "härledda från <application>gtkmm</application>-komponentklasser. Detta " | ||
16164 | "håller din kod organiserad och inkapslad, skiljer på deklarativ presentation " | 16091 | "håller din kod organiserad och inkapslad, skiljer på deklarativ presentation " | ||
16165 | "från affärslogik, och undviker att det mesta av din kod bara ställer in " | 16092 | "från affärslogik, och undviker att det mesta av din kod bara ställer in " | ||
16166 | "egenskaper och packning i behållare." | 16093 | "egenskaper och packning i behållare." | ||
16277 | "}\n" | 16204 | "}\n" | ||
16278 | 16205 | ||||
16279 | #. (itstool) path: section/para | 16206 | #. (itstool) path: section/para | ||
16280 | #: C/index-in.docbook:7009 | 16207 | #: C/index-in.docbook:7009 | ||
16281 | #, fuzzy | 16208 | #, fuzzy | ||
n | n | 16209 | #| msgid "" | ||
16210 | #| "It's possible to pass additional arguments from " | ||||
16211 | #| "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||||
16212 | #| "derived widget. For instance, this call to " | ||||
16213 | #| "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> can " | ||||
16214 | #| "invoke this constructor" | ||||
16282 | msgid "" | 16215 | msgid "" | ||
16283 | "It's possible to pass additional arguments from " | 16216 | "It's possible to pass additional arguments from " | ||
16284 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | 16217 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||
16285 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | 16218 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | ||
16286 | "methodname>" | 16219 | "methodname>" | ||
16287 | msgstr "" | 16220 | msgstr "" | ||
16288 | "Det är möjligt att skicka ytterligare argument från " | 16221 | "Det är möjligt att skicka ytterligare argument från " | ||
16289 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | 16222 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | ||
16290 | "härledda komponenten. Exempelvis kan detta anrop till " | 16223 | "härledda komponenten. Exempelvis kan detta anrop till " | ||
16291 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | 16224 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | ||
n | 16292 | "denna konstruktor <_:programlisting-2/>" | n | 16225 | "denna konstruktor" |
16293 | 16226 | ||||
16294 | #. (itstool) path: section/programlisting | 16227 | #. (itstool) path: section/programlisting | ||
16295 | #: C/index-in.docbook:7014 | 16228 | #: C/index-in.docbook:7014 | ||
16296 | #, fuzzy, no-wrap | 16229 | #, fuzzy, no-wrap | ||
16297 | msgid "" | 16230 | msgid "" | ||
16385 | " prop_int(*this, \"button-int\", 10)\n" | 16318 | " prop_int(*this, \"button-int\", 10)\n" | ||
16386 | "{\n" | 16319 | "{\n" | ||
16387 | " // ....\n" | 16320 | " // ....\n" | ||
16388 | "}\n" | 16321 | "}\n" | ||
16389 | 16322 | ||||
n | 16390 | # TODO: recognize | n | ||
16391 | #. (itstool) path: section/para | 16323 | #. (itstool) path: section/para | ||
16392 | #: C/index-in.docbook:7051 | 16324 | #: C/index-in.docbook:7051 | ||
16393 | #, fuzzy | 16325 | #, fuzzy | ||
n | n | 16326 | #| msgid "" | ||
16327 | #| "When using <application>gtkmm</application> with a version of " | ||||
16328 | #| "<application>glibmm</application> from 2.62 onwards, it is possible also " | ||||
16329 | #| "to specify properties of derived widgets, declared in C++ using " | ||||
16330 | #| "<application>gtkmm</application>, within <filename>.glade</filename> " | ||||
16331 | #| "files and load/set these using <classname>Gtk::Builder</classname>. See " | ||||
16332 | #| "the documentation of <classname>Gtk::Builder</classname> for more details " | ||||
16333 | #| "on how to achieve this. Glade won’t recognize such properties as-is, but " | ||||
16334 | #| "it should be able to through use of <link xlink:href=\"https://developer-" | ||||
16335 | #| "old.gnome.org/gladeui/stable/properties.html\"> property class " | ||||
16336 | #| "definitions</link> and a catalog declaring those new properties." | ||||
16394 | msgid "" | 16337 | msgid "" | ||
16395 | "It is possible also to specify properties of derived widgets, declared in " | 16338 | "It is possible also to specify properties of derived widgets, declared in " | ||
16396 | "<phrase role=\"nowrap\">C++</phrase> using <application>gtkmm</application>, " | 16339 | "<phrase role=\"nowrap\">C++</phrase> using <application>gtkmm</application>, " | ||
16397 | "within <filename class=\"extension\">.ui</filename> files and load/set these " | 16340 | "within <filename class=\"extension\">.ui</filename> files and load/set these " | ||
16398 | "using <classname>Gtk::Builder</classname>. See the documentation of " | 16341 | "using <classname>Gtk::Builder</classname>. See the documentation of " | ||
16447 | "languages, including non-European languages such as Chinese and right-to-" | 16390 | "languages, including non-European languages such as Chinese and right-to-" | ||
16448 | "left languages such as Arabic. An appropriately-written and translated " | 16391 | "left languages such as Arabic. An appropriately-written and translated " | ||
16449 | "<application>gtkmm</application> application will use the appropriate " | 16392 | "<application>gtkmm</application> application will use the appropriate " | ||
16450 | "language at runtime based on the user's environment." | 16393 | "language at runtime based on the user's environment." | ||
16451 | msgstr "" | 16394 | msgstr "" | ||
n | 16452 | "<application>gtkmm</application>-program kan lätt stöda flera språk, " | n | 16395 | "<application>gtkmm</application>-program kan lätt stödja flera språk, " |
16453 | "inklusive icke-europeiska språk som kinesiska och höger-till-vänster-språk " | 16396 | "inklusive icke-europeiska språk som kinesiska och höger-till-vänster-språk " | ||
16454 | "som arabiska. Ett korrekt skrivet och översatt <application>gtkmm</" | 16397 | "som arabiska. Ett korrekt skrivet och översatt <application>gtkmm</" | ||
16455 | "application>-program kommer använda lämpligt språk vid körning beroende på " | 16398 | "application>-program kommer använda lämpligt språk vid körning beroende på " | ||
16456 | "användarens miljö." | 16399 | "användarens miljö." | ||
16457 | 16400 | ||||
16541 | "po</filename>-standardfiler." | 16484 | "po</filename>-standardfiler." | ||
16542 | 16485 | ||||
16543 | #. (itstool) path: note/para | 16486 | #. (itstool) path: note/para | ||
16544 | #: C/index-in.docbook:7131 | 16487 | #: C/index-in.docbook:7131 | ||
16545 | #, fuzzy | 16488 | #, fuzzy | ||
n | n | 16489 | #| msgid "" | ||
16490 | #| "We also assume that you are using autotools (<application>automake</" | ||||
16491 | #| "application> and <application>autoconf</application>) to build your " | ||||
16492 | #| "project (although autotools is not recommended for new applications), and " | ||||
16493 | #| "that you are using <link xlink:href=\"https://gitlab.gnome.org/GNOME/" | ||||
16494 | #| "gnome-common/blob/master/autogen.sh\"> <literal>./autogen.sh</literal> " | ||||
16495 | #| "from <application>gnome-common</application></link> or a similar " | ||||
16496 | #| "<literal>autogen.sh</literal> file, which, among other things, takes care " | ||||
16497 | #| "of some <application>intltool</application> initialization." | ||||
16546 | msgid "" | 16498 | msgid "" | ||
16547 | "We also assume that you are using autotools (<application>automake</" | 16499 | "We also assume that you are using autotools (<application>automake</" | ||
16548 | "application> and <application>autoconf</application>) to build your project " | 16500 | "application> and <application>autoconf</application>) to build your project " | ||
16549 | "(although autotools is not recommended for new applications), and that you " | 16501 | "(although autotools is not recommended for new applications), and that you " | ||
16550 | "are using <link xlink:href=\"https://gitlab.gnome.org/Archive/gnome-common/-/" | 16502 | "are using <link xlink:href=\"https://gitlab.gnome.org/Archive/gnome-common/-/" | ||
16770 | "PROGRAMNAME_LOCALEDIR=[${datadir}/locale]\n" | 16722 | "PROGRAMNAME_LOCALEDIR=[${datadir}/locale]\n" | ||
16771 | "AC_SUBST(PROGRAMNAME_LOCALEDIR)" | 16723 | "AC_SUBST(PROGRAMNAME_LOCALEDIR)" | ||
16772 | 16724 | ||||
16773 | #. (itstool) path: section/para | 16725 | #. (itstool) path: section/para | ||
16774 | #: C/index-in.docbook:7233 | 16726 | #: C/index-in.docbook:7233 | ||
n | 16775 | #, fuzzy | n | ||
16776 | msgid "" | 16727 | msgid "" | ||
16777 | "This <varname>PROGRAMNAME_LOCALEDIR</varname> variable will be used later in " | 16728 | "This <varname>PROGRAMNAME_LOCALEDIR</varname> variable will be used later in " | ||
16778 | "the <literal>Makefile.am</literal> file, to define a macro that will be used " | 16729 | "the <literal>Makefile.am</literal> file, to define a macro that will be used " | ||
16779 | "when you initialize <application>gettext</application> in your source code." | 16730 | "when you initialize <application>gettext</application> in your source code." | ||
16780 | msgstr "" | 16731 | msgstr "" | ||
17220 | msgid "Expecting UTF8" | 17171 | msgid "Expecting UTF8" | ||
17221 | msgstr "Förvänta sig UTF8" | 17172 | msgstr "Förvänta sig UTF8" | ||
17222 | 17173 | ||||
17223 | #. (itstool) path: section/para | 17174 | #. (itstool) path: section/para | ||
17224 | #: C/index-in.docbook:7460 | 17175 | #: C/index-in.docbook:7460 | ||
n | 17225 | #, fuzzy | n | ||
17226 | msgid "" | 17176 | msgid "" | ||
17227 | "A properly internationalized application will not make assumptions about the " | 17177 | "A properly internationalized application will not make assumptions about the " | ||
17228 | "number of bytes in a character. That means that you shouldn't use pointer " | 17178 | "number of bytes in a character. That means that you shouldn't use pointer " | ||
17229 | "arithmetic to step through the characters in a string, and it means you " | 17179 | "arithmetic to step through the characters in a string, and it means you " | ||
17230 | "shouldn't use <classname>std::string</classname> or standard C functions " | 17180 | "shouldn't use <classname>std::string</classname> or standard C functions " | ||
17402 | #. (itstool) path: section/title | 17352 | #. (itstool) path: section/title | ||
17403 | #: C/index-in.docbook:7538 | 17353 | #: C/index-in.docbook:7538 | ||
17404 | msgid "Composition of strings" | 17354 | msgid "Composition of strings" | ||
17405 | msgstr "Sammansättning av strängar" | 17355 | msgstr "Sammansättning av strängar" | ||
17406 | 17356 | ||||
n | 17407 | # TODO: favors | n | ||
17408 | #. (itstool) path: section/para | 17357 | #. (itstool) path: section/para | ||
17409 | #: C/index-in.docbook:7540 | 17358 | #: C/index-in.docbook:7540 | ||
17410 | #, fuzzy | 17359 | #, fuzzy | ||
n | n | 17360 | #| msgid "" | ||
17361 | #| "C programmers use <function>sprintf()</function> to compose and " | ||||
17362 | #| "concatenate strings. C++ favors streams, but unfortunately, this approach " | ||||
17363 | #| "makes translation difficult, because each fragment of text is translated " | ||||
17364 | #| "separately, without allowing the translators to rearrange them according " | ||||
17365 | #| "to the grammar of the language." | ||||
17411 | msgid "" | 17366 | msgid "" | ||
17412 | "C programmers use <function>sprintf()</function> to compose and concatenate " | 17367 | "C programmers use <function>sprintf()</function> to compose and concatenate " | ||
17413 | "strings. <phrase role=\"nowrap\">C++</phrase> favors streams, but " | 17368 | "strings. <phrase role=\"nowrap\">C++</phrase> favors streams, but " | ||
17414 | "unfortunately, this approach makes translation difficult, because each " | 17369 | "unfortunately, this approach makes translation difficult, because each " | ||
17415 | "fragment of text is translated separately, without allowing the translators " | 17370 | "fragment of text is translated separately, without allowing the translators " | ||
17580 | "where translators can access it, then file an <link xlink:href=\"https://" | 17535 | "where translators can access it, then file an <link xlink:href=\"https://" | ||
17581 | "gitlab.gnome.org/Infrastructure/damned-lies/-/issues\"> issue to the damned-" | 17536 | "gitlab.gnome.org/Infrastructure/damned-lies/-/issues\"> issue to the damned-" | ||
17582 | "lies project</link> and ask to have your program added to the <link xlink:" | 17537 | "lies project</link> and ask to have your program added to the <link xlink:" | ||
17583 | "href=\"http://l10n.gnome.org/module/\">list of modules to translate</link>." | 17538 | "href=\"http://l10n.gnome.org/module/\">list of modules to translate</link>." | ||
17584 | msgstr "" | 17539 | msgstr "" | ||
n | 17585 | "Sättet detta fungerar är att du kan placera din källkod i ett git-förråd där " | n | 17540 | "Sättet detta fungerar är att du kan placera din källkod i ett git-arkiv där " |
17586 | "översättare kan komma åt den, och sedan kontakta sändlistan gnome-i18n och " | 17541 | "översättare kan komma åt den, och sedan kontakta sändlistan gnome-i18n och " | ||
17587 | "be att ditt program ska läggas till i <link xlink:href=\"http://l10n.gnome." | 17542 | "be att ditt program ska läggas till i <link xlink:href=\"http://l10n.gnome." | ||
17588 | "org/module/\">listan över moduler att översätta</link>." | 17543 | "org/module/\">listan över moduler att översätta</link>." | ||
17589 | 17544 | ||||
17590 | #. (itstool) path: section/para | 17545 | #. (itstool) path: section/para | ||
18010 | "your custom class from that class. The <link linkend=\"custom-css-name-" | 17965 | "your custom class from that class. The <link linkend=\"custom-css-name-" | ||
18011 | "example\">custom CSS name example</link> shows how that's done." | 17966 | "example\">custom CSS name example</link> shows how that's done." | ||
18012 | msgstr "" | 17967 | msgstr "" | ||
18013 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | 17968 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | ||
18014 | "huvud taget, anropas från klassens init-funktion. Några andra " | 17969 | "huvud taget, anropas från klassens init-funktion. Några andra " | ||
n | 18015 | "<application>GTK</application>-funktioner måste, om de anropas , anropas " | n | 17970 | "<application>GTK</application>-funktioner måste, om de anropas, anropas från " |
18016 | "från instansens init-funktion. Om din anpassade komponent måste anropa någon " | 17971 | "instansens init-funktion. Om din anpassade komponent måste anropa någon av " | ||
18017 | "av dessa funktioner kan du härleda en klass från <classname>Glib::" | 17972 | "dessa funktioner kan du härleda en klass från <classname>Glib::" | ||
18018 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | 17973 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | ||
n | n | 17974 | "Exemplet för <link linkend=\"custom-css-name-example\">anpassat CSS-namn</" | ||
18019 | "Följande exempel visar hur detta görs." | 17975 | "link> visar hur detta görs." | ||
18020 | 17976 | ||||
18021 | #. (itstool) path: section/para | 17977 | #. (itstool) path: section/para | ||
18022 | #: C/index-in.docbook:7780 | 17978 | #: C/index-in.docbook:7780 | ||
18023 | msgid "This example implements a widget which draws Penrose triangles." | 17979 | msgid "This example implements a widget which draws Penrose triangles." | ||
18024 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | 17980 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | ||
18055 | #. (itstool) path: section/title | 18011 | #. (itstool) path: section/title | ||
18056 | #: C/index-in.docbook:7794 | 18012 | #: C/index-in.docbook:7794 | ||
18057 | msgid "Custom CSS Names" | 18013 | msgid "Custom CSS Names" | ||
18058 | msgstr "Anpassade CSS-namn" | 18014 | msgstr "Anpassade CSS-namn" | ||
18059 | 18015 | ||||
n | 18060 | # TODO: controlled | n | ||
18061 | #. (itstool) path: section/para | 18016 | #. (itstool) path: section/para | ||
18062 | #: C/index-in.docbook:7796 | 18017 | #: C/index-in.docbook:7796 | ||
18063 | #, fuzzy | 18018 | #, fuzzy | ||
18064 | msgid "" | 18019 | msgid "" | ||
18065 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | 18020 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | ||
18067 | "etc. If you give some widgets their own names or their own CSS classes, you " | 18022 | "etc. If you give some widgets their own names or their own CSS classes, you " | ||
18068 | "can define CSS rules that apply only to those widgets, for instance certain " | 18023 | "can define CSS rules that apply only to those widgets, for instance certain " | ||
18069 | "buttons, without affecting other similar widgets." | 18024 | "buttons, without affecting other similar widgets." | ||
18070 | msgstr "" | 18025 | msgstr "" | ||
18071 | "Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style " | 18026 | "Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style " | ||
n | 18072 | "Sheet). Med CSS-filer kan du välja färg, typsnitt, radtjocklek och så " | n | 18027 | "Sheet). Med CSS-filer kan du välja färg, typsnitt, linjetjocklek och så " |
18073 | "vidare. Om du ger några komponenter egna namn så kan du definiera CSS-regler " | 18028 | "vidare. Om du ger några komponenter egna namn eller egna CSS-klasser så kan " | ||
18074 | "som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan " | 18029 | "du definiera CSS-regler som endast tillämpas på dessa komponenter, " | ||
18075 | "att påverka andra liknande komponenter." | 18030 | "exempelvis vissa knappar, utan att påverka andra liknande komponenter." | ||
18076 | 18031 | ||||
18077 | #. (itstool) path: section/title | 18032 | #. (itstool) path: section/title | ||
18078 | #: C/index-in.docbook:7803 | 18033 | #: C/index-in.docbook:7803 | ||
18079 | msgid "CSS Node Name, Widget Name, CSS Class Name" | 18034 | msgid "CSS Node Name, Widget Name, CSS Class Name" | ||
n | 18080 | msgstr "" | n | 18035 | msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn" |
18081 | 18036 | ||||
18082 | #. (itstool) path: listitem/para | 18037 | #. (itstool) path: listitem/para | ||
18083 | #: C/index-in.docbook:7807 | 18038 | #: C/index-in.docbook:7807 | ||
18084 | #, fuzzy | 18039 | #, fuzzy | ||
18085 | msgid "" | 18040 | msgid "" | ||
18109 | 18064 | ||||
18110 | #. (itstool) path: listitem/para | 18065 | #. (itstool) path: listitem/para | ||
18111 | #: C/index-in.docbook:7814 | 18066 | #: C/index-in.docbook:7814 | ||
18112 | #, fuzzy | 18067 | #, fuzzy | ||
18113 | #| msgid "" | 18068 | #| msgid "" | ||
n | 18114 | #| "<methodname>Gtk::Widget::set_name()</methodname> can be called from a C++ " | n | 18069 | #| "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from " |
18115 | #| "constructor. It sets the name of a widget instance." | 18070 | #| "a C++ constructor. It adds the name of a CSS class, used by a widget " | ||
18071 | #| "instance." | ||||
18116 | msgid "" | 18072 | msgid "" | ||
18117 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | 18073 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | ||
18118 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | 18074 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | ||
18119 | "class, used by a widget instance." | 18075 | "class, used by a widget instance." | ||
18120 | msgstr "" | 18076 | msgstr "" | ||
n | 18121 | "<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-" | n | 18077 | "<methodname>Gtk::Widget::add_class_name()</methodname> kan anropas från en C+" |
18122 | "konstruktor. Den ställer in namnet för en komponentinstans." | 18078 | "+-konstruktor. Den lägger till namnet för en CSS-klass, använd av en " | ||
18079 | "komponentinstans." | ||||
18123 | 18080 | ||||
18124 | #. (itstool) path: section/para | 18081 | #. (itstool) path: section/para | ||
18125 | #: C/index-in.docbook:7805 | 18082 | #: C/index-in.docbook:7805 | ||
18126 | #, fuzzy | 18083 | #, fuzzy | ||
18127 | msgid "" | 18084 | msgid "" | ||
18128 | "There are three ways of referring from a widget to data in a CSS file: <_:" | 18085 | "There are three ways of referring from a widget to data in a CSS file: <_:" | ||
18129 | "itemizedlist-1/> The following example shows a button with its own CSS node " | 18086 | "itemizedlist-1/> The following example shows a button with its own CSS node " | ||
18130 | "name, a label with a widget name and a label that uses its own CSS class." | 18087 | "name, a label with a widget name and a label that uses its own CSS class." | ||
18131 | msgstr "" | 18088 | msgstr "" | ||
n | 18132 | "Det finns två sätt att ge en komponent ett namn som du kan hänvisa till från " | n | 18089 | "Det finns tre sätt att referera från en komponent till data i en CSS-fil: <_:" |
18133 | "en CSS-file: <_:itemizedlist-1/> Följande exempel visar en knapp med eget " | 18090 | "itemizedlist-1/> Följande exempel visar en knapp med eget CSS-nodnamn, en " | ||
18134 | "CSS-nodnamn och en etikett med ett komponentnamn." | 18091 | "etikett med ett komponentnamn och en etikett som använder sin egen CSS-klass." | ||
18135 | 18092 | ||||
18136 | #. (itstool) path: section/title | 18093 | #. (itstool) path: section/title | ||
18137 | #: C/index-in.docbook:7823 | 18094 | #: C/index-in.docbook:7823 | ||
18138 | msgid "Custom Style Information" | 18095 | msgid "Custom Style Information" | ||
18139 | msgstr "Anpassad stilinformation" | 18096 | msgstr "Anpassad stilinformation" | ||
18164 | msgid "CSS files are described in the documentation of GTK." | 18121 | msgid "CSS files are described in the documentation of GTK." | ||
18165 | msgstr "CSS-filer beskrivs i dokumentationen för GTK." | 18122 | msgstr "CSS-filer beskrivs i dokumentationen för GTK." | ||
18166 | 18123 | ||||
18167 | #. (itstool) path: section/para | 18124 | #. (itstool) path: section/para | ||
18168 | #: C/index-in.docbook:7838 | 18125 | #: C/index-in.docbook:7838 | ||
n | 18169 | #, fuzzy | n | ||
18170 | #| msgid "This example implements a widget which draws Penrose triangles." | ||||
18171 | msgid "" | 18126 | msgid "" | ||
18172 | "This example implements a button and two labels with custom style " | 18127 | "This example implements a button and two labels with custom style " | ||
18173 | "information." | 18128 | "information." | ||
n | 18174 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | n | 18129 | msgstr "" |
18130 | "Detta exempel implementerar en knapp och två etiketter med anpassad " | ||||
18131 | "stilinformation." | ||||
18175 | 18132 | ||||
18176 | #. (itstool) path: figure/title | 18133 | #. (itstool) path: figure/title | ||
18177 | #: C/index-in.docbook:7841 | 18134 | #: C/index-in.docbook:7841 | ||
n | 18178 | #, fuzzy | n | ||
18179 | msgid "Custom CSS Name" | 18135 | msgid "Custom CSS Name" | ||
18180 | msgstr "Anpassat CSS-namn" | 18136 | msgstr "Anpassat CSS-namn" | ||
18181 | 18137 | ||||
18182 | #. (itstool) path: imageobject/imagedata | 18138 | #. (itstool) path: imageobject/imagedata | ||
18183 | #. This is a reference to an external file such as an image or video. When | 18139 | #. This is a reference to an external file such as an image or video. When | ||
18189 | msgctxt "_" | 18145 | msgctxt "_" | ||
18190 | msgid "" | 18146 | msgid "" | ||
18191 | "external ref='figures/custom_css_name.png' " | 18147 | "external ref='figures/custom_css_name.png' " | ||
18192 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | 18148 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18193 | msgstr "" | 18149 | msgstr "" | ||
n | 18194 | "external ref='figures/frame.png' md5='e7b49b5f57afa5c0d4c487c187f1be55'" | n | 18150 | "external ref='figures/custom_css_name.png' " |
18151 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||||
18195 | 18152 | ||||
18196 | #. (itstool) path: section/para | 18153 | #. (itstool) path: section/para | ||
18197 | #: C/index-in.docbook:7847 | 18154 | #: C/index-in.docbook:7847 | ||
n | 18198 | #, fuzzy | n | ||
18199 | #| msgid "" | ||||
18200 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
18201 | #| "tree/master/examples/book/custom/custom_container/\">Source Code</link>" | ||||
18202 | msgid "" | 18155 | msgid "" | ||
18203 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18156 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18204 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | 18157 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | ||
18205 | msgstr "" | 18158 | msgstr "" | ||
18206 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18159 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 18207 | "master/examples/book/custom/custom_container/\">Källkod</link>" | n | 18160 | "master/examples/book/custom/custom_css_name/\">Källkod</link>" |
18208 | 18161 | ||||
18209 | #. (itstool) path: chapter/title | 18162 | #. (itstool) path: chapter/title | ||
18210 | #: C/index-in.docbook:7854 | 18163 | #: C/index-in.docbook:7854 | ||
18211 | msgid "Multi-threaded programs" | 18164 | msgid "Multi-threaded programs" | ||
18212 | msgstr "Flertrådade program" | 18165 | msgstr "Flertrådade program" | ||
18718 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | 18671 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | ||
18719 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | 18672 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | ||
18720 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | 18673 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | ||
18721 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | 18674 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | ||
18722 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | 18675 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | ||
n | 18723 | "eller när din kod bestämmer sig för att köra <methodname>hide()</methodname> " | n | 18676 | "eller när din kod bestämmer sig för att dölja fönstret med " |
18724 | "på fönstret. Du kan förhindra användaren från att stränga fönstret " | 18677 | "<methodname>set_visible(false)</methodname>. Du kan förhindra användaren " | ||
18725 | "(exempelvis om det finns osparade ändringar) genom att åsidosätta " | 18678 | "från att stränga fönstret (exempelvis om det finns osparade ändringar) genom " | ||
18726 | "<methodname>Gtk::Window::on_close_request()</methodname>." | 18679 | "att åsidosätta <methodname>Gtk::Window::on_close_request()</methodname>." | ||
18727 | 18680 | ||||
18728 | #. (itstool) path: section/para | 18681 | #. (itstool) path: section/para | ||
18729 | #: C/index-in.docbook:8139 | 18682 | #: C/index-in.docbook:8139 | ||
18730 | msgid "Most of our examples use this technique." | 18683 | msgid "Most of our examples use this technique." | ||
18731 | msgstr "De flesta av våra exempel använder denna teknik." | 18684 | msgstr "De flesta av våra exempel använder denna teknik." | ||
18786 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | 18739 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | ||
18787 | "Box::append()</methodname>." | 18740 | "Box::append()</methodname>." | ||
18788 | 18741 | ||||
18789 | #. (itstool) path: section/para | 18742 | #. (itstool) path: section/para | ||
18790 | #: C/index-in.docbook:8187 | 18743 | #: C/index-in.docbook:8187 | ||
n | 18791 | #, fuzzy | n | ||
18792 | msgid "" | 18744 | msgid "" | ||
18793 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | 18745 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | ||
18794 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | 18746 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | ||
18795 | "If a container widget is hidden, all of its child widgets are also hidden, " | 18747 | "If a container widget is hidden, all of its child widgets are also hidden, " | ||
18796 | "even if <methodname>set_visible(false)</methodname> is not called on the " | 18748 | "even if <methodname>set_visible(false)</methodname> is not called on the " | ||
18797 | "child widgets." | 18749 | "child widgets." | ||
18798 | msgstr "" | 18750 | msgstr "" | ||
18799 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | 18751 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | ||
n | 18800 | "Widget::hide()</methodname> på komponenterna som du inte vill ska visas. Om " | n | 18752 | "Widget::set_visible(false)</methodname> på komponenterna som du inte vill " |
18801 | "en behållarkomponent är dold så är även alla dess underordnade komponenter " | 18753 | "ska visas. Om en behållarkomponent är dold så är även alla dess underordnade " | ||
18802 | "dolda, även om <methodname>hide()</methodname> inte anropas på de " | 18754 | "komponenter dolda, även om <methodname>set_visible(false)</methodname> inte " | ||
18803 | "underordnade komponenterna." | 18755 | "anropas på de underordnade komponenterna." | ||
18804 | 18756 | ||||
18805 | #. (itstool) path: chapter/title | 18757 | #. (itstool) path: chapter/title | ||
18806 | #: C/index-in.docbook:8198 | 18758 | #: C/index-in.docbook:8198 | ||
18807 | msgid "Building applications" | 18759 | msgid "Building applications" | ||
18808 | msgstr "Bygga program" | 18760 | msgstr "Bygga program" | ||
19524 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | 19476 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | ||
19525 | "preference dialog. The types of the properties in these classes can't be " | 19477 | "preference dialog. The types of the properties in these classes can't be " | ||
19526 | "automatically converted to the string type that <classname>Gio::Settings</" | 19478 | "automatically converted to the string type that <classname>Gio::Settings</" | ||
19527 | "classname> requires." | 19479 | "classname> requires." | ||
19528 | msgstr "" | 19480 | msgstr "" | ||
n | 19529 | "Vi denna punkt kommer programmet redan reagera om du ändrar en av " | n | 19481 | "Vid denna punkt kommer programmet redan reagera om du ändrar en av " |
19530 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | 19482 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | ||
19531 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | 19483 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | ||
19532 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | 19484 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | ||
19533 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | 19485 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | ||
19534 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | 19486 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | ||
19535 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | 19487 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | ||
n | 19536 | "classname>-ui-fil och inställningsbindningar." | n | 19488 | "classname>-ui-fil och inställningsbindningar. I detta fall är dock " |
19489 | "bindningarna mer avancerade. Vi använder <classname>Gtk::FontDialogButton</" | ||||
19490 | "classname> och <classname>Gtk::DropDown</classname> i inställningsdialogen. " | ||||
19491 | "Typerna för egenskaperna i dessa klasser kan inte automatiskt konverteras " | ||||
19492 | "till den strängtyp som <classname>Gio::Settings</classname> kräver." | ||||
19537 | 19493 | ||||
19538 | #. (itstool) path: section/para | 19494 | #. (itstool) path: section/para | ||
19539 | #: C/index-in.docbook:8525 | 19495 | #: C/index-in.docbook:8525 | ||
19540 | #, fuzzy | 19496 | #, fuzzy | ||
19541 | msgid "" | 19497 | msgid "" | ||
19545 | "in our application class, and make it open a new preference dialog." | 19501 | "in our application class, and make it open a new preference dialog." | ||
19546 | msgstr "" | 19502 | msgstr "" | ||
19547 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | 19503 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | ||
19548 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | 19504 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | ||
19549 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | 19505 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | ||
n | 19550 | "programklass, och får den öppna en ny inställningsdialog." | n | 19506 | "programklass, och får den att öppna en ny inställningsdialog." |
19551 | 19507 | ||||
19552 | #. (itstool) path: section/programlisting | 19508 | #. (itstool) path: section/programlisting | ||
19553 | #: C/index-in.docbook:8530 | 19509 | #: C/index-in.docbook:8530 | ||
19554 | #, fuzzy, no-wrap | 19510 | #, fuzzy, no-wrap | ||
19555 | #| msgid "" | 19511 | #| msgid "" | ||
20082 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | 20038 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | ||
20083 | "i GNOME git." | 20039 | "i GNOME git." | ||
20084 | 20040 | ||||
20085 | #. (itstool) path: chapter/para | 20041 | #. (itstool) path: chapter/para | ||
20086 | #: C/index-in.docbook:8760 | 20042 | #: C/index-in.docbook:8760 | ||
n | 20087 | #, fuzzy | n | ||
20088 | msgid "" | 20043 | msgid "" | ||
20089 | "If you do decide to contribute, please post your contribution as an issue or " | 20044 | "If you do decide to contribute, please post your contribution as an issue or " | ||
20090 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 20045 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | ||
20091 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | 20046 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | ||
20092 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | 20047 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | ||
20096 | "document is free, and any addition you provide must also be free. That is, " | 20051 | "document is free, and any addition you provide must also be free. That is, " | ||
20097 | "people must be able to use any portion of your examples in their programs, " | 20052 | "people must be able to use any portion of your examples in their programs, " | ||
20098 | "and copies of this document (including your contribution) may be distributed " | 20053 | "and copies of this document (including your contribution) may be distributed " | ||
20099 | "freely." | 20054 | "freely." | ||
20100 | msgstr "" | 20055 | msgstr "" | ||
n | 20101 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag till sändlistan " | n | 20056 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag som ett ärende " |
20102 | "för <application>gtkmm</application> på <link xlink:href=\"mailto:gtkmm-" | ||||
20103 | "list@gnome.org\"><gtkmm-list@gnome.org></link> eller som ett ärende " | ||||
20104 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | 20057 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | ||
n | 20105 | "GNOME/gtkmm-documentation\">GitLab</link>. Var också medveten om att hela " | n | 20058 | "GNOME/gtkmm-documentation\">GitLab</link>. Du kan också diskutera dina idéer " |
20059 | "på GNOMEs <link xlink:href=\"https://discourse.gnome.org\">Discourse</link>-" | ||||
20060 | "instans, under kategorin <link xlink:href=\"https://discourse.gnome.org/c/" | ||||
20061 | "platform/language-bindings\"> Platform/Language bindings</link> med en " | ||||
20062 | "<literal>cplusplus</literal>-tagg. Var också medveten om att hela detta " | ||||
20106 | "detta dokument är fritt, och alla tillägg du gör också måste vara fria. Det " | 20063 | "dokument är fritt, och alla tillägg du gör också måste vara fria. Det vill " | ||
20107 | "vill säga att personer måste kunna använda alla delar av dina exempel i sina " | 20064 | "säga att personer måste kunna använda alla delar av dina exempel i sina " | ||
20108 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | 20065 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | ||
20109 | "fritt." | 20066 | "fritt." | ||
20110 | 20067 | ||||
20111 | #. (itstool) path: appendix/title | 20068 | #. (itstool) path: appendix/title | ||
20112 | #: C/index-in.docbook:8775 | 20069 | #: C/index-in.docbook:8775 | ||
20411 | #: C/index-in.docbook:8885 | 20368 | #: C/index-in.docbook:8885 | ||
20412 | #, fuzzy | 20369 | #, fuzzy | ||
20413 | msgid "Constness" | 20370 | msgid "Constness" | ||
20414 | msgstr "Const-het" | 20371 | msgstr "Const-het" | ||
20415 | 20372 | ||||
n | 20416 | # TODO: realize | n | ||
20417 | #. (itstool) path: section/para | 20373 | #. (itstool) path: section/para | ||
20418 | #: C/index-in.docbook:8886 | 20374 | #: C/index-in.docbook:8886 | ||
20419 | #, fuzzy | 20375 | #, fuzzy | ||
20420 | msgid "" | 20376 | msgid "" | ||
20421 | "The use of the <literal>const</literal> keyword in <phrase role=\"nowrap\">C+" | 20377 | "The use of the <literal>const</literal> keyword in <phrase role=\"nowrap\">C+" | ||
22064 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22020 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22065 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22021 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22066 | 22022 | ||||
22067 | #. (itstool) path: section/para | 22023 | #. (itstool) path: section/para | ||
22068 | #: C/index-in.docbook:9632 | 22024 | #: C/index-in.docbook:9632 | ||
n | 22069 | #, fuzzy | n | ||
22070 | msgid "" | 22025 | msgid "" | ||
22071 | "To set up <application>jhbuild</application>, follow the basic installation " | 22026 | "To set up <application>jhbuild</application>, follow the basic installation " | ||
22072 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | 22027 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | ||
22073 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | 22028 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | ||
22074 | "<application>jhbuild</application>, you should copy the sample " | 22029 | "<application>jhbuild</application>, you should copy the sample " | ||
22075 | "<application>jhbuild</application> configuration file into your home " | 22030 | "<application>jhbuild</application> configuration file into your home " | ||
22076 | "directory by executing the following command from the <application>jhbuild</" | 22031 | "directory by executing the following command from the <application>jhbuild</" | ||
22077 | "application> directory: <_:screen-1/>" | 22032 | "application> directory: <_:screen-1/>" | ||
22078 | msgstr "" | 22033 | msgstr "" | ||
22079 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | 22034 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | ||
n | 22080 | "href=\"http://developer-old.gnome.org/jhbuild/unstable/\">handboken för " | n | 22035 | "href=\"https://gnome.pages.gitlab.gnome.org/jhbuild/\">handboken för " |
22081 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | 22036 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | ||
22082 | "att du har installerat <application>jhbuild</application> bör du kopiera " | 22037 | "att du har installerat <application>jhbuild</application> bör du kopiera " | ||
22083 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | 22038 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | ||
22084 | "hemkatalog genom att exekvera följande kommando från katalogen " | 22039 | "hemkatalog genom att exekvera följande kommando från katalogen " | ||
22085 | "<application>jhbuild</application>: <_:screen-1/>" | 22040 | "<application>jhbuild</application>: <_:screen-1/>" | ||
26073 | "char**</classname> such as the following:" | 26028 | "char**</classname> such as the following:" | ||
26074 | msgstr "" | 26029 | msgstr "" | ||
26075 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | 26030 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | ||
26076 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | 26031 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | ||
26077 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | 26032 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | ||
n | 26078 | "returnerar ett värde i sin C-utdataparameter <parameter>rect</parameter>: <_:" | n | 26033 | "returnerar ett värde i sin C-utdataparameter <parameter>out_mime_type</" |
26079 | "programlisting-1/> För att <command>gmmproc</command> ska placera det " | 26034 | "parameter>: <_:programlisting-1/> För att <command>gmmproc</command> ska " | ||
26080 | "returnerade värdet i C++-utdataparametern <parameter>rect</parameter> ska " | 26035 | "placera det returnerade värdet i C++-utdataparametern " | ||
26081 | "något i stil med följande <function>_WRAP_METHOD()</function>-makro " | 26036 | "<parameter>out_mime_type</parameter> ska något i stil med följande " | ||
26082 | "användas: <_:programlisting-2/> Den <literal>{>>}</literal> som följer " | 26037 | "<function>_WRAP_METHOD()</function>-makro användas: <_:programlisting-2/> " | ||
26083 | "parameternamnet <parameter>rect</parameter> indikerar att C++-" | 26038 | "Den <literal>{>>}</literal> som följer parameternamnet " | ||
26039 | "<parameter>out_mime_type</parameter> indikerar att C++-utdataparametern ska " | ||||
26084 | "utdataparametern ska ställas in från värdet som returneras C-parametern från " | 26040 | "ställas in från värdet som returneras i C-parametern från C-funktionen. " | ||
26085 | "C-funktionen. <command>gmmproc</command> kommer att generera en deklaration " | 26041 | "<command>gmmproc</command> kommer att generera en deklaration av en temporär " | ||
26086 | "av en temporär variabel i vilken värdet av C-utdataparametern och en sats " | 26042 | "variabel i vilken värdet av C-utdataparametern och en sats som sätter C++-" | ||
26087 | "som sätter C++-utdataparametern från temporärvariabeln. I detta fall kan det " | 26043 | "utdataparametern från temporärvariabeln. I detta fall kan det vara " | ||
26088 | "vara nödvändigt att ha en <function>_INITIALIZATION()</function> som " | 26044 | "nödvändigt att ha en <function>_INITIALIZATION()</function> som beskriver " | ||
26089 | "beskriver hur en <classname>Gdk::Rectangle&</classname> ska sättas från " | 26045 | "hur en <classname>Glib::ustring&</classname> ska sättas från en " | ||
26090 | "en <classname>GdkRectangle*</classname> som i det följande: <_:" | 26046 | "<classname>const char**</classname> som i det följande: <_:programlisting-3/>" | ||
26091 | "programlisting-3/>" | ||||
26092 | 26047 | ||||
26093 | #. (itstool) path: section/programlisting | 26048 | #. (itstool) path: section/programlisting | ||
26094 | #: C/index-in.docbook:11301 | 26049 | #: C/index-in.docbook:11301 | ||
26095 | #, fuzzy, no-wrap | 26050 | #, fuzzy, no-wrap | ||
26096 | #| msgid "" | 26051 | #| msgid "" | ||
26097 | #| "\n" | 26052 | #| "\n" | ||
n | 26098 | #| "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26053 | #| "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const |
> | _gchar_ptr_to_ustring($4)')\n" | ||||
26099 | msgid "" | 26054 | msgid "" | ||
26100 | "<code>\n" | 26055 | "<code>\n" | ||
26101 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | 26056 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | ||
> | har_ptr_to_ustring($4)')\n" | > | har_ptr_to_ustring($4)')\n" | ||
26102 | "</code>" | 26057 | "</code>" | ||
26103 | msgstr "" | 26058 | msgstr "" | ||
26104 | "\n" | 26059 | "\n" | ||
n | 26105 | "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26060 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc |
> | har_ptr_to_ustring($4)')\n" | ||||
26106 | 26061 | ||||
26107 | #. (itstool) path: section/title | 26062 | #. (itstool) path: section/title | ||
26108 | #: C/index-in.docbook:11307 | 26063 | #: C/index-in.docbook:11307 | ||
26109 | #, fuzzy | 26064 | #, fuzzy | ||
26110 | msgid "String Parameter Processing" | 26065 | msgid "String Parameter Processing" | ||
27404 | #~ "namespaceGlib.html\">Reference</link>" | 27359 | #~ "namespaceGlib.html\">Reference</link>" | ||
27405 | #~ msgstr "" | 27360 | #~ msgstr "" | ||
27406 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 27361 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
27407 | #~ "namespaceGlib.html\">Referens</link>" | 27362 | #~ "namespaceGlib.html\">Referens</link>" | ||
27408 | 27363 | ||||
n | 27409 | #, fuzzy | n | ||
27410 | #~| msgid "" | ||||
27411 | #~| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27412 | #~| "tree/master/examples/book/iconview\">Source Code, IconView</link>" | ||||
27413 | #~ msgid "" | ||||
27414 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27415 | #~ "tree/master/examples/book/gridview\">Source Code, GridView</link>" | ||||
27416 | #~ msgstr "" | ||||
27417 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27418 | #~ "tree/master/examples/book/iconview\">Källkod, IconView</link>" | ||||
27419 | |||||
27420 | #, no-wrap | 27364 | #, no-wrap | ||
27421 | #~ msgid "intltool-update --pot" | 27365 | #~ msgid "intltool-update --pot" | ||
27422 | #~ msgstr "intltool-update --pot" | 27366 | #~ msgstr "intltool-update --pot" | ||
27423 | 27367 | ||||
27424 | #~ msgid "" | 27368 | #~ msgid "" | ||
27432 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | 27376 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | ||
27433 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | 27377 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | ||
27434 | #~ msgstr "" | 27378 | #~ msgstr "" | ||
27435 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | 27379 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | ||
27436 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | 27380 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | ||
n | 27437 | n | |||
27438 | #~ msgid "Widget Name and CSS Node Name" | ||||
27439 | #~ msgstr "Komponentnamn och CSS-nodnamn" | ||||
27440 | 27381 | ||||
27441 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | 27382 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | ||
27442 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | 27383 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | ||
27443 | 27384 | ||||
27444 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | 27385 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | ||
27555 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | 27496 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | ||
27556 | #~ "<_:programlisting-2/>" | 27497 | #~ "<_:programlisting-2/>" | ||
27557 | #~ msgstr "" | 27498 | #~ msgstr "" | ||
27558 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | 27499 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | ||
27559 | #~ "här: <_:programlisting-2/>" | 27500 | #~ "här: <_:programlisting-2/>" | ||
t | 27560 | t | |||
27561 | #, fuzzy | ||||
27562 | #~ msgid "" | ||||
27563 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27564 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27565 | #~ "user response. You can specify the type of message and the text in the " | ||||
27566 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27567 | #~ "ButtonsType</type> enum." | ||||
27568 | #~ msgstr "" | ||||
27569 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27570 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27571 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27572 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27573 | #~ "ButtonsType</type>-uppräkningen." | ||||
27574 | |||||
27575 | #~ msgid "" | ||||
27576 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27577 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27578 | #~ msgstr "" | ||||
27579 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27580 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27581 | |||||
27582 | #~ msgid "" | ||||
27583 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27584 | #~ "\"Open\" or \"Save\" menu items." | ||||
27585 | #~ msgstr "" | ||||
27586 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27587 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27588 | |||||
27589 | #~ msgid "FileChooser" | ||||
27590 | #~ msgstr "FileChooser" | ||||
27591 | |||||
27592 | #, fuzzy | ||||
27593 | #~ msgid "" | ||||
27594 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27595 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27596 | #~ "dialog when it is clicked." | ||||
27597 | #~ msgstr "" | ||||
27598 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27599 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27600 | #~ "klickas på." | ||||
27601 | |||||
27602 | #, fuzzy | ||||
27603 | #~ msgid "" | ||||
27604 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27605 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27606 | #~ "when it is clicked." | ||||
27607 | #~ msgstr "" | ||||
27608 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27609 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27610 | #~ "typsnittsväljardialog när den klickas på." | ||||
27611 | |||||
27612 | #~ msgid "" | ||||
27613 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27614 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27615 | #~ msgstr "" | ||||
27616 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27617 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27618 | |||||
27619 | #, fuzzy | ||||
27620 | #~ msgid "" | ||||
27621 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27622 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27623 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27624 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27625 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27626 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27627 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27628 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27629 | #~ "information. CSS files are described in the documentation of " | ||||
27630 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27631 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27632 | #~ msgstr "" | ||||
27633 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27634 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27635 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27636 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27637 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27638 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27639 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27640 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27641 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27642 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27643 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27644 | |||||
27645 | #, no-wrap | ||||
27646 | #~ msgid "" | ||||
27647 | #~ "\n" | ||||
27648 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||||
27649 | #~ " GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n" | ||||
27650 | #~ msgstr "" | ||||
27651 | #~ "\n" | ||||
27652 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||||
27653 | #~ " GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n" | ||||
27654 | |||||
27655 | #, no-wrap | ||||
27656 | #~ msgid "" | ||||
27657 | #~ "\n" | ||||
27658 | #~ "_WRAP_METHOD(bool get_cell_rect(const TreeModel::Path& path,\n" | ||||
27659 | #~ " const CellRenderer& cell, Gdk::Rectangle& rect{>>}) const,\n | ||||
> | " | ||||
27660 | #~ " gtk_icon_view_get_cell_rect)\n" | ||||
27661 | #~ msgstr "" | ||||
27662 | #~ "\n" | ||||
27663 | #~ "_WRAP_METHOD(bool get_cell_rect(const TreeModel::Path& path,\n" | ||||
27664 | #~ " const CellRenderer& cell, Gdk::Rectangle& rect{>>}) const,\n | ||||
> | " | ||||
27665 | #~ " gtk_icon_view_get_cell_rect)\n" | ||||
27666 | |||||
27667 | #, no-wrap | ||||
27668 | #~ msgid "" | ||||
27669 | #~ "\n" | ||||
27670 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||||
> | $4))')\n" | ||||
27671 | #~ msgstr "" | ||||
27672 | #~ "\n" | ||||
27673 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||||
> | $4))')\n" | ||||
27674 | |||||
27675 | # TODO: Fixed sep 2022? | ||||
27676 | #~ msgid "" | ||||
27677 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" | ||||
27678 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | ||||
27679 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " | ||||
27680 | #~ "latest info." | ||||
27681 | #~ msgstr "" | ||||
27682 | #~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i " | ||||
27683 | #~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://" | ||||
27684 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för " | ||||
27685 | #~ "den senaste informationen." | ||||
27686 | |||||
27687 | #~ msgid "An preference dialog" | ||||
27688 | #~ msgstr "En inställningsdialog" |
Note: both files are merged with latest POT file.