gtkmm-documentation - master - Tutorial - Swedish
Uploaded file by Anders Jonsson on 2022-10-12 16:49:22+00:00 | Uploaded file by Anders Jonsson on 2023-03-05 11:30:32+00:00 | ||||
---|---|---|---|---|---|
5 | # | 5 | # | ||
6 | msgid "" | 6 | msgid "" | ||
7 | msgstr "" | 7 | msgstr "" | ||
8 | "Project-Id-Version: gtkmm-documentation master\n" | 8 | "Project-Id-Version: gtkmm-documentation master\n" | ||
9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | 9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | ||
n | 10 | "PO-Revision-Date: 2022-10-12 18:48+0200\n" | n | 10 | "PO-Revision-Date: 2023-03-05 12:30+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" | ||
16 | "Content-Transfer-Encoding: 8bit\n" | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
17 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | 17 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
n | 18 | "X-Generator: Poedit 3.1.1\n" | n | 18 | "X-Generator: Poedit 3.2.2\n" |
19 | 19 | ||||
20 | #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 | 20 | #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 | ||
21 | msgctxt "_" | 21 | msgctxt "_" | ||
22 | msgid "translator-credits" | 22 | msgid "translator-credits" | ||
n | 23 | msgstr "Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022" | n | 23 | msgstr "Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022, 2023" |
24 | 24 | ||||
25 | #. (itstool) path: info/title | 25 | #. (itstool) path: info/title | ||
26 | #: C/index-in.docbook:46 | 26 | #: C/index-in.docbook:46 | ||
27 | msgid "Programming with <application>gtkmm</application> 4" | 27 | msgid "Programming with <application>gtkmm</application> 4" | ||
28 | msgstr "Programmering med <application>gtkmm</application> 4" | 28 | msgstr "Programmering med <application>gtkmm</application> 4" | ||
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></" | ||
79 | "personname> <contrib>Kapitlet om ”Utskrift”.</contrib> <contrib>Delar av " | 78 | "personname> <contrib>Kapitlet om ”Utskrift”.</contrib> <contrib>Delar av " | ||
80 | "kapitlet ”Internationalisering”.</contrib>" | 79 | "kapitlet ”Internationalisering”.</contrib>" | ||
81 | 80 | ||||
82 | #. (itstool) path: authorgroup/author | 81 | #. (itstool) path: authorgroup/author | ||
83 | #: C/index-in.docbook:70 | 82 | #: C/index-in.docbook:70 | ||
n | 84 | #, fuzzy | n | ||
85 | msgid "" | 83 | msgid "" | ||
86 | "<personname><firstname>Daniel</firstname><surname>Elstner</surname></" | 84 | "<personname><firstname>Daniel</firstname><surname>Elstner</surname></" | ||
87 | "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping C " | 85 | "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping C " | ||
88 | "Libraries with gmmproc\".</contrib>" | 86 | "Libraries with gmmproc\".</contrib>" | ||
89 | msgstr "" | 87 | msgstr "" | ||
141 | "<contrib>Kapitlet ”Bygga program”.</contrib>" | 139 | "<contrib>Kapitlet ”Bygga program”.</contrib>" | ||
142 | 140 | ||||
143 | #. (itstool) path: authorgroup/author | 141 | #. (itstool) path: authorgroup/author | ||
144 | #: C/index-in.docbook:93 | 142 | #: C/index-in.docbook:93 | ||
145 | #, fuzzy | 143 | #, fuzzy | ||
n | n | 144 | #| msgid "" | ||
145 | #| "<personname><firstname>Daniel</firstname><surname>Elstner</surname></" | ||||
146 | #| "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping " | ||||
147 | #| "C Libraries with gmmproc\".</contrib>" | ||||
146 | msgid "" | 148 | msgid "" | ||
147 | "<personname><firstname>Daniel</firstname><surname>Boles</surname></" | 149 | "<personname><firstname>Daniel</firstname><surname>Boles</surname></" | ||
148 | "personname> <contrib>Notes on need to remove widgets in non-managed wrappers " | 150 | "personname> <contrib>Notes on need to remove widgets in non-managed wrappers " | ||
149 | "from parents to dispose, other tweaks.</contrib>" | 151 | "from parents to dispose, other tweaks.</contrib>" | ||
150 | msgstr "" | 152 | msgstr "" | ||
711 | "application>-källkoden, packar upp den, och går till den nyskapade " | 713 | "application>-källkoden, packar upp den, och går till den nyskapade " | ||
712 | "katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen " | 714 | "katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen " | ||
713 | "<filename>README</filename> i <application>gtkmm</application>-versionen som " | 715 | "<filename>README</filename> i <application>gtkmm</application>-versionen som " | ||
714 | "du hämtat." | 716 | "du hämtat." | ||
715 | 717 | ||||
n | 716 | # TODO: root password for su, not sudo | n | 718 | # TODO: root password for su, not sudo? |
717 | #. (itstool) path: note/para | 719 | #. (itstool) path: note/para | ||
718 | #: C/index-in.docbook:271 | 720 | #: C/index-in.docbook:271 | ||
719 | msgid "" | 721 | msgid "" | ||
720 | "Remember that on a Unix or Linux operating system, you will probably need to " | 722 | "Remember that on a Unix or Linux operating system, you will probably need to " | ||
721 | "be <literal>root</literal> to install software. The <command>su</command> or " | 723 | "be <literal>root</literal> to install software. The <command>su</command> or " | ||
920 | msgstr "#include <gtkmm.h>" | 922 | msgstr "#include <gtkmm.h>" | ||
921 | 923 | ||||
922 | #. (itstool) path: section/para | 924 | #. (itstool) path: section/para | ||
923 | #: C/index-in.docbook:349 | 925 | #: C/index-in.docbook:349 | ||
924 | #, fuzzy | 926 | #, fuzzy | ||
n | n | 927 | #| msgid "" | ||
928 | #| "All <application>gtkmm</application> programs must include certain " | ||||
929 | #| "<application>gtkmm</application> headers; <literal>gtkmm.h</literal> " | ||||
930 | #| "includes the entire <application>gtkmm</application> kit. This is usually " | ||||
931 | #| "not a good idea, because it includes a megabyte or so of headers, but for " | ||||
932 | #| "simple programs, it suffices." | ||||
925 | msgid "" | 933 | msgid "" | ||
926 | "All <application>gtkmm</application> programs must include certain " | 934 | "All <application>gtkmm</application> programs must include certain " | ||
927 | "<application>gtkmm</application> headers; <filename>gtkmm.h</filename> " | 935 | "<application>gtkmm</application> headers; <filename>gtkmm.h</filename> " | ||
928 | "includes the entire <application>gtkmm</application> kit. This is usually " | 936 | "includes the entire <application>gtkmm</application> kit. This is usually " | ||
929 | "not a good idea, because it includes a megabyte or so of headers, but for " | 937 | "not a good idea, because it includes a megabyte or so of headers, but for " | ||
985 | msgid "" | 993 | msgid "" | ||
986 | "defines the <classname>MyWindow</classname> class. Its default constructor " | 994 | "defines the <classname>MyWindow</classname> class. Its default constructor " | ||
987 | "sets the window's title and default (initial) size." | 995 | "sets the window's title and default (initial) size." | ||
988 | msgstr "" | 996 | msgstr "" | ||
989 | "definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor " | 997 | "definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor " | ||
n | 990 | "ställer in fönstrets titel and (initial) standardstorlek." | n | 998 | "ställer in fönstrets titel och (initial) standardstorlek." |
991 | 999 | ||||
992 | #. (itstool) path: section/para | 1000 | #. (itstool) path: section/para | ||
993 | #: C/index-in.docbook:373 | 1001 | #: C/index-in.docbook:373 | ||
994 | msgid "The <function>main()</function> function's first statement:" | 1002 | msgid "The <function>main()</function> function's first statement:" | ||
995 | msgstr "<function>main()</function>-funktionens första sats:" | 1003 | msgstr "<function>main()</function>-funktionens första sats:" | ||
1092 | "literal> är endast nödvändigt om din kompilator inte följer C++17 som " | 1100 | "literal> är endast nödvändigt om din kompilator inte följer C++17 som " | ||
1093 | "standard." | 1101 | "standard." | ||
1094 | 1102 | ||||
1095 | #. (itstool) path: section/title | 1103 | #. (itstool) path: section/title | ||
1096 | #: C/index-in.docbook:404 | 1104 | #: C/index-in.docbook:404 | ||
n | 1097 | #, fuzzy | n | ||
1098 | msgid "Headers and Linking" | 1105 | msgid "Headers and Linking" | ||
1099 | msgstr "Huvuden och länkning" | 1106 | msgstr "Huvuden och länkning" | ||
1100 | 1107 | ||||
1101 | #. (itstool) path: section/para | 1108 | #. (itstool) path: section/para | ||
1102 | #: C/index-in.docbook:406 | 1109 | #: C/index-in.docbook:406 | ||
2039 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" | 2046 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" | ||
2040 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | 2047 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | ||
2041 | 2048 | ||||
2042 | #. (itstool) path: chapter/para | 2049 | #. (itstool) path: chapter/para | ||
2043 | #: C/index-in.docbook:696 | 2050 | #: C/index-in.docbook:696 | ||
n | 2044 | #, fuzzy | n | ||
2045 | msgid "" | 2051 | msgid "" | ||
2046 | "<application>gtkmm</application> 3's library is called " | 2052 | "<application>gtkmm</application> 3's library is called " | ||
2047 | "<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> " | 2053 | "<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> " | ||
2048 | "and installs its headers in a similarly-versioned directory, so your pkg-" | 2054 | "and installs its headers in a similarly-versioned directory, so your pkg-" | ||
2049 | "config check should ask for <literal>gtkmm-3.0</literal> rather than " | 2055 | "config check should ask for <literal>gtkmm-3.0</literal> rather than " | ||
2106 | "t som du troligen kommer stöta på när du porterar kod som använt " | 2112 | "t som du troligen kommer stöta på när du porterar kod som använt " | ||
2107 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | 2113 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | ||
2108 | 2114 | ||||
2109 | #. (itstool) path: listitem/simpara | 2115 | #. (itstool) path: listitem/simpara | ||
2110 | #: C/index-in.docbook:711 | 2116 | #: C/index-in.docbook:711 | ||
n | 2111 | #, fuzzy | n | ||
2112 | msgid "" | 2117 | msgid "" | ||
2113 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | 2118 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | ||
2114 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | 2119 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | ||
2115 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | 2120 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | ||
2116 | "can be used to specify more details of how the <classname>CellRenderer</" | 2121 | "can be used to specify more details of how the <classname>CellRenderer</" | ||
2122 | "classname> som kan användas för att ange mer detaljer på hur " | 2127 | "classname> som kan användas för att ange mer detaljer på hur " | ||
2123 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." | 2128 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." | ||
2124 | 2129 | ||||
2125 | #. (itstool) path: listitem/simpara | 2130 | #. (itstool) path: listitem/simpara | ||
2126 | #: C/index-in.docbook:713 | 2131 | #: C/index-in.docbook:713 | ||
n | 2127 | #, fuzzy | n | ||
2128 | msgid "" | 2132 | msgid "" | ||
2129 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | 2133 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | ||
2130 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | 2134 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | ||
2131 | msgstr "" | 2135 | msgstr "" | ||
2132 | "Gtk::ComboBox härleds nu från CellLayout, vilket tillåter lättare layout och " | 2136 | "Gtk::ComboBox härleds nu från CellLayout, vilket tillåter lättare layout och " | ||
2163 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | 2167 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | ||
2164 | "kräva användningen av en härledd klass som <classname>Gtk::HBox</classname>." | 2168 | "kräva användningen av en härledd klass som <classname>Gtk::HBox</classname>." | ||
2165 | 2169 | ||||
2166 | #. (itstool) path: listitem/simpara | 2170 | #. (itstool) path: listitem/simpara | ||
2167 | #: C/index-in.docbook:720 | 2171 | #: C/index-in.docbook:720 | ||
n | 2168 | #, fuzzy | n | ||
2169 | msgid "" | 2172 | msgid "" | ||
2170 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | 2173 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | ||
2171 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | 2174 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | ||
2172 | "Scrollable instead of having their own methods such as " | 2175 | "Scrollable instead of having their own methods such as " | ||
2173 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | 2176 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | ||
2179 | "<methodname>get_vadjustment()</methodname> och i stället för att ha sin egen " | 2182 | "<methodname>get_vadjustment()</methodname> och i stället för att ha sin egen " | ||
2180 | "set_scroll_adjustments-signal." | 2183 | "set_scroll_adjustments-signal." | ||
2181 | 2184 | ||||
2182 | #. (itstool) path: listitem/simpara | 2185 | #. (itstool) path: listitem/simpara | ||
2183 | #: C/index-in.docbook:722 | 2186 | #: C/index-in.docbook:722 | ||
n | 2184 | #, fuzzy | n | ||
2185 | msgid "" | 2187 | msgid "" | ||
2186 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | 2188 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||
2187 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | 2189 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||
2188 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | 2190 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||
2189 | "CssProvider</classname>." | 2191 | "CssProvider</classname>." | ||
2190 | msgstr "" | 2192 | msgstr "" | ||
2191 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 2193 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
2192 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 2194 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 2193 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 2195 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
2194 | "classname>." | 2196 | "CssProvider</classname>." | ||
2195 | 2197 | ||||
2196 | #. (itstool) path: listitem/simpara | 2198 | #. (itstool) path: listitem/simpara | ||
2197 | #: C/index-in.docbook:724 | 2199 | #: C/index-in.docbook:724 | ||
2198 | msgid "" | 2200 | msgid "" | ||
2199 | "Widget::on_expose_event() was replaced by Widget::on_draw(), which assumes " | 2201 | "Widget::on_expose_event() was replaced by Widget::on_draw(), which assumes " | ||
2206 | "classname> och kräver inte att du anropar <methodname>Cairo::Context::" | 2208 | "classname> och kräver inte att du anropar <methodname>Cairo::Context::" | ||
2207 | "clip()</methodname>." | 2209 | "clip()</methodname>." | ||
2208 | 2210 | ||||
2209 | #. (itstool) path: listitem/simpara | 2211 | #. (itstool) path: listitem/simpara | ||
2210 | #: C/index-in.docbook:726 | 2212 | #: C/index-in.docbook:726 | ||
n | 2211 | #, fuzzy | n | ||
2212 | msgid "" | 2213 | msgid "" | ||
2213 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | 2214 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | ||
2214 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | 2215 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | ||
2215 | "removed, along with its awkward use to allocate colors." | 2216 | "removed, along with its awkward use to allocate colors." | ||
2216 | msgstr "" | 2217 | msgstr "" | ||
2242 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | 2243 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | ||
2243 | "till <classname>Gdk::Window</classname>." | 2244 | "till <classname>Gdk::Window</classname>." | ||
2244 | 2245 | ||||
2245 | #. (itstool) path: listitem/simpara | 2246 | #. (itstool) path: listitem/simpara | ||
2246 | #: C/index-in.docbook:732 | 2247 | #: C/index-in.docbook:732 | ||
n | 2247 | #, fuzzy | n | ||
2248 | msgid "" | 2248 | msgid "" | ||
2249 | "We now use std::vector in several methods instead of the intermediate " | 2249 | "We now use std::vector in several methods instead of the intermediate " | ||
2250 | "*Handle types to make the API clearer." | 2250 | "*Handle types to make the API clearer." | ||
2251 | msgstr "" | 2251 | msgstr "" | ||
2252 | "Vi använder nu std::vector i flera metoder i stället för mellanliggande " | 2252 | "Vi använder nu std::vector i flera metoder i stället för mellanliggande " | ||
2263 | "nya föråldringar har gjorts i senare <application>gtkmm</application> 3.x-" | 2263 | "nya föråldringar har gjorts i senare <application>gtkmm</application> 3.x-" | ||
2264 | "versioner." | 2264 | "versioner." | ||
2265 | 2265 | ||||
2266 | #. (itstool) path: chapter/para | 2266 | #. (itstool) path: chapter/para | ||
2267 | #: C/index-in.docbook:739 | 2267 | #: C/index-in.docbook:739 | ||
n | 2268 | #, fuzzy | n | ||
2269 | msgid "" | 2268 | msgid "" | ||
2270 | "As a first step to porting your source code to <application>gtkmm</" | 2269 | "As a first step to porting your source code to <application>gtkmm</" | ||
2271 | "application>-3.0 you should probably ensure that your application builds " | 2270 | "application>-3.0 you should probably ensure that your application builds " | ||
2272 | "with the deprecated <application>gtkmm</application>-2.4 API disabled, by " | 2271 | "with the deprecated <application>gtkmm</application>-2.4 API disabled, by " | ||
2273 | "defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools " | 2272 | "defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools " | ||
2318 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | 2317 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | ||
2319 | "du lugnt ignorera detta kapitel." | 2318 | "du lugnt ignorera detta kapitel." | ||
2320 | 2319 | ||||
2321 | #. (itstool) path: chapter/para | 2320 | #. (itstool) path: chapter/para | ||
2322 | #: C/index-in.docbook:754 | 2321 | #: C/index-in.docbook:754 | ||
n | 2323 | #, fuzzy | n | ||
2324 | msgid "" | 2322 | msgid "" | ||
2325 | "<application>gtkmm</application> 4's library is called " | 2323 | "<application>gtkmm</application> 4's library is called " | ||
2326 | "<literal>libgtkmm-4.0</literal> rather than <literal>libgtkmm-3.0</literal> " | 2324 | "<literal>libgtkmm-4.0</literal> rather than <literal>libgtkmm-3.0</literal> " | ||
2327 | "and installs its headers in a similarly-versioned directory, so your " | 2325 | "and installs its headers in a similarly-versioned directory, so your " | ||
2328 | "<application>pkg-config</application> check should ask for " | 2326 | "<application>pkg-config</application> check should ask for " | ||
2335 | "<literal>gtkmm-4.0</literal> snarare än <literal>gtkmm-3.0</literal>." | 2333 | "<literal>gtkmm-4.0</literal> snarare än <literal>gtkmm-3.0</literal>." | ||
2336 | 2334 | ||||
2337 | #. (itstool) path: chapter/para | 2335 | #. (itstool) path: chapter/para | ||
2338 | #: C/index-in.docbook:760 | 2336 | #: C/index-in.docbook:760 | ||
2339 | #, fuzzy | 2337 | #, fuzzy | ||
n | n | 2338 | #| msgid "" | ||
2339 | #| "<application>gtkmm</application>-4.0 is used in combination with " | ||||
2340 | #| "<application>glibmm-2.68</application>, which sets the global locale for " | ||||
2341 | #| "your program. The older <application>glibmm-2.4</application> does not do " | ||||
2342 | #| "that, and <application>gtkmm</application>-3.0 does it only to some " | ||||
2343 | #| "extent. What this means is briefly that if your <application>gtkmm</" | ||||
2344 | #| "application>-3.0 program contains a call to <function>std::locale::" | ||||
2345 | #| "global(std::locale(\"\"))</function>, you can probably remove it. If you " | ||||
2346 | #| "don't want <application>glibmm</application> or <application>gtkmm</" | ||||
2347 | #| "application> to set the global locale for you, you should add a call to " | ||||
2348 | #| "<function>Glib::set_init_to_users_preferred_locale(false)</function> " | ||||
2349 | #| "before any call to <function>Glib::init()</function> or <methodname>Gtk::" | ||||
2350 | #| "Application::create()</methodname>." | ||||
2340 | msgid "" | 2351 | msgid "" | ||
2341 | "<application>gtkmm</application>-4.0 is used in combination with " | 2352 | "<application>gtkmm</application>-4.0 is used in combination with " | ||
2342 | "<application>glibmm-2.68</application>, which sets the global locale for " | 2353 | "<application>glibmm-2.68</application>, which sets the global locale for " | ||
2343 | "your program. The older <application>glibmm-2.4</application> does not do " | 2354 | "your program. The older <application>glibmm-2.4</application> does not do " | ||
2344 | "that, and <application>gtkmm</application>-3.0 does it only to some extent. " | 2355 | "that, and <application>gtkmm</application>-3.0 does it only to some extent. " | ||
2523 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | 2534 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | ||
2524 | "<classname>Gtk::FontChooser</classname>." | 2535 | "<classname>Gtk::FontChooser</classname>." | ||
2525 | 2536 | ||||
2526 | #. (itstool) path: listitem/simpara | 2537 | #. (itstool) path: listitem/simpara | ||
2527 | #: C/index-in.docbook:822 | 2538 | #: C/index-in.docbook:822 | ||
n | 2528 | #, fuzzy | n | ||
2529 | msgid "" | 2539 | msgid "" | ||
2530 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | 2540 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | ||
2531 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | 2541 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | ||
2532 | "This change only affects custom widgets." | 2542 | "This change only affects custom widgets." | ||
2533 | msgstr "" | 2543 | msgstr "" | ||
n | 2534 | "<classname>Gtk::Widget</classname>: De olika " | n | 2544 | "<classname>Gtk::Widget</classname>: De olika metoderna " |
2535 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | 2545 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | ||
2536 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | 2546 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | ||
2537 | "anpassade komponenter." | 2547 | "anpassade komponenter." | ||
2538 | 2548 | ||||
2539 | #. (itstool) path: listitem/simpara | 2549 | #. (itstool) path: listitem/simpara | ||
2593 | msgid "<classname>Gtk::Container</classname> has been removed." | 2603 | msgid "<classname>Gtk::Container</classname> has been removed." | ||
2594 | msgstr "<classname>Gtk::Container</classname> har tagits bort." | 2604 | msgstr "<classname>Gtk::Container</classname> har tagits bort." | ||
2595 | 2605 | ||||
2596 | #. (itstool) path: listitem/simpara | 2606 | #. (itstool) path: listitem/simpara | ||
2597 | #: C/index-in.docbook:833 | 2607 | #: C/index-in.docbook:833 | ||
n | 2598 | #, fuzzy | n | ||
2599 | #| msgid "" | ||||
2600 | #| "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | ||||
2601 | #| "default value of <methodname>Gtk::Widget::property_visible()</" | ||||
2602 | #| "methodname>has been changed from <literal>false</literal> to " | ||||
2603 | #| "<literal>true</literal>." | ||||
2604 | msgid "" | 2608 | msgid "" | ||
2605 | "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | 2609 | "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | ||
2606 | "default value of <methodname>Gtk::Widget::property_visible()</methodname> " | 2610 | "default value of <methodname>Gtk::Widget::property_visible()</methodname> " | ||
2607 | "has been changed from <literal>false</literal> to <literal>true</literal>." | 2611 | "has been changed from <literal>false</literal> to <literal>true</literal>." | ||
2608 | msgstr "" | 2612 | msgstr "" | ||
2695 | "föråldringar i framtida versioner." | 2699 | "föråldringar i framtida versioner." | ||
2696 | 2700 | ||||
2697 | # TODO: copy paste of wiki page? | 2701 | # TODO: copy paste of wiki page? | ||
2698 | #. (itstool) path: chapter/para | 2702 | #. (itstool) path: chapter/para | ||
2699 | #: C/index-in.docbook:862 | 2703 | #: C/index-in.docbook:862 | ||
n | 2700 | #, fuzzy | n | ||
2701 | msgid "" | 2704 | msgid "" | ||
2702 | "As a first step to porting your source code to <application>gtkmm</" | 2705 | "As a first step to porting your source code to <application>gtkmm</" | ||
2703 | "application>-4.0 you should probably ensure that your application builds " | 2706 | "application>-4.0 you should probably ensure that your application builds " | ||
2704 | "with the deprecated <application>gtkmm</application>-3.0 and " | 2707 | "with the deprecated <application>gtkmm</application>-3.0 and " | ||
2705 | "<application>glibmm-2.4</application> API disabled, by defining the macros " | 2708 | "<application>glibmm-2.4</application> API disabled, by defining the macros " | ||
2721 | "Projects/gtkmm/PortingToGtkmm3\">portering från gtkmm-2.4 till gtkmm-3.0</" | 2724 | "Projects/gtkmm/PortingToGtkmm3\">portering från gtkmm-2.4 till gtkmm-3.0</" | ||
2722 | "link> för mer detaljer." | 2725 | "link> för mer detaljer." | ||
2723 | 2726 | ||||
2724 | #. (itstool) path: chapter/para | 2727 | #. (itstool) path: chapter/para | ||
2725 | #: C/index-in.docbook:869 | 2728 | #: C/index-in.docbook:869 | ||
n | 2726 | #, fuzzy | n | ||
2727 | #| msgid "" | ||||
2728 | #| "See also <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-" | ||||
2729 | #| "migrating-3-to-4.html\"> Migrating from GTK 3.x to GTK 4</link>." | ||||
2730 | msgid "" | 2729 | msgid "" | ||
2731 | "See also <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> " | 2730 | "See also <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> " | ||
2732 | "Migrating from GTK 3.x to GTK 4</link>." | 2731 | "Migrating from GTK 3.x to GTK 4</link>." | ||
2733 | msgstr "" | 2732 | msgstr "" | ||
n | 2734 | "Se även <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-" | n | 2733 | "Se även <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> " |
2735 | "migrating-3-to-4.html\"> Migrera från GTK 3.x till GTK 4</link>." | 2734 | "Migrera från GTK 3.x till GTK 4</link>." | ||
2736 | 2735 | ||||
2737 | #. (itstool) path: section/title | 2736 | #. (itstool) path: section/title | ||
2738 | #: C/index-in.docbook:873 | 2737 | #: C/index-in.docbook:873 | ||
n | 2739 | #, fuzzy | n | ||
2740 | #| msgid "Changes in <application>gtkmm</application> 3" | ||||
2741 | msgid "Deprecations in <application>gtkmm</application> 4.10" | 2738 | msgid "Deprecations in <application>gtkmm</application> 4.10" | ||
n | 2742 | msgstr "Ändringar i <application>gtkmm</application> 3" | n | 2739 | msgstr "Föråldringar i <application>gtkmm</application> 4.10" |
2743 | 2740 | ||||
2744 | #. (itstool) path: section/para | 2741 | #. (itstool) path: section/para | ||
2745 | #: C/index-in.docbook:874 | 2742 | #: C/index-in.docbook:874 | ||
2746 | msgid "" | 2743 | msgid "" | ||
2747 | "Many classes are deprecated since <application>gtkmm</application> 4.10. " | 2744 | "Many classes are deprecated since <application>gtkmm</application> 4.10. " | ||
2751 | "4.10, which replace some of the deprecated classes. Some example programs in " | 2748 | "4.10, which replace some of the deprecated classes. Some example programs in " | ||
2752 | "this tutorial use classes deprecated since <application>gtkmm</application> " | 2749 | "this tutorial use classes deprecated since <application>gtkmm</application> " | ||
2753 | "4.10. Some other programs use classes available since <application>gtkmm</" | 2750 | "4.10. Some other programs use classes available since <application>gtkmm</" | ||
2754 | "application> 4.10." | 2751 | "application> 4.10." | ||
2755 | msgstr "" | 2752 | msgstr "" | ||
n | n | 2753 | "Många klasser har föråldrats sedan <application>gtkmm</application> 4.10. De " | ||
2754 | "kan fortfarande användas i <application>gtkmm</application>4-program, " | ||||
2755 | "förutsatt att GTKMM_DISABLE_DEPRECATED och GDKMM_DISABLE_DEPRECATED inte har " | ||||
2756 | "definierats. Det finns också många nya klasser i <application>gtkmm</" | ||||
2757 | "application> 4.10, vilka ersätter några av de föråldrade klasserna. Några " | ||||
2758 | "exempelprogram i denna handledning använder klasser som föråldrats sedan " | ||||
2759 | "<application>gtkmm</application> 4.10. Några andra program använder klasser " | ||||
2760 | "som är tillgängliga sedan <application>gtkmm</application> 4.10." | ||||
2756 | 2761 | ||||
2757 | #. (itstool) path: section/para | 2762 | #. (itstool) path: section/para | ||
2758 | #: C/index-in.docbook:880 | 2763 | #: C/index-in.docbook:880 | ||
n | n | 2764 | #, fuzzy | ||
2759 | msgid "" | 2765 | msgid "" | ||
2760 | "Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, " | 2766 | "Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, " | ||
2761 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | 2767 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | ||
2762 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | 2768 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | ||
2763 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | 2769 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | ||
2771 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | 2777 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | ||
2772 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | 2778 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | ||
2773 | "TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, " | 2779 | "TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, " | ||
2774 | "Statusbar, VolumeButton." | 2780 | "Statusbar, VolumeButton." | ||
2775 | msgstr "" | 2781 | msgstr "" | ||
n | n | 2782 | "Föråldrade klasser: AppChooser, AppChooserButton, AppChooserDialog, " | ||
2783 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | ||||
2784 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | ||||
2785 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | ||||
2786 | "CellRendererText, CellRendererToggle, CellView, ComboBox, ComboBoxText, " | ||||
2787 | "EntryCompletion, IconView, ListStore, ListViewText, StyleContext, " | ||||
2788 | "TreeDragDest, TreeDragSource, TreeIter och andra klasser i treeiter.h, " | ||||
2789 | "TreeModel, TreeModelFilter, TreeModelSort, TreePath, TreeRowReference, " | ||||
2790 | "TreeSelection, TreeSortable, TreeStore, TreeView, TreeViewColumn, namnrymden " | ||||
2791 | "CellRenderer_Generation, namnrymden TreeView_Private, ColorButton, " | ||||
2792 | "ColorChooser, ColorChooserDialog, FileChooser, FileChooserDialog, " | ||||
2793 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | ||||
2794 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | ||||
2795 | "TreeModelColumnRecord, InfoBar." | ||||
2776 | 2796 | ||||
2777 | #. (itstool) path: section/para | 2797 | #. (itstool) path: section/para | ||
2778 | #: C/index-in.docbook:898 | 2798 | #: C/index-in.docbook:898 | ||
n | n | 2799 | #, fuzzy | ||
2779 | msgid "" | 2800 | msgid "" | ||
2780 | "New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, " | 2801 | "New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, " | ||
2781 | "ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, " | 2802 | "ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, " | ||
2782 | "UriLauncher, ATContext, enums DialogError, FontLevel, Collation." | 2803 | "UriLauncher, ATContext, enums DialogError, FontLevel, Collation." | ||
2783 | msgstr "" | 2804 | msgstr "" | ||
n | n | 2805 | "Nya klasser och enum-uppräkningar: AlertDialog, ColorDialog, " | ||
2806 | "ColorDialogButton, ColumnViewSorter, FileDialog, FontDialog, " | ||||
2807 | "FontDialogButton, enum: DialogError, FontLevel." | ||||
2784 | 2808 | ||||
2785 | #. (itstool) path: section/para | 2809 | #. (itstool) path: section/para | ||
2786 | #: C/index-in.docbook:903 | 2810 | #: C/index-in.docbook:903 | ||
2787 | msgid "" | 2811 | msgid "" | ||
2788 | "In most cases there are replacements for the deprecated classes. See the " | 2812 | "In most cases there are replacements for the deprecated classes. See the " | ||
2789 | "reference documentation." | 2813 | "reference documentation." | ||
2790 | msgstr "" | 2814 | msgstr "" | ||
n | n | 2815 | "I de flesta fall finns det ersättningar för de föråldrade klasserna. Se " | ||
2816 | "referensdokumentationen." | ||||
2791 | 2817 | ||||
2792 | #. (itstool) path: chapter/title | 2818 | #. (itstool) path: chapter/title | ||
2793 | #: C/index-in.docbook:911 | 2819 | #: C/index-in.docbook:911 | ||
2794 | msgid "Buttons" | 2820 | msgid "Buttons" | ||
2795 | msgstr "Knappar" | 2821 | msgstr "Knappar" | ||
2806 | msgid "Push buttons" | 2832 | msgid "Push buttons" | ||
2807 | msgstr "Tryckknappar" | 2833 | msgstr "Tryckknappar" | ||
2808 | 2834 | ||||
2809 | #. (itstool) path: listitem/para | 2835 | #. (itstool) path: listitem/para | ||
2810 | #: C/index-in.docbook:922 | 2836 | #: C/index-in.docbook:922 | ||
n | 2811 | #, fuzzy | n | ||
2812 | msgid "" | 2837 | msgid "" | ||
2813 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2838 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2814 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | 2839 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||
2815 | "Standard buttons, usually marked with a label or picture. Pushing one " | 2840 | "Standard buttons, usually marked with a label or picture. Pushing one " | ||
2816 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | 2841 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | ||
2849 | msgid "Check buttons" | 2874 | msgid "Check buttons" | ||
2850 | msgstr "Kryssrutor" | 2875 | msgstr "Kryssrutor" | ||
2851 | 2876 | ||||
2852 | #. (itstool) path: listitem/para | 2877 | #. (itstool) path: listitem/para | ||
2853 | #: C/index-in.docbook:941 | 2878 | #: C/index-in.docbook:941 | ||
n | 2854 | #, fuzzy | n | ||
2855 | msgid "" | 2879 | msgid "" | ||
2856 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2880 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2857 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | 2881 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||
2858 | "link>. These act like ToggleButtons, but show their state in small squares, " | 2882 | "link>. These act like ToggleButtons, but show their state in small squares, " | ||
2859 | "with their label at the side. They should be used in most situations which " | 2883 | "with their label at the side. They should be used in most situations which " | ||
3765 | msgid "Entry Completion" | 3789 | msgid "Entry Completion" | ||
3766 | msgstr "Inmatningskomplettering" | 3790 | msgstr "Inmatningskomplettering" | ||
3767 | 3791 | ||||
3768 | #. (itstool) path: note/para | 3792 | #. (itstool) path: note/para | ||
3769 | #: C/index-in.docbook:1381 | 3793 | #: C/index-in.docbook:1381 | ||
n | 3770 | #, fuzzy | n | ||
3771 | #| msgid "" | ||||
3772 | #| "Some new classes were added in <application>gtkmm</application> 4 and " | ||||
3773 | #| "<application>glibmm</application> 2.68:" | ||||
3774 | msgid "" | 3794 | msgid "" | ||
3775 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | 3795 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | ||
3776 | "<application>gtkmm</application> 4.10. There is no replacement in " | 3796 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
3777 | "<application>gtkmm</application>." | 3797 | "<application>gtkmm</application>." | ||
3778 | msgstr "" | 3798 | msgstr "" | ||
n | 3779 | "Några nya klasser lades till i <application>gtkmm</application> 4 och " | n | 3799 | "<classname>Gtk::EntryCompletion</classname> är föråldrad sedan " |
3800 | "<application>gtkmm</application> 4.10. Det finns ingen ersättning i " | ||||
3780 | "<application>glibmm</application> 2.68:" | 3801 | "<application>gtkmm</application>." | ||
3781 | 3802 | ||||
3782 | #. (itstool) path: section/para | 3803 | #. (itstool) path: section/para | ||
3783 | #: C/index-in.docbook:1385 | 3804 | #: C/index-in.docbook:1385 | ||
3784 | msgid "" | 3805 | msgid "" | ||
3785 | "An <classname>Entry</classname> widget can offer a drop-down list of pre-" | 3806 | "An <classname>Entry</classname> widget can offer a drop-down list of pre-" | ||
3890 | msgid "Entry Icons" | 3911 | msgid "Entry Icons" | ||
3891 | msgstr "Inmatningsikoner" | 3912 | msgstr "Inmatningsikoner" | ||
3892 | 3913 | ||||
3893 | #. (itstool) path: section/para | 3914 | #. (itstool) path: section/para | ||
3894 | #: C/index-in.docbook:1433 | 3915 | #: C/index-in.docbook:1433 | ||
n | 3895 | #, fuzzy | n | ||
3896 | #| msgid "" | ||||
3897 | #| "An <classname>Entry</classname> widget can show an icon at the start or " | ||||
3898 | #| "end of the text area. The icon can be specifed by methods such as " | ||||
3899 | #| "<methodname>set_icon_from_paintable()</methodname> or " | ||||
3900 | #| "<methodname>set_icon_from_icon_name()</methodname>. An application can " | ||||
3901 | #| "respond to the user pressing the icon by handling the " | ||||
3902 | #| "<methodname>signal_icon_press</methodname> signal." | ||||
3903 | msgid "" | 3916 | msgid "" | ||
3904 | "An <classname>Entry</classname> widget can show an icon at the start or end " | 3917 | "An <classname>Entry</classname> widget can show an icon at the start or end " | ||
3905 | "of the text area. The icon can be specified by methods such as " | 3918 | "of the text area. The icon can be specified by methods such as " | ||
3906 | "<methodname>set_icon_from_paintable()</methodname> or " | 3919 | "<methodname>set_icon_from_paintable()</methodname> or " | ||
3907 | "<methodname>set_icon_from_icon_name()</methodname>. An application can " | 3920 | "<methodname>set_icon_from_icon_name()</methodname>. An application can " | ||
4167 | "behöver ange en <classname>Gtk::SpinType</classname> för att ange riktningen " | 4180 | "behöver ange en <classname>Gtk::SpinType</classname> för att ange riktningen " | ||
4168 | "eller ny position." | 4181 | "eller ny position." | ||
4169 | 4182 | ||||
4170 | #. (itstool) path: section/para | 4183 | #. (itstool) path: section/para | ||
4171 | #: C/index-in.docbook:1585 | 4184 | #: C/index-in.docbook:1585 | ||
n | 4172 | #, fuzzy | n | ||
4173 | msgid "" | 4185 | msgid "" | ||
4174 | "To prevent the user from typing non-numeric characters into the entry box, " | 4186 | "To prevent the user from typing non-numeric characters into the entry box, " | ||
4175 | "pass <literal>true</literal> to the <methodname>set_numeric()</methodname> " | 4187 | "pass <literal>true</literal> to the <methodname>set_numeric()</methodname> " | ||
4176 | "method." | 4188 | "method." | ||
4177 | msgstr "" | 4189 | msgstr "" | ||
4178 | "För att hindra användaren från att mata in icke-numeriska tecken i " | 4190 | "För att hindra användaren från att mata in icke-numeriska tecken i " | ||
n | 4179 | "inmatningsfältet sätter du metoden <methodname>set_numeric()</methodname> " | n | 4191 | "inmatningsfältet skickar du <literal>true</literal> till metoden " |
4180 | "till <literal>true</literal>." | 4192 | "<methodname>set_numeric()</methodname>." | ||
4181 | 4193 | ||||
4182 | #. (itstool) path: section/para | 4194 | #. (itstool) path: section/para | ||
4183 | #: C/index-in.docbook:1590 | 4195 | #: C/index-in.docbook:1590 | ||
4184 | #, fuzzy | 4196 | #, fuzzy | ||
4185 | msgid "" | 4197 | msgid "" | ||
4390 | "The <classname>InfoBar</classname> widget is deprecated since " | 4402 | "The <classname>InfoBar</classname> widget is deprecated since " | ||
4391 | "<application>gtkmm</application> 4.10. The example shows an info bar " | 4403 | "<application>gtkmm</application> 4.10. The example shows an info bar " | ||
4392 | "consisting of a <classname>Box</classname> with a <classname>Label</" | 4404 | "consisting of a <classname>Box</classname> with a <classname>Label</" | ||
4393 | "classname> and a <classname>Button</classname>." | 4405 | "classname> and a <classname>Button</classname>." | ||
4394 | msgstr "" | 4406 | msgstr "" | ||
n | n | 4407 | "<classname>InfoBar</classname>-komponenten är föråldrad sedan " | ||
4408 | "<application>gtkmm</application> 4.10. Exemplen visar en inforad som består " | ||||
4409 | "av en <classname>Box</classname> med en <classname>Label</classname> och en " | ||||
4410 | "<classname>Button</classname>." | ||||
4395 | 4411 | ||||
4396 | #. (itstool) path: imageobject/imagedata | 4412 | #. (itstool) path: imageobject/imagedata | ||
4397 | #. This is a reference to an external file such as an image or video. When | 4413 | #. This is a reference to an external file such as an image or video. When | ||
4398 | #. the file changes, the md5 hash will change to let you know you need to | 4414 | #. the file changes, the md5 hash will change to let you know you need to | ||
4399 | #. update your localized copy. The msgstr is not used at all. Set it to | 4415 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
5589 | "<application>gtkmm</application> 4.10. There is no replacement in " | 5605 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
5590 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | 5606 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | ||
5591 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | 5607 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | ||
5592 | "classname> might be an acceptable replacement." | 5608 | "classname> might be an acceptable replacement." | ||
5593 | msgstr "" | 5609 | msgstr "" | ||
n | n | 5610 | "<classname>Gtk::Assistant</classname> är föråldrad sedan <application>gtkmm</" | ||
5611 | "application> 4.10. Det finns ingen ersättning i <application>gtkmm</" | ||||
5612 | "application>. libadwaita (ett C-bibliotek) har ersättningsdelar (som " | ||||
5613 | "AdwCarousel). I vissa fall kan en <classname>Gtk::Notebook</classname> vara " | ||||
5614 | "en acceptabel ersättning." | ||||
5594 | 5615 | ||||
5595 | #. (itstool) path: section/para | 5616 | #. (itstool) path: section/para | ||
5596 | #: C/index-in.docbook:2297 | 5617 | #: C/index-in.docbook:2297 | ||
5597 | #, fuzzy | 5618 | #, fuzzy | ||
5598 | msgid "" | 5619 | msgid "" | ||
5717 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5738 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5718 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | 5739 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | ||
5719 | 5740 | ||||
5720 | #. (itstool) path: section/para | 5741 | #. (itstool) path: section/para | ||
5721 | #: C/index-in.docbook:2345 | 5742 | #: C/index-in.docbook:2345 | ||
n | 5722 | #, fuzzy | n | ||
5723 | #| msgid "" | ||||
5724 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
5725 | #| "tree/master/examples/book/flowbox\">Source Code, FlowBox</link>" | ||||
5726 | msgid "" | 5743 | msgid "" | ||
5727 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5744 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5728 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | 5745 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | ||
5729 | msgstr "" | 5746 | msgstr "" | ||
5730 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5747 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 5731 | "master/examples/book/flowbox\">Källkod, FlowBox</link>" | n | 5748 | "master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>" |
5732 | 5749 | ||||
5733 | #. (itstool) path: chapter/title | 5750 | #. (itstool) path: chapter/title | ||
5734 | #: C/index-in.docbook:2352 | 5751 | #: C/index-in.docbook:2352 | ||
5735 | msgid "ListView, GridView, ColumnView" | 5752 | msgid "ListView, GridView, ColumnView" | ||
5736 | msgstr "" | 5753 | msgstr "" | ||
5785 | "link> i <application>gtkmm-documentation</application>s exempel." | 5802 | "link> i <application>gtkmm-documentation</application>s exempel." | ||
5786 | 5803 | ||||
5787 | #. (itstool) path: section/title | 5804 | #. (itstool) path: section/title | ||
5788 | #: C/index-in.docbook:2377 | 5805 | #: C/index-in.docbook:2377 | ||
5789 | #, fuzzy | 5806 | #, fuzzy | ||
n | n | 5807 | #| msgid "The Model" | ||
5790 | msgid "The Data Model" | 5808 | msgid "The Data Model" | ||
5791 | msgstr "Modellen" | 5809 | msgstr "Modellen" | ||
5792 | 5810 | ||||
5793 | #. (itstool) path: section/para | 5811 | #. (itstool) path: section/para | ||
5794 | #: C/index-in.docbook:2379 | 5812 | #: C/index-in.docbook:2379 | ||
5802 | msgstr "" | 5820 | msgstr "" | ||
5803 | 5821 | ||||
5804 | #. (itstool) path: section/para | 5822 | #. (itstool) path: section/para | ||
5805 | #: C/index-in.docbook:2387 | 5823 | #: C/index-in.docbook:2387 | ||
5806 | #, fuzzy | 5824 | #, fuzzy | ||
n | 5807 | #| msgid "" | n | ||
5808 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
5809 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
5810 | #| "ComboBox class with one integer and one text column, like so:" | ||||
5811 | msgid "" | 5825 | msgid "" | ||
5812 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | 5826 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | ||
5813 | "instances of a subclass of <classname>Glib::Object</classname>. For " | 5827 | "instances of a subclass of <classname>Glib::Object</classname>. For " | ||
5814 | "instance, you might have a <classname>ColumnView</classname> with one " | 5828 | "instance, you might have a <classname>ColumnView</classname> with one " | ||
5815 | "integer and one text column, like so:" | 5829 | "integer and one text column, like so:" | ||
5816 | msgstr "" | 5830 | msgstr "" | ||
n | 5817 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 5831 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
5818 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 5832 | "exakt som för en <classname>ListView</classname> eller en " | ||
5819 | "ett heltal och en textkolumn, så här:" | 5833 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
5834 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
5835 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
5820 | 5836 | ||||
5821 | #. (itstool) path: section/programlisting | 5837 | #. (itstool) path: section/programlisting | ||
5822 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | 5838 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | ||
n | 5823 | #, no-wrap | n | 5839 | #, fuzzy, no-wrap |
5840 | #| msgid "" | ||||
5841 | #| "class ModelColumns : public Glib::Object\n" | ||||
5842 | #| "{\n" | ||||
5843 | #| "public:\n" | ||||
5844 | #| " int m_col_id;\n" | ||||
5845 | #| " Glib::ustring m_col_name;\n" | ||||
5846 | #| "\n" | ||||
5847 | #| " static Glib::RefPtr<ModelColumns> create(\n" | ||||
5848 | #| " int col_id, const Glib::ustring& col_name)\n" | ||||
5849 | #| " {\n" | ||||
5850 | #| " return Glib::make_refptr_for_instance<ModelColumns>(\n" | ||||
5851 | #| " new ModelColumns(col_id, col_name));\n" | ||||
5852 | #| " }\n" | ||||
5853 | #| "\n" | ||||
5854 | #| "protected:\n" | ||||
5855 | #| " ModelColumns(int col_id, const Glib::ustring& col_name)\n" | ||||
5856 | #| " : m_col_id(col_id), m_col_name(col_name)\n" | ||||
5857 | #| " {}\n" | ||||
5858 | #| "};\n" | ||||
5859 | #| "\n" | ||||
5860 | #| "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||||
5824 | msgid "" | 5861 | msgid "" | ||
5825 | "<code>class ModelColumns : public Glib::Object\n" | 5862 | "<code>class ModelColumns : public Glib::Object\n" | ||
5826 | "{\n" | 5863 | "{\n" | ||
5827 | "public:\n" | 5864 | "public:\n" | ||
5828 | " int m_col_id;\n" | 5865 | " int m_col_id;\n" | ||
5842 | "};\n" | 5879 | "};\n" | ||
5843 | "\n" | 5880 | "\n" | ||
5844 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | 5881 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||
5845 | "</code>" | 5882 | "</code>" | ||
5846 | msgstr "" | 5883 | msgstr "" | ||
n | n | 5884 | "class ModelColumns : public Glib::Object\n" | ||
5885 | "{\n" | ||||
5886 | "public:\n" | ||||
5887 | " int m_col_id;\n" | ||||
5888 | " Glib::ustring m_col_name;\n" | ||||
5889 | "\n" | ||||
5890 | " static Glib::RefPtr<ModelColumns> create(\n" | ||||
5891 | " int col_id, const Glib::ustring& col_name)\n" | ||||
5892 | " {\n" | ||||
5893 | " return Glib::make_refptr_for_instance<ModelColumns>(\n" | ||||
5894 | " new ModelColumns(col_id, col_name));\n" | ||||
5895 | " }\n" | ||||
5896 | "\n" | ||||
5897 | "protected:\n" | ||||
5898 | " ModelColumns(int col_id, const Glib::ustring& col_name)\n" | ||||
5899 | " : m_col_id(col_id), m_col_name(col_name)\n" | ||||
5900 | " {}\n" | ||||
5901 | "};\n" | ||||
5902 | "\n" | ||||
5903 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||||
5847 | 5904 | ||||
5848 | #. (itstool) path: section/para | 5905 | #. (itstool) path: section/para | ||
5849 | #: C/index-in.docbook:2415 | 5906 | #: C/index-in.docbook:2415 | ||
5850 | msgid "" | 5907 | msgid "" | ||
5851 | "Every item in a model has a position which is the unsigned integer that " | 5908 | "Every item in a model has a position which is the unsigned integer that " | ||
6073 | #. (itstool) path: section/para | 6130 | #. (itstool) path: section/para | ||
6074 | #: C/index-in.docbook:2490 | 6131 | #: C/index-in.docbook:2490 | ||
6075 | #, fuzzy | 6132 | #, fuzzy | ||
6076 | #| msgid "" | 6133 | #| msgid "" | ||
6077 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6134 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6078 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | n | 6135 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6136 | #| "GridView</link>" | ||||
6079 | msgid "" | 6137 | msgid "" | ||
6080 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6138 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6081 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | 6139 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | ||
6082 | msgstr "" | 6140 | msgstr "" | ||
6083 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6141 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6084 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6142 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6085 | 6143 | ||||
6086 | #. (itstool) path: section/title | 6144 | #. (itstool) path: section/title | ||
6087 | #. (itstool) path: figure/title | 6145 | #. (itstool) path: figure/title | ||
6088 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | 6146 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | ||
6089 | #, fuzzy | 6147 | #, fuzzy | ||
6129 | #. (itstool) path: section/para | 6187 | #. (itstool) path: section/para | ||
6130 | #: C/index-in.docbook:2514 | 6188 | #: C/index-in.docbook:2514 | ||
6131 | #, fuzzy | 6189 | #, fuzzy | ||
6132 | #| msgid "" | 6190 | #| msgid "" | ||
6133 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6191 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6134 | #| "tree/master/examples/book/textview/\">Source Code</link>" | n | 6192 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6193 | #| "GridView</link>" | ||||
6135 | msgid "" | 6194 | msgid "" | ||
6136 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6195 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6137 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | 6196 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | ||
6138 | msgstr "" | 6197 | msgstr "" | ||
6139 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6198 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6140 | "master/examples/book/textview/\">Källkod</link>" | n | 6199 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6141 | 6200 | ||||
6142 | #. (itstool) path: section/title | 6201 | #. (itstool) path: section/title | ||
6143 | #. (itstool) path: figure/title | 6202 | #. (itstool) path: figure/title | ||
6144 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | 6203 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | ||
6145 | msgid "ColumnView" | 6204 | msgid "ColumnView" | ||
6188 | #. (itstool) path: section/para | 6247 | #. (itstool) path: section/para | ||
6189 | #: C/index-in.docbook:2538 | 6248 | #: C/index-in.docbook:2538 | ||
6190 | #, fuzzy | 6249 | #, fuzzy | ||
6191 | #| msgid "" | 6250 | #| msgid "" | ||
6192 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6251 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6193 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | n | 6252 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6253 | #| "GridView</link>" | ||||
6194 | msgid "" | 6254 | msgid "" | ||
6195 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6255 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6196 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | 6256 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | ||
6197 | msgstr "" | 6257 | msgstr "" | ||
6198 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6258 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6199 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6259 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6200 | 6260 | ||||
6201 | #. (itstool) path: section/title | 6261 | #. (itstool) path: section/title | ||
6202 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | 6262 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | ||
6203 | msgid "Sorting" | 6263 | msgid "Sorting" | ||
6204 | msgstr "Sortering" | 6264 | msgstr "Sortering" | ||
6316 | msgstr "Filtrera filer" | 6376 | msgstr "Filtrera filer" | ||
6317 | 6377 | ||||
6318 | #. (itstool) path: section/para | 6378 | #. (itstool) path: section/para | ||
6319 | #: C/index-in.docbook:2584 | 6379 | #: C/index-in.docbook:2584 | ||
6320 | #, fuzzy | 6380 | #, fuzzy | ||
n | n | 6381 | #| msgid "" | ||
6382 | #| "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||||
6383 | #| "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||||
6384 | #| "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||||
6385 | #| "CssProvider</classname>." | ||||
6321 | msgid "" | 6386 | msgid "" | ||
6322 | "The list can be filtered by wrapping it in a <classname>FilterListModel</" | 6387 | "The list can be filtered by wrapping it in a <classname>FilterListModel</" | ||
6323 | "classname>. Set a <classname>Filter</classname> such as a " | 6388 | "classname>. Set a <classname>Filter</classname> such as a " | ||
6324 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | 6389 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | ||
6325 | "to the <classname>FilterListModel</classname>." | 6390 | "to the <classname>FilterListModel</classname>." | ||
6326 | msgstr "" | 6391 | msgstr "" | ||
6327 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 6392 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
6328 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 6393 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 6329 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 6394 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
6330 | "classname>." | 6395 | "CssProvider</classname>." | ||
6331 | 6396 | ||||
6332 | #. (itstool) path: section/para | 6397 | #. (itstool) path: section/para | ||
6333 | #: C/index-in.docbook:2590 | 6398 | #: C/index-in.docbook:2590 | ||
6334 | #, fuzzy | 6399 | #, fuzzy | ||
6335 | #| msgid "" | 6400 | #| msgid "" | ||
6336 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6401 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6337 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | n | 6402 | #| "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" |
6338 | msgid "" | 6403 | msgid "" | ||
6339 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6404 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6340 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | 6405 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | ||
6341 | msgstr "" | 6406 | msgstr "" | ||
6342 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6407 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 6343 | "classGtk_1_1TreeModel.html\">Referens</link>" | n | 6408 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" |
6344 | 6409 | ||||
6345 | #. (itstool) path: section/para | 6410 | #. (itstool) path: section/para | ||
6346 | #: C/index-in.docbook:2591 | 6411 | #: C/index-in.docbook:2591 | ||
6347 | #, fuzzy | 6412 | #, fuzzy | ||
6348 | #| msgid "" | 6413 | #| msgid "" | ||
6447 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6512 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
6448 | 6513 | ||||
6449 | #. (itstool) path: figure/title | 6514 | #. (itstool) path: figure/title | ||
6450 | #: C/index-in.docbook:2629 | 6515 | #: C/index-in.docbook:2629 | ||
6451 | #, fuzzy | 6516 | #, fuzzy | ||
n | n | 6517 | #| msgid "The Model" | ||
6452 | msgid "TreeListModel" | 6518 | msgid "TreeListModel" | ||
6453 | msgstr "Modellen" | 6519 | msgstr "Modellen" | ||
6454 | 6520 | ||||
6455 | #. (itstool) path: imageobject/imagedata | 6521 | #. (itstool) path: imageobject/imagedata | ||
6456 | #. This is a reference to an external file such as an image or video. When | 6522 | #. This is a reference to an external file such as an image or video. When | ||
6469 | #. (itstool) path: section/para | 6535 | #. (itstool) path: section/para | ||
6470 | #: C/index-in.docbook:2635 | 6536 | #: C/index-in.docbook:2635 | ||
6471 | #, fuzzy | 6537 | #, fuzzy | ||
6472 | #| msgid "" | 6538 | #| msgid "" | ||
6473 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6539 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6474 | #| "tree/master/examples/book/treeview/tree/\">Source Code</link>" | n | 6540 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6541 | #| "GridView</link>" | ||||
6475 | msgid "" | 6542 | msgid "" | ||
6476 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6543 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6477 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | 6544 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | ||
6478 | msgstr "" | 6545 | msgstr "" | ||
6479 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6546 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6480 | "master/examples/book/treeview/tree/\">Källkod</link>" | n | 6547 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6481 | 6548 | ||||
6482 | #. (itstool) path: chapter/title | 6549 | #. (itstool) path: chapter/title | ||
6483 | #: C/index-in.docbook:2643 | 6550 | #: C/index-in.docbook:2643 | ||
6484 | msgid "The TreeView widget" | 6551 | msgid "The TreeView widget" | ||
6485 | msgstr "TreeView-komponenten" | 6552 | msgstr "TreeView-komponenten" | ||
6486 | 6553 | ||||
6487 | #. (itstool) path: note/para | 6554 | #. (itstool) path: note/para | ||
6488 | #: C/index-in.docbook:2645 | 6555 | #: C/index-in.docbook:2645 | ||
n | 6489 | #, fuzzy | n | ||
6490 | #| msgid "" | ||||
6491 | #| "<classname>Gdk::DragContext</classname> has been split into " | ||||
6492 | #| "<classname>Gdk::Drag</classname> and <classname>Gdk::Drop</classname>." | ||||
6493 | msgid "" | 6556 | msgid "" | ||
6494 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | 6557 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | ||
6495 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | 6558 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | ||
6496 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | 6559 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | ||
6497 | msgstr "" | 6560 | msgstr "" | ||
n | 6498 | "<classname>Gdk::DragContext</classname> har delats upp i <classname>Gdk::" | n | 6561 | "<classname>Gtk::TreeView</classname> är föråldrad sedan <application>gtkmm</" |
6499 | "Drag</classname> och <classname>Gdk::Drop</classname>." | 6562 | "application> 4.10. Använd i ny kod <classname>Gtk::ListView</classname> för " | ||
6563 | "listor och <classname>Gtk::ColumnView</classname> för tabellistor." | ||||
6500 | 6564 | ||||
6501 | #. (itstool) path: chapter/para | 6565 | #. (itstool) path: chapter/para | ||
6502 | #: C/index-in.docbook:2650 | 6566 | #: C/index-in.docbook:2650 | ||
6503 | msgid "" | 6567 | msgid "" | ||
6504 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | 6568 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | ||
6507 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | 6571 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | ||
6508 | "träd med data i kolumner." | 6572 | "träd med data i kolumner." | ||
6509 | 6573 | ||||
6510 | #. (itstool) path: section/title | 6574 | #. (itstool) path: section/title | ||
6511 | #: C/index-in.docbook:2656 | 6575 | #: C/index-in.docbook:2656 | ||
n | 6512 | #, fuzzy | n | ||
6513 | msgid "The Model" | 6576 | msgid "The Model" | ||
6514 | msgstr "Modellen" | 6577 | msgstr "Modellen" | ||
6515 | 6578 | ||||
6516 | #. (itstool) path: section/para | 6579 | #. (itstool) path: section/para | ||
6517 | #: C/index-in.docbook:2658 | 6580 | #: C/index-in.docbook:2658 | ||
7903 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | 7966 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | ||
7904 | "<literal>true</literal> eller <literal>false</literal>." | 7967 | "<literal>true</literal> eller <literal>false</literal>." | ||
7905 | 7968 | ||||
7906 | #. (itstool) path: section/para | 7969 | #. (itstool) path: section/para | ||
7907 | #: C/index-in.docbook:3220 | 7970 | #: C/index-in.docbook:3220 | ||
n | 7908 | #, fuzzy | n | ||
7909 | msgid "This is demonstrated in the drag_and_drop example." | 7971 | msgid "This is demonstrated in the drag_and_drop example." | ||
7910 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | 7972 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | ||
7911 | 7973 | ||||
7912 | #. (itstool) path: section/title | 7974 | #. (itstool) path: section/title | ||
7913 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | 7975 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | ||
8157 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8219 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8158 | "master/examples/book/treeview/popup/\">Källkod</link>" | 8220 | "master/examples/book/treeview/popup/\">Källkod</link>" | ||
8159 | 8221 | ||||
8160 | #. (itstool) path: chapter/title | 8222 | #. (itstool) path: chapter/title | ||
8161 | #: C/index-in.docbook:3359 | 8223 | #: C/index-in.docbook:3359 | ||
n | 8162 | #, fuzzy | n | ||
8163 | #| msgid "The DrawingArea Widget" | ||||
8164 | msgid "The DropDown Widget" | 8224 | msgid "The DropDown Widget" | ||
n | 8165 | msgstr "DrawingArea-komponenten" | n | 8225 | msgstr "DropDown-komponenten" |
8166 | 8226 | ||||
8167 | #. (itstool) path: chapter/para | 8227 | #. (itstool) path: chapter/para | ||
8168 | #: C/index-in.docbook:3361 | 8228 | #: C/index-in.docbook:3361 | ||
8169 | msgid "" | 8229 | msgid "" | ||
8170 | "The <classname>DropDown</classname> widget is an alternative to the " | 8230 | "The <classname>DropDown</classname> widget is an alternative to the " | ||
8171 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | 8231 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | ||
8172 | "tree models, and the content is displayed using widgets instead of cell " | 8232 | "tree models, and the content is displayed using widgets instead of cell " | ||
8173 | "renderers." | 8233 | "renderers." | ||
8174 | msgstr "" | 8234 | msgstr "" | ||
n | n | 8235 | "Komponenten <classname>DropDown</classname> är ett alternativ till den " | ||
8236 | "föråldrade <classname>ComboBox</classname>. Den använder listmodeller i " | ||||
8237 | "stället för trädmodeller, och innehållet visas med komponenter i stället för " | ||||
8238 | "cellrenderare." | ||||
8175 | 8239 | ||||
8176 | #. (itstool) path: chapter/para | 8240 | #. (itstool) path: chapter/para | ||
8177 | #: C/index-in.docbook:3366 | 8241 | #: C/index-in.docbook:3366 | ||
8178 | #, fuzzy | 8242 | #, fuzzy | ||
8179 | #| msgid "" | 8243 | #| msgid "" | ||
8208 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | 8272 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | ||
8209 | "This provides flexibility, but the <classname>StringList</classname> class " | 8273 | "This provides flexibility, but the <classname>StringList</classname> class " | ||
8210 | "provides a simpler text-based specialization in case that flexibility is not " | 8274 | "provides a simpler text-based specialization in case that flexibility is not " | ||
8211 | "required." | 8275 | "required." | ||
8212 | msgstr "" | 8276 | msgstr "" | ||
n | 8213 | "Listan tillhandahålls via en <classname>TreeModel</classname>, och kolumner " | n | 8277 | "Listan tillhandahålls via en <classname>Gio::ListModel</classname>, och data " |
8214 | "från denna modell läggs till vyn för ComboBox-komponenten med metoden " | 8278 | "från denna modell läggs till vyn för <classname>DropDown</classname>-" | ||
8215 | "<methodname>ComboBox::pack_start()</methodname>. Detta tillhandahåller " | 8279 | "komponenten med signalhanterare anslutna till en " | ||
8216 | "flexibilitet och typsäkerhet under kompilering, men <classname>ComboBoxText</" | 8280 | "<classname>SignalListItemFactory</classname>. Detta tillhandahåller " | ||
8217 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8281 | "flexibilitet, men <classname>StringList</classname>-klassen tillhandahåller " | ||
8218 | "den flexibiliteten inte behövs." | 8282 | "en enklare textbaserad specialisering om den flexibiliteten inte behövs." | ||
8219 | 8283 | ||||
8220 | #. (itstool) path: chapter/para | 8284 | #. (itstool) path: chapter/para | ||
8221 | #: C/index-in.docbook:3380 | 8285 | #: C/index-in.docbook:3380 | ||
n | 8222 | #, fuzzy | n | ||
8223 | #| msgid "" | ||||
8224 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
8225 | #| "classGtk_1_1Box.html\">Reference</link>" | ||||
8226 | msgid "" | 8286 | msgid "" | ||
8227 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8287 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8228 | "classGtk_1_1DropDown.html\">Reference</link>" | 8288 | "classGtk_1_1DropDown.html\">Reference</link>" | ||
8229 | msgstr "" | 8289 | msgstr "" | ||
8230 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8290 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 8231 | "classGtk_1_1Box.html\">Referens</link>" | n | 8291 | "classGtk_1_1DropDown.html\">Referens</link>" |
8232 | 8292 | ||||
8233 | #. (itstool) path: section/title | 8293 | #. (itstool) path: section/title | ||
8234 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | 8294 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | ||
n | 8235 | #, fuzzy | n | ||
8236 | msgid "The model" | 8295 | msgid "The model" | ||
8237 | msgstr "Modellen" | 8296 | msgstr "Modellen" | ||
8238 | 8297 | ||||
8239 | #. (itstool) path: section/para | 8298 | #. (itstool) path: section/para | ||
8240 | #: C/index-in.docbook:3385 | 8299 | #: C/index-in.docbook:3385 | ||
8241 | #, fuzzy | 8300 | #, fuzzy | ||
n | 8242 | #| msgid "" | n | ||
8243 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
8244 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
8245 | #| "ComboBox class with one integer and one text column, like so:" | ||||
8246 | msgid "" | 8301 | msgid "" | ||
8247 | "The model for a <classname>DropDown</classname> can be defined and filled " | 8302 | "The model for a <classname>DropDown</classname> can be defined and filled " | ||
8248 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | 8303 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | ||
8249 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | 8304 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | ||
8250 | "For instance, you might have a <classname>DropDown</classname> with one " | 8305 | "For instance, you might have a <classname>DropDown</classname> with one " | ||
8251 | "integer and one text column, like so:" | 8306 | "integer and one text column, like so:" | ||
8252 | msgstr "" | 8307 | msgstr "" | ||
n | 8253 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 8308 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
8254 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 8309 | "exakt som för en <classname>ListView</classname> eller en " | ||
8255 | "ett heltal och en textkolumn, så här:" | 8310 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
8311 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
8312 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
8256 | 8313 | ||||
8257 | #. (itstool) path: section/para | 8314 | #. (itstool) path: section/para | ||
8258 | #: C/index-in.docbook:3413 | 8315 | #: C/index-in.docbook:3413 | ||
n | n | 8316 | #, fuzzy | ||
8259 | msgid "" | 8317 | msgid "" | ||
8260 | "After appending rows to this model, you should provide the model to the " | 8318 | "After appending rows to this model, you should provide the model to the " | ||
8261 | "<classname>DropDown</classname> with the <methodname>set_model()</" | 8319 | "<classname>DropDown</classname> with the <methodname>set_model()</" | ||
8262 | "methodname> method. Unless you use the <classname>StringList</classname> " | 8320 | "methodname> method. Unless you use the <classname>StringList</classname> " | ||
8263 | "model, you also need to set a <classname>ListItemFactory</classname> with " | 8321 | "model, you also need to set a <classname>ListItemFactory</classname> with " | ||
8265 | "dropdown menu to look different from the item in the <classname>DropDown</" | 8323 | "dropdown menu to look different from the item in the <classname>DropDown</" | ||
8266 | "classname> widget, you also need to set a separate " | 8324 | "classname> widget, you also need to set a separate " | ||
8267 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | 8325 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | ||
8268 | "methodname>." | 8326 | "methodname>." | ||
8269 | msgstr "" | 8327 | msgstr "" | ||
n | n | 8328 | "Efter att ha lagt till rader till denna modell bör du tillhandahålla " | ||
8329 | "modellen till vår <classname>DropDown</classname> med metoden " | ||||
8330 | "<methodname>set_model()</methodname>. Om du inte använder modellen " | ||||
8331 | "<classname>StringList</classname> så kommer du också behöva ställa in en " | ||||
8332 | "<classname>ListItemFactory</classname> med <methodname>set_factory()</" | ||||
8333 | "methodname>. Om du vill att objekten i rullgardinsmenyn ska se annorlunda " | ||||
8334 | "från objektet i <classname>DropDown</classname>-komponenten så behöver du " | ||||
8335 | "också ställa in en separat <classname>ListItemFactory</classname> med " | ||||
8336 | "<methodname>set_list_factory()</methodname>." | ||||
8270 | 8337 | ||||
8271 | #. (itstool) path: section/title | 8338 | #. (itstool) path: section/title | ||
8272 | #: C/index-in.docbook:3424 | 8339 | #: C/index-in.docbook:3424 | ||
n | 8273 | #, fuzzy | n | ||
8274 | msgid "The selected item" | 8340 | msgid "The selected item" | ||
n | 8275 | msgstr "De markerade raderna" | n | 8341 | msgstr "Det valda objektet" |
8276 | 8342 | ||||
8277 | #. (itstool) path: section/para | 8343 | #. (itstool) path: section/para | ||
8278 | #: C/index-in.docbook:3426 | 8344 | #: C/index-in.docbook:3426 | ||
8279 | #, fuzzy | 8345 | #, fuzzy | ||
8280 | msgid "" | 8346 | msgid "" | ||
8284 | "get the selected data from the model. For instance, you might read an " | 8350 | "get the selected data from the model. For instance, you might read an " | ||
8285 | "integer ID value from the model, even though you have chosen only to show " | 8351 | "integer ID value from the model, even though you have chosen only to show " | ||
8286 | "the human-readable description in the <classname>DropDown</classname>. For " | 8352 | "the human-readable description in the <classname>DropDown</classname>. For " | ||
8287 | "instance:" | 8353 | "instance:" | ||
8288 | msgstr "" | 8354 | msgstr "" | ||
n | 8289 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | n | 8355 | "För att upptäcka vilket objekt, om något, som användaren har valt från vår " |
8290 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | 8356 | "<classname>DropDown</classname>, anropa <methodname>DropDown::" | ||
8291 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8357 | "get_selected()</methodname>. Detta returnerar en <type>unsigned int</type> " | ||
8292 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | 8358 | "som du kan använda för att få valda data från modellen. Exempelvis kanske du " | ||
8293 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | 8359 | "läser ett heltals-ID-värde från modellen, även om du valt att bara visa den " | ||
8294 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | 8360 | "mänskligt läsbara beskrivningen i vår <classname>DropDown</classname>. Till " | ||
8295 | "ComboBox. Till exempel:" | 8361 | "exempel:" | ||
8296 | 8362 | ||||
8297 | #. (itstool) path: section/programlisting | 8363 | #. (itstool) path: section/programlisting | ||
8298 | #: C/index-in.docbook:3433 | 8364 | #: C/index-in.docbook:3433 | ||
8299 | #, fuzzy, no-wrap | 8365 | #, fuzzy, no-wrap | ||
8300 | msgid "" | 8366 | msgid "" | ||
8307 | "}\n" | 8373 | "}\n" | ||
8308 | "else\n" | 8374 | "else\n" | ||
8309 | " set_nothing_chosen(); // Your own function.\n" | 8375 | " set_nothing_chosen(); // Your own function.\n" | ||
8310 | "</code>" | 8376 | "</code>" | ||
8311 | msgstr "" | 8377 | msgstr "" | ||
n | 8312 | "Gtk::TreeModel::iterator iter = m_Combo.get_active();\n" | n | 8378 | "unsigned int sel = m_DropDown.get_selected();\n" |
8313 | "if(iter)\n" | 8379 | "if (sel != GTK_INVALID_LIST_POSITION)\n" | ||
8314 | "{\n" | 8380 | "{\n" | ||
n | 8315 | " auto row = *iter;\n" | n | ||
8316 | "\n" | ||||
8317 | " //Få data för markerad rad, med vår kunskap\n" | 8381 | " // Få data för markerad rad, med vår kunskap om listmodellen:\n" | ||
8318 | " //om trädmodellen:\n" | 8382 | " auto id = m_ListStore->get_item(sel).m_col_id;\n" | ||
8319 | " auto id = row[m_Columns.m_col_id];\n" | ||||
8320 | " set_something_id_chosen(id); //Din egen funktion.\n" | 8383 | " set_some_id_chosen(id); // Din egen funktion.\n" | ||
8321 | "}\n" | 8384 | "}\n" | ||
8322 | "else\n" | 8385 | "else\n" | ||
n | 8323 | " set_nothing_chosen(); //Din egen funktion." | n | 8386 | " set_nothing_chosen(); // Din egen funktion.\n" |
8324 | 8387 | ||||
8325 | #. (itstool) path: section/title | 8388 | #. (itstool) path: section/title | ||
8326 | #: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658 | 8389 | #: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658 | ||
8327 | msgid "Responding to changes" | 8390 | msgid "Responding to changes" | ||
8328 | msgstr "Svara på ändringar" | 8391 | msgstr "Svara på ändringar" | ||
8334 | "You might need to react to every change of selection in the " | 8397 | "You might need to react to every change of selection in the " | ||
8335 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | 8398 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | ||
8336 | "so, you should connect to <methodname>property_selected().signal_changed()</" | 8399 | "so, you should connect to <methodname>property_selected().signal_changed()</" | ||
8337 | "methodname>. For instance:" | 8400 | "methodname>. For instance:" | ||
8338 | msgstr "" | 8401 | msgstr "" | ||
n | 8339 | "Du behöver reagera på varje ändring av val i vår ComboBox, till exempel för " | n | 8402 | "Du kan behöva reagera på varje ändring av val i vår <classname>DropDown</" |
8340 | "att uppdatera andra komponenter. För att göra så bör du hantera signalen " | 8403 | "classname>, till exempel för att uppdatera andra komponenter. För att göra " | ||
8341 | "<literal>changed</literal>. Till exempel:" | 8404 | "så bör du ansluta till <methodname>property_selected().signal_changed()</" | ||
8405 | "methodname>. Till exempel:" | ||||
8342 | 8406 | ||||
8343 | #. (itstool) path: section/programlisting | 8407 | #. (itstool) path: section/programlisting | ||
8344 | #: C/index-in.docbook:3452 | 8408 | #: C/index-in.docbook:3452 | ||
8345 | #, fuzzy, no-wrap | 8409 | #, fuzzy, no-wrap | ||
8346 | #| msgid "" | 8410 | #| msgid "" | ||
n | 8347 | #| "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8411 | #| "m_DropDown.property_selected().signal_changed().connect(\n" |
8348 | #| " &ExampleWindow::on_combo_changed) );" | 8412 | #| " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8349 | msgid "" | 8413 | msgid "" | ||
8350 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | 8414 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | ||
8351 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | 8415 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8352 | "</code>" | 8416 | "</code>" | ||
8353 | msgstr "" | 8417 | msgstr "" | ||
n | 8354 | "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8418 | "m_DropDown.property_selected().signal_changed().connect(\n" |
8355 | " &ExampleWindow::on_combo_changed) );" | 8419 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8356 | 8420 | ||||
8357 | #. (itstool) path: section/title | 8421 | #. (itstool) path: section/title | ||
8358 | #: C/index-in.docbook:3458 | 8422 | #: C/index-in.docbook:3458 | ||
n | 8359 | #, fuzzy | n | ||
8360 | msgid "Simple String Example" | 8423 | msgid "Simple String Example" | ||
n | 8361 | msgstr "Enkelt inmatningsexempel" | n | 8424 | msgstr "Enkelt strängexempel" |
8362 | 8425 | ||||
8363 | #. (itstool) path: figure/title | 8426 | #. (itstool) path: figure/title | ||
8364 | #: C/index-in.docbook:3461 | 8427 | #: C/index-in.docbook:3461 | ||
8365 | msgid "Simple DropDown" | 8428 | msgid "Simple DropDown" | ||
n | 8366 | msgstr "" | n | 8429 | msgstr "Enkel DropDown" |
8367 | 8430 | ||||
8368 | #. (itstool) path: imageobject/imagedata | 8431 | #. (itstool) path: imageobject/imagedata | ||
8369 | #. This is a reference to an external file such as an image or video. When | 8432 | #. This is a reference to an external file such as an image or video. When | ||
8370 | #. the file changes, the md5 hash will change to let you know you need to | 8433 | #. the file changes, the md5 hash will change to let you know you need to | ||
8371 | #. update your localized copy. The msgstr is not used at all. Set it to | 8434 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8375 | msgctxt "_" | 8438 | msgctxt "_" | ||
8376 | msgid "" | 8439 | msgid "" | ||
8377 | "external ref='figures/dropdown_string.png' " | 8440 | "external ref='figures/dropdown_string.png' " | ||
8378 | "md5='b1689605c645e1ada3040f6df3335c56'" | 8441 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||
8379 | msgstr "" | 8442 | msgstr "" | ||
n | 8380 | "external ref='figures/printing.png' md5='d4565328475ec89edf5f2230cb3fc5d0'" | n | 8443 | "external ref='figures/dropdown_string.png' " |
8444 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||||
8381 | 8445 | ||||
8382 | #. (itstool) path: section/para | 8446 | #. (itstool) path: section/para | ||
8383 | #: C/index-in.docbook:3467 | 8447 | #: C/index-in.docbook:3467 | ||
n | 8384 | #, fuzzy | n | ||
8385 | #| msgid "" | ||||
8386 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8387 | #| "tree/master/examples/book/entry/icon\">Source Code</link>" | ||||
8388 | msgid "" | 8448 | msgid "" | ||
8389 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8449 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8390 | "master/examples/book/dropdown/string\">Source Code</link>" | 8450 | "master/examples/book/dropdown/string\">Source Code</link>" | ||
8391 | msgstr "" | 8451 | msgstr "" | ||
8392 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8452 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8393 | "master/examples/book/entry/icon\">Källkod</link>" | n | 8453 | "master/examples/book/dropdown/string\">Källkod</link>" |
8394 | 8454 | ||||
8395 | #. (itstool) path: section/title | 8455 | #. (itstool) path: section/title | ||
8396 | #: C/index-in.docbook:3471 | 8456 | #: C/index-in.docbook:3471 | ||
8397 | msgid "Examples with a Search Entry" | 8457 | msgid "Examples with a Search Entry" | ||
n | 8398 | msgstr "" | n | 8458 | msgstr "Exempel med ett sökfält" |
8399 | 8459 | ||||
8400 | #. (itstool) path: section/para | 8460 | #. (itstool) path: section/para | ||
8401 | #: C/index-in.docbook:3473 | 8461 | #: C/index-in.docbook:3473 | ||
n | 8402 | #, fuzzy | n | ||
8403 | #| msgid "" | ||||
8404 | #| "<classname>Gtk::Grid</classname> arranges its child widgets in rows and " | ||||
8405 | #| "columns. Use <methodname>attach()</methodname> and " | ||||
8406 | #| "<methodname>attach_next_to()</methodname> to insert child widgets." | ||||
8407 | msgid "" | 8462 | msgid "" | ||
8408 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | 8463 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | ||
8409 | "search for items in the list. Call <methodname>set_enable_search()</" | 8464 | "search for items in the list. Call <methodname>set_enable_search()</" | ||
8410 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | 8465 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | ||
8411 | msgstr "" | 8466 | msgstr "" | ||
n | 8412 | "<classname>Gtk::Grid</classname> arrangerar sina underordnade komponenter i " | n | 8467 | "Rullgardinsmeny kan innehålla ett <classname>Entry</classname> som tillåter " |
8413 | "rader och kolumner. Använd <methodname>attach()</methodname> och " | 8468 | "sökning efter objekt i listan. Anropa <methodname>set_enable_search()</" | ||
8414 | "<methodname>attach_next_to()</methodname> för att infoga underordnade " | 8469 | "methodname> och <methodname>set_expression()</methodname>. Till exempel:" | ||
8415 | "komponenter." | ||||
8416 | 8470 | ||||
8417 | #. (itstool) path: section/programlisting | 8471 | #. (itstool) path: section/programlisting | ||
8418 | #: C/index-in.docbook:3477 | 8472 | #: C/index-in.docbook:3477 | ||
n | 8419 | #, no-wrap | n | 8473 | #, fuzzy, no-wrap |
8474 | #| msgid "" | ||||
8475 | #| "m_DropDown.set_enable_search(true);\n" | ||||
8476 | #| "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||||
8477 | #| " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||||
8478 | #| "m_DropDown.set_expression(expression);\n" | ||||
8479 | #| "\n" | ||||
8480 | #| "//-------\n" | ||||
8481 | #| "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr<Glib::Object | ||||
> | Base>& item)\n" | ||||
8482 | #| "{\n" | ||||
8483 | #| " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||||
8484 | #| " return col ? col->m_col_name : \"\";\n" | ||||
8485 | #| "}\n" | ||||
8420 | msgid "" | 8486 | msgid "" | ||
8421 | "<code>m_DropDown.set_enable_search(true);\n" | 8487 | "<code>m_DropDown.set_enable_search(true);\n" | ||
8422 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | 8488 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||
8423 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | 8489 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||
8424 | "m_DropDown.set_expression(expression);\n" | 8490 | "m_DropDown.set_expression(expression);\n" | ||
8429 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | 8495 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||
8430 | " return col ? col->m_col_name : \"\";\n" | 8496 | " return col ? col->m_col_name : \"\";\n" | ||
8431 | "}\n" | 8497 | "}\n" | ||
8432 | "</code>" | 8498 | "</code>" | ||
8433 | msgstr "" | 8499 | msgstr "" | ||
n | n | 8500 | "m_DropDown.set_enable_search(true);\n" | ||
8501 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||||
8502 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||||
8503 | "m_DropDown.set_expression(expression);\n" | ||||
8504 | "\n" | ||||
8505 | "//-------\n" | ||||
8506 | "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr<Glib::ObjectBas | ||||
> | e>& item)\n" | ||||
8507 | "{\n" | ||||
8508 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||||
8509 | " return col ? col->m_col_name : \"\";\n" | ||||
8510 | "}\n" | ||||
8434 | 8511 | ||||
8435 | #. (itstool) path: section/title | 8512 | #. (itstool) path: section/title | ||
8436 | #: C/index-in.docbook:3491 | 8513 | #: C/index-in.docbook:3491 | ||
n | 8437 | #, fuzzy | n | ||
8438 | #| msgid "Simple Example" | ||||
8439 | msgid "String Example" | 8514 | msgid "String Example" | ||
n | 8440 | msgstr "Enkelt exempel" | n | 8515 | msgstr "Strängexempel" |
8441 | 8516 | ||||
8442 | #. (itstool) path: figure/title | 8517 | #. (itstool) path: figure/title | ||
8443 | #: C/index-in.docbook:3494 | 8518 | #: C/index-in.docbook:3494 | ||
8444 | msgid "Search String" | 8519 | msgid "Search String" | ||
n | 8445 | msgstr "" | n | 8520 | msgstr "Sök sträng" |
8446 | 8521 | ||||
8447 | #. (itstool) path: imageobject/imagedata | 8522 | #. (itstool) path: imageobject/imagedata | ||
8448 | #. This is a reference to an external file such as an image or video. When | 8523 | #. This is a reference to an external file such as an image or video. When | ||
8449 | #. the file changes, the md5 hash will change to let you know you need to | 8524 | #. the file changes, the md5 hash will change to let you know you need to | ||
8450 | #. update your localized copy. The msgstr is not used at all. Set it to | 8525 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8458 | msgctxt "_" | 8533 | msgctxt "_" | ||
8459 | msgid "" | 8534 | msgid "" | ||
8460 | "external ref='figures/dropdown_search_string.png' " | 8535 | "external ref='figures/dropdown_search_string.png' " | ||
8461 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | 8536 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8462 | msgstr "" | 8537 | msgstr "" | ||
n | 8463 | "external ref='figures/drawingarea_arcs.png' " | n | 8538 | "external ref='figures/dropdown_search_string.png' " |
8464 | "md5='d94b40e33b9fab7ea9e2c870b97fcf0c'" | 8539 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8465 | 8540 | ||||
8466 | #. (itstool) path: section/para | 8541 | #. (itstool) path: section/para | ||
8467 | #: C/index-in.docbook:3500 | 8542 | #: C/index-in.docbook:3500 | ||
n | 8468 | #, fuzzy | n | ||
8469 | #| msgid "" | ||||
8470 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8471 | #| "tree/master/examples/book/drawingarea/arcs\">Source Code</link>" | ||||
8472 | msgid "" | 8543 | msgid "" | ||
8473 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8544 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8474 | "master/examples/book/dropdown/search_string\">Source Code</link>" | 8545 | "master/examples/book/dropdown/search_string\">Source Code</link>" | ||
8475 | msgstr "" | 8546 | msgstr "" | ||
8476 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8547 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8477 | "master/examples/book/drawingarea/arcs\">Källkod</link>" | n | 8548 | "master/examples/book/dropdown/search_string\">Källkod</link>" |
8478 | 8549 | ||||
8479 | #. (itstool) path: section/title | 8550 | #. (itstool) path: section/title | ||
8480 | #: C/index-in.docbook:3504 | 8551 | #: C/index-in.docbook:3504 | ||
n | 8481 | #, fuzzy | n | ||
8482 | #| msgid "Full Example" | ||||
8483 | msgid "Font Example" | 8552 | msgid "Font Example" | ||
n | 8484 | msgstr "Fullständigt exempel" | n | 8553 | msgstr "Typsnittsexempel" |
8485 | 8554 | ||||
8486 | #. (itstool) path: section/para | 8555 | #. (itstool) path: section/para | ||
8487 | #: C/index-in.docbook:3506 | 8556 | #: C/index-in.docbook:3506 | ||
n | 8488 | #, fuzzy | n | ||
8489 | #| msgid "" | ||||
8490 | #| "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</" | ||||
8491 | #| "classname>, <classname>Gtk::MenuItem</classname> and <classname>Gtk::" | ||||
8492 | #| "Switch</classname> implement the <classname>Gtk::Actionable</classname> " | ||||
8493 | #| "interface instead of the removed <classname>Gtk::Activatable</classname> " | ||||
8494 | #| "interface." | ||||
8495 | msgid "" | 8557 | msgid "" | ||
8496 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | 8558 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | ||
8497 | "is possible because <classname>Pango::FontMap</classname> implements the " | 8559 | "is possible because <classname>Pango::FontMap</classname> implements the " | ||
8498 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | 8560 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | ||
8499 | "<classname>FontDialogButton</classname> instead." | 8561 | "<classname>FontDialogButton</classname> instead." | ||
8500 | msgstr "" | 8562 | msgstr "" | ||
n | 8501 | "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</classname>, " | n | 8563 | "Detta exempel använder en <classname>Pango::FontMap</classname> som sin " |
8502 | "<classname>Gtk::MenuItem</classname> och <classname>Gtk::Switch</classname> " | 8564 | "modell. Detta är möjligt för att <classname>Pango::FontMap</classname> " | ||
8503 | "implementerar <classname>Gtk::Actionable</classname>-gränssnittet i stället " | 8565 | "implementerar <classname>Gio::ListModel</classname>-gränssnittet. Du kan " | ||
8504 | "för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet." | 8566 | "förstås använda en <classname>FontDialogButton</classname> i stället." | ||
8505 | 8567 | ||||
8506 | #. (itstool) path: figure/title | 8568 | #. (itstool) path: figure/title | ||
8507 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | 8569 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | ||
8508 | msgid "Search Font" | 8570 | msgid "Search Font" | ||
n | 8509 | msgstr "" | n | 8571 | msgstr "Sök typsnitt" |
8510 | 8572 | ||||
8511 | #. (itstool) path: imageobject/imagedata | 8573 | #. (itstool) path: imageobject/imagedata | ||
8512 | #. This is a reference to an external file such as an image or video. When | 8574 | #. This is a reference to an external file such as an image or video. When | ||
8513 | #. the file changes, the md5 hash will change to let you know you need to | 8575 | #. the file changes, the md5 hash will change to let you know you need to | ||
8514 | #. update your localized copy. The msgstr is not used at all. Set it to | 8576 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8518 | msgctxt "_" | 8580 | msgctxt "_" | ||
8519 | msgid "" | 8581 | msgid "" | ||
8520 | "external ref='figures/dropdown_search_font.png' " | 8582 | "external ref='figures/dropdown_search_font.png' " | ||
8521 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | 8583 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8522 | msgstr "" | 8584 | msgstr "" | ||
n | 8523 | "external ref='figures/drawingarea_pango_text.png' " | n | 8585 | "external ref='figures/dropdown_search_font.png' " |
8524 | "md5='07c39668c9dda2ac1f9455caf6e4d16a'" | 8586 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8525 | 8587 | ||||
8526 | #. (itstool) path: section/para | 8588 | #. (itstool) path: section/para | ||
8527 | #: C/index-in.docbook:3519 | 8589 | #: C/index-in.docbook:3519 | ||
n | 8528 | #, fuzzy | n | ||
8529 | #| msgid "" | ||||
8530 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8531 | #| "tree/master/examples/book/paned\">Source Code</link>" | ||||
8532 | msgid "" | 8590 | msgid "" | ||
8533 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8591 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8534 | "master/examples/book/dropdown/search_font\">Source Code</link>" | 8592 | "master/examples/book/dropdown/search_font\">Source Code</link>" | ||
8535 | msgstr "" | 8593 | msgstr "" | ||
8536 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8594 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8537 | "master/examples/book/paned\">Källkod</link>" | n | 8595 | "master/examples/book/dropdown/search_font\">Källkod</link>" |
8538 | 8596 | ||||
8539 | #. (itstool) path: section/title | 8597 | #. (itstool) path: section/title | ||
8540 | #: C/index-in.docbook:3524 | 8598 | #: C/index-in.docbook:3524 | ||
n | 8541 | #, fuzzy | n | ||
8542 | #| msgid "Simple Example" | ||||
8543 | msgid "Complex Example" | 8599 | msgid "Complex Example" | ||
n | 8544 | msgstr "Enkelt exempel" | n | 8600 | msgstr "Komplext exempel" |
8545 | 8601 | ||||
8546 | #. (itstool) path: section/para | 8602 | #. (itstool) path: section/para | ||
8547 | #: C/index-in.docbook:3526 | 8603 | #: C/index-in.docbook:3526 | ||
8548 | msgid "" | 8604 | msgid "" | ||
8549 | "This is a more complex example with two <classname>SignalListItemFactory</" | 8605 | "This is a more complex example with two <classname>SignalListItemFactory</" | ||
8550 | "classname> objects and their signal handlers. This example would be simpler " | 8606 | "classname> objects and their signal handlers. This example would be simpler " | ||
8551 | "without the checkmark in the dropdown menu." | 8607 | "without the checkmark in the dropdown menu." | ||
8552 | msgstr "" | 8608 | msgstr "" | ||
n | n | 8609 | "Detta är ett mer komplext exempel med två <classname>SignalListItemFactory</" | ||
8610 | "classname>-objekt och deras signalhanterare. Detta exempel skulle vara " | ||||
8611 | "enklare utan bocken i rullgardinsmenyn." | ||||
8553 | 8612 | ||||
8554 | #. (itstool) path: imageobject/imagedata | 8613 | #. (itstool) path: imageobject/imagedata | ||
8555 | #. This is a reference to an external file such as an image or video. When | 8614 | #. This is a reference to an external file such as an image or video. When | ||
8556 | #. the file changes, the md5 hash will change to let you know you need to | 8615 | #. the file changes, the md5 hash will change to let you know you need to | ||
8557 | #. update your localized copy. The msgstr is not used at all. Set it to | 8616 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8561 | msgctxt "_" | 8620 | msgctxt "_" | ||
8562 | msgid "" | 8621 | msgid "" | ||
8563 | "external ref='figures/dropdown_complex.png' " | 8622 | "external ref='figures/dropdown_complex.png' " | ||
8564 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | 8623 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8565 | msgstr "" | 8624 | msgstr "" | ||
n | 8566 | "external ref='figures/combobox_complex.png' " | n | 8625 | "external ref='figures/dropdown_complex.png' " |
8567 | "md5='ec96e29fe85caef072868284443e413e'" | 8626 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8568 | 8627 | ||||
8569 | #. (itstool) path: section/para | 8628 | #. (itstool) path: section/para | ||
8570 | #: C/index-in.docbook:3538 | 8629 | #: C/index-in.docbook:3538 | ||
n | 8571 | #, fuzzy | n | ||
8572 | #| msgid "" | ||||
8573 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8574 | #| "tree/master/examples/book/combobox/complex\">Source Code</link>" | ||||
8575 | msgid "" | 8630 | msgid "" | ||
8576 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8631 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8577 | "master/examples/book/dropdown/complex\">Source Code</link>" | 8632 | "master/examples/book/dropdown/complex\">Source Code</link>" | ||
8578 | msgstr "" | 8633 | msgstr "" | ||
8579 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8634 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8580 | "master/examples/book/combobox/complex\">Källkod</link>" | n | 8635 | "master/examples/book/dropdown/complex\">Källkod</link>" |
8581 | 8636 | ||||
8582 | #. (itstool) path: chapter/title | 8637 | #. (itstool) path: chapter/title | ||
8583 | #: C/index-in.docbook:3543 | 8638 | #: C/index-in.docbook:3543 | ||
8584 | msgid "Combo Boxes" | 8639 | msgid "Combo Boxes" | ||
8585 | msgstr "Kombinationsrutor" | 8640 | msgstr "Kombinationsrutor" | ||
8586 | 8641 | ||||
8587 | #. (itstool) path: note/para | 8642 | #. (itstool) path: note/para | ||
8588 | #: C/index-in.docbook:3545 | 8643 | #: C/index-in.docbook:3545 | ||
n | 8589 | #, fuzzy | n | ||
8590 | #| msgid "" | ||||
8591 | #| "<classname>Gdk::DrawContext</classname> and <classname>Gdk::CairoContext</" | ||||
8592 | #| "classname> are new. <classname>Gdk::DrawingContext</classname> has been " | ||||
8593 | #| "removed." | ||||
8594 | msgid "" | 8644 | msgid "" | ||
8595 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | 8645 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | ||
8596 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | 8646 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | ||
8597 | "<classname>Gtk::DropDown</classname> in new code." | 8647 | "<classname>Gtk::DropDown</classname> in new code." | ||
8598 | msgstr "" | 8648 | msgstr "" | ||
n | 8599 | "<classname>Gdk::DrawContext</classname> och <classname>Gdk::CairoContext</" | n | 8649 | "<classname>Gtk::ComboBox</classname> och <classname>Gtk::ComboBoxText</" |
8600 | "classname> är nya. <classname>Gdk::DrawingContext</classname> har tagits " | 8650 | "classname> är föråldrade sedan <application>gtkmm</application> 4.10. Använd " | ||
8601 | "bort." | 8651 | "<classname>Gtk::DropDown</classname> i ny kod." | ||
8602 | 8652 | ||||
8603 | #. (itstool) path: chapter/para | 8653 | #. (itstool) path: chapter/para | ||
8604 | #: C/index-in.docbook:3549 | 8654 | #: C/index-in.docbook:3549 | ||
8605 | msgid "" | 8655 | msgid "" | ||
8606 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | 8656 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | ||
10659 | "used in <application>gtkmm</application>4 applications, provided " | 10709 | "used in <application>gtkmm</application>4 applications, provided " | ||
10660 | "GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some " | 10710 | "GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some " | ||
10661 | "of the dialog classes are replaced by classes that are available since " | 10711 | "of the dialog classes are replaced by classes that are available since " | ||
10662 | "<application>gtkmm</application> 4.10." | 10712 | "<application>gtkmm</application> 4.10." | ||
10663 | msgstr "" | 10713 | msgstr "" | ||
n | n | 10714 | "<classname>Gtk::Dialog</classname> och klasserna som härleds från den är " | ||
10715 | "föråldrade sedan <application>gtkmm</application> 4.10. De kan fortfarande " | ||||
10716 | "användas i <application>gtkmm</application>4-program, förutsatt att " | ||||
10717 | "GTKMM_DISABLE_DEPRECATED och GDKMM_DISABLE_DEPRECATED inte har definierats. " | ||||
10718 | "Några av dialogklasserna ersätts av klasser som finns tillgängliga sedan " | ||||
10719 | "<application>gtkmm</application> 4.10." | ||||
10664 | 10720 | ||||
10665 | #. (itstool) path: note/para | 10721 | #. (itstool) path: note/para | ||
10666 | #: C/index-in.docbook:4464 | 10722 | #: C/index-in.docbook:4464 | ||
10667 | msgid "" | 10723 | msgid "" | ||
10668 | "The examples in this chapter use classes that are available since " | 10724 | "The examples in this chapter use classes that are available since " | ||
10669 | "<application>gtkmm</application> 4.10. Similar examples with the deprecated " | 10725 | "<application>gtkmm</application> 4.10. Similar examples with the deprecated " | ||
10670 | "classes are available in the <link xlink:href=\"https://gitlab.gnome.org/" | 10726 | "classes are available in the <link xlink:href=\"https://gitlab.gnome.org/" | ||
10671 | "GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> gtkmm-4-0 " | 10727 | "GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> gtkmm-4-0 " | ||
10672 | "branch</link> in the git repository." | 10728 | "branch</link> in the git repository." | ||
10673 | msgstr "" | 10729 | msgstr "" | ||
n | n | 10730 | "Exemplen i detta kapitel använder klasser som finns tillgängliga sedan " | ||
10731 | "<application>gtkmm</application> 4.10. Liknande exempel med de föråldrade " | ||||
10732 | "klasserna finns tillgängliga i <link xlink:href=\"https://gitlab.gnome.org/" | ||||
10733 | "GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> grenen " | ||||
10734 | "gtkmm-4-0</link> i git-arkivet." | ||||
10674 | 10735 | ||||
10675 | #. (itstool) path: chapter/para | 10736 | #. (itstool) path: chapter/para | ||
10676 | #: C/index-in.docbook:4470 | 10737 | #: C/index-in.docbook:4470 | ||
10677 | #, fuzzy | 10738 | #, fuzzy | ||
10678 | msgid "" | 10739 | msgid "" | ||
10732 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | 10793 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | ||
10733 | "<methodname>add_button()</methodname>." | 10794 | "<methodname>add_button()</methodname>." | ||
10734 | 10795 | ||||
10735 | #. (itstool) path: chapter/para | 10796 | #. (itstool) path: chapter/para | ||
10736 | #: C/index-in.docbook:4499 | 10797 | #: C/index-in.docbook:4499 | ||
n | 10737 | #, fuzzy | n | ||
10738 | msgid "" | 10798 | msgid "" | ||
10739 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | 10799 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | ||
10740 | "same dialog instance will be shown several times, you must also call " | 10800 | "same dialog instance will be shown several times, you must also call " | ||
10741 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | 10801 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | ||
10742 | "destroyed when it's closed. Connect to the <literal>response</literal> " | 10802 | "destroyed when it's closed. Connect to the <literal>response</literal> " | ||
10743 | "signal, if you want to know which button was pressed. The <literal>response</" | 10803 | "signal, if you want to know which button was pressed. The <literal>response</" | ||
10744 | "literal> signal handler is also where you should hide the dialog." | 10804 | "literal> signal handler is also where you should hide the dialog." | ||
10745 | msgstr "" | 10805 | msgstr "" | ||
n | 10746 | "För att visa dialogrutan, anropa <methodname>show()</methodname>. Om samma " | n | 10806 | "För att visa dialogrutan, anropa <methodname>set_visible(true)</methodname>. " |
10747 | "dialoginstans kommer visas flera gånger måste du också anropa " | 10807 | "Om samma dialoginstans kommer visas flera gånger måste du också anropa " | ||
10748 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | 10808 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | ||
10749 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | 10809 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | ||
10750 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | 10810 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | ||
10751 | "signalhanteraren är också var du ska dölja dialogrutan." | 10811 | "signalhanteraren är också var du ska dölja dialogrutan." | ||
10752 | 10812 | ||||
10759 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10819 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10760 | "classGtk_1_1Dialog.html\">Referens</link>" | 10820 | "classGtk_1_1Dialog.html\">Referens</link>" | ||
10761 | 10821 | ||||
10762 | #. (itstool) path: section/title | 10822 | #. (itstool) path: section/title | ||
10763 | #: C/index-in.docbook:4511 | 10823 | #: C/index-in.docbook:4511 | ||
n | 10764 | #, fuzzy | n | ||
10765 | #| msgid "MessageDialog" | ||||
10766 | msgid "AlertDialog and MessageDialog" | 10824 | msgid "AlertDialog and MessageDialog" | ||
n | 10767 | msgstr "MessageDialog" | n | 10825 | msgstr "AlertDialog och MessageDialog" |
10768 | 10826 | ||||
10769 | #. (itstool) path: section/para | 10827 | #. (itstool) path: section/para | ||
10770 | #: C/index-in.docbook:4512 | 10828 | #: C/index-in.docbook:4512 | ||
10771 | msgid "" | 10829 | msgid "" | ||
10772 | "<classname>MessageDialog</classname> (deprecated since <application>gtkmm</" | 10830 | "<classname>MessageDialog</classname> (deprecated since <application>gtkmm</" | ||
10773 | "application> 4.10) and <classname>AlertDialog</classname> (available since " | 10831 | "application> 4.10) and <classname>AlertDialog</classname> (available since " | ||
10774 | "<application>gtkmm</application> 4.10) are convenience classes, used to " | 10832 | "<application>gtkmm</application> 4.10) are convenience classes, used to " | ||
10775 | "create simple, standard message dialogs, with a message and buttons for user " | 10833 | "create simple, standard message dialogs, with a message and buttons for user " | ||
10776 | "response." | 10834 | "response." | ||
10777 | msgstr "" | 10835 | msgstr "" | ||
n | n | 10836 | "<classname>MessageDialog</classname> (föråldrad sedan <application>gtkmm</" | ||
10837 | "application> 4.10) och <classname>AlertDialog</classname> (tillgänglig sedan " | ||||
10838 | "<application>gtkmm</application> 4.10) är bekvämlighetsklasser som används " | ||||
10839 | "för att skapa enkla standardmeddelandedialoger, med ett meddelande och " | ||||
10840 | "knappar för användarsvar." | ||||
10778 | 10841 | ||||
10779 | #. (itstool) path: section/para | 10842 | #. (itstool) path: section/para | ||
10780 | #: C/index-in.docbook:4519 | 10843 | #: C/index-in.docbook:4519 | ||
n | 10781 | #, fuzzy | n | ||
10782 | #| msgid "" | ||||
10783 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10784 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
10785 | msgid "" | 10844 | msgid "" | ||
10786 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10845 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10787 | "classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>" | 10846 | "classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>" | ||
10788 | msgstr "" | 10847 | msgstr "" | ||
10789 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10848 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10790 | "classGtk_1_1Dialog.html\">Referens</link>" | n | 10849 | "classGtk_1_1AlertDialog.html\">AlertDialog-referens</link>" |
10791 | 10850 | ||||
10792 | #. (itstool) path: section/para | 10851 | #. (itstool) path: section/para | ||
10793 | #: C/index-in.docbook:4520 | 10852 | #: C/index-in.docbook:4520 | ||
n | 10794 | #, fuzzy | n | ||
10795 | #| msgid "" | ||||
10796 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10797 | #| "classGtk_1_1MessageDialog.html\">Reference</link>" | ||||
10798 | msgid "" | 10853 | msgid "" | ||
10799 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10854 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10800 | "classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>" | 10855 | "classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>" | ||
10801 | msgstr "" | 10856 | msgstr "" | ||
10802 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10857 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10803 | "classGtk_1_1MessageDialog.html\">Referens</link>" | n | 10858 | "classGtk_1_1MessageDialog.html\">MessageDialog-referens</link>" |
10804 | 10859 | ||||
10805 | #. (itstool) path: figure/title | 10860 | #. (itstool) path: figure/title | ||
10806 | #: C/index-in.docbook:4526 | 10861 | #: C/index-in.docbook:4526 | ||
n | 10807 | #, fuzzy | n | ||
10808 | #| msgid "AboutDialog" | ||||
10809 | msgid "AlertDialog" | 10862 | msgid "AlertDialog" | ||
n | 10810 | msgstr "AboutDialog" | n | 10863 | msgstr "AlertDialog" |
10811 | 10864 | ||||
10812 | #. (itstool) path: imageobject/imagedata | 10865 | #. (itstool) path: imageobject/imagedata | ||
10813 | #. This is a reference to an external file such as an image or video. When | 10866 | #. This is a reference to an external file such as an image or video. When | ||
10814 | #. the file changes, the md5 hash will change to let you know you need to | 10867 | #. the file changes, the md5 hash will change to let you know you need to | ||
10815 | #. update your localized copy. The msgstr is not used at all. Set it to | 10868 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
10819 | msgctxt "_" | 10872 | msgctxt "_" | ||
10820 | msgid "" | 10873 | msgid "" | ||
10821 | "external ref='figures/dialogs_alertdialog.png' " | 10874 | "external ref='figures/dialogs_alertdialog.png' " | ||
10822 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | 10875 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
10823 | msgstr "" | 10876 | msgstr "" | ||
n | 10824 | "external ref='figures/dialogs_messagedialog.png' " | n | 10877 | "external ref='figures/dialogs_alertdialog.png' " |
10825 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 10878 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
10826 | 10879 | ||||
10827 | #. (itstool) path: section/para | 10880 | #. (itstool) path: section/para | ||
10828 | #: C/index-in.docbook:4532 | 10881 | #: C/index-in.docbook:4532 | ||
n | 10829 | #, fuzzy | n | ||
10830 | #| msgid "" | ||||
10831 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
10832 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
10833 | msgid "" | 10882 | msgid "" | ||
10834 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10883 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
10835 | "master/examples/book/dialogs/alertdialog\">Source Code</link>" | 10884 | "master/examples/book/dialogs/alertdialog\">Source Code</link>" | ||
10836 | msgstr "" | 10885 | msgstr "" | ||
10837 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10886 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 10838 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 10887 | "master/examples/book/dialogs/alertdialog\">Källkod</link>" |
10839 | 10888 | ||||
10840 | #. (itstool) path: section/title | 10889 | #. (itstool) path: section/title | ||
10841 | #: C/index-in.docbook:4537 | 10890 | #: C/index-in.docbook:4537 | ||
n | 10842 | #, fuzzy | n | ||
10843 | #| msgid "FileChooserDialog" | ||||
10844 | msgid "FileDialog and FileChooserDialog" | 10891 | msgid "FileDialog and FileChooserDialog" | ||
n | 10845 | msgstr "FileChooserDialog" | n | 10892 | msgstr "FileDialog och FileChooserDialog" |
10846 | 10893 | ||||
10847 | #. (itstool) path: section/para | 10894 | #. (itstool) path: section/para | ||
10848 | #: C/index-in.docbook:4538 | 10895 | #: C/index-in.docbook:4538 | ||
10849 | msgid "" | 10896 | msgid "" | ||
10850 | "The <classname>FileChooserDialog</classname> (deprecated since " | 10897 | "The <classname>FileChooserDialog</classname> (deprecated since " | ||
10851 | "<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> " | 10898 | "<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> " | ||
10852 | "(available since <application>gtkmm</application> 4.10) are suitable for use " | 10899 | "(available since <application>gtkmm</application> 4.10) are suitable for use " | ||
10853 | "with \"Open\" or \"Save\" menu items." | 10900 | "with \"Open\" or \"Save\" menu items." | ||
10854 | msgstr "" | 10901 | msgstr "" | ||
n | n | 10902 | "<classname>FileChooserDialog</classname> (föråldrad sedan " | ||
10903 | "<application>gtkmm</application> 4.10) och <classname>FileDialog</classname> " | ||||
10904 | "(tillgänglig sedan <application>gtkmm</application> 4.10) är lämpliga för " | ||||
10905 | "användning med menyobjekten ”Öppna” eller ”Spara”." | ||||
10855 | 10906 | ||||
10856 | #. (itstool) path: section/para | 10907 | #. (itstool) path: section/para | ||
10857 | #: C/index-in.docbook:4543 | 10908 | #: C/index-in.docbook:4543 | ||
n | 10858 | #, fuzzy | n | ||
10859 | #| msgid "" | ||||
10860 | #| "Most of the useful member methods for this class are actually in the " | ||||
10861 | #| "<classname>Gtk::FileChooser</classname> base class." | ||||
10862 | msgid "" | 10909 | msgid "" | ||
10863 | "Most of the useful member methods for <classname>FileChooserDialog</" | 10910 | "Most of the useful member methods for <classname>FileChooserDialog</" | ||
10864 | "classname> are actually in the <classname>Gtk::FileChooser</classname> base " | 10911 | "classname> are actually in the <classname>Gtk::FileChooser</classname> base " | ||
10865 | "class." | 10912 | "class." | ||
10866 | msgstr "" | 10913 | msgstr "" | ||
n | 10867 | "De flesta av de användbara medlemsmetoderna för denna klass är faktiskt i " | n | 10914 | "De flesta av de användbara medlemsmetoderna för " |
10915 | "<classname>FileChooserDialog</classname> finns faktiskt i basklassen " | ||||
10868 | "basklassen <classname>Gtk::FileChooser</classname>." | 10916 | "<classname>Gtk::FileChooser</classname>." | ||
10869 | 10917 | ||||
10870 | #. (itstool) path: section/para | 10918 | #. (itstool) path: section/para | ||
10871 | #: C/index-in.docbook:4548 | 10919 | #: C/index-in.docbook:4548 | ||
n | n | 10920 | msgid "" | ||
10921 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10922 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||||
10923 | msgstr "" | ||||
10924 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10925 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | ||||
10926 | |||||
10927 | # TODO: FileChooseDialog Reference | ||||
10928 | #. (itstool) path: section/para | ||||
10929 | #: C/index-in.docbook:4549 | ||||
10872 | #, fuzzy | 10930 | #, fuzzy | ||
10873 | #| msgid "" | 10931 | #| msgid "" | ||
10874 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10932 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10875 | #| "classGtk_1_1Dialog.html\">Reference</link>" | n | ||
10876 | msgid "" | ||||
10877 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10878 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||||
10879 | msgstr "" | ||||
10880 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10881 | "classGtk_1_1Dialog.html\">Referens</link>" | ||||
10882 | |||||
10883 | #. (itstool) path: section/para | ||||
10884 | #: C/index-in.docbook:4549 | ||||
10885 | #, fuzzy | ||||
10886 | #| msgid "" | ||||
10887 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10888 | #| "classGtk_1_1FileChooserDialog.html\">Reference</link>" | 10933 | #| "classGtk_1_1FileChooserDialog.html\">FileChooserDialogReference</link>" | ||
10889 | msgid "" | 10934 | msgid "" | ||
10890 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10935 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10891 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | 10936 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | ||
10892 | msgstr "" | 10937 | msgstr "" | ||
10893 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10938 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10894 | "classGtk_1_1FileChooserDialog.html\">Referens</link>" | n | 10939 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog-referens</link>" |
10895 | 10940 | ||||
10896 | #. (itstool) path: figure/title | 10941 | #. (itstool) path: figure/title | ||
10897 | #: C/index-in.docbook:4555 | 10942 | #: C/index-in.docbook:4555 | ||
n | 10898 | #, fuzzy | n | ||
10899 | #| msgid "FileChooserDialog" | ||||
10900 | msgid "FileDialog" | 10943 | msgid "FileDialog" | ||
n | 10901 | msgstr "FileChooserDialog" | n | 10944 | msgstr "FileDialog" |
10902 | 10945 | ||||
10903 | #. (itstool) path: imageobject/imagedata | 10946 | #. (itstool) path: imageobject/imagedata | ||
10904 | #. This is a reference to an external file such as an image or video. When | 10947 | #. This is a reference to an external file such as an image or video. When | ||
10905 | #. the file changes, the md5 hash will change to let you know you need to | 10948 | #. the file changes, the md5 hash will change to let you know you need to | ||
10906 | #. update your localized copy. The msgstr is not used at all. Set it to | 10949 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
10910 | msgctxt "_" | 10953 | msgctxt "_" | ||
10911 | msgid "" | 10954 | msgid "" | ||
10912 | "external ref='figures/dialogs_filedialog.png' " | 10955 | "external ref='figures/dialogs_filedialog.png' " | ||
10913 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10956 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
10914 | msgstr "" | 10957 | msgstr "" | ||
n | 10915 | "external ref='figures/dialogs_filechooser.png' " | n | 10958 | "external ref='figures/dialogs_filedialog.png' " |
10916 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10959 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
10917 | 10960 | ||||
10918 | #. (itstool) path: section/para | 10961 | #. (itstool) path: section/para | ||
10919 | #: C/index-in.docbook:4561 | 10962 | #: C/index-in.docbook:4561 | ||
n | 10920 | #, fuzzy | n | ||
10921 | #| msgid "" | ||||
10922 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
10923 | #| "tree/master/examples/book/dialogs/filechooserdialog\">Source Code</link>" | ||||
10924 | msgid "" | 10963 | msgid "" | ||
10925 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10964 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
10926 | "master/examples/book/dialogs/filedialog\">Source Code</link>" | 10965 | "master/examples/book/dialogs/filedialog\">Source Code</link>" | ||
10927 | msgstr "" | 10966 | msgstr "" | ||
10928 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10967 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 10929 | "master/examples/book/dialogs/filechooserdialog\">Källkod</link>" | n | 10968 | "master/examples/book/dialogs/filedialog\">Källkod</link>" |
10930 | 10969 | ||||
10931 | #. (itstool) path: section/title | 10970 | #. (itstool) path: section/title | ||
10932 | #: C/index-in.docbook:4566 | 10971 | #: C/index-in.docbook:4566 | ||
n | 10933 | #, fuzzy | n | ||
10934 | #| msgid "ColorChooserDialog" | ||||
10935 | msgid "ColorDialog and ColorChooserDialog" | 10972 | msgid "ColorDialog and ColorChooserDialog" | ||
n | 10936 | msgstr "ColorChooserDialog" | n | 10973 | msgstr "ColorDialog och ColorChooserDialog" |
10937 | 10974 | ||||
10938 | #. (itstool) path: section/para | 10975 | #. (itstool) path: section/para | ||
10939 | #: C/index-in.docbook:4567 | 10976 | #: C/index-in.docbook:4567 | ||
10940 | msgid "" | 10977 | msgid "" | ||
10941 | "The <classname>ColorChooserDialog</classname> (deprecated since " | 10978 | "The <classname>ColorChooserDialog</classname> (deprecated since " | ||
10945 | "since <application>gtkmm</application> 4.10) and " | 10982 | "since <application>gtkmm</application> 4.10) and " | ||
10946 | "<classname>ColorDialogButton</classname> (available since " | 10983 | "<classname>ColorDialogButton</classname> (available since " | ||
10947 | "<application>gtkmm</application> 4.10) open a color selection dialog when it " | 10984 | "<application>gtkmm</application> 4.10) open a color selection dialog when it " | ||
10948 | "is clicked." | 10985 | "is clicked." | ||
10949 | msgstr "" | 10986 | msgstr "" | ||
n | n | 10987 | "<classname>ColorChooserDialog</classname> (föråldrad sedan " | ||
10988 | "<application>gtkmm</application> 4.10) och <classname>ColorDialog</" | ||||
10989 | "classname> (tillgänglig sedan <application>gtkmm</application> 4.10) låter " | ||||
10990 | "användaren välja en färg. <classname>ColorButton</classname> (föråldrad " | ||||
10991 | "sedan <application>gtkmm</application> 4.10) och " | ||||
10992 | "<classname>ColorDialogButton</classname> (tillgänglig sedan " | ||||
10993 | "<application>gtkmm</application> 4.10) öppnar en färgvalsdialog när de " | ||||
10994 | "klickas på." | ||||
10950 | 10995 | ||||
10951 | #. (itstool) path: section/para | 10996 | #. (itstool) path: section/para | ||
10952 | #: C/index-in.docbook:4575 | 10997 | #: C/index-in.docbook:4575 | ||
n | 10953 | #, fuzzy | n | ||
10954 | #| msgid "" | ||||
10955 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10956 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
10957 | msgid "" | 10998 | msgid "" | ||
10958 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10999 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10959 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | 11000 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | ||
10960 | msgstr "" | 11001 | msgstr "" | ||
10961 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11002 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10962 | "classGtk_1_1Dialog.html\">Referens</link>" | n | 11003 | "classGtk_1_1ColorDialog.html\">ColorDialog-referens</link>" |
10963 | 11004 | ||||
10964 | #. (itstool) path: section/para | 11005 | #. (itstool) path: section/para | ||
10965 | #: C/index-in.docbook:4576 | 11006 | #: C/index-in.docbook:4576 | ||
n | 10966 | #, fuzzy | n | ||
10967 | #| msgid "" | ||||
10968 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
10969 | #| "classGtk_1_1ColorChooserDialog.html\">Reference</link>" | ||||
10970 | msgid "" | 11007 | msgid "" | ||
10971 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11008 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10972 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | 11009 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | ||
10973 | msgstr "" | 11010 | msgstr "" | ||
10974 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11011 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 10975 | "classGtk_1_1ColorChooserDialog.html\">Referens</link>" | n | 11012 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog-referens</link>" |
10976 | 11013 | ||||
10977 | #. (itstool) path: figure/title | 11014 | #. (itstool) path: figure/title | ||
10978 | #: C/index-in.docbook:4582 | 11015 | #: C/index-in.docbook:4582 | ||
n | 10979 | #, fuzzy | n | ||
10980 | #| msgid "ColorChooserDialog" | ||||
10981 | msgid "ColorDialog" | 11016 | msgid "ColorDialog" | ||
n | 10982 | msgstr "ColorChooserDialog" | n | 11017 | msgstr "ColorDialog" |
10983 | 11018 | ||||
10984 | #. (itstool) path: imageobject/imagedata | 11019 | #. (itstool) path: imageobject/imagedata | ||
10985 | #. This is a reference to an external file such as an image or video. When | 11020 | #. This is a reference to an external file such as an image or video. When | ||
10986 | #. the file changes, the md5 hash will change to let you know you need to | 11021 | #. the file changes, the md5 hash will change to let you know you need to | ||
10987 | #. update your localized copy. The msgstr is not used at all. Set it to | 11022 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
10991 | msgctxt "_" | 11026 | msgctxt "_" | ||
10992 | msgid "" | 11027 | msgid "" | ||
10993 | "external ref='figures/dialogs_colordialog.png' " | 11028 | "external ref='figures/dialogs_colordialog.png' " | ||
10994 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 11029 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
10995 | msgstr "" | 11030 | msgstr "" | ||
n | 10996 | "external ref='figures/dialogs_colorchooserdialog.png' " | n | 11031 | "external ref='figures/dialogs_colordialog.png' " |
10997 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 11032 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
10998 | 11033 | ||||
10999 | #. (itstool) path: section/para | 11034 | #. (itstool) path: section/para | ||
11000 | #: C/index-in.docbook:4588 | 11035 | #: C/index-in.docbook:4588 | ||
n | 11001 | #, fuzzy | n | ||
11002 | #| msgid "" | ||||
11003 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11004 | #| "tree/master/examples/book/dialogs/colorchooserdialog\">Source Code</link>" | ||||
11005 | msgid "" | 11036 | msgid "" | ||
11006 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11037 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11007 | "master/examples/book/dialogs/colordialog\">Source Code</link>" | 11038 | "master/examples/book/dialogs/colordialog\">Source Code</link>" | ||
11008 | msgstr "" | 11039 | msgstr "" | ||
11009 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11040 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11010 | "master/examples/book/dialogs/colorchooserdialog\">Källkod</link>" | n | 11041 | "master/examples/book/dialogs/colordialog\">Källkod</link>" |
11011 | 11042 | ||||
11012 | #. (itstool) path: section/title | 11043 | #. (itstool) path: section/title | ||
11013 | #: C/index-in.docbook:4593 | 11044 | #: C/index-in.docbook:4593 | ||
n | 11014 | #, fuzzy | n | ||
11015 | #| msgid "FontChooserDialog" | ||||
11016 | msgid "FontDialog and FontChooserDialog" | 11045 | msgid "FontDialog and FontChooserDialog" | ||
n | 11017 | msgstr "FontChooserDialog" | n | 11046 | msgstr "FontDialog och FontChooserDialog" |
11018 | 11047 | ||||
11019 | #. (itstool) path: section/para | 11048 | #. (itstool) path: section/para | ||
11020 | #: C/index-in.docbook:4594 | 11049 | #: C/index-in.docbook:4594 | ||
11021 | msgid "" | 11050 | msgid "" | ||
11022 | "The <classname>FontChooserDialog</classname> (deprecated since " | 11051 | "The <classname>FontChooserDialog</classname> (deprecated since " | ||
11025 | "choose a font. The <classname>FontButton</classname> (deprecated since " | 11054 | "choose a font. The <classname>FontButton</classname> (deprecated since " | ||
11026 | "<application>gtkmm</application> 4.10) and <classname>FontDialogButton</" | 11055 | "<application>gtkmm</application> 4.10) and <classname>FontDialogButton</" | ||
11027 | "classname> (available since <application>gtkmm</application> 4.10) open a " | 11056 | "classname> (available since <application>gtkmm</application> 4.10) open a " | ||
11028 | "font chooser dialog when it is clicked." | 11057 | "font chooser dialog when it is clicked." | ||
11029 | msgstr "" | 11058 | msgstr "" | ||
n | n | 11059 | "<classname>FontChooserDialog</classname> (föråldrad sedan " | ||
11060 | "<application>gtkmm</application> 4.10) och <classname>FontDialog</classname> " | ||||
11061 | "(tillgänglig sedan <application>gtkmm</application> 4.10) låter användaren " | ||||
11062 | "välja ett typsnitt. <classname>FontButton</classname> (föråldrad sedan " | ||||
11063 | "<application>gtkmm</application> 4.10) och <classname>FontDialogButton</" | ||||
11064 | "classname> (tillgänglig sedan <application>gtkmm</application> 4.10) öppnar " | ||||
11065 | "en typsnittvalsdialog när de klickas på." | ||||
11030 | 11066 | ||||
11031 | #. (itstool) path: section/para | 11067 | #. (itstool) path: section/para | ||
11032 | #: C/index-in.docbook:4602 | 11068 | #: C/index-in.docbook:4602 | ||
n | 11033 | #, fuzzy | n | ||
11034 | #| msgid "" | ||||
11035 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
11036 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
11037 | msgid "" | 11069 | msgid "" | ||
11038 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11070 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11039 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | 11071 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | ||
11040 | msgstr "" | 11072 | msgstr "" | ||
11041 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11073 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11042 | "classGtk_1_1Dialog.html\">Referens</link>" | n | 11074 | "classGtk_1_1FontDialog.html\">FontDialog-referens</link>" |
11043 | 11075 | ||||
11044 | #. (itstool) path: section/para | 11076 | #. (itstool) path: section/para | ||
11045 | #: C/index-in.docbook:4603 | 11077 | #: C/index-in.docbook:4603 | ||
n | 11046 | #, fuzzy | n | ||
11047 | #| msgid "" | ||||
11048 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
11049 | #| "classGtk_1_1FontChooserDialog.html\">Reference</link>" | ||||
11050 | msgid "" | 11078 | msgid "" | ||
11051 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11079 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11052 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | 11080 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | ||
11053 | msgstr "" | 11081 | msgstr "" | ||
11054 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11082 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11055 | "classGtk_1_1FontChooserDialog.html\">Referens</link>" | n | 11083 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog-referens</link>" |
11056 | 11084 | ||||
11057 | #. (itstool) path: figure/title | 11085 | #. (itstool) path: figure/title | ||
11058 | #: C/index-in.docbook:4609 | 11086 | #: C/index-in.docbook:4609 | ||
n | 11059 | #, fuzzy | n | ||
11060 | #| msgid "AboutDialog" | ||||
11061 | msgid "FontDialog" | 11087 | msgid "FontDialog" | ||
n | 11062 | msgstr "AboutDialog" | n | 11088 | msgstr "FontDialog" |
11063 | 11089 | ||||
11064 | #. (itstool) path: imageobject/imagedata | 11090 | #. (itstool) path: imageobject/imagedata | ||
11065 | #. This is a reference to an external file such as an image or video. When | 11091 | #. This is a reference to an external file such as an image or video. When | ||
11066 | #. the file changes, the md5 hash will change to let you know you need to | 11092 | #. the file changes, the md5 hash will change to let you know you need to | ||
11067 | #. update your localized copy. The msgstr is not used at all. Set it to | 11093 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11071 | msgctxt "_" | 11097 | msgctxt "_" | ||
11072 | msgid "" | 11098 | msgid "" | ||
11073 | "external ref='figures/dialogs_fontdialog.png' " | 11099 | "external ref='figures/dialogs_fontdialog.png' " | ||
11074 | "md5='e35e05429468fa8823416b8a0deff342'" | 11100 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11075 | msgstr "" | 11101 | msgstr "" | ||
n | 11076 | "external ref='figures/dialogs_fontchooserdialog.png' " | n | 11102 | "external ref='figures/dialogs_fontdialog.png' " |
11077 | "md5='e35e05429468fa8823416b8a0deff342'" | 11103 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11078 | 11104 | ||||
11079 | #. (itstool) path: section/para | 11105 | #. (itstool) path: section/para | ||
11080 | #: C/index-in.docbook:4615 | 11106 | #: C/index-in.docbook:4615 | ||
n | 11081 | #, fuzzy | n | ||
11082 | #| msgid "" | ||||
11083 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11084 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11085 | msgid "" | 11107 | msgid "" | ||
11086 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11108 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11087 | "master/examples/book/dialogs/fontdialog\">Source Code</link>" | 11109 | "master/examples/book/dialogs/fontdialog\">Source Code</link>" | ||
11088 | msgstr "" | 11110 | msgstr "" | ||
11089 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11111 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11090 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 11112 | "master/examples/book/dialogs/fontdialog\">Källkod</link>" |
11091 | 11113 | ||||
11092 | #. (itstool) path: section/title | 11114 | #. (itstool) path: section/title | ||
11093 | #: C/index-in.docbook:4620 | 11115 | #: C/index-in.docbook:4620 | ||
11094 | #, fuzzy | 11116 | #, fuzzy | ||
11095 | msgid "Non-modal AboutDialog" | 11117 | msgid "Non-modal AboutDialog" | ||
11165 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | 11187 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | ||
11166 | 11188 | ||||
11167 | #. (itstool) path: section/title | 11189 | #. (itstool) path: section/title | ||
11168 | #: C/index-in.docbook:4652 | 11190 | #: C/index-in.docbook:4652 | ||
11169 | #, fuzzy | 11191 | #, fuzzy | ||
n | 11170 | #| msgid "Custom Widget" | n | ||
11171 | msgid "Custom Dialog" | 11192 | msgid "Custom Dialog" | ||
n | 11172 | msgstr "Anpassad komponent" | n | 11193 | msgstr "Anpassad dialogruta" |
11173 | 11194 | ||||
11174 | #. (itstool) path: section/para | 11195 | #. (itstool) path: section/para | ||
11175 | #: C/index-in.docbook:4653 | 11196 | #: C/index-in.docbook:4653 | ||
n | n | 11197 | #, fuzzy | ||
11176 | msgid "" | 11198 | msgid "" | ||
11177 | "When none of the predefined dialog classes suit your needs, you can make " | 11199 | "When none of the predefined dialog classes suit your needs, you can make " | ||
11178 | "your own dialog by deriving a class from <classname>Window</classname> and " | 11200 | "your own dialog by deriving a class from <classname>Window</classname> and " | ||
11179 | "fill it with the widgets you need." | 11201 | "fill it with the widgets you need." | ||
11180 | msgstr "" | 11202 | msgstr "" | ||
n | n | 11203 | "Om ingen av de fördefinierade dialogklasserna passar för dina behov kan du " | ||
11204 | "skapa din egen dialogruta genom att härleda en klass från <classname>Window</" | ||||
11205 | "classname> och fylla den med komponenterna som du behöver." | ||||
11181 | 11206 | ||||
11182 | #. (itstool) path: section/para | 11207 | #. (itstool) path: section/para | ||
11183 | #: C/index-in.docbook:4659 | 11208 | #: C/index-in.docbook:4659 | ||
n | 11184 | #, fuzzy | n | ||
11185 | #| msgid "" | ||||
11186 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
11187 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
11188 | msgid "" | 11209 | msgid "" | ||
11189 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11210 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11190 | "classGtk_1_1Window.html\">Window Reference</link>" | 11211 | "classGtk_1_1Window.html\">Window Reference</link>" | ||
11191 | msgstr "" | 11212 | msgstr "" | ||
11192 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11213 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
n | 11193 | "classGtk_1_1Widget.html\">Widget-referens</link>" | n | 11214 | "classGtk_1_1Window.html\">Window-referens</link>" |
11194 | 11215 | ||||
11195 | #. (itstool) path: figure/title | 11216 | #. (itstool) path: figure/title | ||
11196 | #: C/index-in.docbook:4665 | 11217 | #: C/index-in.docbook:4665 | ||
11197 | #, fuzzy | 11218 | #, fuzzy | ||
n | 11198 | #| msgid "Dialogs" | n | ||
11199 | msgid "Window Dialog" | 11219 | msgid "Window Dialog" | ||
n | 11200 | msgstr "Dialogrutor" | n | 11220 | msgstr "Fönsterdialog" |
11201 | 11221 | ||||
11202 | #. (itstool) path: imageobject/imagedata | 11222 | #. (itstool) path: imageobject/imagedata | ||
11203 | #. This is a reference to an external file such as an image or video. When | 11223 | #. This is a reference to an external file such as an image or video. When | ||
11204 | #. the file changes, the md5 hash will change to let you know you need to | 11224 | #. the file changes, the md5 hash will change to let you know you need to | ||
11205 | #. update your localized copy. The msgstr is not used at all. Set it to | 11225 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11209 | msgctxt "_" | 11229 | msgctxt "_" | ||
11210 | msgid "" | 11230 | msgid "" | ||
11211 | "external ref='figures/dialogs_windowdialog.png' " | 11231 | "external ref='figures/dialogs_windowdialog.png' " | ||
11212 | "md5='53deb18153f6903fe45d015fc06ccef3'" | 11232 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11213 | msgstr "" | 11233 | msgstr "" | ||
n | 11214 | "external ref='figures/dialogs_messagedialog.png' " | n | 11234 | "external ref='figures/dialogs_windowdialog.png' " |
11215 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 11235 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11216 | 11236 | ||||
11217 | #. (itstool) path: section/para | 11237 | #. (itstool) path: section/para | ||
11218 | #: C/index-in.docbook:4671 | 11238 | #: C/index-in.docbook:4671 | ||
n | 11219 | #, fuzzy | n | ||
11220 | #| msgid "" | ||||
11221 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11222 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11223 | msgid "" | 11239 | msgid "" | ||
11224 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11240 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11225 | "master/examples/book/dialogs/windowdialog\">Source Code</link>" | 11241 | "master/examples/book/dialogs/windowdialog\">Source Code</link>" | ||
11226 | msgstr "" | 11242 | msgstr "" | ||
11227 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11243 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11228 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 11244 | "master/examples/book/dialogs/windowdialog\">Källkod</link>" |
11229 | 11245 | ||||
11230 | #. (itstool) path: chapter/title | 11246 | #. (itstool) path: chapter/title | ||
11231 | #: C/index-in.docbook:4678 | 11247 | #: C/index-in.docbook:4678 | ||
11232 | msgid "The DrawingArea Widget" | 11248 | msgid "The DrawingArea Widget" | ||
11233 | msgstr "DrawingArea-komponenten" | 11249 | msgstr "DrawingArea-komponenten" | ||
11720 | "methodname> anropas sedan närhelst bilden i ritytan behöver ritas om. Den " | 11736 | "methodname> anropas sedan närhelst bilden i ritytan behöver ritas om. Den " | ||
11721 | "skickas en <classname>Cairo::RefPtr</classname>-pekare till en " | 11737 | "skickas en <classname>Cairo::RefPtr</classname>-pekare till en " | ||
11722 | "<classname>Cairo::Context</classname> som vi använder för ritandet. Koden " | 11738 | "<classname>Cairo::Context</classname> som vi använder för ritandet. Koden " | ||
11723 | "som faktiskt ritar ställer in färgen vi vill använda för ritandet genom att " | 11739 | "som faktiskt ritar ställer in färgen vi vill använda för ritandet genom att " | ||
11724 | "använda <methodname>set_source_rgb()</methodname> vilken tar argument som " | 11740 | "använda <methodname>set_source_rgb()</methodname> vilken tar argument som " | ||
n | 11725 | "definierar komponenterna Red, Green, and Blue för den önskade färgen " | n | 11741 | "definierar komponenterna Red, Green och Blue för den önskade färgen (giltiga " |
11726 | "(giltiga värden är mellan 0 och 1). Efter att färgen ställts in skapade vi " | 11742 | "värden är mellan 0 och 1). Efter att färgen ställts in skapade vi en ny bana " | ||
11727 | "en ny bana med funktionerna <methodname>move_to()</methodname> och " | 11743 | "med funktionerna <methodname>move_to()</methodname> och " | ||
11728 | "<methodname>line_to()</methodname>, och strök sedan denna bana med " | 11744 | "<methodname>line_to()</methodname>, och strök sedan denna bana med " | ||
11729 | "<methodname>stroke()</methodname>." | 11745 | "<methodname>stroke()</methodname>." | ||
11730 | 11746 | ||||
11731 | #. (itstool) path: tip/title | 11747 | #. (itstool) path: tip/title | ||
11732 | #: C/index-in.docbook:4899 | 11748 | #: C/index-in.docbook:4899 | ||
13893 | "advanced." | 13909 | "advanced." | ||
13894 | 13910 | ||||
13895 | #. (itstool) path: section/title | 13911 | #. (itstool) path: section/title | ||
13896 | #: C/index-in.docbook:5952 C/index-in.docbook:5989 | 13912 | #: C/index-in.docbook:5952 C/index-in.docbook:5989 | ||
13897 | #, fuzzy | 13913 | #, fuzzy | ||
n | 13898 | #| msgid "Printing" | n | 13914 | #| msgid "FontDialog" |
13899 | msgid "PrintDialog" | 13915 | msgid "PrintDialog" | ||
n | 13900 | msgstr "Utskrift" | n | 13916 | msgstr "FontDialog" |
13901 | 13917 | ||||
13902 | #. (itstool) path: section/para | 13918 | #. (itstool) path: section/para | ||
13903 | #: C/index-in.docbook:5954 | 13919 | #: C/index-in.docbook:5954 | ||
13904 | msgid "" | 13920 | msgid "" | ||
13905 | "Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</" | 13921 | "Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</" | ||
14340 | "methodname> påverkar inte de faktiska filerna som URI:erna hänvisar till, de " | 14356 | "methodname> påverkar inte de faktiska filerna som URI:erna hänvisar till, de " | ||
14341 | "ändrar bara listan över senaste filer." | 14357 | "ändrar bara listan över senaste filer." | ||
14342 | 14358 | ||||
14343 | #. (itstool) path: section/title | 14359 | #. (itstool) path: section/title | ||
14344 | #: C/index-in.docbook:6167 | 14360 | #: C/index-in.docbook:6167 | ||
n | 14345 | #, fuzzy | n | ||
14346 | #| msgid "FileChooserDialog" | ||||
14347 | msgid "FileChooser and FileDialog" | 14361 | msgid "FileChooser and FileDialog" | ||
n | 14348 | msgstr "FileChooserDialog" | n | 14362 | msgstr "FileChooser och FileDialog" |
14349 | 14363 | ||||
14350 | #. (itstool) path: section/para | 14364 | #. (itstool) path: section/para | ||
14351 | #: C/index-in.docbook:6169 | 14365 | #: C/index-in.docbook:6169 | ||
14352 | msgid "" | 14366 | msgid "" | ||
14353 | "<classname>FileChooser</classname> is an interface that can be implemented " | 14367 | "<classname>FileChooser</classname> is an interface that can be implemented " | ||
14385 | "<classname>FileChooser</classname> and the classes that implement it are " | 14399 | "<classname>FileChooser</classname> and the classes that implement it are " | ||
14386 | "deprecated since <application>gtkmm</application> 4.10. They have been " | 14400 | "deprecated since <application>gtkmm</application> 4.10. They have been " | ||
14387 | "replaced by <classname>FileDialog</classname>, which is available since " | 14401 | "replaced by <classname>FileDialog</classname>, which is available since " | ||
14388 | "<application>gtkmm</application> 4.10." | 14402 | "<application>gtkmm</application> 4.10." | ||
14389 | msgstr "" | 14403 | msgstr "" | ||
n | n | 14404 | "<classname>FileChooser</classname> och klasserna som implementerar den är " | ||
14405 | "föråldrade sedan <application>gtkmm</application> 4.10. De har ersatts av " | ||||
14406 | "<classname>FileDialog</classname>, vilken finns tillgänglig sedan " | ||||
14407 | "<application>gtkmm</application> 4.10." | ||||
14390 | 14408 | ||||
14391 | #. (itstool) path: section/title | 14409 | #. (itstool) path: section/title | ||
14392 | #: C/index-in.docbook:6191 | 14410 | #: C/index-in.docbook:6191 | ||
n | 14393 | #, fuzzy | n | ||
14394 | #| msgid "Simple FileChooserDialog example" | ||||
14395 | msgid "Simple FileDialog example" | 14411 | msgid "Simple FileDialog example" | ||
n | 14396 | msgstr "Enkelt FileChooserDialog-exempel" | n | 14412 | msgstr "Enkelt FileDialog-exempel" |
14397 | 14413 | ||||
14398 | #. (itstool) path: section/para | 14414 | #. (itstool) path: section/para | ||
14399 | #: C/index-in.docbook:6193 | 14415 | #: C/index-in.docbook:6193 | ||
14400 | #, fuzzy | 14416 | #, fuzzy | ||
14401 | msgid "" | 14417 | msgid "" | ||
14942 | msgid "Timeouts, I/O and Idle Functions" | 14958 | msgid "Timeouts, I/O and Idle Functions" | ||
14943 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | 14959 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | ||
14944 | 14960 | ||||
14945 | #. (itstool) path: section/title | 14961 | #. (itstool) path: section/title | ||
14946 | #: C/index-in.docbook:6435 | 14962 | #: C/index-in.docbook:6435 | ||
n | 14947 | #, fuzzy | n | ||
14948 | msgid "Timeouts" | 14963 | msgid "Timeouts" | ||
14949 | msgstr "Timeout" | 14964 | msgstr "Timeout" | ||
14950 | 14965 | ||||
14951 | #. (itstool) path: section/para | 14966 | #. (itstool) path: section/para | ||
14952 | #: C/index-in.docbook:6437 | 14967 | #: C/index-in.docbook:6437 | ||
15449 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | 15464 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | ||
15450 | 15465 | ||||
15451 | #. (itstool) path: section/programlisting | 15466 | #. (itstool) path: section/programlisting | ||
15452 | #: C/index-in.docbook:6672 | 15467 | #: C/index-in.docbook:6672 | ||
15453 | #, fuzzy, no-wrap | 15468 | #, fuzzy, no-wrap | ||
n | n | 15469 | #| msgid "" | ||
15470 | #| "\n" | ||||
15471 | #| "{\n" | ||||
15472 | #| " Gtk::Button aButton;\n" | ||||
15473 | #| " aButton.set_visible(true);\n" | ||||
15474 | #| " ...\n" | ||||
15475 | #| " app->run();\n" | ||||
15476 | #| "}\n" | ||||
15454 | msgid "" | 15477 | msgid "" | ||
15455 | "<code>{\n" | 15478 | "<code>{\n" | ||
15456 | " Gtk::Button aButton;\n" | 15479 | " Gtk::Button aButton;\n" | ||
15457 | " aButton.set_visible(true);\n" | 15480 | " aButton.set_visible(true);\n" | ||
15458 | " ...\n" | 15481 | " ...\n" | ||
15461 | "</code>" | 15484 | "</code>" | ||
15462 | msgstr "" | 15485 | msgstr "" | ||
15463 | "\n" | 15486 | "\n" | ||
15464 | "{\n" | 15487 | "{\n" | ||
15465 | " Gtk::Button aButton;\n" | 15488 | " Gtk::Button aButton;\n" | ||
n | 15466 | " aButton.show();\n" | n | 15489 | " aButton.set_visible(true);\n" |
15467 | " ...\n" | 15490 | " ...\n" | ||
15468 | " app->run();\n" | 15491 | " app->run();\n" | ||
15469 | "}\n" | 15492 | "}\n" | ||
15470 | 15493 | ||||
15471 | #. (itstool) path: section/para | 15494 | #. (itstool) path: section/para | ||
15849 | "Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad " | 15872 | "Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad " | ||
15850 | "information om RefPtr." | 15873 | "information om RefPtr." | ||
15851 | 15874 | ||||
15852 | #. (itstool) path: listitem/para | 15875 | #. (itstool) path: listitem/para | ||
15853 | #: C/index-in.docbook:6834 | 15876 | #: C/index-in.docbook:6834 | ||
n | 15854 | #, fuzzy | n | ||
15855 | #| msgid "" | ||||
15856 | #| "Bjarne Stroustrup, \"The C++ Programming Language\" Forth Edition - " | ||||
15857 | #| "section 34.3" | ||||
15858 | msgid "" | 15877 | msgid "" | ||
15859 | "Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section " | 15878 | "Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section " | ||
15860 | "34.3" | 15879 | "34.3" | ||
15861 | msgstr "" | 15880 | msgstr "" | ||
15862 | "Bjarne Stroustrup, ”The C++ Programming Language”, 4:e utgåvan - avsnitt 34.3" | 15881 | "Bjarne Stroustrup, ”The C++ Programming Language”, 4:e utgåvan - avsnitt 34.3" | ||
16030 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | 16049 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | ||
16031 | "This name should be specified in the <application>Cambalache</application> " | 16050 | "This name should be specified in the <application>Cambalache</application> " | ||
16032 | "window. If the widget could not be found, or is of the wrong type, then the " | 16051 | "window. If the widget could not be found, or is of the wrong type, then the " | ||
16033 | "pointer will be set to <literal>nullptr</literal>." | 16052 | "pointer will be set to <literal>nullptr</literal>." | ||
16034 | msgstr "" | 16053 | msgstr "" | ||
n | 16035 | "För att komma åt en komponent, exempelvis för att visa en dialogruta med " | n | 16054 | "För att komma åt en komponent, exempelvis för att visa en dialogruta, " |
16036 | "<methodname>show()</methodname>, använder du metoden " | 16055 | "använder du metoden <methodname>get_widget()</methodname> och " | ||
16037 | "<methodname>get_widget()</methodname> och tillhandahåller komponentens namn. " | 16056 | "tillhandahåller komponentens namn. Detta namn bör anges i " | ||
16038 | "Detta namn bör anges i <application>Glade</application>s egenskapsfönster. " | 16057 | "<application>Glade</application>s egenskapsfönster. Om komponenten inte " | ||
16039 | "Om komponenten inte kunde hittas eller är av fel typ så kommer pekaren " | 16058 | "kunde hittas eller är av fel typ så kommer pekaren sättas till nullptr." | ||
16040 | "sättas till nullptr." | ||||
16041 | 16059 | ||||
16042 | #. (itstool) path: section/para | 16060 | #. (itstool) path: section/para | ||
16043 | #: C/index-in.docbook:6910 | 16061 | #: C/index-in.docbook:6910 | ||
n | 16044 | #, fuzzy | n | ||
16045 | msgid "" | 16062 | msgid "" | ||
16046 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | 16063 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | ||
16047 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | 16064 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | ||
16048 | "<application>gtkmm</application> 4.10." | 16065 | "<application>gtkmm</application> 4.10." | ||
16049 | msgstr "" | 16066 | msgstr "" | ||
n | 16050 | "I detta steg använder vi en <classname>Gtk::Builder</classname>-instans för " | n | 16067 | "Dialogrutorna i detta kapitel härleds från <classname>Gtk::Window</" |
16051 | "att associera en <classname>Gtk::Builder</classname>-ui-fil med vår " | 16068 | "classname> eftersom <classname>Gtk::Dialog</classname> är föråldrat sedan " | ||
16052 | "programfönsterklass." | 16069 | "<application>gtkmm</application> 4.10." | ||
16053 | 16070 | ||||
16054 | #. (itstool) path: section/programlisting | 16071 | #. (itstool) path: section/programlisting | ||
16055 | #: C/index-in.docbook:6914 | 16072 | #: C/index-in.docbook:6914 | ||
16056 | #, fuzzy, no-wrap | 16073 | #, fuzzy, no-wrap | ||
16057 | msgid "" | 16074 | msgid "" | ||
16067 | msgid "" | 16084 | msgid "" | ||
16068 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | 16085 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | ||
16069 | "that the widget is of the expected type, and will show warnings on the " | 16086 | "that the widget is of the expected type, and will show warnings on the " | ||
16070 | "command line about these." | 16087 | "command line about these." | ||
16071 | msgstr "" | 16088 | msgstr "" | ||
n | 16072 | "<application>Gtk::Builder</application> tittar efter en null-pekare, och " | n | 16089 | "<classname>Gtk::Builder</classname> tittar efter en null-pekare, och " |
16073 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | 16090 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | ||
16074 | "på kommandoraden om dessa." | 16091 | "på kommandoraden om dessa." | ||
16075 | 16092 | ||||
16076 | #. (itstool) path: section/para | 16093 | #. (itstool) path: section/para | ||
16077 | #: C/index-in.docbook:6923 | 16094 | #: C/index-in.docbook:6923 | ||
16279 | "}\n" | 16296 | "}\n" | ||
16280 | 16297 | ||||
16281 | #. (itstool) path: section/para | 16298 | #. (itstool) path: section/para | ||
16282 | #: C/index-in.docbook:7009 | 16299 | #: C/index-in.docbook:7009 | ||
16283 | #, fuzzy | 16300 | #, fuzzy | ||
n | n | 16301 | #| msgid "" | ||
16302 | #| "It's possible to pass additional arguments from " | ||||
16303 | #| "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||||
16304 | #| "derived widget. For instance, this call to " | ||||
16305 | #| "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> can " | ||||
16306 | #| "invoke this constructor" | ||||
16284 | msgid "" | 16307 | msgid "" | ||
16285 | "It's possible to pass additional arguments from " | 16308 | "It's possible to pass additional arguments from " | ||
16286 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | 16309 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||
16287 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | 16310 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | ||
16288 | "methodname>" | 16311 | "methodname>" | ||
16289 | msgstr "" | 16312 | msgstr "" | ||
16290 | "Det är möjligt att skicka ytterligare argument från " | 16313 | "Det är möjligt att skicka ytterligare argument från " | ||
16291 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | 16314 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | ||
16292 | "härledda komponenten. Exempelvis kan detta anrop till " | 16315 | "härledda komponenten. Exempelvis kan detta anrop till " | ||
16293 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | 16316 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | ||
n | 16294 | "denna konstruktor <_:programlisting-2/>" | n | 16317 | "denna konstruktor" |
16295 | 16318 | ||||
16296 | #. (itstool) path: section/programlisting | 16319 | #. (itstool) path: section/programlisting | ||
16297 | #: C/index-in.docbook:7014 | 16320 | #: C/index-in.docbook:7014 | ||
16298 | #, fuzzy, no-wrap | 16321 | #, fuzzy, no-wrap | ||
16299 | msgid "" | 16322 | msgid "" | ||
18012 | "your custom class from that class. The <link linkend=\"custom-css-name-" | 18035 | "your custom class from that class. The <link linkend=\"custom-css-name-" | ||
18013 | "example\">custom CSS name example</link> shows how that's done." | 18036 | "example\">custom CSS name example</link> shows how that's done." | ||
18014 | msgstr "" | 18037 | msgstr "" | ||
18015 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | 18038 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | ||
18016 | "huvud taget, anropas från klassens init-funktion. Några andra " | 18039 | "huvud taget, anropas från klassens init-funktion. Några andra " | ||
n | 18017 | "<application>GTK</application>-funktioner måste, om de anropas , anropas " | n | 18040 | "<application>GTK</application>-funktioner måste, om de anropas, anropas från " |
18018 | "från instansens init-funktion. Om din anpassade komponent måste anropa någon " | 18041 | "instansens init-funktion. Om din anpassade komponent måste anropa någon av " | ||
18019 | "av dessa funktioner kan du härleda en klass från <classname>Glib::" | 18042 | "dessa funktioner kan du härleda en klass från <classname>Glib::" | ||
18020 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | 18043 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | ||
n | n | 18044 | "Exemplet för <link linkend=\"custom-css-name-example\">anpassat CSS-namn</" | ||
18021 | "Följande exempel visar hur detta görs." | 18045 | "link> visar hur detta görs." | ||
18022 | 18046 | ||||
18023 | #. (itstool) path: section/para | 18047 | #. (itstool) path: section/para | ||
18024 | #: C/index-in.docbook:7780 | 18048 | #: C/index-in.docbook:7780 | ||
18025 | msgid "This example implements a widget which draws Penrose triangles." | 18049 | msgid "This example implements a widget which draws Penrose triangles." | ||
18026 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | 18050 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | ||
18054 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18078 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18055 | "master/examples/book/custom/custom_widget/\">Källkod</link>" | 18079 | "master/examples/book/custom/custom_widget/\">Källkod</link>" | ||
18056 | 18080 | ||||
18057 | #. (itstool) path: section/title | 18081 | #. (itstool) path: section/title | ||
18058 | #: C/index-in.docbook:7794 | 18082 | #: C/index-in.docbook:7794 | ||
n | 18059 | #, fuzzy | n | ||
18060 | #| msgid "Custom Containers" | ||||
18061 | msgid "Custom CSS Names" | 18083 | msgid "Custom CSS Names" | ||
n | 18062 | msgstr "Anpassade behållare" | n | 18084 | msgstr "Anpassade CSS-namn" |
18063 | 18085 | ||||
n | n | 18086 | # TODO: controlled | ||
18064 | #. (itstool) path: section/para | 18087 | #. (itstool) path: section/para | ||
18065 | #: C/index-in.docbook:7796 | 18088 | #: C/index-in.docbook:7796 | ||
n | n | 18089 | #, fuzzy | ||
18066 | msgid "" | 18090 | msgid "" | ||
18067 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | 18091 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | ||
18068 | "Sheet) files. With CSS files you can choose color, font, line thickness, " | 18092 | "Sheet) files. With CSS files you can choose color, font, line thickness, " | ||
18069 | "etc. If you give some widgets their own names or their own CSS classes, you " | 18093 | "etc. If you give some widgets their own names or their own CSS classes, you " | ||
18070 | "can define CSS rules that apply only to those widgets, for instance certain " | 18094 | "can define CSS rules that apply only to those widgets, for instance certain " | ||
18071 | "buttons, without affecting other similar widgets." | 18095 | "buttons, without affecting other similar widgets." | ||
18072 | msgstr "" | 18096 | msgstr "" | ||
n | n | 18097 | "Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style " | ||
18098 | "Sheet). Med CSS-filer kan du välja färg, typsnitt, radtjocklek och så " | ||||
18099 | "vidare. Om du ger några komponenter egna namn så kan du definiera CSS-regler " | ||||
18100 | "som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan " | ||||
18101 | "att påverka andra liknande komponenter." | ||||
18073 | 18102 | ||||
18074 | #. (itstool) path: section/title | 18103 | #. (itstool) path: section/title | ||
18075 | #: C/index-in.docbook:7803 | 18104 | #: C/index-in.docbook:7803 | ||
18076 | msgid "CSS Node Name, Widget Name, CSS Class Name" | 18105 | msgid "CSS Node Name, Widget Name, CSS Class Name" | ||
n | 18077 | msgstr "" | n | 18106 | msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn" |
18078 | 18107 | ||||
18079 | #. (itstool) path: listitem/para | 18108 | #. (itstool) path: listitem/para | ||
18080 | #: C/index-in.docbook:7807 | 18109 | #: C/index-in.docbook:7807 | ||
n | n | 18110 | #, fuzzy | ||
18081 | msgid "" | 18111 | msgid "" | ||
18082 | "<methodname>gtk_widget_class_set_css_name()</methodname> can only be called " | 18112 | "<methodname>gtk_widget_class_set_css_name()</methodname> can only be called " | ||
18083 | "from the class init function. It sets the CSS node name of all instances of " | 18113 | "from the class init function. It sets the CSS node name of all instances of " | ||
18084 | "a class (a GType). See the <link linkend=\"custom-init-functions\"> Class " | 18114 | "a class (a GType). See the <link linkend=\"custom-init-functions\"> Class " | ||
18085 | "Init and Instance Init Functions</link> section." | 18115 | "Init and Instance Init Functions</link> section." | ||
18086 | msgstr "" | 18116 | msgstr "" | ||
n | n | 18117 | "<methodname>gtk_widget_class_set_css_name()</methodname> kan endast anropas " | ||
18118 | "från klassens init-funktion. Den ställer in CSS-nodnamnet för alla instanser " | ||||
18119 | "av en klass (en GType). Se avsnittet <link linkend=\"custom-init-" | ||||
18120 | "functions\"> Initieringsfunktioner för klasser och instanser</link>." | ||||
18087 | 18121 | ||||
18088 | #. (itstool) path: listitem/para | 18122 | #. (itstool) path: listitem/para | ||
18089 | #: C/index-in.docbook:7811 | 18123 | #: C/index-in.docbook:7811 | ||
n | n | 18124 | #, fuzzy | ||
18125 | #| msgid "" | ||||
18126 | #| "<methodname>Gtk::Widget::set_name()</methodname> can be called from a C++ " | ||||
18127 | #| "constructor. It sets the name of a widget instance." | ||||
18090 | msgid "" | 18128 | msgid "" | ||
18091 | "<methodname>Gtk::Widget::set_name()</methodname> can be called from a " | 18129 | "<methodname>Gtk::Widget::set_name()</methodname> can be called from a " | ||
18092 | "<phrase role=\"nowrap\">C++</phrase> constructor. It sets the name of a " | 18130 | "<phrase role=\"nowrap\">C++</phrase> constructor. It sets the name of a " | ||
18093 | "widget instance." | 18131 | "widget instance." | ||
18094 | msgstr "" | 18132 | msgstr "" | ||
n | n | 18133 | "<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-" | ||
18134 | "konstruktor. Den ställer in namnet för en komponentinstans." | ||||
18095 | 18135 | ||||
18096 | #. (itstool) path: listitem/para | 18136 | #. (itstool) path: listitem/para | ||
18097 | #: C/index-in.docbook:7814 | 18137 | #: C/index-in.docbook:7814 | ||
n | n | 18138 | #, fuzzy | ||
18139 | #| msgid "" | ||||
18140 | #| "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from " | ||||
18141 | #| "a C++ constructor. It adds the name of a CSS class, used by a widget " | ||||
18142 | #| "instance." | ||||
18098 | msgid "" | 18143 | msgid "" | ||
18099 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | 18144 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | ||
18100 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | 18145 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | ||
18101 | "class, used by a widget instance." | 18146 | "class, used by a widget instance." | ||
18102 | msgstr "" | 18147 | msgstr "" | ||
n | n | 18148 | "<methodname>Gtk::Widget::add_class_name()</methodname> kan anropas från en C+" | ||
18149 | "+-konstruktor. Den lägger till namnet för en CSS-klass, använd av en " | ||||
18150 | "komponentinstans." | ||||
18103 | 18151 | ||||
18104 | #. (itstool) path: section/para | 18152 | #. (itstool) path: section/para | ||
18105 | #: C/index-in.docbook:7805 | 18153 | #: C/index-in.docbook:7805 | ||
n | n | 18154 | #, fuzzy | ||
18106 | msgid "" | 18155 | msgid "" | ||
18107 | "There are three ways of referring from a widget to data in a CSS file: <_:" | 18156 | "There are three ways of referring from a widget to data in a CSS file: <_:" | ||
18108 | "itemizedlist-1/> The following example shows a button with its own CSS node " | 18157 | "itemizedlist-1/> The following example shows a button with its own CSS node " | ||
18109 | "name, a label with a widget name and a label that uses its own CSS class." | 18158 | "name, a label with a widget name and a label that uses its own CSS class." | ||
18110 | msgstr "" | 18159 | msgstr "" | ||
n | n | 18160 | "Det finns tre sätt att referera från en komponent till data i en CSS-fil: <_:" | ||
18161 | "itemizedlist-1/> Följande exempel visar en knapp med eget CSS-nodnamn, en " | ||||
18162 | "etikett med ett komponentnamn och en etikett som använder sin egen CSS-klass." | ||||
18111 | 18163 | ||||
18112 | #. (itstool) path: section/title | 18164 | #. (itstool) path: section/title | ||
18113 | #: C/index-in.docbook:7823 | 18165 | #: C/index-in.docbook:7823 | ||
18114 | msgid "Custom Style Information" | 18166 | msgid "Custom Style Information" | ||
18115 | msgstr "Anpassad stilinformation" | 18167 | msgstr "Anpassad stilinformation" | ||
18124 | "StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::" | 18176 | "StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::" | ||
18125 | "StyleContext</classname> also contains methods to read some style " | 18177 | "StyleContext</classname> also contains methods to read some style " | ||
18126 | "information, but this class is deprecated since <application>gtkmm</" | 18178 | "information, but this class is deprecated since <application>gtkmm</" | ||
18127 | "application> 4.10." | 18179 | "application> 4.10." | ||
18128 | msgstr "" | 18180 | msgstr "" | ||
n | n | 18181 | "För att lägga till en stilmall till ett program använder du en av " | ||
18182 | "<methodname>Gtk::CssProvider::load_from_*()</methodname>-metoderna. Lägg " | ||||
18183 | "sedan till den med <methodname>Gtk::StyleProvider::" | ||||
18184 | "add_provider_for_display()</methodname> (tillgänglig sedan " | ||||
18185 | "<application>gtkmm</application> 4.10) eller <methodname>Gtk::StyleContext::" | ||||
18186 | "add_provider_for_display()</methodname>. <classname>Gtk::StyleContext</" | ||||
18187 | "classname> innehåller också metoder för att läsa viss stilinformation, men " | ||||
18188 | "denna klass är föråldrad sedan <application>gtkmm</application> 4.10." | ||||
18129 | 18189 | ||||
18130 | #. (itstool) path: section/para | 18190 | #. (itstool) path: section/para | ||
18131 | #: C/index-in.docbook:7832 | 18191 | #: C/index-in.docbook:7832 | ||
18132 | msgid "CSS files are described in the documentation of GTK." | 18192 | msgid "CSS files are described in the documentation of GTK." | ||
n | 18133 | msgstr "" | n | 18193 | msgstr "CSS-filer beskrivs i dokumentationen för GTK." |
18134 | 18194 | ||||
18135 | #. (itstool) path: section/para | 18195 | #. (itstool) path: section/para | ||
18136 | #: C/index-in.docbook:7838 | 18196 | #: C/index-in.docbook:7838 | ||
18137 | msgid "" | 18197 | msgid "" | ||
18138 | "This example implements a button and two labels with custom style " | 18198 | "This example implements a button and two labels with custom style " | ||
18139 | "information." | 18199 | "information." | ||
18140 | msgstr "" | 18200 | msgstr "" | ||
n | n | 18201 | "Detta exempel implementerar en knapp och två etiketter med anpassad " | ||
18202 | "stilinformation." | ||||
18141 | 18203 | ||||
18142 | #. (itstool) path: figure/title | 18204 | #. (itstool) path: figure/title | ||
18143 | #: C/index-in.docbook:7841 | 18205 | #: C/index-in.docbook:7841 | ||
18144 | #, fuzzy | 18206 | #, fuzzy | ||
n | 18145 | #| msgid "Custom Container" | n | ||
18146 | msgid "Custom CSS Name" | 18207 | msgid "Custom CSS Name" | ||
n | 18147 | msgstr "Anpassad behållare" | n | 18208 | msgstr "Anpassat CSS-namn" |
18148 | 18209 | ||||
18149 | #. (itstool) path: imageobject/imagedata | 18210 | #. (itstool) path: imageobject/imagedata | ||
18150 | #. This is a reference to an external file such as an image or video. When | 18211 | #. This is a reference to an external file such as an image or video. When | ||
18151 | #. the file changes, the md5 hash will change to let you know you need to | 18212 | #. the file changes, the md5 hash will change to let you know you need to | ||
18152 | #. update your localized copy. The msgstr is not used at all. Set it to | 18213 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
18156 | msgctxt "_" | 18217 | msgctxt "_" | ||
18157 | msgid "" | 18218 | msgid "" | ||
18158 | "external ref='figures/custom_css_name.png' " | 18219 | "external ref='figures/custom_css_name.png' " | ||
18159 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | 18220 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18160 | msgstr "" | 18221 | msgstr "" | ||
n | 18161 | "external ref='figures/custom_container.png' " | n | 18222 | "external ref='figures/custom_css_name.png' " |
18162 | "md5='5b4ae318725b6efbf5c6e1f7c94e6e04'" | 18223 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18163 | 18224 | ||||
18164 | #. (itstool) path: section/para | 18225 | #. (itstool) path: section/para | ||
18165 | #: C/index-in.docbook:7847 | 18226 | #: C/index-in.docbook:7847 | ||
n | 18166 | #, fuzzy | n | ||
18167 | #| msgid "" | ||||
18168 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
18169 | #| "tree/master/examples/book/custom/custom_container/\">Source Code</link>" | ||||
18170 | msgid "" | 18227 | msgid "" | ||
18171 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18228 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18172 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | 18229 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | ||
18173 | msgstr "" | 18230 | msgstr "" | ||
18174 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18231 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 18175 | "master/examples/book/custom/custom_container/\">Källkod</link>" | n | 18232 | "master/examples/book/custom/custom_css_name/\">Källkod</link>" |
18176 | 18233 | ||||
18177 | #. (itstool) path: chapter/title | 18234 | #. (itstool) path: chapter/title | ||
18178 | #: C/index-in.docbook:7854 | 18235 | #: C/index-in.docbook:7854 | ||
18179 | msgid "Multi-threaded programs" | 18236 | msgid "Multi-threaded programs" | ||
18180 | msgstr "Flertrådade program" | 18237 | msgstr "Flertrådade program" | ||
18686 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | 18743 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | ||
18687 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | 18744 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | ||
18688 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | 18745 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | ||
18689 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | 18746 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | ||
18690 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | 18747 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | ||
n | 18691 | "eller när din kod bestämmer sig för att köra <methodname>hide()</methodname> " | n | 18748 | "eller när din kod bestämmer sig för att dölja fönstret med " |
18692 | "på fönstret. Du kan förhindra användaren från att stränga fönstret " | 18749 | "<methodname>set_visible(false)</methodname>. Du kan förhindra användaren " | ||
18693 | "(exempelvis om det finns osparade ändringar) genom att åsidosätta " | 18750 | "från att stränga fönstret (exempelvis om det finns osparade ändringar) genom " | ||
18694 | "<methodname>Gtk::Window::on_close_request()</methodname>." | 18751 | "att åsidosätta <methodname>Gtk::Window::on_close_request()</methodname>." | ||
18695 | 18752 | ||||
18696 | #. (itstool) path: section/para | 18753 | #. (itstool) path: section/para | ||
18697 | #: C/index-in.docbook:8139 | 18754 | #: C/index-in.docbook:8139 | ||
18698 | msgid "Most of our examples use this technique." | 18755 | msgid "Most of our examples use this technique." | ||
18699 | msgstr "De flesta av våra exempel använder denna teknik." | 18756 | msgstr "De flesta av våra exempel använder denna teknik." | ||
18754 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | 18811 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | ||
18755 | "Box::append()</methodname>." | 18812 | "Box::append()</methodname>." | ||
18756 | 18813 | ||||
18757 | #. (itstool) path: section/para | 18814 | #. (itstool) path: section/para | ||
18758 | #: C/index-in.docbook:8187 | 18815 | #: C/index-in.docbook:8187 | ||
n | 18759 | #, fuzzy | n | ||
18760 | msgid "" | 18816 | msgid "" | ||
18761 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | 18817 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | ||
18762 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | 18818 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | ||
18763 | "If a container widget is hidden, all of its child widgets are also hidden, " | 18819 | "If a container widget is hidden, all of its child widgets are also hidden, " | ||
18764 | "even if <methodname>set_visible(false)</methodname> is not called on the " | 18820 | "even if <methodname>set_visible(false)</methodname> is not called on the " | ||
18765 | "child widgets." | 18821 | "child widgets." | ||
18766 | msgstr "" | 18822 | msgstr "" | ||
18767 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | 18823 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | ||
n | 18768 | "Widget::hide()</methodname> på komponenterna som du inte vill ska visas. Om " | n | 18824 | "Widget::set_visible(false)</methodname> på komponenterna som du inte vill " |
18769 | "en behållarkomponent är dold så är även alla dess underordnade komponenter " | 18825 | "ska visas. Om en behållarkomponent är dold så är även alla dess underordnade " | ||
18770 | "dolda, även om <methodname>hide()</methodname> inte anropas på de " | 18826 | "komponenter dolda, även om <methodname>set_visible(false)</methodname> inte " | ||
18771 | "underordnade komponenterna." | 18827 | "anropas på de underordnade komponenterna." | ||
18772 | 18828 | ||||
18773 | #. (itstool) path: chapter/title | 18829 | #. (itstool) path: chapter/title | ||
18774 | #: C/index-in.docbook:8198 | 18830 | #: C/index-in.docbook:8198 | ||
18775 | msgid "Building applications" | 18831 | msgid "Building applications" | ||
18776 | msgstr "Bygga program" | 18832 | msgstr "Bygga program" | ||
19492 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | 19548 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | ||
19493 | "preference dialog. The types of the properties in these classes can't be " | 19549 | "preference dialog. The types of the properties in these classes can't be " | ||
19494 | "automatically converted to the string type that <classname>Gio::Settings</" | 19550 | "automatically converted to the string type that <classname>Gio::Settings</" | ||
19495 | "classname> requires." | 19551 | "classname> requires." | ||
19496 | msgstr "" | 19552 | msgstr "" | ||
n | 19497 | "Vi denna punkt kommer programmet redan reagera om du ändrar en av " | n | 19553 | "Vid denna punkt kommer programmet redan reagera om du ändrar en av " |
19498 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | 19554 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | ||
19499 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | 19555 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | ||
19500 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | 19556 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | ||
19501 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | 19557 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | ||
19502 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | 19558 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | ||
19503 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | 19559 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | ||
n | 19504 | "classname>-ui-fil och inställningsbindningar." | n | 19560 | "classname>-ui-fil och inställningsbindningar. I detta fall är dock " |
19561 | "bindningarna mer avancerade. Vi använder <classname>Gtk::FontDialogButton</" | ||||
19562 | "classname> och <classname>Gtk::DropDown</classname> i inställningsdialogen. " | ||||
19563 | "Typerna för egenskaperna i dessa klasser kan inte automatiskt konverteras " | ||||
19564 | "till den strängtyp som <classname>Gio::Settings</classname> kräver." | ||||
19505 | 19565 | ||||
19506 | #. (itstool) path: section/para | 19566 | #. (itstool) path: section/para | ||
19507 | #: C/index-in.docbook:8525 | 19567 | #: C/index-in.docbook:8525 | ||
19508 | #, fuzzy | 19568 | #, fuzzy | ||
19509 | msgid "" | 19569 | msgid "" | ||
19513 | "in our application class, and make it open a new preference dialog." | 19573 | "in our application class, and make it open a new preference dialog." | ||
19514 | msgstr "" | 19574 | msgstr "" | ||
19515 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | 19575 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | ||
19516 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | 19576 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | ||
19517 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | 19577 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | ||
n | 19518 | "programklass, och får den öppna en ny inställningsdialog." | n | 19578 | "programklass, och får den att öppna en ny inställningsdialog." |
19519 | 19579 | ||||
19520 | #. (itstool) path: section/programlisting | 19580 | #. (itstool) path: section/programlisting | ||
19521 | #: C/index-in.docbook:8530 | 19581 | #: C/index-in.docbook:8530 | ||
19522 | #, fuzzy, no-wrap | 19582 | #, fuzzy, no-wrap | ||
19523 | #| msgid "" | 19583 | #| msgid "" | ||
20050 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | 20110 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | ||
20051 | "i GNOME git." | 20111 | "i GNOME git." | ||
20052 | 20112 | ||||
20053 | #. (itstool) path: chapter/para | 20113 | #. (itstool) path: chapter/para | ||
20054 | #: C/index-in.docbook:8760 | 20114 | #: C/index-in.docbook:8760 | ||
n | 20055 | #, fuzzy | n | ||
20056 | msgid "" | 20115 | msgid "" | ||
20057 | "If you do decide to contribute, please post your contribution as an issue or " | 20116 | "If you do decide to contribute, please post your contribution as an issue or " | ||
20058 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 20117 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | ||
20059 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | 20118 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | ||
20060 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | 20119 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | ||
20064 | "document is free, and any addition you provide must also be free. That is, " | 20123 | "document is free, and any addition you provide must also be free. That is, " | ||
20065 | "people must be able to use any portion of your examples in their programs, " | 20124 | "people must be able to use any portion of your examples in their programs, " | ||
20066 | "and copies of this document (including your contribution) may be distributed " | 20125 | "and copies of this document (including your contribution) may be distributed " | ||
20067 | "freely." | 20126 | "freely." | ||
20068 | msgstr "" | 20127 | msgstr "" | ||
n | 20069 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag till sändlistan " | n | 20128 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag som ett ärende " |
20070 | "för <application>gtkmm</application> på <link xlink:href=\"mailto:gtkmm-" | ||||
20071 | "list@gnome.org\"><gtkmm-list@gnome.org></link> eller som ett ärende " | ||||
20072 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | 20129 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | ||
n | 20073 | "GNOME/gtkmm-documentation\">GitLab</link>. Var också medveten om att hela " | n | 20130 | "GNOME/gtkmm-documentation\">GitLab</link>. Du kan också diskutera dina idéer " |
20131 | "på GNOMEs <link xlink:href=\"https://discourse.gnome.org\">Discourse</link>-" | ||||
20132 | "instans, under kategorin <link xlink:href=\"https://discourse.gnome.org/c/" | ||||
20133 | "platform/language-bindings\"> Platform/Language bindings</link> med en " | ||||
20134 | "<literal>cplusplus</literal>-tagg. Var också medveten om att hela detta " | ||||
20074 | "detta dokument är fritt, och alla tillägg du gör också måste vara fria. Det " | 20135 | "dokument är fritt, och alla tillägg du gör också måste vara fria. Det vill " | ||
20075 | "vill säga att personer måste kunna använda alla delar av dina exempel i sina " | 20136 | "säga att personer måste kunna använda alla delar av dina exempel i sina " | ||
20076 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | 20137 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | ||
20077 | "fritt." | 20138 | "fritt." | ||
20078 | 20139 | ||||
20079 | #. (itstool) path: appendix/title | 20140 | #. (itstool) path: appendix/title | ||
20080 | #: C/index-in.docbook:8775 | 20141 | #: C/index-in.docbook:8775 | ||
21438 | "}\n" | 21499 | "}\n" | ||
21439 | 21500 | ||||
21440 | #. (itstool) path: section/para | 21501 | #. (itstool) path: section/para | ||
21441 | #: C/index-in.docbook:9383 | 21502 | #: C/index-in.docbook:9383 | ||
21442 | #, fuzzy | 21503 | #, fuzzy | ||
n | 21443 | #| msgid "Using the git version of <application>gtkmm</application>" | n | 21504 | #| msgid "Deprecations in <application>gtkmm</application> 4.10" |
21444 | msgid "And here's an excerpt from a <application>gdb</application> session." | 21505 | msgid "And here's an excerpt from a <application>gdb</application> session." | ||
n | 21445 | msgstr "Använda git-versionen av <application>gtkmm</application>" | n | 21506 | msgstr "Föråldringar i <application>gtkmm</application> 4.10" |
21446 | 21507 | ||||
21447 | #. (itstool) path: section/programlisting | 21508 | #. (itstool) path: section/programlisting | ||
21448 | #: C/index-in.docbook:9386 | 21509 | #: C/index-in.docbook:9386 | ||
21449 | #, fuzzy, no-wrap | 21510 | #, fuzzy, no-wrap | ||
21450 | msgid "" | 21511 | msgid "" | ||
22032 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22093 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22033 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22094 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22034 | 22095 | ||||
22035 | #. (itstool) path: section/para | 22096 | #. (itstool) path: section/para | ||
22036 | #: C/index-in.docbook:9632 | 22097 | #: C/index-in.docbook:9632 | ||
n | 22037 | #, fuzzy | n | ||
22038 | msgid "" | 22098 | msgid "" | ||
22039 | "To set up <application>jhbuild</application>, follow the basic installation " | 22099 | "To set up <application>jhbuild</application>, follow the basic installation " | ||
22040 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | 22100 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | ||
22041 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | 22101 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | ||
22042 | "<application>jhbuild</application>, you should copy the sample " | 22102 | "<application>jhbuild</application>, you should copy the sample " | ||
22043 | "<application>jhbuild</application> configuration file into your home " | 22103 | "<application>jhbuild</application> configuration file into your home " | ||
22044 | "directory by executing the following command from the <application>jhbuild</" | 22104 | "directory by executing the following command from the <application>jhbuild</" | ||
22045 | "application> directory: <_:screen-1/>" | 22105 | "application> directory: <_:screen-1/>" | ||
22046 | msgstr "" | 22106 | msgstr "" | ||
22047 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | 22107 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | ||
n | 22048 | "href=\"http://developer-old.gnome.org/jhbuild/unstable/\">handboken för " | n | 22108 | "href=\"https://gnome.pages.gitlab.gnome.org/jhbuild/\">handboken för " |
22049 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | 22109 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | ||
22050 | "att du har installerat <application>jhbuild</application> bör du kopiera " | 22110 | "att du har installerat <application>jhbuild</application> bör du kopiera " | ||
22051 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | 22111 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | ||
22052 | "hemkatalog genom att exekvera följande kommando från katalogen " | 22112 | "hemkatalog genom att exekvera följande kommando från katalogen " | ||
22053 | "<application>jhbuild</application>: <_:screen-1/>" | 22113 | "<application>jhbuild</application>: <_:screen-1/>" | ||
22319 | "kommer kommandot köras med rätt miljövariabler inställda, men kommer " | 22379 | "kommer kommandot köras med rätt miljövariabler inställda, men kommer " | ||
22320 | "returnera till din föregående miljö efter programmet avslutas." | 22380 | "returnera till din föregående miljö efter programmet avslutas." | ||
22321 | 22381 | ||||
22322 | #. (itstool) path: appendix/title | 22382 | #. (itstool) path: appendix/title | ||
22323 | #: C/index-in.docbook:9764 | 22383 | #: C/index-in.docbook:9764 | ||
n | 22324 | #, fuzzy | n | ||
22325 | msgid "Wrapping C Libraries with gmmproc" | 22384 | msgid "Wrapping C Libraries with gmmproc" | ||
22326 | msgstr "Omsluta C-bibliotek med gmmproc" | 22385 | msgstr "Omsluta C-bibliotek med gmmproc" | ||
22327 | 22386 | ||||
22328 | #. (itstool) path: appendix/para | 22387 | #. (itstool) path: appendix/para | ||
22329 | #: C/index-in.docbook:9766 | 22388 | #: C/index-in.docbook:9766 | ||
23066 | msgstr ".hg- och .ccg-filerna" | 23125 | msgstr ".hg- och .ccg-filerna" | ||
23067 | 23126 | ||||
23068 | #. (itstool) path: section/para | 23127 | #. (itstool) path: section/para | ||
23069 | #: C/index-in.docbook:10034 | 23128 | #: C/index-in.docbook:10034 | ||
23070 | #, fuzzy | 23129 | #, fuzzy | ||
n | n | 23130 | #| msgid "" | ||
23131 | #| "The .hg and .ccg source files are very much like .h and .cc C++ source " | ||||
23132 | #| "files, but they contain extra macros, such as <function>_CLASS_GOBJECT()</" | ||||
23133 | #| "function> and <function>_WRAP_METHOD()</function>, from which " | ||||
23134 | #| "<command>gmmproc</command> generates appropriate C++ source code, usually " | ||||
23135 | #| "at the same position in the header. Any additional C++ source code will " | ||||
23136 | #| "be copied verbatim into the corresponding .h or .cc file." | ||||
23071 | msgid "" | 23137 | msgid "" | ||
23072 | "The .hg and .ccg source files are very much like .h and .cc <phrase " | 23138 | "The .hg and .ccg source files are very much like .h and .cc <phrase " | ||
23073 | "role=\"nowrap\">C++</phrase> source files, but they contain extra macros, " | 23139 | "role=\"nowrap\">C++</phrase> source files, but they contain extra macros, " | ||
23074 | "such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</" | 23140 | "such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</" | ||
23075 | "function>, from which <command>gmmproc</command> generates appropriate " | 23141 | "function>, from which <command>gmmproc</command> generates appropriate " | ||
23076 | "<phrase role=\"nowrap\">C++</phrase> source code, usually at the same " | 23142 | "<phrase role=\"nowrap\">C++</phrase> source code, usually at the same " | ||
23077 | "position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> " | 23143 | "position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> " | ||
23078 | "source code will be copied verbatim into the corresponding .h or .cc file." | 23144 | "source code will be copied verbatim into the corresponding .h or .cc file." | ||
23079 | msgstr "" | 23145 | msgstr "" | ||
n | 23080 | ".hg- och .ccg-källfilerna är mycket som .h and .cc-källfiler i C++, men de " | n | 23146 | ".hg- och .ccg-källfilerna är mycket som .h- och .cc-källfiler i C++, men de " |
23081 | "innehåller extra makron som <function>_CLASS_GOBJECT()</function> och " | 23147 | "innehåller extra makron som <function>_CLASS_GOBJECT()</function> och " | ||
23082 | "<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> " | 23148 | "<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> " | ||
23083 | "genererar lämplig C++-källkod, vanligen på samma plats i huvudet. All " | 23149 | "genererar lämplig C++-källkod, vanligen på samma plats i huvudet. All " | ||
23084 | "ytterligare C++-källkod kommer kopieras som den är i motsvarande .h- eller ." | 23150 | "ytterligare C++-källkod kommer kopieras som den är i motsvarande .h- eller ." | ||
23085 | "cc-fil." | 23151 | "cc-fil." | ||
23520 | "function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</" | 23586 | "function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</" | ||
23521 | "function> med mera." | 23587 | "function> med mera." | ||
23522 | 23588 | ||||
23523 | #. (itstool) path: section/para | 23589 | #. (itstool) path: section/para | ||
23524 | #: C/index-in.docbook:10193 | 23590 | #: C/index-in.docbook:10193 | ||
n | 23525 | #, fuzzy | n | ||
23526 | msgid "" | 23591 | msgid "" | ||
23527 | "Other macros, such as <function>_WRAP_METHOD()</function> and " | 23592 | "Other macros, such as <function>_WRAP_METHOD()</function> and " | ||
23528 | "<function>_WRAP_SIGNAL()</function> may only be used after a call to a " | 23593 | "<function>_WRAP_SIGNAL()</function> may only be used after a call to a " | ||
23529 | "<function>_CLASS_*</function> macro." | 23594 | "<function>_CLASS_*</function> macro." | ||
23530 | msgstr "" | 23595 | msgstr "" | ||
n | 23531 | "Andra makron, som <function>_WRAP_METHOD()</function> and " | n | 23596 | "Andra makron, som <function>_WRAP_METHOD()</function> och " |
23532 | "<function>_WRAP_SIGNAL()</function> kan endast användas efter ett anrop till " | 23597 | "<function>_WRAP_SIGNAL()</function> kan endast användas efter ett anrop till " | ||
23533 | "ett <function>_CLASS_*</function>-makro." | 23598 | "ett <function>_CLASS_*</function>-makro." | ||
23534 | 23599 | ||||
23535 | #. (itstool) path: section/para | 23600 | #. (itstool) path: section/para | ||
23536 | #: C/index-in.docbook:10196 | 23601 | #: C/index-in.docbook:10196 | ||
24222 | msgid "" | 24287 | msgid "" | ||
24223 | "Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> " | 24288 | "Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> " | ||
24224 | "and <function>_CLASS_GTKOBJECT</function>." | 24289 | "and <function>_CLASS_GTKOBJECT</function>." | ||
24225 | msgstr "" | 24290 | msgstr "" | ||
24226 | "Undertrycker definition av destruktorn i <function>_CLASS_GOBJECT</function> " | 24291 | "Undertrycker definition av destruktorn i <function>_CLASS_GOBJECT</function> " | ||
n | 24227 | "and <function>_CLASS_GTKOBJECT</function>." | n | 24292 | "och <function>_CLASS_GTKOBJECT</function>." |
24228 | 24293 | ||||
24229 | #. (itstool) path: section/title | 24294 | #. (itstool) path: section/title | ||
24230 | #: C/index-in.docbook:10450 | 24295 | #: C/index-in.docbook:10450 | ||
24231 | msgid "_CUSTOM_MOVE_OPERATIONS" | 24296 | msgid "_CUSTOM_MOVE_OPERATIONS" | ||
24232 | msgstr "_CUSTOM_MOVE_OPERATIONS" | 24297 | msgstr "_CUSTOM_MOVE_OPERATIONS" | ||
25305 | "enums should be registered as GTypes." | 25370 | "enums should be registered as GTypes." | ||
25306 | msgstr "" | 25371 | msgstr "" | ||
25307 | "Använd detta alternativ om uppräkningen inte är en <classname>GType</" | 25372 | "Använd detta alternativ om uppräkningen inte är en <classname>GType</" | ||
25308 | "classname>. Detta är fallet när det inte finns någon <function>*_get_type()</" | 25373 | "classname>. Detta är fallet när det inte finns någon <function>*_get_type()</" | ||
25309 | "function>-funktion för C-uppräkningen, men var försiktig så att du inte vara " | 25374 | "function>-funktion för C-uppräkningen, men var försiktig så att du inte vara " | ||
n | 25310 | "behöver inkludera en extra header för den funktionen. Du bör också " | n | 25375 | "behöver inkludera ett extra huvud för den funktionen. Du bör också " |
25311 | "rapportera ett fel mot C-API:t, för alla uppräkningar ska registreras som " | 25376 | "rapportera ett fel mot C-API:t, för alla uppräkningar ska registreras som " | ||
25312 | "GType-typer." | 25377 | "GType-typer." | ||
25313 | 25378 | ||||
25314 | #. (itstool) path: listitem/para | 25379 | #. (itstool) path: listitem/para | ||
25315 | #: C/index-in.docbook:11023 | 25380 | #: C/index-in.docbook:11023 | ||
25343 | "_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n" | 25408 | "_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n" | ||
25344 | " " | 25409 | " " | ||
25345 | 25410 | ||||
25346 | #. (itstool) path: varlistentry/term | 25411 | #. (itstool) path: varlistentry/term | ||
25347 | #: C/index-in.docbook:11032 | 25412 | #: C/index-in.docbook:11032 | ||
n | 25348 | #, fuzzy | n | ||
25349 | msgid "gtype_func <function_name>" | 25413 | msgid "gtype_func <function_name>" | ||
25350 | msgstr "gtype_func <funktionsnamn>" | 25414 | msgstr "gtype_func <funktionsnamn>" | ||
25351 | 25415 | ||||
25352 | #. (itstool) path: listitem/para | 25416 | #. (itstool) path: listitem/para | ||
25353 | #: C/index-in.docbook:11034 | 25417 | #: C/index-in.docbook:11034 | ||
25489 | "<function>_WRAP_ENUM()</function> för att de är komplext definierade (kanske " | 25553 | "<function>_WRAP_ENUM()</function> för att de är komplext definierade (kanske " | ||
25490 | "med C-makron) men att det fortfarande är önskvärt att inkludera den " | 25554 | "med C-makron) men att det fortfarande är önskvärt att inkludera den " | ||
25491 | "genererade uppräkningsdokumentationen. Det används med samma syntax som " | 25555 | "genererade uppräkningsdokumentationen. Det används med samma syntax som " | ||
25492 | "<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även " | 25556 | "<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även " | ||
25493 | "om NO_GTYPE, gtype_func <funktionsnamn> och CONV_TO_INT ignoreras för " | 25557 | "om NO_GTYPE, gtype_func <funktionsnamn> och CONV_TO_INT ignoreras för " | ||
n | 25494 | "att de inte gör någon skillnad på bara uppräkningens dokumentation " | n | 25558 | "att de inte gör någon skillnad då bara uppräkningens dokumentation " |
25495 | "genereras)." | 25559 | "genereras)." | ||
25496 | 25560 | ||||
25497 | #. (itstool) path: section/title | 25561 | #. (itstool) path: section/title | ||
25498 | #: C/index-in.docbook:11106 | 25562 | #: C/index-in.docbook:11106 | ||
25499 | msgid "_WRAP_GERROR" | 25563 | msgid "_WRAP_GERROR" | ||
25981 | "<parameter>out_mime_type</parameter>:" | 26045 | "<parameter>out_mime_type</parameter>:" | ||
25982 | msgstr "" | 26046 | msgstr "" | ||
25983 | 26047 | ||||
25984 | #. (itstool) path: section/programlisting | 26048 | #. (itstool) path: section/programlisting | ||
25985 | #: C/index-in.docbook:11279 | 26049 | #: C/index-in.docbook:11279 | ||
n | 25986 | #, no-wrap | n | 26050 | #, fuzzy, no-wrap |
26051 | #| msgid "" | ||||
26052 | #| "\n" | ||||
26053 | #| "GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||||
26054 | #| " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||||
25987 | msgid "" | 26055 | msgid "" | ||
25988 | "<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | 26056 | "<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||
25989 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | 26057 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||
25990 | "</code>" | 26058 | "</code>" | ||
25991 | msgstr "" | 26059 | msgstr "" | ||
n | n | 26060 | "\n" | ||
26061 | "GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||||
26062 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||||
25992 | 26063 | ||||
25993 | #. (itstool) path: section/para | 26064 | #. (itstool) path: section/para | ||
25994 | #: C/index-in.docbook:11282 | 26065 | #: C/index-in.docbook:11282 | ||
25995 | msgid "" | 26066 | msgid "" | ||
25996 | "To have <command>gmmproc</command> place the value returned in the <phrase " | 26067 | "To have <command>gmmproc</command> place the value returned in the <phrase " | ||
25999 | "macro could be used:" | 26070 | "macro could be used:" | ||
26000 | msgstr "" | 26071 | msgstr "" | ||
26001 | 26072 | ||||
26002 | #. (itstool) path: section/programlisting | 26073 | #. (itstool) path: section/programlisting | ||
26003 | #: C/index-in.docbook:11286 | 26074 | #: C/index-in.docbook:11286 | ||
n | 26004 | #, no-wrap | n | 26075 | #, fuzzy, no-wrap |
26005 | msgid "" | 26076 | msgid "" | ||
26006 | "<code>\n" | 26077 | "<code>\n" | ||
26007 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | 26078 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | ||
26008 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | 26079 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | ||
26009 | " Glib::ustring& out_mime_type{>>}), gdk_clipboard_read_finish, errth | 26080 | " Glib::ustring& out_mime_type{>>}), gdk_clipboard_read_finish, errth | ||
> | row)\n" | > | row)\n" | ||
26010 | "</code>" | 26081 | "</code>" | ||
26011 | msgstr "" | 26082 | msgstr "" | ||
n | n | 26083 | "\n" | ||
26084 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | ||||
26085 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | ||||
26086 | " Glib::ustring& out_mime_type{>>}), gdk_clipboard_read_finish, errth | ||||
> | row)\n" | ||||
26012 | 26087 | ||||
26013 | #. (itstool) path: section/para | 26088 | #. (itstool) path: section/para | ||
26014 | #: C/index-in.docbook:11291 | 26089 | #: C/index-in.docbook:11291 | ||
26015 | #, fuzzy | 26090 | #, fuzzy | ||
26016 | msgid "" | 26091 | msgid "" | ||
26026 | "char**</classname> such as the following:" | 26101 | "char**</classname> such as the following:" | ||
26027 | msgstr "" | 26102 | msgstr "" | ||
26028 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | 26103 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | ||
26029 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | 26104 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | ||
26030 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | 26105 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | ||
n | 26031 | "returnerar ett värde i sin C-utdataparameter <parameter>rect</parameter>: <_:" | n | 26106 | "returnerar ett värde i sin C-utdataparameter <parameter>out_mime_type</" |
26032 | "programlisting-1/> För att <command>gmmproc</command> ska placera det " | 26107 | "parameter>: <_:programlisting-1/> För att <command>gmmproc</command> ska " | ||
26033 | "returnerade värdet i C++-utdataparametern <parameter>rect</parameter> ska " | 26108 | "placera det returnerade värdet i C++-utdataparametern " | ||
26034 | "något i stil med följande <function>_WRAP_METHOD()</function>-makro " | 26109 | "<parameter>out_mime_type</parameter> ska något i stil med följande " | ||
26035 | "användas: <_:programlisting-2/> Den <literal>{>>}</literal> som följer " | 26110 | "<function>_WRAP_METHOD()</function>-makro användas: <_:programlisting-2/> " | ||
26036 | "parameternamnet <parameter>rect</parameter> indikerar att C++-" | 26111 | "Den <literal>{>>}</literal> som följer parameternamnet " | ||
26112 | "<parameter>out_mime_type</parameter> indikerar att C++-utdataparametern ska " | ||||
26037 | "utdataparametern ska ställas in från värdet som returneras C-parametern från " | 26113 | "ställas in från värdet som returneras i C-parametern från C-funktionen. " | ||
26038 | "C-funktionen. <command>gmmproc</command> kommer att generera en deklaration " | 26114 | "<command>gmmproc</command> kommer att generera en deklaration av en temporär " | ||
26039 | "av en temporär variabel i vilken värdet av C-utdataparametern och en sats " | 26115 | "variabel i vilken värdet av C-utdataparametern och en sats som sätter C++-" | ||
26040 | "som sätter C++-utdataparametern från temporärvariabeln. I detta fall kan det " | 26116 | "utdataparametern från temporärvariabeln. I detta fall kan det vara " | ||
26041 | "vara nödvändigt att ha en <function>_INITIALIZATION()</function> som " | 26117 | "nödvändigt att ha en <function>_INITIALIZATION()</function> som beskriver " | ||
26042 | "beskriver hur en <classname>Gdk::Rectangle&</classname> ska sättas från " | 26118 | "hur en <classname>Glib::ustring&</classname> ska sättas från en " | ||
26043 | "en <classname>GdkRectangle*</classname> som i det följande: <_:" | 26119 | "<classname>const char**</classname> som i det följande: <_:programlisting-3/>" | ||
26044 | "programlisting-3/>" | ||||
26045 | 26120 | ||||
26046 | #. (itstool) path: section/programlisting | 26121 | #. (itstool) path: section/programlisting | ||
26047 | #: C/index-in.docbook:11301 | 26122 | #: C/index-in.docbook:11301 | ||
26048 | #, fuzzy, no-wrap | 26123 | #, fuzzy, no-wrap | ||
26049 | #| msgid "" | 26124 | #| msgid "" | ||
26050 | #| "\n" | 26125 | #| "\n" | ||
n | 26051 | #| "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26126 | #| "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const |
> | _gchar_ptr_to_ustring($4)')\n" | ||||
26052 | msgid "" | 26127 | msgid "" | ||
26053 | "<code>\n" | 26128 | "<code>\n" | ||
26054 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | 26129 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | ||
> | har_ptr_to_ustring($4)')\n" | > | har_ptr_to_ustring($4)')\n" | ||
26055 | "</code>" | 26130 | "</code>" | ||
26056 | msgstr "" | 26131 | msgstr "" | ||
26057 | "\n" | 26132 | "\n" | ||
n | 26058 | "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26133 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc |
> | har_ptr_to_ustring($4)')\n" | ||||
26059 | 26134 | ||||
26060 | #. (itstool) path: section/title | 26135 | #. (itstool) path: section/title | ||
26061 | #: C/index-in.docbook:11307 | 26136 | #: C/index-in.docbook:11307 | ||
26062 | #, fuzzy | 26137 | #, fuzzy | ||
26063 | msgid "String Parameter Processing" | 26138 | msgid "String Parameter Processing" | ||
26261 | "Ditt bibliotek måste initieras innan det kan användas för att registrera de " | 26336 | "Ditt bibliotek måste initieras innan det kan användas för att registrera de " | ||
26262 | "nya typer som det gör tillgängligt. C-biblioteket som du omsluter kan också " | 26337 | "nya typer som det gör tillgängligt. C-biblioteket som du omsluter kan också " | ||
26263 | "ha sin egen initieringsfunktion som du ska anropa. Du kan göra detta i en " | 26338 | "ha sin egen initieringsfunktion som du ska anropa. Du kan göra detta i en " | ||
26264 | "<function>init()</function>-funktion som du kan placera i handkodade " | 26339 | "<function>init()</function>-funktion som du kan placera i handkodade " | ||
26265 | "<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna " | 26340 | "<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna " | ||
n | 26266 | "funktion ska initiera dina beroenden (som C funktionen and " | n | 26341 | "funktion ska initiera dina beroenden (som C-funktionen och " |
26267 | "<application>gtkmm</application>) och anropa din genererade " | 26342 | "<application>gtkmm</application>) och anropa din genererade " | ||
26268 | "<function>wrap_init()</function>-funktion. Till exempel:" | 26343 | "<function>wrap_init()</function>-funktion. Till exempel:" | ||
26269 | 26344 | ||||
26270 | #. (itstool) path: section/programlisting | 26345 | #. (itstool) path: section/programlisting | ||
26271 | #: C/index-in.docbook:11381 | 26346 | #: C/index-in.docbook:11381 | ||
27350 | "releasing these examples in parallel under your choice of free software " | 27425 | "releasing these examples in parallel under your choice of free software " | ||
27351 | "license, such as the GNU General Public License, to permit their use in free " | 27426 | "license, such as the GNU General Public License, to permit their use in free " | ||
27352 | "software." | 27427 | "software." | ||
27353 | msgstr "" | 27428 | msgstr "" | ||
27354 | 27429 | ||||
n | 27355 | #~| msgid "" | n | ||
27356 | #~| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
27357 | #~| "namespaceGlib.html\">Reference</link>" | ||||
27358 | #~ msgid "" | 27430 | #~ msgid "" | ||
27359 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 27431 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
27360 | #~ "namespaceGlib.html\">Reference</link>" | 27432 | #~ "namespaceGlib.html\">Reference</link>" | ||
27361 | #~ msgstr "" | 27433 | #~ msgstr "" | ||
27362 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 27434 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
27363 | #~ "namespaceGlib.html\">Referens</link>" | 27435 | #~ "namespaceGlib.html\">Referens</link>" | ||
27364 | 27436 | ||||
n | 27365 | #~ msgid "" | n | ||
27366 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27367 | #~ "tree/master/examples/book/iconview\">Source Code, IconView</link>" | ||||
27368 | #~ msgstr "" | ||||
27369 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27370 | #~ "tree/master/examples/book/iconview\">Källkod, IconView</link>" | ||||
27371 | |||||
27372 | #, fuzzy | ||||
27373 | #~ msgid "" | ||||
27374 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27375 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27376 | #~ "user response. You can specify the type of message and the text in the " | ||||
27377 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27378 | #~ "ButtonsType</type> enum." | ||||
27379 | #~ msgstr "" | ||||
27380 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27381 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27382 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27383 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27384 | #~ "ButtonsType</type>-uppräkningen." | ||||
27385 | |||||
27386 | #~ msgid "" | ||||
27387 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27388 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27389 | #~ msgstr "" | ||||
27390 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27391 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27392 | |||||
27393 | #~ msgid "" | ||||
27394 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27395 | #~ "\"Open\" or \"Save\" menu items." | ||||
27396 | #~ msgstr "" | ||||
27397 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27398 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27399 | |||||
27400 | #~ msgid "FileChooser" | ||||
27401 | #~ msgstr "FileChooser" | ||||
27402 | |||||
27403 | #, fuzzy | ||||
27404 | #~ msgid "" | ||||
27405 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27406 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27407 | #~ "dialog when it is clicked." | ||||
27408 | #~ msgstr "" | ||||
27409 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27410 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27411 | #~ "klickas på." | ||||
27412 | |||||
27413 | #, fuzzy | ||||
27414 | #~ msgid "" | ||||
27415 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27416 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27417 | #~ "when it is clicked." | ||||
27418 | #~ msgstr "" | ||||
27419 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27420 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27421 | #~ "typsnittsväljardialog när den klickas på." | ||||
27422 | |||||
27423 | #~ msgid "" | ||||
27424 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27425 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27426 | #~ msgstr "" | ||||
27427 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27428 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27429 | |||||
27430 | #, no-wrap | 27437 | #, no-wrap | ||
27431 | #~ msgid "intltool-update --pot" | 27438 | #~ msgid "intltool-update --pot" | ||
27432 | #~ msgstr "intltool-update --pot" | 27439 | #~ msgstr "intltool-update --pot" | ||
27433 | 27440 | ||||
27434 | #~ msgid "" | 27441 | #~ msgid "" | ||
27442 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | 27449 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | ||
27443 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | 27450 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | ||
27444 | #~ msgstr "" | 27451 | #~ msgstr "" | ||
27445 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | 27452 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | ||
27446 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | 27453 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | ||
n | 27447 | n | |||
27448 | #, fuzzy | ||||
27449 | #~ msgid "" | ||||
27450 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27451 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27452 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27453 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27454 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27455 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27456 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27457 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27458 | #~ "information. CSS files are described in the documentation of " | ||||
27459 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27460 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27461 | #~ msgstr "" | ||||
27462 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27463 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27464 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27465 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27466 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27467 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27468 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27469 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27470 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27471 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27472 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27473 | 27454 | ||||
27474 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | 27455 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | ||
27475 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | 27456 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | ||
27476 | 27457 | ||||
27477 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | 27458 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | ||
27582 | #~ "<command>gmmproc</command> att placera C-funktionens returvärde i den " | 27563 | #~ "<command>gmmproc</command> att placera C-funktionens returvärde i den " | ||
27583 | #~ "utdataparametern. I detta fall kommer dock ett nödvändigt " | 27564 | #~ "utdataparametern. I detta fall kommer dock ett nödvändigt " | ||
27584 | #~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/" | 27565 | #~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/" | ||
27585 | #~ "> Vilket också skulle kunna skrivas som: <_:programlisting-4/>" | 27566 | #~ "> Vilket också skulle kunna skrivas som: <_:programlisting-4/>" | ||
27586 | 27567 | ||||
n | n | 27568 | #~ msgid "" | ||
27569 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | ||||
27570 | #~ "<_:programlisting-2/>" | ||||
27571 | #~ msgstr "" | ||||
27572 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | ||||
27573 | #~ "här: <_:programlisting-2/>" | ||||
27574 | |||||
27575 | #~ msgid "Widget Name and CSS Node Name" | ||||
27576 | #~ msgstr "Komponentnamn och CSS-nodnamn" | ||||
27577 | |||||
27578 | #, fuzzy | ||||
27579 | #~ msgid "" | ||||
27580 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27581 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27582 | #~ "user response. You can specify the type of message and the text in the " | ||||
27583 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27584 | #~ "ButtonsType</type> enum." | ||||
27585 | #~ msgstr "" | ||||
27586 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27587 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27588 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27589 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27590 | #~ "ButtonsType</type>-uppräkningen." | ||||
27591 | |||||
27592 | #~ msgid "" | ||||
27593 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27594 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27595 | #~ msgstr "" | ||||
27596 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27597 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27598 | |||||
27599 | #~ msgid "" | ||||
27600 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27601 | #~ "\"Open\" or \"Save\" menu items." | ||||
27602 | #~ msgstr "" | ||||
27603 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27604 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27605 | |||||
27606 | #~ msgid "FileChooser" | ||||
27607 | #~ msgstr "FileChooser" | ||||
27608 | |||||
27609 | #, fuzzy | ||||
27610 | #~ msgid "" | ||||
27611 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27612 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27613 | #~ "dialog when it is clicked." | ||||
27614 | #~ msgstr "" | ||||
27615 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27616 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27617 | #~ "klickas på." | ||||
27618 | |||||
27619 | #, fuzzy | ||||
27620 | #~ msgid "" | ||||
27621 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27622 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27623 | #~ "when it is clicked." | ||||
27624 | #~ msgstr "" | ||||
27625 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27626 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27627 | #~ "typsnittsväljardialog när den klickas på." | ||||
27628 | |||||
27629 | #~ msgid "" | ||||
27630 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27631 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27632 | #~ msgstr "" | ||||
27633 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27634 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27635 | |||||
27636 | #, fuzzy | ||||
27637 | #~ msgid "" | ||||
27638 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27639 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27640 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27641 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27642 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27643 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27644 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27645 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27646 | #~ "information. CSS files are described in the documentation of " | ||||
27647 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27648 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27649 | #~ msgstr "" | ||||
27650 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27651 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27652 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27653 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27654 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27655 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27656 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27657 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27658 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27659 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27660 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27661 | |||||
27587 | #, no-wrap | 27662 | #, no-wrap | ||
27588 | #~ msgid "" | 27663 | #~ msgid "" | ||
27589 | #~ "\n" | 27664 | #~ "\n" | ||
27590 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | 27665 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||
27591 | #~ " GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n" | 27666 | #~ " GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n" | ||
27612 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | 27687 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||
> | $4))')\n" | > | $4))')\n" | ||
27613 | #~ msgstr "" | 27688 | #~ msgstr "" | ||
27614 | #~ "\n" | 27689 | #~ "\n" | ||
27615 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | 27690 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||
> | $4))')\n" | > | $4))')\n" | ||
27616 | 27691 | ||||
t | 27617 | #~ msgid "" | t | ||
27618 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | ||||
27619 | #~ "<_:programlisting-2/>" | ||||
27620 | #~ msgstr "" | ||||
27621 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | ||||
27622 | #~ "här: <_:programlisting-2/>" | ||||
27623 | |||||
27624 | # TODO: Fixed sep 2022? | 27692 | # TODO: Fixed sep 2022? | ||
27625 | #~ msgid "" | 27693 | #~ msgid "" | ||
27626 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" | 27694 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" | ||
27627 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | 27695 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | ||
27628 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " | 27696 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " |
Note: both files are merged with latest POT file.