gtkmm-documentation - master - Tutorial - Swedish

← Back to actions


Uploaded file by Anders Jonsson on 2022-08-16 10:26:55+00:00
Uploaded file by Anders Jonsson on 2023-03-05 11:01:22+00:00
5#5#
6msgid ""6msgid ""
7msgstr ""7msgstr ""
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"
n10"PO-Revision-Date: 2022-08-16 12:26+0200\n"n10"PO-Revision-Date: 2023-03-05 12:01+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"
n18"X-Generator: Poedit 3.1.1\n"n18"X-Generator: Poedit 3.2.2\n"
1919
20#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR220#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
21msgctxt "_"21msgctxt "_"
22msgid "translator-credits"22msgid "translator-credits"
n23msgstr "Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022"n23msgstr "Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022, 2023"
2424
25#. (itstool) path: info/title25#. (itstool) path: info/title
26#: C/index-in.docbook:4626#: C/index-in.docbook:46
27msgid "Programming with <application>gtkmm</application> 4"27msgid "Programming with <application>gtkmm</application> 4"
28msgstr "Programmering med <application>gtkmm</application> 4"28msgstr "Programmering med <application>gtkmm</application> 4"
79"personname> <contrib>Kapitlet om ”Utskrift”.</contrib> <contrib>Delar av "79"personname> <contrib>Kapitlet om ”Utskrift”.</contrib> <contrib>Delar av "
80"kapitlet ”Internationalisering”.</contrib>"80"kapitlet ”Internationalisering”.</contrib>"
8181
82#. (itstool) path: authorgroup/author82#. (itstool) path: authorgroup/author
83#: C/index-in.docbook:7083#: C/index-in.docbook:70
n84#, fuzzyn
85msgid ""84msgid ""
86"<personname><firstname>Daniel</firstname><surname>Elstner</surname></"85"<personname><firstname>Daniel</firstname><surname>Elstner</surname></"
87"personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping C "86"personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping C "
88"Libraries with gmmproc\".</contrib>"87"Libraries with gmmproc\".</contrib>"
89msgstr ""88msgstr ""
141"<contrib>Kapitlet ”Bygga program”.</contrib>"140"<contrib>Kapitlet ”Bygga program”.</contrib>"
142141
143#. (itstool) path: authorgroup/author142#. (itstool) path: authorgroup/author
144#: C/index-in.docbook:93143#: C/index-in.docbook:93
145#, fuzzy144#, fuzzy
nn145#| msgid ""
146#| "<personname><firstname>Daniel</firstname><surname>Elstner</surname></"
147#| "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping "
148#| "C Libraries with gmmproc\".</contrib>"
146msgid ""149msgid ""
147"<personname><firstname>Daniel</firstname><surname>Boles</surname></"150"<personname><firstname>Daniel</firstname><surname>Boles</surname></"
148"personname> <contrib>Notes on need to remove widgets in non-managed wrappers "151"personname> <contrib>Notes on need to remove widgets in non-managed wrappers "
149"from parents to dispose, other tweaks.</contrib>"152"from parents to dispose, other tweaks.</contrib>"
150msgstr ""153msgstr ""
303"<application>gtkmm</application>, and that's what we stuck with."306"<application>gtkmm</application>, and that's what we stuck with."
304msgstr ""307msgstr ""
305"<application>gtkmm</application> kallades ursprungligen gtk-- eftersom GTK i "308"<application>gtkmm</application> kallades ursprungligen gtk-- eftersom GTK i "
306"början hette GTK+ och hade ett + i namnet. Men eftersom -- inte lätt kan "309"början hette GTK+ och hade ett + i namnet. Men eftersom -- inte lätt kan "
307"indexeras av sökmotorer så gick paketet allmänt under namnet "310"indexeras av sökmotorer så gick paketet allmänt under namnet "
n308"<application>gtkmm</application> vilket vi nu är fast med."n311"<application>gtkmm</application> vilket vi sedan höll oss till."
309312
310#. (itstool) path: section/title313#. (itstool) path: section/title
311#: C/index-in.docbook:154314#: C/index-in.docbook:154
312msgid "Why use <application>gtkmm</application> instead of GTK?"315msgid "Why use <application>gtkmm</application> instead of GTK?"
313msgstr "Varför använda <application>gtkmm</application> i stället för GTK?"316msgstr "Varför använda <application>gtkmm</application> i stället för GTK?"
327"derivation, and polymorphism. As a <phrase role=\"nowrap\">C++</phrase> "330"derivation, and polymorphism. As a <phrase role=\"nowrap\">C++</phrase> "
328"programmer you probably already realize that this leads to clearer and "331"programmer you probably already realize that this leads to clearer and "
329"better organized code."332"better organized code."
330msgstr ""333msgstr ""
331"<application>gtkmm</application> låter dig skriva kod med vanliga C++-"334"<application>gtkmm</application> låter dig skriva kod med vanliga C++-"
n332"tekniker som inkapsling, härledning och polymorfism. Som en C++-"n335"tekniker som inkapsling, härledning och polymorfism. Som C++-programmerare "
333"programmerare inser du förmodligen redan att detta leder till tydligare och "336"inser du förmodligen redan att detta leder till tydligare och bättre "
334"bättre organiserad kod."337"organiserad kod."
335338
336#. (itstool) path: section/para339#. (itstool) path: section/para
337#: C/index-in.docbook:157340#: C/index-in.docbook:157
338msgid ""341msgid ""
339"<application>gtkmm</application> is more type-safe, so the compiler can "342"<application>gtkmm</application> is more type-safe, so the compiler can "
671"<application>libgtkmm-4.0-dev</application> package."674"<application>libgtkmm-4.0-dev</application> package."
672msgstr ""675msgstr ""
673"Paketnamnen kommer inte ändras när nya API/ABI-kompatibla versioner av "676"Paketnamnen kommer inte ändras när nya API/ABI-kompatibla versioner av "
674"<application>gtkmm</application> släpps. Annars skulle de inte vara API/ABI-"677"<application>gtkmm</application> släpps. Annars skulle de inte vara API/ABI-"
675"kompatibla. Så bli inte överraskad om exempelvis <application>gtkmm</"678"kompatibla. Så bli inte överraskad om exempelvis <application>gtkmm</"
n676"application> 4.8 tillhandahålls av Debians <application>libgtkmm-4.0-dev</"n679"application> 4.8 tillhandahålls av paketet <application>libgtkmm-4.0-dev</"
677"application>-paket."680"application> i Debian."
678681
679#. (itstool) path: section/title682#. (itstool) path: section/title
680#: C/index-in.docbook:256683#: C/index-in.docbook:256
681msgid "Installing From Source"684msgid "Installing From Source"
682msgstr "Installera från källkod"685msgstr "Installera från källkod"
711"application>-källkoden, packar upp den, och går till den nyskapade "714"application>-källkoden, packar upp den, och går till den nyskapade "
712"katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen "715"katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen "
713"<filename>README</filename> i <application>gtkmm</application>-versionen som "716"<filename>README</filename> i <application>gtkmm</application>-versionen som "
714"du hämtat."717"du hämtat."
715718
n716# TODO: root password for su, not sudon719# TODO: root password for su, not sudo?
717#. (itstool) path: note/para720#. (itstool) path: note/para
718#: C/index-in.docbook:271721#: C/index-in.docbook:271
nn722#, fuzzy
719msgid ""723msgid ""
720"Remember that on a Unix or Linux operating system, you will probably need to "724"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 "725"be <literal>root</literal> to install software. The <command>su</command> or "
722"<command>sudo</command> command will allow you to enter the <literal>root</"726"<command>sudo</command> command will allow you to enter the <literal>root</"
723"literal> password and have <literal>root</literal> status temporarily."727"literal> password and have <literal>root</literal> status temporarily."
920msgstr "#include &lt;gtkmm.h&gt;"924msgstr "#include &lt;gtkmm.h&gt;"
921925
922#. (itstool) path: section/para926#. (itstool) path: section/para
923#: C/index-in.docbook:349927#: C/index-in.docbook:349
924#, fuzzy928#, fuzzy
nn929#| msgid ""
930#| "All <application>gtkmm</application> programs must include certain "
931#| "<application>gtkmm</application> headers; <literal>gtkmm.h</literal> "
932#| "includes the entire <application>gtkmm</application> kit. This is usually "
933#| "not a good idea, because it includes a megabyte or so of headers, but for "
934#| "simple programs, it suffices."
925msgid ""935msgid ""
926"All <application>gtkmm</application> programs must include certain "936"All <application>gtkmm</application> programs must include certain "
927"<application>gtkmm</application> headers; <filename>gtkmm.h</filename> "937"<application>gtkmm</application> headers; <filename>gtkmm.h</filename> "
928"includes the entire <application>gtkmm</application> kit. This is usually "938"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 "939"not a good idea, because it includes a megabyte or so of headers, but for "
985msgid ""995msgid ""
986"defines the <classname>MyWindow</classname> class. Its default constructor "996"defines the <classname>MyWindow</classname> class. Its default constructor "
987"sets the window's title and default (initial) size."997"sets the window's title and default (initial) size."
988msgstr ""998msgstr ""
989"definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor "999"definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor "
n990"ställer in fönstrets titel and (initial) standardstorlek."n1000"ställer in fönstrets titel och (initial) standardstorlek."
9911001
992#. (itstool) path: section/para1002#. (itstool) path: section/para
993#: C/index-in.docbook:3731003#: C/index-in.docbook:373
994msgid "The <function>main()</function> function's first statement:"1004msgid "The <function>main()</function> function's first statement:"
995msgstr "<function>main()</function>-funktionens första sats:"1005msgstr "<function>main()</function>-funktionens första sats:"
1092"literal> är endast nödvändigt om din kompilator inte följer C++17 som "1102"literal> är endast nödvändigt om din kompilator inte följer C++17 som "
1093"standard."1103"standard."
10941104
1095#. (itstool) path: section/title1105#. (itstool) path: section/title
1096#: C/index-in.docbook:4041106#: C/index-in.docbook:404
n1097#, fuzzyn
1098msgid "Headers and Linking"1107msgid "Headers and Linking"
1099msgstr "Huvuden och länkning"1108msgstr "Huvuden och länkning"
11001109
1101#. (itstool) path: section/para1110#. (itstool) path: section/para
1102#: C/index-in.docbook:4061111#: C/index-in.docbook:406
1192"change for every version because that would be an incompatible API and ABI "1201"change for every version because that would be an incompatible API and ABI "
1193"break. There might be a future gtkmm-5.0 API which would install in parallel "1202"break. There might be a future gtkmm-5.0 API which would install in parallel "
1194"with gtkmm-4.0 without affecting existing applications."1203"with gtkmm-4.0 without affecting existing applications."
1195msgstr ""1204msgstr ""
1196"gtkmm-4.0 är namnet på det aktuella stabila API:t. Det finns äldre API:er "1205"gtkmm-4.0 är namnet på det aktuella stabila API:t. Det finns äldre API:er "
n1197"som heter gtkmm-2.4 och gtkmm-3.0 vilka installeras parallellt då de är "n1206"som heter gtkmm-2.4 och gtkmm-3.0 vilka installeras parallellt då de finns "
1198"tillgängliga. Det finns flera versioner av gtkmm-2.4, som gtkmm 2.10, och "1207"tillgängliga. Det finns flera versioner av gtkmm-2.4, som gtkmm 2.10, och "
1199"det finns flera versioner av gtkmm-3.0-API:t. Observera att API-namnet inte "1208"det finns flera versioner av gtkmm-3.0-API:t. Observera att API-namnet inte "
1200"ändras för varje version då det skulle vara ett inkompatibelt API- och ABI-"1209"ändras för varje version då det skulle vara ett inkompatibelt API- och ABI-"
1201"brott. Det kan komma ett framtida gtkmm-5.0-API som då skulle gå installera "1210"brott. Det kan komma ett framtida gtkmm-5.0-API som då skulle gå installera "
1202"parallellt med gtkmm-4.0 utan att påverka befintliga program."1211"parallellt med gtkmm-4.0 utan att påverka befintliga program."
1208"just for yourself, it's easier to start with a <filename>meson.build</"1217"just for yourself, it's easier to start with a <filename>meson.build</"
1209"filename> similar to the <filename>meson.build</filename> files in the <link "1218"filename> similar to the <filename>meson.build</filename> files in the <link "
1210"linkend=\"chapter-building-applications\">Building applications</link> "1219"linkend=\"chapter-building-applications\">Building applications</link> "
1211"chapter."1220"chapter."
1212msgstr ""1221msgstr ""
n1213"Om du börjar med att experimenting med ett litet program som du bara tänker "n1222"Om du börjar genom att experimentera med ett litet program som du bara "
1214"använda själv är det lättare att börja med en <filename>meson.build</"1223"tänker använda själv är det lättare att börja med en <filename>meson.build</"
1215"filename> liknande <filename>meson.build</filename>-filerna i kapitlet <link "1224"filename> liknande <filename>meson.build</filename>-filerna i kapitlet <link "
1216"linkend=\"chapter-building-applications\">Bygga program</link>."1225"linkend=\"chapter-building-applications\">Bygga program</link>."
12171226
1218#. (itstool) path: section/para1227#. (itstool) path: section/para
1219#: C/index-in.docbook:4491228#: C/index-in.docbook:449
1458"rest of this section. But read on if you want to use languages other than "1467"rest of this section. But read on if you want to use languages other than "
1459"English in your application."1468"English in your application."
1460msgstr ""1469msgstr ""
1461"Det kanske förvånar dig att höra att <application>gtkmm</application> inte "1470"Det kanske förvånar dig att höra att <application>gtkmm</application> inte "
1462"använder <classname>std::string</classname> i sina gränssnitt. I stället "1471"använder <classname>std::string</classname> i sina gränssnitt. I stället "
n1463"använder det <classname>Glib::ustring</classname> vilket är snarlikt och gör "n1472"använder det <classname>Glib::ustring</classname> vilket är snarlikt och "
1464"inget väsen av sig, så du skulle kunna låtsas att varje <classname>Glib::"1473"inte gör något väsen av sig, så du skulle kunna låtsas att varje "
1465"ustring</classname> är en <classname>std::string</classname> och ignorera "1474"<classname>Glib::ustring</classname> är en <classname>std::string</"
1466"resten av detta avsnitt. Men läs vidare om du vill använda andra språk än "1475"classname> och ignorera resten av detta avsnitt. Men läs vidare om du vill "
1467"engelska i ditt program."1476"använda andra språk än engelska i ditt program."
14681477
1469#. (itstool) path: section/para1478#. (itstool) path: section/para
1470#: C/index-in.docbook:5181479#: C/index-in.docbook:518
1471#, fuzzy1480#, fuzzy
1472#| msgid ""1481#| msgid ""
1525"byte in the UTF-8 encoding. If your code contains 8-bit string literals, you "1534"byte in the UTF-8 encoding. If your code contains 8-bit string literals, you "
1526"have to convert them to UTF-8 (e.g. the Bavarian greeting \"Grüß Gott\" "1535"have to convert them to UTF-8 (e.g. the Bavarian greeting \"Grüß Gott\" "
1527"would be \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")."1536"would be \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")."
1528msgstr ""1537msgstr ""
1529"Observera att UTF-8 inte är kompatibelt med 8-bitars kodningar som "1538"Observera att UTF-8 inte är kompatibelt med 8-bitars kodningar som "
n1530"ISO-8859-1. Exempelvis finns tyska umlaut inte i ASCII-intervallet och "n1539"ISO-8859-1. Exempelvis finns tyska omljud inte i ASCII-intervallet och "
1531"behöver mer än 1 byte i UTF-8-kodningen. Om din kod innehåller 8-bitars "1540"behöver mer än 1 byte i UTF-8-kodningen. Om din kod innehåller 8-bitars "
1532"stränglitteraler behöver du konvertera dem till UTF-8 (t.ex. skulle den "1541"stränglitteraler behöver du konvertera dem till UTF-8 (t.ex. skulle den "
1533"bayerska hälsningen ”Grüß Gott” bli ”Gr\\xC3\\xBC\\xC3\\x9F Gott”)."1542"bayerska hälsningen ”Grüß Gott” bli ”Gr\\xC3\\xBC\\xC3\\x9F Gott”)."
15341543
1535#. (itstool) path: section/para1544#. (itstool) path: section/para
1561"resulterar inte i körbara Unicode-program och bibliotek som är inkompatibla "1570"resulterar inte i körbara Unicode-program och bibliotek som är inkompatibla "
1562"med de som använder ASCII."1571"med de som använder ASCII."
15631572
1564#. (itstool) path: section/para1573#. (itstool) path: section/para
1565#: C/index-in.docbook:5291574#: C/index-in.docbook:529
n1566#, fuzzyn
1567#| msgid ""
1568#| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"
1569#| "classGlib_1_1ustring.html\">Reference</link>"
1570msgid ""1575msgid ""
1571"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"1576"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
1572"classGlib_1_1ustring.html\">Reference</link>"1577"classGlib_1_1ustring.html\">Reference</link>"
1573msgstr ""1578msgstr ""
n1574"<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n1579"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
1575"classGlib_1_1ustring.html\">Referens</link>"1580"classGlib_1_1ustring.html\">Referens</link>"
15761581
1577#. (itstool) path: section/para1582#. (itstool) path: section/para
1578#: C/index-in.docbook:5311583#: C/index-in.docbook:531
1579msgid ""1584msgid ""
2031"several small changes that were not possible while maintaining binary "2036"several small changes that were not possible while maintaining binary "
2032"compatibility. If you never used the <application>gtkmm</application>-2.4 "2037"compatibility. If you never used the <application>gtkmm</application>-2.4 "
2033"API then you can safely ignore this chapter."2038"API then you can safely ignore this chapter."
2034msgstr ""2039msgstr ""
2035"<application>gtkmm</application>-3.0 är en gammal version av "2040"<application>gtkmm</application>-3.0 är en gammal version av "
n2036"<application>gtkmm</application>-API:t som kan installeras parallellt med "n2041"<application>gtkmm</application>-API:t som installeras parallellt med det "
2037"det ännu äldre <application>gtkmm</application>-2.4-API:t och det nya "2042"ännu äldre <application>gtkmm</application>-2.4-API:t och det nya "
2038"<application>gtkmm</application>-4.0-API:t. Den senaste versionen av "2043"<application>gtkmm</application>-4.0-API:t. Den senaste versionen av "
2039"<application>gtkmm</application>-2.4-API:t var <application>gtkmm</"2044"<application>gtkmm</application>-2.4-API:t var <application>gtkmm</"
2040"application> 2.24. <application>gtkmm</application> 3 har inga större "2045"application> 2.24. <application>gtkmm</application> 3 har inga större "
2041"fundamentala skillnader mot <application>gtkmm</application> 2 men gör flera "2046"fundamentala skillnader mot <application>gtkmm</application> 2 men gör flera "
2042"små ändringar som inte var möjliga att göra samtidigt som binär "2047"små ändringar som inte var möjliga att göra samtidigt som binär "
2267"nya föråldringar har gjorts i senare <application>gtkmm</application> 3.x-"2272"nya föråldringar har gjorts i senare <application>gtkmm</application> 3.x-"
2268"versioner."2273"versioner."
22692274
2270#. (itstool) path: chapter/para2275#. (itstool) path: chapter/para
2271#: C/index-in.docbook:7392276#: C/index-in.docbook:739
n2272#, fuzzyn
2273msgid ""2277msgid ""
2274"As a first step to porting your source code to <application>gtkmm</"2278"As a first step to porting your source code to <application>gtkmm</"
2275"application>-3.0 you should probably ensure that your application builds "2279"application>-3.0 you should probably ensure that your application builds "
2276"with the deprecated <application>gtkmm</application>-2.4 API disabled, by "2280"with the deprecated <application>gtkmm</application>-2.4 API disabled, by "
2277"defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools "2281"defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools "
2310"and large ones) that were not possible while maintaining binary "2314"and large ones) that were not possible while maintaining binary "
2311"compatibility. If you never used the <application>gtkmm</application>-3.0 "2315"compatibility. If you never used the <application>gtkmm</application>-3.0 "
2312"API then you can safely ignore this chapter."2316"API then you can safely ignore this chapter."
2313msgstr ""2317msgstr ""
2314"<application>gtkmm</application>-4.0 är en ny version av <application>gtkmm</"2318"<application>gtkmm</application>-4.0 är en ny version av <application>gtkmm</"
n2315"application>-API:t som kan installeras parallellt med de äldre API:erna "n2319"application>-API:t som installeras parallellt med de äldre API:erna "
2316"<application>gtkmm</application>-2.4 och <application>gtkmm</"2320"<application>gtkmm</application>-2.4 och <application>gtkmm</"
2317"application>-3.0. Den senaste versionen av <application>gtkmm</"2321"application>-3.0. Den senaste versionen av <application>gtkmm</"
2318"application>-3.0-API:t är <application>gtkmm</application> 3.24. "2322"application>-3.0-API:t är <application>gtkmm</application> 3.24. "
2319"<application>gtkmm</application> 4 har inga större fundamentala skillnader "2323"<application>gtkmm</application> 4 har inga större fundamentala skillnader "
2320"mot <application>gtkmm</application> 3 men gör flera ändringar (både stora "2324"mot <application>gtkmm</application> 3 men gör flera ändringar (både stora "
2559#, fuzzy2563#, fuzzy
2560msgid ""2564msgid ""
2561"<classname>Gtk::DrawingArea</classname> uses a draw function instead of the "2565"<classname>Gtk::DrawingArea</classname> uses a draw function instead of the "
2562"draw signal."2566"draw signal."
2563msgstr ""2567msgstr ""
n2564"<classname>Gtk::DrawingArea</classname> använder en ritfunktion istället för "n2568"<classname>Gtk::DrawingArea</classname> använder en ritfunktion i stället "
2565"signalen draw."2569"för signalen draw."
25662570
2567#. (itstool) path: listitem/simpara2571#. (itstool) path: listitem/simpara
2568#: C/index-in.docbook:8282572#: C/index-in.docbook:828
2569#, fuzzy2573#, fuzzy
2570#| msgid ""2574#| msgid ""
2597msgid "<classname>Gtk::Container</classname> has been removed."2601msgid "<classname>Gtk::Container</classname> has been removed."
2598msgstr "<classname>Gtk::Container</classname> har tagits bort."2602msgstr "<classname>Gtk::Container</classname> har tagits bort."
25992603
2600#. (itstool) path: listitem/simpara2604#. (itstool) path: listitem/simpara
2601#: C/index-in.docbook:8332605#: C/index-in.docbook:833
n2602#, fuzzyn
2603#| msgid ""
2604#| "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The "
2605#| "default value of <methodname>Gtk::Widget::property_visible()</"
2606#| "methodname>has been changed from <literal>false</literal> to "
2607#| "<literal>true</literal>."
2608msgid ""2606msgid ""
2609"<methodname>Gtk::Widget::show_all()</methodname> has been removed. The "2607"<methodname>Gtk::Widget::show_all()</methodname> has been removed. The "
2610"default value of <methodname>Gtk::Widget::property_visible()</methodname> "2608"default value of <methodname>Gtk::Widget::property_visible()</methodname> "
2611"has been changed from <literal>false</literal> to <literal>true</literal>."2609"has been changed from <literal>false</literal> to <literal>true</literal>."
2612msgstr ""2610msgstr ""
2699"föråldringar i framtida versioner."2697"föråldringar i framtida versioner."
27002698
2701# TODO: copy paste of wiki page?2699# TODO: copy paste of wiki page?
2702#. (itstool) path: chapter/para2700#. (itstool) path: chapter/para
2703#: C/index-in.docbook:8622701#: C/index-in.docbook:862
n2704#, fuzzyn
2705msgid ""2702msgid ""
2706"As a first step to porting your source code to <application>gtkmm</"2703"As a first step to porting your source code to <application>gtkmm</"
2707"application>-4.0 you should probably ensure that your application builds "2704"application>-4.0 you should probably ensure that your application builds "
2708"with the deprecated <application>gtkmm</application>-3.0 and "2705"with the deprecated <application>gtkmm</application>-3.0 and "
2709"<application>glibmm-2.4</application> API disabled, by defining the macros "2706"<application>glibmm-2.4</application> API disabled, by defining the macros "
2725"Projects/gtkmm/PortingToGtkmm3\">portering från gtkmm-2.4 till gtkmm-3.0</"2722"Projects/gtkmm/PortingToGtkmm3\">portering från gtkmm-2.4 till gtkmm-3.0</"
2726"link> för mer detaljer."2723"link> för mer detaljer."
27272724
2728#. (itstool) path: chapter/para2725#. (itstool) path: chapter/para
2729#: C/index-in.docbook:8692726#: C/index-in.docbook:869
n2730#, fuzzyn
2731#| msgid ""
2732#| "See also <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-"
2733#| "migrating-3-to-4.html\"> Migrating from GTK 3.x to GTK 4</link>."
2734msgid ""2727msgid ""
2735"See also <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> "2728"See also <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> "
2736"Migrating from GTK 3.x to GTK 4</link>."2729"Migrating from GTK 3.x to GTK 4</link>."
2737msgstr ""2730msgstr ""
n2738"Se även <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-"n2731"Se även <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> "
2739"migrating-3-to-4.html\"> Migrera från GTK 3.x till GTK 4</link>."2732"Migrera från GTK 3.x till GTK 4</link>."
27402733
2741#. (itstool) path: section/title2734#. (itstool) path: section/title
2742#: C/index-in.docbook:8732735#: C/index-in.docbook:873
n2743#, fuzzyn
2744#| msgid "Changes in <application>gtkmm</application> 3"
2745msgid "Deprecations in <application>gtkmm</application> 4.10"2736msgid "Deprecations in <application>gtkmm</application> 4.10"
n2746msgstr "Ändringar i <application>gtkmm</application> 3"n2737msgstr "Föråldringar i <application>gtkmm</application> 4.10"
27472738
2748#. (itstool) path: section/para2739#. (itstool) path: section/para
2749#: C/index-in.docbook:8742740#: C/index-in.docbook:874
2750msgid ""2741msgid ""
2751"Many classes are deprecated since <application>gtkmm</application> 4.10. "2742"Many classes are deprecated since <application>gtkmm</application> 4.10. "
2755"4.10, which replace some of the deprecated classes. Some example programs in "2746"4.10, which replace some of the deprecated classes. Some example programs in "
2756"this tutorial use classes deprecated since <application>gtkmm</application> "2747"this tutorial use classes deprecated since <application>gtkmm</application> "
2757"4.10. Some other programs use classes available since <application>gtkmm</"2748"4.10. Some other programs use classes available since <application>gtkmm</"
2758"application> 4.10."2749"application> 4.10."
2759msgstr ""2750msgstr ""
nn2751"Många klasser har föråldrats sedan <application>gtkmm</application> 4.10. De "
2752"kan fortfarande användas i <application>gtkmm</application>4-program, "
2753"förutsatt att GTKMM_DISABLE_DEPRECATED och GDKMM_DISABLE_DEPRECATED inte har "
2754"definierats. Det finns också många nya klasser i <application>gtkmm</"
2755"application> 4.10, vilka ersätter några av de föråldrade klasserna. Några "
2756"exempelprogram i denna handledning använder klasser som föråldrats sedan "
2757"<application>gtkmm</application> 4.10. Några andra program använder klasser "
2758"som är tillgängliga sedan <application>gtkmm</application> 4.10."
27602759
2761#. (itstool) path: section/para2760#. (itstool) path: section/para
2762#: C/index-in.docbook:8802761#: C/index-in.docbook:880
nn2762#, fuzzy
2763msgid ""2763msgid ""
2764"Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, "2764"Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, "
2765"AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, "2765"AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, "
2766"CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, "2766"CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, "
2767"CellRendererProgress, CellRendererSpin, CellRendererSpinner, "2767"CellRendererProgress, CellRendererSpin, CellRendererSpinner, "
2775"FileChooserNative, FileChooserWidget, FontButton, FontChooser, "2775"FileChooserNative, FileChooserWidget, FontButton, FontChooser, "
2776"FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, "2776"FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, "
2777"TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, "2777"TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, "
2778"Statusbar, VolumeButton."2778"Statusbar, VolumeButton."
2779msgstr ""2779msgstr ""
nn2780"Föråldrade klasser: AppChooser, AppChooserButton, AppChooserDialog, "
2781"AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, "
2782"CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, "
2783"CellRendererProgress, CellRendererSpin, CellRendererSpinner, "
2784"CellRendererText, CellRendererToggle, CellView, ComboBox, ComboBoxText, "
2785"EntryCompletion, IconView, ListStore, ListViewText, StyleContext, "
2786"TreeDragDest, TreeDragSource, TreeIter och andra klasser i treeiter.h, "
2787"TreeModel, TreeModelFilter, TreeModelSort, TreePath, TreeRowReference, "
2788"TreeSelection, TreeSortable, TreeStore, TreeView, TreeViewColumn, namnrymden "
2789"CellRenderer_Generation, namnrymden TreeView_Private, ColorButton, "
2790"ColorChooser, ColorChooserDialog, FileChooser, FileChooserDialog, "
2791"FileChooserNative, FileChooserWidget, FontButton, FontChooser, "
2792"FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, "
2793"TreeModelColumnRecord, InfoBar."
27802794
2781#. (itstool) path: section/para2795#. (itstool) path: section/para
2782#: C/index-in.docbook:8982796#: C/index-in.docbook:898
nn2797#, fuzzy
2783msgid ""2798msgid ""
2784"New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, "2799"New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, "
2785"ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, "2800"ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, "
2786"UriLauncher, ATContext, enums DialogError, FontLevel, Collation."2801"UriLauncher, ATContext, enums DialogError, FontLevel, Collation."
2787msgstr ""2802msgstr ""
nn2803"Nya klasser och enum-uppräkningar: AlertDialog, ColorDialog, "
2804"ColorDialogButton, ColumnViewSorter, FileDialog, FontDialog, "
2805"FontDialogButton, enum: DialogError, FontLevel."
27882806
2789#. (itstool) path: section/para2807#. (itstool) path: section/para
2790#: C/index-in.docbook:9032808#: C/index-in.docbook:903
2791msgid ""2809msgid ""
2792"In most cases there are replacements for the deprecated classes. See the "2810"In most cases there are replacements for the deprecated classes. See the "
2793"reference documentation."2811"reference documentation."
2794msgstr ""2812msgstr ""
nn2813"I de flesta fall finns det ersättningar för de föråldrade klasserna. Se "
2814"referensdokumentationen."
27952815
2796#. (itstool) path: chapter/title2816#. (itstool) path: chapter/title
2797#: C/index-in.docbook:9112817#: C/index-in.docbook:911
2798msgid "Buttons"2818msgid "Buttons"
2799msgstr "Knappar"2819msgstr "Knappar"
2810msgid "Push buttons"2830msgid "Push buttons"
2811msgstr "Tryckknappar"2831msgstr "Tryckknappar"
28122832
2813#. (itstool) path: listitem/para2833#. (itstool) path: listitem/para
2814#: C/index-in.docbook:9222834#: C/index-in.docbook:922
n2815#, fuzzyn
2816#| msgid ""
2817#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
2818#| "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "
2819#| "Standard buttons, usually marked with a label or picture. Pushing one "
2820#| "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</"
2821#| "link> section."
2822msgid ""2835msgid ""
2823"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"2836"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2824"classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "2837"classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "
2825"Standard buttons, usually marked with a label or picture. Pushing one "2838"Standard buttons, usually marked with a label or picture. Pushing one "
2826"triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> "2839"triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> "
2827"section."2840"section."
2828msgstr ""2841msgstr ""
n2829"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n2842"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2830"classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "2843"classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "
2831"Standardknappar, vanligen markerade med en etikett eller bild. Att trycka på "2844"Standardknappar, vanligen markerade med en etikett eller bild. Att trycka på "
n2832"en utlöser en åtgärd. Se avsnittet <link linkend=\"sec-pushbuttons\">Button</"n2845"en av dem utlöser en åtgärd. Se avsnittet <link linkend=\"sec-"
2833"link>."2846"pushbuttons\">Button</link>."
28342847
2835#. (itstool) path: varlistentry/term2848#. (itstool) path: varlistentry/term
2836#: C/index-in.docbook:9292849#: C/index-in.docbook:929
2837msgid "Toggle buttons"2850msgid "Toggle buttons"
2838msgstr "Växlingsknappar"2851msgstr "Växlingsknappar"
2845"classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></"2858"classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></"
2846"link>. Unlike a normal Button, which springs back up, a ToggleButton stays "2859"link>. Unlike a normal Button, which springs back up, a ToggleButton stays "
2847"down until you press it again. It might be useful as an on/off switch. See "2860"down until you press it again. It might be useful as an on/off switch. See "
2848"the <link linkend=\"sec-toggle-buttons\">ToggleButton</link> section."2861"the <link linkend=\"sec-toggle-buttons\">ToggleButton</link> section."
2849msgstr ""2862msgstr ""
n2850"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n2863"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2851"classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></"2864"classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></"
2852"link>. Till skillnad från en vanlig Button som fjädrar upp igen förblir en "2865"link>. Till skillnad från en vanlig Button som fjädrar upp igen förblir en "
2853"ToggleButton nedtryckt till du trycker på den igen. Den kan vara användbar "2866"ToggleButton nedtryckt till du trycker på den igen. Den kan vara användbar "
2854"som en på/av-brytare. Se avsnittet <link linkend=\"sec-toggle-"2867"som en på/av-brytare. Se avsnittet <link linkend=\"sec-toggle-"
2855"buttons\">ToggleButton</link>."2868"buttons\">ToggleButton</link>."
2859msgid "Check buttons"2872msgid "Check buttons"
2860msgstr "Kryssrutor"2873msgstr "Kryssrutor"
28612874
2862#. (itstool) path: listitem/para2875#. (itstool) path: listitem/para
2863#: C/index-in.docbook:9412876#: C/index-in.docbook:941
n2864#, fuzzyn
2865#| msgid ""
2866#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
2867#| "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"
2868#| "link>. These act like ToggleButtons, but show their state in small "
2869#| "squares, with their label at the side. They should be used in most "
2870#| "situations which require an on/off setting. See the <link linkend=\"sec-"
2871#| "checkbuttons\">CheckButton</link> section."
2872msgid ""2877msgid ""
2873"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"2878"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2874"classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"2879"classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"
2875"link>. These act like ToggleButtons, but show their state in small squares, "2880"link>. These act like ToggleButtons, but show their state in small squares, "
2876"with their label at the side. They should be used in most situations which "2881"with their label at the side. They should be used in most situations which "
2877"require an on/off setting. See the <link linkend=\"sec-"2882"require an on/off setting. See the <link linkend=\"sec-"
2878"checkbuttons\">CheckButton</link> section."2883"checkbuttons\">CheckButton</link> section."
2879msgstr ""2884msgstr ""
n2880"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n2885"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2881"classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"2886"classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"
2882"link>. Dessa fungerar som ToggleButton, men visar sitt tillstånd i små "2887"link>. Dessa fungerar som ToggleButton, men visar sitt tillstånd i små "
2883"rutor, med sin etikett på sidan. De bör användas i de flesta situationer som "2888"rutor, med sin etikett på sidan. De bör användas i de flesta situationer som "
2884"kräver en på/av-inställning. Se avsnittet <link linkend=\"sec-"2889"kräver en på/av-inställning. Se avsnittet <link linkend=\"sec-"
2885"checkbuttons\">CheckButton</link>."2890"checkbuttons\">CheckButton</link>."
2941"To define an accelerator key for keyboard navigation, place an underscore "2946"To define an accelerator key for keyboard navigation, place an underscore "
2942"before one of the label's characters and specify <literal>true</literal> for "2947"before one of the label's characters and specify <literal>true</literal> for "
2943"the optional <literal>mnemonic</literal> parameter. For instance:"2948"the optional <literal>mnemonic</literal> parameter. For instance:"
2944msgstr ""2949msgstr ""
2945"För att definiera en snabbtangent för tangentbordsnavigering sätter du ett "2950"För att definiera en snabbtangent för tangentbordsnavigering sätter du ett "
n2946"understreck för ett av etikettens tecken och anger <literal>true</literal> "n2951"understreck före ett av etikettens tecken och anger <literal>true</literal> "
2947"för den valfria parametern <literal>mnemonic</literal>. Till exempel:"2952"för den valfria parametern <literal>mnemonic</literal>. Till exempel:"
29482953
2949#. (itstool) path: section/programlisting2954#. (itstool) path: section/programlisting
2950#: C/index-in.docbook:9842955#: C/index-in.docbook:984
2951#, fuzzy, no-wrap2956#, fuzzy, no-wrap
2970"Komponenten <classname>Gtk::Button</classname> har signalen "2975"Komponenten <classname>Gtk::Button</classname> har signalen "
2971"<literal>clicked</literal> som sänds ut när knappen trycks ned och släpps."2976"<literal>clicked</literal> som sänds ut när knappen trycks ned och släpps."
29722977
2973#. (itstool) path: section/para2978#. (itstool) path: section/para
2974#: C/index-in.docbook:9972979#: C/index-in.docbook:997
n2975#, fuzzyn
2976#| msgid ""
2977#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
2978#| "classGtk_1_1Button.html\">Reference</link>"
2979msgid ""2980msgid ""
2980"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"2981"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2981"classGtk_1_1Button.html\">Reference</link>"2982"classGtk_1_1Button.html\">Reference</link>"
2982msgstr ""2983msgstr ""
n2983"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n2984"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2984"classGtk_1_1Button.html\">Referens</link>"2985"classGtk_1_1Button.html\">Referens</link>"
29852986
2986#. (itstool) path: section/title2987#. (itstool) path: section/title
2987#: C/index-in.docbook:1000 C/index-in.docbook:1054 C/index-in.docbook:11132988#: C/index-in.docbook:1000 C/index-in.docbook:1054 C/index-in.docbook:1113
2988#: C/index-in.docbook:1229 C/index-in.docbook:1287 C/index-in.docbook:16052989#: C/index-in.docbook:1229 C/index-in.docbook:1287 C/index-in.docbook:1605
3046"<classname>ToggleButton</classname>s are like normal <classname>Button</"3047"<classname>ToggleButton</classname>s are like normal <classname>Button</"
3047"classname>s, but when clicked they remain activated, or pressed, until "3048"classname>s, but when clicked they remain activated, or pressed, until "
3048"clicked again."3049"clicked again."
3049msgstr ""3050msgstr ""
3050"En <classname>ToggleButton</classname> är som en vanlig <classname>Button</"3051"En <classname>ToggleButton</classname> är som en vanlig <classname>Button</"
n3051"classname>, men när den klickas på för blir den aktiverad, eller nedtryckt, "n3052"classname>, men när den klickas på förblir den aktiverad, eller nedtryckt, "
3052"tills den klickas på igen."3053"tills den klickas på igen."
30533054
3054#. (itstool) path: section/para3055#. (itstool) path: section/para
3055#: C/index-in.docbook:10243056#: C/index-in.docbook:1024
3056msgid ""3057msgid ""
3080"knappens tillstånd, och får signalen <literal>toggled</literal> att sändas "3081"knappens tillstånd, och får signalen <literal>toggled</literal> att sändas "
3081"ut."3082"ut."
30823083
3083#. (itstool) path: section/para3084#. (itstool) path: section/para
3084#: C/index-in.docbook:10363085#: C/index-in.docbook:1036
n3085#, fuzzyn
3086#| msgid ""
3087#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3088#| "classGtk_1_1ToggleButton.html\">Reference</link>"
3089msgid ""3086msgid ""
3090"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3087"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3091"classGtk_1_1ToggleButton.html\">Reference</link>"3088"classGtk_1_1ToggleButton.html\">Reference</link>"
3092msgstr ""3089msgstr ""
n3093"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3090"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3094"classGtk_1_1ToggleButton.html\">Referens</link>"3091"classGtk_1_1ToggleButton.html\">Referens</link>"
30953092
3096#. (itstool) path: section/title3093#. (itstool) path: section/title
3097#. (itstool) path: figure/title3094#. (itstool) path: figure/title
3098#: C/index-in.docbook:1041 C/index-in.docbook:10573095#: C/index-in.docbook:1041 C/index-in.docbook:1057
3115"CheckButton</classname>. Du kan kontrollera och ställa in en kryssruta med "3112"CheckButton</classname>. Du kan kontrollera och ställa in en kryssruta med "
3116"samma medlemsmetoder som för <classname>Gtk::ToggleButton</classname>."3113"samma medlemsmetoder som för <classname>Gtk::ToggleButton</classname>."
31173114
3118#. (itstool) path: section/para3115#. (itstool) path: section/para
3119#: C/index-in.docbook:10513116#: C/index-in.docbook:1051
n3120#, fuzzyn
3121#| msgid ""
3122#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3123#| "classGtk_1_1CheckButton.html\">Reference</link>"
3124msgid ""3117msgid ""
3125"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3118"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3126"classGtk_1_1CheckButton.html\">Reference</link>"3119"classGtk_1_1CheckButton.html\">Reference</link>"
3127msgstr ""3120msgstr ""
n3128"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3121"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3129"classGtk_1_1CheckButton.html\">Referens</link>"3122"classGtk_1_1CheckButton.html\">Referens</link>"
31303123
3131#. (itstool) path: imageobject/imagedata3124#. (itstool) path: imageobject/imagedata
3132#. This is a reference to an external file such as an image or video. When3125#. This is a reference to an external file such as an image or video. When
3133#. the file changes, the md5 hash will change to let you know you need to3126#. the file changes, the md5 hash will change to let you know you need to
3216msgstr ""3209msgstr ""
3217"Vi sa till <application>gtkmm</application> att stoppa alla tre "3210"Vi sa till <application>gtkmm</application> att stoppa alla tre "
3218"<classname>CheckButton</classname>-knapparna i samma grupp genom att använda "3211"<classname>CheckButton</classname>-knapparna i samma grupp genom att använda "
3219"<methodname>set_group()</methodname> för att säga till de andra två "3212"<methodname>set_group()</methodname> för att säga till de andra två "
3220"<classname>CheckButton</classname>-knapparna att dela grupp med den första "3213"<classname>CheckButton</classname>-knapparna att dela grupp med den första "
n3221"<classname>CheckButton</classname>."n3214"<classname>CheckButton</classname>-knappen."
32223215
3223#. (itstool) path: section/title3216#. (itstool) path: section/title
3224#: C/index-in.docbook:1101 C/index-in.docbook:1566 C/index-in.docbook:53233217#: C/index-in.docbook:1101 C/index-in.docbook:1566 C/index-in.docbook:5323
3225msgid "Methods"3218msgid "Methods"
3226msgstr "Metoder"3219msgstr "Metoder"
3238"kommer alla vara ”av”. Glöm inte att slå på en av dem med "3231"kommer alla vara ”av”. Glöm inte att slå på en av dem med "
3239"<methodname>set_active()</methodname>."3232"<methodname>set_active()</methodname>."
32403233
3241#. (itstool) path: section/para3234#. (itstool) path: section/para
3242#: C/index-in.docbook:11083235#: C/index-in.docbook:1108
n3243#, fuzzyn
3244#| msgid ""
3245#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3246#| "classGtk_1_1RadioButton.html\">Reference</link>"
3247msgid ""3236msgid ""
3248"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3237"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3249"classGtk_1_1RadioButton.html\">Reference</link>"3238"classGtk_1_1RadioButton.html\">Reference</link>"
3250msgstr ""3239msgstr ""
n3251"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3240"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3252"classGtk_1_1RadioButton.html\">Referens</link>"3241"classGtk_1_1RadioButton.html\">Referens</link>"
32533242
3254#. (itstool) path: section/para3243#. (itstool) path: section/para
3255#: C/index-in.docbook:11143244#: C/index-in.docbook:1114
3256msgid ""3245msgid ""
3347"classname>, kanske för att dela med en annan komponent. Se avsnittet <link "3336"classname>, kanske för att dela med en annan komponent. Se avsnittet <link "
3348"linkend=\"chapter-adjustment\">Justeringar</link> för mer detaljer."3337"linkend=\"chapter-adjustment\">Justeringar</link> för mer detaljer."
33493338
3350#. (itstool) path: chapter/para3339#. (itstool) path: chapter/para
3351#: C/index-in.docbook:11613340#: C/index-in.docbook:1161
n3352#, fuzzyn
3353#| msgid ""
3354#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3355#| "classGtk_1_1Range.html\">Reference</link>"
3356msgid ""3341msgid ""
3357"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3342"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3358"classGtk_1_1Range.html\">Reference</link>"3343"classGtk_1_1Range.html\">Reference</link>"
3359msgstr ""3344msgstr ""
n3360"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3345"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3361"classGtk_1_1Range.html\">Referens</link>"3346"classGtk_1_1Range.html\">Referens</link>"
33623347
3363#. (itstool) path: section/title3348#. (itstool) path: section/title
3364#: C/index-in.docbook:11643349#: C/index-in.docbook:1164
3365msgid "Scrollbar Widgets"3350msgid "Scrollbar Widgets"
3388"Orienteringen för en <classname>Gtk::Scrollbar</classname> kan vara antingen "3373"Orienteringen för en <classname>Gtk::Scrollbar</classname> kan vara antingen "
3389"horisontell eller vertikal."3374"horisontell eller vertikal."
33903375
3391#. (itstool) path: section/para3376#. (itstool) path: section/para
3392#: C/index-in.docbook:11783377#: C/index-in.docbook:1178
n3393#, fuzzyn
3394#| msgid ""
3395#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3396#| "classGtk_1_1Scrollbar.html\">Reference</link>"
3397msgid ""3378msgid ""
3398"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3379"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3399"classGtk_1_1Scrollbar.html\">Reference</link>"3380"classGtk_1_1Scrollbar.html\">Reference</link>"
3400msgstr ""3381msgstr ""
n3401"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3382"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3402"classGtk_1_1Scrollbar.html\">Referens</link>"3383"classGtk_1_1Scrollbar.html\">Referens</link>"
34033384
3404#. (itstool) path: section/title3385#. (itstool) path: section/title
3405#: C/index-in.docbook:11833386#: C/index-in.docbook:1183
3406#, fuzzy3387#, fuzzy
3490"Värdet kan också skrivas ut i olika positions relativt till tråget, angivet "3471"Värdet kan också skrivas ut i olika positions relativt till tråget, angivet "
3491"av metoden <methodname>set_value_pos()</methodname>."3472"av metoden <methodname>set_value_pos()</methodname>."
34923473
3493#. (itstool) path: section/para3474#. (itstool) path: section/para
3494#: C/index-in.docbook:12233475#: C/index-in.docbook:1223
n3495#, fuzzyn
3496#| msgid ""
3497#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3498#| "classGtk_1_1Scale.html\">Reference</link>"
3499msgid ""3476msgid ""
3500"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3477"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3501"classGtk_1_1Scale.html\">Reference</link>"3478"classGtk_1_1Scale.html\">Reference</link>"
3502msgstr ""3479msgstr ""
n3503"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3480"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3504"classGtk_1_1Scale.html\">Referens</link>"3481"classGtk_1_1Scale.html\">Referens</link>"
35053482
3506#. (itstool) path: section/para3483#. (itstool) path: section/para
3507#: C/index-in.docbook:12313484#: C/index-in.docbook:1231
3508#, fuzzy3485#, fuzzy
3565msgstr ""3542msgstr ""
3566"Etiketter är huvudmetoden för att placera ej redigerbar text i fönster, "3543"Etiketter är huvudmetoden för att placera ej redigerbar text i fönster, "
3567"exempelvis för att placera en titel intill en <classname>Entry</classname>-"3544"exempelvis för att placera en titel intill en <classname>Entry</classname>-"
3568"komponent. Du kan ange texten i konstruktorn, eller senare med metoderna "3545"komponent. Du kan ange texten i konstruktorn, eller senare med metoderna "
3569"<methodname>set_text()</methodname> eller <methodname>set_markup()</"3546"<methodname>set_text()</methodname> eller <methodname>set_markup()</"
n3570"methodname> methods."n3547"methodname>."
35713548
3572#. (itstool) path: section/para3549#. (itstool) path: section/para
3573#: C/index-in.docbook:12653550#: C/index-in.docbook:1265
3574msgid ""3551msgid ""
3575"The width of the label will be adjusted automatically. You can produce multi-"3552"The width of the label will be adjusted automatically. You can produce multi-"
3600"string to <methodname>set_markup()</methodname>, using the <link xlink:"3577"string to <methodname>set_markup()</methodname>, using the <link xlink:"
3601"href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango Markup syntax</"3578"href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango Markup syntax</"
3602"link>. For instance, <code> &lt;b&gt;bold text&lt;/b&gt; and &lt;s&gt;"3579"link>. For instance, <code> &lt;b&gt;bold text&lt;/b&gt; and &lt;s&gt;"
3603"strikethrough text&lt;/s&gt; </code> ."3580"strikethrough text&lt;/s&gt; </code> ."
3604msgstr ""3581msgstr ""
n3605"Gtk::Label stöder viss enkel formatering, till exempel låter det göra text i "n3582"Gtk::Label stöder viss enkel formatering, till exempel låter det dig göra "
3606"fetstil, i färg, eller större. Du kan göra detta genom att tillhandahålla en "3583"text i fetstil, i färg, eller större. Du kan göra detta genom att "
3607"sträng till <methodname>set_markup()</methodname> med <link xlink:"3584"tillhandahålla en sträng till <methodname>set_markup()</methodname> med "
3608"href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango Markup-syntax</"3585"<link xlink:href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango "
3609"link>. Exempelvis, <code> &lt;b&gt;text i fetstil&lt;/b&gt; och &lt;s&gt;"3586"Markup-syntax</link>. Exempelvis, <code> &lt;b&gt;text i fetstil&lt;/b&gt; "
3610"genomstruken text&lt;/s&gt; </code> ."3587"och &lt;s&gt;genomstruken text&lt;/s&gt; </code> ."
36113588
3612#. (itstool) path: section/para3589#. (itstool) path: section/para
3613#: C/index-in.docbook:12843590#: C/index-in.docbook:1284
n3614#, fuzzyn
3615#| msgid ""
3616#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3617#| "classGtk_1_1Label.html\">Reference</link>"
3618msgid ""3591msgid ""
3619"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3592"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3620"classGtk_1_1Label.html\">Reference</link>"3593"classGtk_1_1Label.html\">Reference</link>"
3621msgstr ""3594msgstr ""
n3622"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3595"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3623"classGtk_1_1Label.html\">Referens</link>"3596"classGtk_1_1Label.html\">Referens</link>"
36243597
3625#. (itstool) path: section/para3598#. (itstool) path: section/para
3626#: C/index-in.docbook:12883599#: C/index-in.docbook:1288
3627msgid ""3600msgid ""
3634msgstr ""3607msgstr ""
3635"Nedan är ett kort exempel för att illustrera dessa funktioner. Detta exempel "3608"Nedan är ett kort exempel för att illustrera dessa funktioner. Detta exempel "
3636"använder komponenten Frame för att bättre demonstrera etikettstilarna. "3609"använder komponenten Frame för att bättre demonstrera etikettstilarna. "
3637"(Komponenten Frame förklaras i avsnittet <link linkend=\"sec-frame\">Frame</"3610"(Komponenten Frame förklaras i avsnittet <link linkend=\"sec-frame\">Frame</"
3638"link>.) Det är möjligt att det första tecknet i <literal>m_Label_Normal</"3611"link>.) Det är möjligt att det första tecknet i <literal>m_Label_Normal</"
n3639"literal> endast visas understreckat när du trycker på <keycap>Alt</keycap>-"n3612"literal> endast visas understruket när du trycker på <keycap>Alt</keycap>-"
3640"tangenten."3613"tangenten."
36413614
3642#. (itstool) path: imageobject/imagedata3615#. (itstool) path: imageobject/imagedata
3643#. This is a reference to an external file such as an image or video. When3616#. This is a reference to an external file such as an image or video. When
3644#. the file changes, the md5 hash will change to let you know you need to3617#. the file changes, the md5 hash will change to let you know you need to
3690"Occasionally you might want to make an <classname>Entry</classname> widget "3663"Occasionally you might want to make an <classname>Entry</classname> widget "
3691"read-only. This can be done by passing <literal>false</literal> to the "3664"read-only. This can be done by passing <literal>false</literal> to the "
3692"<methodname>set_editable()</methodname> method."3665"<methodname>set_editable()</methodname> method."
3693msgstr ""3666msgstr ""
3694"Ibland kan du vilja göra en <classname>Entry</classname>-komponent "3667"Ibland kan du vilja göra en <classname>Entry</classname>-komponent "
n3695"skrivskyddad. Detta kan göras genom att sätta metoden "n3668"skrivskyddad. Detta kan göras genom att skicka <literal>false</literal> till "
3696"<methodname>set_editable()</methodname> till <literal>false</literal>."3669"metoden <methodname>set_editable()</methodname>."
36973670
3698#. (itstool) path: section/para3671#. (itstool) path: section/para
3699#: C/index-in.docbook:13263672#: C/index-in.docbook:1326
3700msgid ""3673msgid ""
3701"For the input of passwords, passphrases and other information you don't want "3674"For the input of passwords, passphrases and other information you don't want "
3760"Använd <methodname>Gtk::Window::set_default_widget()</methodname> för att "3733"Använd <methodname>Gtk::Window::set_default_widget()</methodname> för att "
3761"ställa in en komponent som standardkomponenten."3734"ställa in en komponent som standardkomponenten."
37623735
3763#. (itstool) path: section/para3736#. (itstool) path: section/para
3764#: C/index-in.docbook:13553737#: C/index-in.docbook:1355
n3765#, fuzzyn
3766#| msgid ""
3767#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3768#| "classGtk_1_1Entry.html\">Reference</link>"
3769msgid ""3738msgid ""
3770"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3739"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3771"classGtk_1_1Entry.html\">Reference</link>"3740"classGtk_1_1Entry.html\">Reference</link>"
3772msgstr ""3741msgstr ""
n3773"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3742"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3774"classGtk_1_1Entry.html\">Referens</link>"3743"classGtk_1_1Entry.html\">Referens</link>"
37753744
3776#. (itstool) path: section/title3745#. (itstool) path: section/title
3777#: C/index-in.docbook:13583746#: C/index-in.docbook:1358
3778#, fuzzy3747#, fuzzy
3785"This example uses <classname>Gtk::Entry</classname>. It also has two "3754"This example uses <classname>Gtk::Entry</classname>. It also has two "
3786"<classname>CheckButton</classname>s, with which you can toggle the editable "3755"<classname>CheckButton</classname>s, with which you can toggle the editable "
3787"and visible flags."3756"and visible flags."
3788msgstr ""3757msgstr ""
3789"Detta exempel använder <classname>Gtk::Entry</classname>. Det har också två "3758"Detta exempel använder <classname>Gtk::Entry</classname>. Det har också två "
n3790"<classname>CheckButton</classname>, med vilka du kan växla flaggorna för "n3759"<classname>CheckButton</classname>-knappar, med vilka du kan växla flaggorna "
3791"redigering och synlighet."3760"för redigering och synlighet."
37923761
3793#. (itstool) path: imageobject/imagedata3762#. (itstool) path: imageobject/imagedata
3794#. This is a reference to an external file such as an image or video. When3763#. This is a reference to an external file such as an image or video. When
3795#. the file changes, the md5 hash will change to let you know you need to3764#. the file changes, the md5 hash will change to let you know you need to
3796#. update your localized copy. The msgstr is not used at all. Set it to3765#. update your localized copy. The msgstr is not used at all. Set it to
3818msgid "Entry Completion"3787msgid "Entry Completion"
3819msgstr "Inmatningskomplettering"3788msgstr "Inmatningskomplettering"
38203789
3821#. (itstool) path: note/para3790#. (itstool) path: note/para
3822#: C/index-in.docbook:13813791#: C/index-in.docbook:1381
n3823#, fuzzyn
3824#| msgid ""
3825#| "Some new classes were added in <application>gtkmm</application> 4 and "
3826#| "<application>glibmm</application> 2.68:"
3827msgid ""3792msgid ""
3828"<classname>Gtk::EntryCompletion</classname> is deprecated since "3793"<classname>Gtk::EntryCompletion</classname> is deprecated since "
3829"<application>gtkmm</application> 4.10. There is no replacement in "3794"<application>gtkmm</application> 4.10. There is no replacement in "
3830"<application>gtkmm</application>."3795"<application>gtkmm</application>."
3831msgstr ""3796msgstr ""
n3832"Några nya klasser lades till i <application>gtkmm</application> 4 och "n3797"<classname>Gtk::EntryCompletion</classname> är föråldrad sedan "
3798"<application>gtkmm</application> 4.10. Det finns ingen ersättning i "
3833"<application>glibmm</application> 2.68:"3799"<application>gtkmm</application>."
38343800
3835#. (itstool) path: section/para3801#. (itstool) path: section/para
3836#: C/index-in.docbook:13853802#: C/index-in.docbook:1385
3837msgid ""3803msgid ""
3838"An <classname>Entry</classname> widget can offer a drop-down list of pre-"3804"An <classname>Entry</classname> widget can offer a drop-down list of pre-"
3879"too inconvenient to generate, a callback slot may instead be specified with "3845"too inconvenient to generate, a callback slot may instead be specified with "
3880"<methodname>set_match_func()</methodname>. This is also useful if you wish "3846"<methodname>set_match_func()</methodname>. This is also useful if you wish "
3881"to match on a part of the string other than the start."3847"to match on a part of the string other than the start."
3882msgstr ""3848msgstr ""
3883"Alternativt kan, om en fullständig lista över möjliga inmatningar skulle "3849"Alternativt kan, om en fullständig lista över möjliga inmatningar skulle "
n3884"vara för stor eller opraktisk att skapa, ett återanropsfack istället anges "n3850"vara för stor eller opraktisk att skapa, ett återanropsfack i stället anges "
3885"med <methodname>set_match_func()</methodname>. Detta är även användbart om "3851"med <methodname>set_match_func()</methodname>. Detta är även användbart om "
3886"du vill matcha strängen på en annan del än starten."3852"du vill matcha strängen på en annan del än starten."
38873853
3888#. (itstool) path: section/para3854#. (itstool) path: section/para
3889#: C/index-in.docbook:14073855#: C/index-in.docbook:1407
n3890#, fuzzyn
3891#| msgid ""
3892#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
3893#| "classGtk_1_1EntryCompletion.html\">Reference</link>"
3894msgid ""3856msgid ""
3895"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"3857"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3896"classGtk_1_1EntryCompletion.html\">Reference</link>"3858"classGtk_1_1EntryCompletion.html\">Reference</link>"
3897msgstr ""3859msgstr ""
n3898"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n3860"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
3899"classGtk_1_1EntryCompletion.html\">Referens</link>"3861"classGtk_1_1EntryCompletion.html\">Referens</link>"
39003862
3901#. (itstool) path: section/title3863#. (itstool) path: section/title
3902#: C/index-in.docbook:14103864#: C/index-in.docbook:1410
3903#, fuzzy3865#, fuzzy
3947msgid "Entry Icons"3909msgid "Entry Icons"
3948msgstr "Inmatningsikoner"3910msgstr "Inmatningsikoner"
39493911
3950#. (itstool) path: section/para3912#. (itstool) path: section/para
3951#: C/index-in.docbook:14333913#: C/index-in.docbook:1433
n3952#, fuzzyn
3953#| msgid ""
3954#| "An <classname>Entry</classname> widget can show an icon at the start or "
3955#| "end of the text area. The icon can be specifed by methods such as "
3956#| "<methodname>set_icon_from_paintable()</methodname> or "
3957#| "<methodname>set_icon_from_icon_name()</methodname>. An application can "
3958#| "respond to the user pressing the icon by handling the "
3959#| "<methodname>signal_icon_press</methodname> signal."
3960msgid ""3914msgid ""
3961"An <classname>Entry</classname> widget can show an icon at the start or end "3915"An <classname>Entry</classname> widget can show an icon at the start or end "
3962"of the text area. The icon can be specified by methods such as "3916"of the text area. The icon can be specified by methods such as "
3963"<methodname>set_icon_from_paintable()</methodname> or "3917"<methodname>set_icon_from_paintable()</methodname> or "
3964"<methodname>set_icon_from_icon_name()</methodname>. An application can "3918"<methodname>set_icon_from_icon_name()</methodname>. An application can "
4224"behöver ange en <classname>Gtk::SpinType</classname> för att ange riktningen "4178"behöver ange en <classname>Gtk::SpinType</classname> för att ange riktningen "
4225"eller ny position."4179"eller ny position."
42264180
4227#. (itstool) path: section/para4181#. (itstool) path: section/para
4228#: C/index-in.docbook:15854182#: C/index-in.docbook:1585
n4229#, fuzzyn
4230msgid ""4183msgid ""
4231"To prevent the user from typing non-numeric characters into the entry box, "4184"To prevent the user from typing non-numeric characters into the entry box, "
4232"pass <literal>true</literal> to the <methodname>set_numeric()</methodname> "4185"pass <literal>true</literal> to the <methodname>set_numeric()</methodname> "
4233"method."4186"method."
4234msgstr ""4187msgstr ""
4235"För att hindra användaren från att mata in icke-numeriska tecken i "4188"För att hindra användaren från att mata in icke-numeriska tecken i "
n4236"inmatningsfältet sätter du metoden <methodname>set_numeric()</methodname> "n4189"inmatningsfältet skickar du <literal>true</literal> till metoden "
4237"till <literal>true</literal>."4190"<methodname>set_numeric()</methodname>."
42384191
4239#. (itstool) path: section/para4192#. (itstool) path: section/para
4240#: C/index-in.docbook:15904193#: C/index-in.docbook:1590
4241#, fuzzy4194#, fuzzy
4242msgid ""4195msgid ""
4257"För att tvinga den att fästa vid närmaste <literal>step_increment</literal>, "4210"För att tvinga den att fästa vid närmaste <literal>step_increment</literal>, "
4258"använd <methodname>set_snap_to_ticks()</methodname>."4211"använd <methodname>set_snap_to_ticks()</methodname>."
42594212
4260#. (itstool) path: section/para4213#. (itstool) path: section/para
4261#: C/index-in.docbook:16004214#: C/index-in.docbook:1600
n4262#, fuzzyn
4263#| msgid ""
4264#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4265#| "classGtk_1_1SpinButton.html\">Reference</link>"
4266msgid ""4215msgid ""
4267"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4216"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4268"classGtk_1_1SpinButton.html\">Reference</link>"4217"classGtk_1_1SpinButton.html\">Reference</link>"
4269msgstr ""4218msgstr ""
n4270"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4219"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4271"classGtk_1_1SpinButton.html\">Referens</link>"4220"classGtk_1_1SpinButton.html\">Referens</link>"
42724221
4273#. (itstool) path: section/para4222#. (itstool) path: section/para
4274#: C/index-in.docbook:16074223#: C/index-in.docbook:1607
4275msgid "Here's an example of a <classname>SpinButton</classname> in action:"4224msgid "Here's an example of a <classname>SpinButton</classname> in action:"
4333"A <classname>ProgressBar</classname> is horizontal and left-to-right by "4282"A <classname>ProgressBar</classname> is horizontal and left-to-right by "
4334"default, but you can change it to a vertical progress bar by using the "4283"default, but you can change it to a vertical progress bar by using the "
4335"<methodname>set_orientation()</methodname> method."4284"<methodname>set_orientation()</methodname> method."
4336msgstr ""4285msgstr ""
4337"En <classname>ProgressBar</classname> är som standard horisontell och "4286"En <classname>ProgressBar</classname> är som standard horisontell och "
n4338"vänster-till-höjer, men du kan ändra den till en vertikal förloppsindikator "n4287"vänster-till-höger, men du kan ändra den till en vertikal förloppsindikator "
4339"genom att använda metoden <methodname>set_orientation()</methodname>."4288"genom att använda metoden <methodname>set_orientation()</methodname>."
43404289
4341#. (itstool) path: section/para4290#. (itstool) path: section/para
4342#: C/index-in.docbook:16444291#: C/index-in.docbook:1644
n4343#, fuzzyn
4344#| msgid ""
4345#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4346#| "classGtk_1_1ProgressBar.html\">Reference</link>"
4347msgid ""4292msgid ""
4348"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4293"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4349"classGtk_1_1ProgressBar.html\">Reference</link>"4294"classGtk_1_1ProgressBar.html\">Reference</link>"
4350msgstr ""4295msgstr ""
n4351"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4296"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4352"classGtk_1_1ProgressBar.html\">Referens</link>"4297"classGtk_1_1ProgressBar.html\">Referens</link>"
43534298
4354#. (itstool) path: section/title4299#. (itstool) path: section/title
4355#: C/index-in.docbook:16474300#: C/index-in.docbook:1647
4356msgid "Activity Mode"4301msgid "Activity Mode"
4434"top of the current window instead of opening a new window. Its API is very "4379"top of the current window instead of opening a new window. Its API is very "
4435"similar to the <link linkend=\"chapter-dialogs\">Gtk::Dialog</link> API."4380"similar to the <link linkend=\"chapter-dialogs\">Gtk::Dialog</link> API."
4436msgstr ""4381msgstr ""
4437"En <classname>InfoBar</classname> kan visa små informationsobjekt eller "4382"En <classname>InfoBar</classname> kan visa små informationsobjekt eller "
4438"fråga korta frågor. Till skillnad från en <classname>Dialog</classname> "4383"fråga korta frågor. Till skillnad från en <classname>Dialog</classname> "
n4439"dyker den upp högst upp i det aktuella fönstret istället för att öppna ett "n4384"dyker den upp högst upp i det aktuella fönstret i stället för att öppna ett "
4440"nytt fönster. Dess API är väldigt likt API:t för <link linkend=\"chapter-"4385"nytt fönster. Dess API är väldigt likt API:t för <link linkend=\"chapter-"
4441"dialogs\">Gtk::Dialog</link>."4386"dialogs\">Gtk::Dialog</link>."
44424387
4443#. (itstool) path: section/para4388#. (itstool) path: section/para
4444#: C/index-in.docbook:16924389#: C/index-in.docbook:1692
n4445#, fuzzyn
4446#| msgid ""
4447#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4448#| "classGtk_1_1InfoBar.html\">Reference</link>"
4449msgid ""4390msgid ""
4450"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4391"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4451"classGtk_1_1InfoBar.html\">Reference</link>"4392"classGtk_1_1InfoBar.html\">Reference</link>"
4452msgstr ""4393msgstr ""
n4453"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4394"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4454"classGtk_1_1InfoBar.html\">Referens</link>"4395"classGtk_1_1InfoBar.html\">Referens</link>"
44554396
4456#. (itstool) path: section/para4397#. (itstool) path: section/para
4457#: C/index-in.docbook:16974398#: C/index-in.docbook:1697
4458msgid ""4399msgid ""
4459"The <classname>InfoBar</classname> widget is deprecated since "4400"The <classname>InfoBar</classname> widget is deprecated since "
4460"<application>gtkmm</application> 4.10. The example shows an info bar "4401"<application>gtkmm</application> 4.10. The example shows an info bar "
4461"consisting of a <classname>Box</classname> with a <classname>Label</"4402"consisting of a <classname>Box</classname> with a <classname>Label</"
4462"classname> and a <classname>Button</classname>."4403"classname> and a <classname>Button</classname>."
4463msgstr ""4404msgstr ""
nn4405"<classname>InfoBar</classname>-komponenten är föråldrad sedan "
4406"<application>gtkmm</application> 4.10. Exemplen visar en inforad som består "
4407"av en <classname>Box</classname> med en <classname>Label</classname> och en "
4408"<classname>Button</classname>."
44644409
4465#. (itstool) path: imageobject/imagedata4410#. (itstool) path: imageobject/imagedata
4466#. This is a reference to an external file such as an image or video. When4411#. This is a reference to an external file such as an image or video. When
4467#. the file changes, the md5 hash will change to let you know you need to4412#. the file changes, the md5 hash will change to let you know you need to
4468#. update your localized copy. The msgstr is not used at all. Set it to4413#. update your localized copy. The msgstr is not used at all. Set it to
4504"<classname>Widget</classname>. <classname>Gtk::Tooltip</classname> används "4449"<classname>Widget</classname>. <classname>Gtk::Tooltip</classname> används "
4505"för mer avancerad inforuteanvändning, som att visa en bild såväl som text."4450"för mer avancerad inforuteanvändning, som att visa en bild såväl som text."
45064451
4507#. (itstool) path: section/para4452#. (itstool) path: section/para
4508#: C/index-in.docbook:17264453#: C/index-in.docbook:1726
n4509#, fuzzyn
4510#| msgid ""
4511#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4512#| "classGtk_1_1Widget.html\">Widget Reference</link>"
4513msgid ""4454msgid ""
4514"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4455"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4515"classGtk_1_1Widget.html\">Widget Reference</link>"4456"classGtk_1_1Widget.html\">Widget Reference</link>"
4516msgstr ""4457msgstr ""
n4517"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4458"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4518"classGtk_1_1Widget.html\">Widget-referens</link>"4459"classGtk_1_1Widget.html\">Widget-referens</link>"
45194460
4520#. (itstool) path: section/para4461#. (itstool) path: section/para
4521#: C/index-in.docbook:17274462#: C/index-in.docbook:1727
n4522#, fuzzyn
4523#| msgid ""
4524#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4525#| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>"
4526msgid ""4463msgid ""
4527"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4464"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4528"classGtk_1_1Tooltip.html\">Tooltip Reference</link>"4465"classGtk_1_1Tooltip.html\">Tooltip Reference</link>"
4529msgstr ""4466msgstr ""
n4530"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4467"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4531"classGtk_1_1Tooltip.html\">Tooltip-referens</link>"4468"classGtk_1_1Tooltip.html\">Tooltip-referens</link>"
45324469
4533#. (itstool) path: figure/title4470#. (itstool) path: figure/title
4534#: C/index-in.docbook:17334471#: C/index-in.docbook:1733
4535#, fuzzy4472#, fuzzy
4631"classname> eller <classname>CheckButton</classname> i en <classname>Frame</"4568"classname> eller <classname>CheckButton</classname> i en <classname>Frame</"
4632"classname>."4569"classname>."
46334570
4634#. (itstool) path: section/para4571#. (itstool) path: section/para
4635#: C/index-in.docbook:17814572#: C/index-in.docbook:1781
n4636#, fuzzyn
4637#| msgid ""
4638#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4639#| "classGtk_1_1Frame.html\">Reference</link>"
4640msgid ""4573msgid ""
4641"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4574"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4642"classGtk_1_1Frame.html\">Reference</link>"4575"classGtk_1_1Frame.html\">Reference</link>"
4643msgstr ""4576msgstr ""
n4644"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4577"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4645"classGtk_1_1Frame.html\">Referens</link>"4578"classGtk_1_1Frame.html\">Referens</link>"
46464579
4647#. (itstool) path: imageobject/imagedata4580#. (itstool) path: imageobject/imagedata
4648#. This is a reference to an external file such as an image or video. When4581#. This is a reference to an external file such as an image or video. When
4649#. the file changes, the md5 hash will change to let you know you need to4582#. the file changes, the md5 hash will change to let you know you need to
4706"Du kan justera avskiljarens position genom att använda metoden "4639"Du kan justera avskiljarens position genom att använda metoden "
4707"<methodname>set_position()</methodname>, och kommer troligen behöva göra det."4640"<methodname>set_position()</methodname>, och kommer troligen behöva göra det."
47084641
4709#. (itstool) path: section/para4642#. (itstool) path: section/para
4710#: C/index-in.docbook:18204643#: C/index-in.docbook:1820
n4711#, fuzzyn
4712#| msgid ""
4713#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4714#| "classGtk_1_1Paned.html\">Reference</link>"
4715msgid ""4644msgid ""
4716"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4645"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4717"classGtk_1_1Paned.html\">Reference</link>"4646"classGtk_1_1Paned.html\">Reference</link>"
4718msgstr ""4647msgstr ""
n4719"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4648"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4720"classGtk_1_1Paned.html\">Referens</link>"4649"classGtk_1_1Paned.html\">Referens</link>"
47214650
4722#. (itstool) path: imageobject/imagedata4651#. (itstool) path: imageobject/imagedata
4723#. This is a reference to an external file such as an image or video. When4652#. This is a reference to an external file such as an image or video. When
4724#. the file changes, the md5 hash will change to let you know you need to4653#. the file changes, the md5 hash will change to let you know you need to
4786"<literal>Gtk::PolicyType::ALWAYS</literal> kommer få rullningslisten att "4715"<literal>Gtk::PolicyType::ALWAYS</literal> kommer få rullningslisten att "
4787"alltid visas."4716"alltid visas."
47884717
4789#. (itstool) path: section/para4718#. (itstool) path: section/para
4790#: C/index-in.docbook:18614719#: C/index-in.docbook:1861
n4791#, fuzzyn
4792#| msgid ""
4793#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4794#| "classGtk_1_1ScrolledWindow.html\">Reference</link>"
4795msgid ""4720msgid ""
4796"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4721"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4797"classGtk_1_1ScrolledWindow.html\">Reference</link>"4722"classGtk_1_1ScrolledWindow.html\">Reference</link>"
4798msgstr ""4723msgstr ""
n4799"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4724"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4800"classGtk_1_1ScrolledWindow.html\">Referens</link>"4725"classGtk_1_1ScrolledWindow.html\">Referens</link>"
48014726
4802#. (itstool) path: section/para4727#. (itstool) path: section/para
4803#: C/index-in.docbook:18664728#: C/index-in.docbook:1866
4804msgid ""4729msgid ""
4839msgid "AspectFrame"4764msgid "AspectFrame"
4840msgstr "AspectFrame"4765msgstr "AspectFrame"
48414766
4842#. (itstool) path: section/para4767#. (itstool) path: section/para
4843#: C/index-in.docbook:18854768#: C/index-in.docbook:1885
n4844#, fuzzyn
4845msgid ""4769msgid ""
4846"The <classname>AspectFrame</classname> widget looks like a <classname>Frame</"4770"The <classname>AspectFrame</classname> widget looks like a <classname>Frame</"
4847"classname> widget, but it also enforces the <emphasis>aspect ratio</"4771"classname> widget, but it also enforces the <emphasis>aspect ratio</"
4848"emphasis> (the ratio of the width to the height) of the child widget, adding "4772"emphasis> (the ratio of the width to the height) of the child widget, adding "
4849"extra space if necessary. For instance, this would allow you to display a "4773"extra space if necessary. For instance, this would allow you to display a "
4857"Exempelvis skulle detta låta dig visa ett foto utan att användaren kan "4781"Exempelvis skulle detta låta dig visa ett foto utan att användaren kan "
4858"förvränga det horisontellt eller vertikalt då storleken ändras."4782"förvränga det horisontellt eller vertikalt då storleken ändras."
48594783
4860#. (itstool) path: section/para4784#. (itstool) path: section/para
4861#: C/index-in.docbook:18944785#: C/index-in.docbook:1894
n4862#, fuzzyn
4863#| msgid ""
4864#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
4865#| "classGtk_1_1AspectFrame.html\">Reference</link>"
4866msgid ""4786msgid ""
4867"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"4787"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4868"classGtk_1_1AspectFrame.html\">Reference</link>"4788"classGtk_1_1AspectFrame.html\">Reference</link>"
4869msgstr ""4789msgstr ""
n4870"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n4790"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
4871"classGtk_1_1AspectFrame.html\">Referens</link>"4791"classGtk_1_1AspectFrame.html\">Referens</link>"
48724792
4873#. (itstool) path: section/para4793#. (itstool) path: section/para
4874#: C/index-in.docbook:18994794#: C/index-in.docbook:1899
4875msgid ""4795msgid ""
4919"fullständig lista. Här är länkar till några exempelprogram som visar "4839"fullständig lista. Här är länkar till några exempelprogram som visar "
4920"behållare som inte nämns någon annanstans i denna handledning."4840"behållare som inte nämns någon annanstans i denna handledning."
49214841
4922#. (itstool) path: section/para4842#. (itstool) path: section/para
4923#: C/index-in.docbook:19264843#: C/index-in.docbook:1926
n4924#, fuzzyn
4925msgid ""4844msgid ""
4926"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"4845"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
4927"master/examples/book/expander\">Source Code, Expander</link>"4846"master/examples/book/expander\">Source Code, Expander</link>"
4928msgstr ""4847msgstr ""
4929"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"4848"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
4930"master/examples/book/expander\">Källkod, Expander</link>"4849"master/examples/book/expander\">Källkod, Expander</link>"
49314850
4932#. (itstool) path: section/para4851#. (itstool) path: section/para
4933#: C/index-in.docbook:19274852#: C/index-in.docbook:1927
n4934#, fuzzyn
4935msgid ""4853msgid ""
4936"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"4854"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
4937"master/examples/book/popover\">Source Code, Popover</link>"4855"master/examples/book/popover\">Source Code, Popover</link>"
4938msgstr ""4856msgstr ""
4939"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"4857"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
4966"methodname> för flerobjektsbehållare tar ett argument som anger vilken "4884"methodname> för flerobjektsbehållare tar ett argument som anger vilken "
4967"komponent som ska tas bort."4885"komponent som ska tas bort."
49684886
4969#. (itstool) path: section/title4887#. (itstool) path: section/title
4970#: C/index-in.docbook:19464888#: C/index-in.docbook:1946
n4971#, fuzzyn
4972msgid "Packing"4889msgid "Packing"
4973msgstr "Packning"4890msgstr "Packning"
49744891
4975#. (itstool) path: section/para4892#. (itstool) path: section/para
4976#: C/index-in.docbook:19484893#: C/index-in.docbook:1948
5001"widgets are hidden when the window is made smaller, and lots of useless "4918"widgets are hidden when the window is made smaller, and lots of useless "
5002"space appears when the window is made larger."4919"space appears when the window is made larger."
5003msgstr ""4920msgstr ""
5004"Komponenterna arrangerar inte om sig själva när fönstrets storlek ändras. "4921"Komponenterna arrangerar inte om sig själva när fönstrets storlek ändras. "
5005"Vissa komponenter döljs när fönstret görs mindre, och mycket onödigt utrymme "4922"Vissa komponenter döljs när fönstret görs mindre, och mycket onödigt utrymme "
n5006"dyker upp när fönstret görs större."n4923"uppstår när fönstret görs större."
50074924
5008#. (itstool) path: listitem/para4925#. (itstool) path: listitem/para
5009#: C/index-in.docbook:19644926#: C/index-in.docbook:1964
5010msgid ""4927msgid ""
5011"It's impossible to predict the amount of space necessary for text after it "4928"It's impossible to predict the amount of space necessary for text after it "
5222msgid "Adding widgets"5139msgid "Adding widgets"
5223msgstr "Lägga till komponenter"5140msgstr "Lägga till komponenter"
52245141
5225#. (itstool) path: section/title5142#. (itstool) path: section/title
5226#: C/index-in.docbook:20735143#: C/index-in.docbook:2073
n5227#, fuzzyn
5228msgid "Per-child packing options"5144msgid "Per-child packing options"
5229msgstr "Packningsalternativ per underordnad"5145msgstr "Packningsalternativ per underordnad"
52305146
5231#. (itstool) path: section/para5147#. (itstool) path: section/para
5232#: C/index-in.docbook:20745148#: C/index-in.docbook:2074
5275"möjligt. Du kan till och med bestämma dig för att använda <classname>Gtk::"5191"möjligt. Du kan till och med bestämma dig för att använda <classname>Gtk::"
5276"Builder</classname>-API:t för att läsa in ditt GUI vid körning."5192"Builder</classname>-API:t för att läsa in ditt GUI vid körning."
52775193
5278#. (itstool) path: section/para5194#. (itstool) path: section/para
5279#: C/index-in.docbook:20955195#: C/index-in.docbook:2095
n5280#, fuzzyn
5281msgid "There are basically five different styles, as shown in this picture:"5196msgid "There are basically five different styles, as shown in this picture:"
n5282msgstr "Det finns i princip fem olika stilar, som kan ses i denna bild:"n5197msgstr "Det finns i grunden fem olika stilar som kan ses i denna bild:"
52835198
5284#. (itstool) path: figure/title5199#. (itstool) path: figure/title
5285#: C/index-in.docbook:21015200#: C/index-in.docbook:2101
5286#, fuzzy5201#, fuzzy
5287msgid "Box Packing 1"5202msgid "Box Packing 1"
5320"<methodname>set_margin_start()</methodname> och "5235"<methodname>set_margin_start()</methodname> och "
5321"<methodname>set_margin_end()</methodname> methods."5236"<methodname>set_margin_end()</methodname> methods."
53225237
5323#. (itstool) path: section/para5238#. (itstool) path: section/para
5324#: C/index-in.docbook:21165239#: C/index-in.docbook:2116
n5325#, fuzzyn
5326#| msgid ""
5327#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
5328#| "classGtk_1_1Box.html\">Reference</link>"
5329msgid ""5240msgid ""
5330"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5241"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5331"classGtk_1_1Box.html\">Reference</link>"5242"classGtk_1_1Box.html\">Reference</link>"
5332msgstr ""5243msgstr ""
n5333"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Box."n5244"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5334"html\">Referens</link>"5245"classGtk_1_1Box.html\">Referens</link>"
53355246
5336#. (itstool) path: section/title5247#. (itstool) path: section/title
5337#: C/index-in.docbook:21215248#: C/index-in.docbook:2121
5338#, fuzzy5249#, fuzzy
5339msgid "Per-container packing options"5250msgid "Per-container packing options"
5456msgstr ""5367msgstr ""
5457"Ge alla kommandoradsflaggor till <methodname>Gtk::Application::run()</"5368"Ge alla kommandoradsflaggor till <methodname>Gtk::Application::run()</"
5458"methodname> och lägg till flaggan <literal>Gio::Application::Flags::"5369"methodname> och lägg till flaggan <literal>Gio::Application::Flags::"
5459"HANDLES_COMMAND_LINE</literal> till <methodname>Gtk::Application::create()</"5370"HANDLES_COMMAND_LINE</literal> till <methodname>Gtk::Application::create()</"
5460"methodname>. Anslut en signalhanterare till signalen <literal>command_line</"5371"methodname>. Anslut en signalhanterare till signalen <literal>command_line</"
n5461"literal> signal, och hantera kommandoradsflaggorna i signalhanteraren."n5372"literal>, och hantera kommandoradsflaggorna i signalhanteraren."
54625373
5463#. (itstool) path: listitem/para5374#. (itstool) path: listitem/para
5464#: C/index-in.docbook:21755375#: C/index-in.docbook:2175
5465#, fuzzy5376#, fuzzy
5466msgid ""5377msgid ""
5512msgid ""5423msgid ""
5513"A <classname>Grid</classname> dynamically lays out child widgets in rows and "5424"A <classname>Grid</classname> dynamically lays out child widgets in rows and "
5514"columns. The dimensions of the grid do not need to be specified in the "5425"columns. The dimensions of the grid do not need to be specified in the "
5515"constructor."5426"constructor."
5516msgstr ""5427msgstr ""
n5517"En <classname>Grid</classname> organiserar dynamiskt underordnade "n5428"Ett <classname>Grid</classname> organiserar dynamiskt underordnade "
5518"komponenter i rader och kolumner. Dimensionerna på rutnätet behöver inte "5429"komponenter i rader och kolumner. Dimensionerna på rutnätet behöver inte "
5519"anges i konstruktorn."5430"anges i konstruktorn."
55205431
5521#. (itstool) path: section/para5432#. (itstool) path: section/para
5522#: C/index-in.docbook:22055433#: C/index-in.docbook:2205
n5523#, fuzzyn
5524msgid ""5434msgid ""
5525"Child widgets can span multiple rows or columns, using <methodname>attach()</"5435"Child widgets can span multiple rows or columns, using <methodname>attach()</"
5526"methodname>, or added next to an existing widget inside the grid with "5436"methodname>, or added next to an existing widget inside the grid with "
5527"<methodname>attach_next_to()</methodname>. Individual rows and columns of "5437"<methodname>attach_next_to()</methodname>. Individual rows and columns of "
5528"the grid can be set to have uniform height or width with "5438"the grid can be set to have uniform height or width with "
5542msgid ""5452msgid ""
5543"You can set the <emphasis>margin</emphasis> and <emphasis>expand</emphasis> "5453"You can set the <emphasis>margin</emphasis> and <emphasis>expand</emphasis> "
5544"properties of the child <classname>Widget</classname>s to control their "5454"properties of the child <classname>Widget</classname>s to control their "
5545"spacing and their behavior when the Grid is resized."5455"spacing and their behavior when the Grid is resized."
5546msgstr ""5456msgstr ""
n5547"Du kan konfigurera egenskaperna för <emphasis>marginal</emphasis> och "n5457"Du kan sätta egenskaperna för <emphasis>marginal</emphasis> och "
5548"<emphasis>expansion</emphasis> för underordnade <classname>Widget</"5458"<emphasis>expansion</emphasis> för underordnade <classname>Widget</"
5549"classname> för att styra deras utrymme och deras beteende när vår Grid får "5459"classname> för att styra deras utrymme och deras beteende när vår Grid får "
5550"storleken ändrad."5460"storleken ändrad."
55515461
5552#. (itstool) path: section/para5462#. (itstool) path: section/para
5553#: C/index-in.docbook:22165463#: C/index-in.docbook:2216
n5554#, fuzzyn
5555#| msgid ""
5556#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
5557#| "classGtk_1_1Grid.html\">Reference</link>"
5558msgid ""5464msgid ""
5559"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5465"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5560"classGtk_1_1Grid.html\">Reference</link>"5466"classGtk_1_1Grid.html\">Reference</link>"
5561msgstr ""5467msgstr ""
n5562"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5468"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5563"classGtk_1_1Grid.html\">Referens</link>"5469"classGtk_1_1Grid.html\">Referens</link>"
55645470
5565#. (itstool) path: section/para5471#. (itstool) path: section/para
5566#: C/index-in.docbook:22205472#: C/index-in.docbook:2220
5567msgid ""5473msgid ""
5653"Använd metoden <methodname>set_current_page()</methodname> för att "5559"Använd metoden <methodname>set_current_page()</methodname> för att "
5654"programmatiskt ändra den valda sidan."5560"programmatiskt ändra den valda sidan."
56555561
5656#. (itstool) path: section/para5562#. (itstool) path: section/para
5657#: C/index-in.docbook:22705563#: C/index-in.docbook:2270
n5658#, fuzzyn
5659#| msgid ""
5660#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
5661#| "classGtk_1_1Notebook.html\">Reference</link>"
5662msgid ""5564msgid ""
5663"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5565"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5664"classGtk_1_1Notebook.html\">Reference</link>"5566"classGtk_1_1Notebook.html\">Reference</link>"
5665msgstr ""5567msgstr ""
n5666"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5568"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5667"classGtk_1_1Notebook.html\">Referens</link>"5569"classGtk_1_1Notebook.html\">Referens</link>"
56685570
5669#. (itstool) path: imageobject/imagedata5571#. (itstool) path: imageobject/imagedata
5670#. This is a reference to an external file such as an image or video. When5572#. This is a reference to an external file such as an image or video. When
5671#. the file changes, the md5 hash will change to let you know you need to5573#. the file changes, the md5 hash will change to let you know you need to
5701"<application>gtkmm</application> 4.10. There is no replacement in "5603"<application>gtkmm</application> 4.10. There is no replacement in "
5702"<application>gtkmm</application>. libadwaita (a C library) has replacement "5604"<application>gtkmm</application>. libadwaita (a C library) has replacement "
5703"parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</"5605"parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</"
5704"classname> might be an acceptable replacement."5606"classname> might be an acceptable replacement."
5705msgstr ""5607msgstr ""
nn5608"<classname>Gtk::Assistant</classname> är föråldrad sedan <application>gtkmm</"
5609"application> 4.10. Det finns ingen ersättning i <application>gtkmm</"
5610"application>. libadwaita (ett C-bibliotek) har ersättningsdelar (som "
5611"AdwCarousel). I vissa fall kan en <classname>Gtk::Notebook</classname> vara "
5612"en acceptabel ersättning."
57065613
5707#. (itstool) path: section/para5614#. (itstool) path: section/para
5708#: C/index-in.docbook:22975615#: C/index-in.docbook:2297
5709#, fuzzy5616#, fuzzy
5710msgid ""5617msgid ""
5773"standardknapparna. Använd metoden <methodname>remove_action_widget()</"5680"standardknapparna. Använd metoden <methodname>remove_action_widget()</"
5774"methodname> för att ta bort komponenter."5681"methodname> för att ta bort komponenter."
57755682
5776#. (itstool) path: section/para5683#. (itstool) path: section/para
5777#: C/index-in.docbook:23175684#: C/index-in.docbook:2317
n5778#, fuzzyn
5779#| msgid ""
5780#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
5781#| "classGtk_1_1Assistant.html\">Reference</link>"
5782msgid ""5685msgid ""
5783"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5686"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5784"classGtk_1_1Assistant.html\">Reference</link>"5687"classGtk_1_1Assistant.html\">Reference</link>"
5785msgstr ""5688msgstr ""
n5786"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5689"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5787"classGtk_1_1Assistant.html\">Referens</link>"5690"classGtk_1_1Assistant.html\">Referens</link>"
57885691
5789#. (itstool) path: imageobject/imagedata5692#. (itstool) path: imageobject/imagedata
5790#. This is a reference to an external file such as an image or video. When5693#. This is a reference to an external file such as an image or video. When
5791#. the file changes, the md5 hash will change to let you know you need to5694#. the file changes, the md5 hash will change to let you know you need to
5833"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"5736"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
5834"master/examples/book/actionbar\">Källkod, ActionBar</link>"5737"master/examples/book/actionbar\">Källkod, ActionBar</link>"
58355738
5836#. (itstool) path: section/para5739#. (itstool) path: section/para
5837#: C/index-in.docbook:23455740#: C/index-in.docbook:2345
n5838#, fuzzyn
5839#| msgid ""
5840#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
5841#| "tree/master/examples/book/flowbox\">Source Code, FlowBox</link>"
5842msgid ""5741msgid ""
5843"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"5742"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
5844"master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>"5743"master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>"
5845msgstr ""5744msgstr ""
5846"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"5745"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n5847"master/examples/book/flowbox\">Källkod, FlowBox</link>"n5746"master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>"
58485747
5849#. (itstool) path: chapter/title5748#. (itstool) path: chapter/title
5850#: C/index-in.docbook:23525749#: C/index-in.docbook:2352
5851msgid "ListView, GridView, ColumnView"5750msgid "ListView, GridView, ColumnView"
5852msgstr ""5751msgstr ""
5901"link> i <application>gtkmm-documentation</application>s exempel."5800"link> i <application>gtkmm-documentation</application>s exempel."
59025801
5903#. (itstool) path: section/title5802#. (itstool) path: section/title
5904#: C/index-in.docbook:23775803#: C/index-in.docbook:2377
5905#, fuzzy5804#, fuzzy
nn5805#| msgid "The Model"
5906msgid "The Data Model"5806msgid "The Data Model"
5907msgstr "Modellen"5807msgstr "Modellen"
59085808
5909#. (itstool) path: section/para5809#. (itstool) path: section/para
5910#: C/index-in.docbook:23795810#: C/index-in.docbook:2379
5918msgstr ""5818msgstr ""
59195819
5920#. (itstool) path: section/para5820#. (itstool) path: section/para
5921#: C/index-in.docbook:23875821#: C/index-in.docbook:2387
5922#, fuzzy5822#, fuzzy
n5923#| msgid ""n
5924#| "The model for a ComboBox can be defined and filled exactly as for a "
5925#| "<classname>TreeView</classname>. For instance, you might derive a "
5926#| "ComboBox class with one integer and one text column, like so:"
5927msgid ""5823msgid ""
5928"The elements in a model are called <emphasis>items</emphasis>. All items are "5824"The elements in a model are called <emphasis>items</emphasis>. All items are "
5929"instances of a subclass of <classname>Glib::Object</classname>. For "5825"instances of a subclass of <classname>Glib::Object</classname>. For "
5930"instance, you might have a <classname>ColumnView</classname> with one "5826"instance, you might have a <classname>ColumnView</classname> with one "
5931"integer and one text column, like so:"5827"integer and one text column, like so:"
5932msgstr ""5828msgstr ""
n5933"Modellen för en ComboBox kan definieras och fyllas i exakt som för en "n5829"Modellen för en <classname>DropDown</classname> kan definieras och fyllas i "
5934"<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med "5830"exakt som för en <classname>ListView</classname> eller en "
5935"ett heltal och en textkolumn, så här:"5831"<classname>ColumnView</classname>. Den måste vara en underklass till "
5832"<classname>Glib::Object</classname>. Exempelvis kan du ha en "
5833"<classname>DropDown</classname> med ett heltal och en textkolumn, så här:"
59365834
5937#. (itstool) path: section/programlisting5835#. (itstool) path: section/programlisting
5938#: C/index-in.docbook:2393 C/index-in.docbook:33915836#: C/index-in.docbook:2393 C/index-in.docbook:3391
n5939#, no-wrapn5837#, fuzzy, no-wrap
5838#| msgid ""
5839#| "class ModelColumns : public Glib::Object\n"
5840#| "{\n"
5841#| "public:\n"
5842#| "  int m_col_id;\n"
5843#| "  Glib::ustring m_col_name;\n"
5844#| "\n"
5845#| "  static Glib::RefPtr&lt;ModelColumns&gt; create(\n"
5846#| "    int col_id, const Glib::ustring&amp; col_name)\n"
5847#| "  {\n"
5848#| "    return Glib::make_refptr_for_instance&lt;ModelColumns&gt;(\n"
5849#| "      new ModelColumns(col_id, col_name));\n"
5850#| "  }\n"
5851#| "\n"
5852#| "protected:\n"
5853#| "  ModelColumns(int col_id, const Glib::ustring&amp; col_name)\n"
5854#| "  : m_col_id(col_id), m_col_name(col_name)\n"
5855#| "  {}\n"
5856#| "};\n"
5857#| "\n"
5858#| "Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"
5940msgid ""5859msgid ""
5941"<code>class ModelColumns : public Glib::Object\n"5860"<code>class ModelColumns : public Glib::Object\n"
5942"{\n"5861"{\n"
5943"public:\n"5862"public:\n"
5944"  int m_col_id;\n"5863"  int m_col_id;\n"
5958"};\n"5877"};\n"
5959"\n"5878"\n"
5960"Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"5879"Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"
5961"</code>"5880"</code>"
5962msgstr ""5881msgstr ""
nn5882"class ModelColumns : public Glib::Object\n"
5883"{\n"
5884"public:\n"
5885"  int m_col_id;\n"
5886"  Glib::ustring m_col_name;\n"
5887"\n"
5888"  static Glib::RefPtr&lt;ModelColumns&gt; create(\n"
5889"    int col_id, const Glib::ustring&amp; col_name)\n"
5890"  {\n"
5891"    return Glib::make_refptr_for_instance&lt;ModelColumns&gt;(\n"
5892"      new ModelColumns(col_id, col_name));\n"
5893"  }\n"
5894"\n"
5895"protected:\n"
5896"  ModelColumns(int col_id, const Glib::ustring&amp; col_name)\n"
5897"  : m_col_id(col_id), m_col_name(col_name)\n"
5898"  {}\n"
5899"};\n"
5900"\n"
5901"Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"
59635902
5964#. (itstool) path: section/para5903#. (itstool) path: section/para
5965#: C/index-in.docbook:24155904#: C/index-in.docbook:2415
5966msgid ""5905msgid ""
5967"Every item in a model has a position which is the unsigned integer that "5906"Every item in a model has a position which is the unsigned integer that "
59725911
5973#. (itstool) path: section/para5912#. (itstool) path: section/para
5974#: C/index-in.docbook:24215913#: C/index-in.docbook:2421
5975#, fuzzy5914#, fuzzy
5976#| msgid ""5915#| msgid ""
n5977#| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n5916#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
5978#| "classGio_1_1Resource.html\">Gio::Resource Reference</link>"5917#| "classGio_1_1Resource.html\">Gio::Resource Reference</link>"
5979msgid ""5918msgid ""
5980"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"5919"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
5981"classGio_1_1ListStore.html\">Gio::ListStore Reference</link>"5920"classGio_1_1ListStore.html\">Gio::ListStore Reference</link>"
5982msgstr ""5921msgstr ""
n5983"<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n5922"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
5984"classGio_1_1Resource.html\">Referens för Gio::Resource</link>"5923"classGio_1_1Resource.html\">Referens för Gio::Resource</link>"
59855924
5986#. (itstool) path: section/para5925#. (itstool) path: section/para
5987#: C/index-in.docbook:24225926#: C/index-in.docbook:2422
5988#, fuzzy5927#, fuzzy
5989#| msgid ""5928#| msgid ""
n5990#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5929#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5991#| "classGtk_1_1Widget.html\">Widget Reference</link>"5930#| "classGtk_1_1Widget.html\">Widget Reference</link>"
5992msgid ""5931msgid ""
5993"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5932"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5994"classGtk_1_1StringList.html\">StringList Reference</link>"5933"classGtk_1_1StringList.html\">StringList Reference</link>"
5995msgstr ""5934msgstr ""
n5996"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5935"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
5997"classGtk_1_1Widget.html\">Widget-referens</link>"5936"classGtk_1_1Widget.html\">Widget-referens</link>"
59985937
5999#. (itstool) path: section/para5938#. (itstool) path: section/para
6000#: C/index-in.docbook:24235939#: C/index-in.docbook:2423
6001#, fuzzy5940#, fuzzy
6002#| msgid ""5941#| msgid ""
n6003#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5942#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6004#| "classGtk_1_1Widget.html\">Widget Reference</link>"5943#| "classGtk_1_1Widget.html\">Widget Reference</link>"
6005msgid ""5944msgid ""
6006"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5945"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6007"classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>"5946"classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>"
6008msgstr ""5947msgstr ""
n6009"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5948"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6010"classGtk_1_1Widget.html\">Widget-referens</link>"5949"classGtk_1_1Widget.html\">Widget-referens</link>"
60115950
6012#. (itstool) path: section/title5951#. (itstool) path: section/title
6013#: C/index-in.docbook:24275952#: C/index-in.docbook:2427
6014#, fuzzy5953#, fuzzy
60365975
6037#. (itstool) path: section/para5976#. (itstool) path: section/para
6038#: C/index-in.docbook:24345977#: C/index-in.docbook:2434
6039#, fuzzy5978#, fuzzy
6040#| msgid ""5979#| msgid ""
n6041#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5980#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6042#| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>"5981#| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>"
6043msgid ""5982msgid ""
6044"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5983"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6045"classGtk_1_1NoSelection.html\">NoSelection Reference</link>"5984"classGtk_1_1NoSelection.html\">NoSelection Reference</link>"
6046msgstr ""5985msgstr ""
n6047"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5986"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6048"classGtk_1_1Tooltip.html\">Tooltip-referens</link>"5987"classGtk_1_1Tooltip.html\">Tooltip-referens</link>"
60495988
6050#. (itstool) path: section/para5989#. (itstool) path: section/para
6051#: C/index-in.docbook:24355990#: C/index-in.docbook:2435
6052#, fuzzy5991#, fuzzy
6053#| msgid ""5992#| msgid ""
n6054#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5993#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6055#| "classGtk_1_1Widget.html\">Widget Reference</link>"5994#| "classGtk_1_1Widget.html\">Widget Reference</link>"
6056msgid ""5995msgid ""
6057"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"5996"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6058"classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>"5997"classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>"
6059msgstr ""5998msgstr ""
n6060"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n5999"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6061"classGtk_1_1Widget.html\">Widget-referens</link>"6000"classGtk_1_1Widget.html\">Widget-referens</link>"
60626001
6063#. (itstool) path: section/para6002#. (itstool) path: section/para
6064#: C/index-in.docbook:24366003#: C/index-in.docbook:2436
6065#, fuzzy6004#, fuzzy
6066#| msgid ""6005#| msgid ""
n6067#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6006#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6068#| "classGtk_1_1Application.html\">Gtk::Application Reference</link>"6007#| "classGtk_1_1Application.html\">Gtk::Application Reference</link>"
6069msgid ""6008msgid ""
6070"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6009"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6071"classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>"6010"classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>"
6072msgstr ""6011msgstr ""
n6073"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6012"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6074"classGtk_1_1Application.html\">Referens för Gtk::Application</link>"6013"classGtk_1_1Application.html\">Referens för Gtk::Application</link>"
60756014
6076#. (itstool) path: section/title6015#. (itstool) path: section/title
6077#: C/index-in.docbook:24406016#: C/index-in.docbook:2440
6078#, fuzzy6017#, fuzzy
60926031
6093#. (itstool) path: section/para6032#. (itstool) path: section/para
6094#: C/index-in.docbook:24486033#: C/index-in.docbook:2448
6095#, fuzzy6034#, fuzzy
6096#| msgid ""6035#| msgid ""
n6097#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6036#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6098#| "classGtk_1_1Widget.html\">Widget Reference</link>"6037#| "classGtk_1_1Widget.html\">Widget Reference</link>"
6099msgid ""6038msgid ""
6100"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6039"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6101"classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</"6040"classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</"
6102"link>"6041"link>"
6103msgstr ""6042msgstr ""
n6104"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6043"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6105"classGtk_1_1Widget.html\">Widget-referens</link>"6044"classGtk_1_1Widget.html\">Widget-referens</link>"
61066045
6107#. (itstool) path: section/title6046#. (itstool) path: section/title
6108#: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:38726047#: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872
6109#, fuzzy6048#, fuzzy
61616100
6162#. (itstool) path: section/para6101#. (itstool) path: section/para
6163#: C/index-in.docbook:24786102#: C/index-in.docbook:2478
6164#, fuzzy6103#, fuzzy
6165#| msgid ""6104#| msgid ""
n6166#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6105#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6167#| "classGtk_1_1TextView.html\">Reference</link>"6106#| "classGtk_1_1TextView.html\">Reference</link>"
6168msgid ""6107msgid ""
6169"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6108"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6170"classGtk_1_1ListView.html\">Reference</link>"6109"classGtk_1_1ListView.html\">Reference</link>"
6171msgstr ""6110msgstr ""
n6172"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6111"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6173"classGtk_1_1TextView.html\">Referens</link>"6112"classGtk_1_1TextView.html\">Referens</link>"
61746113
6175#. (itstool) path: imageobject/imagedata6114#. (itstool) path: imageobject/imagedata
6176#. This is a reference to an external file such as an image or video. When6115#. This is a reference to an external file such as an image or video. When
6177#. the file changes, the md5 hash will change to let you know you need to6116#. the file changes, the md5 hash will change to let you know you need to
6189#. (itstool) path: section/para6128#. (itstool) path: section/para
6190#: C/index-in.docbook:24906129#: C/index-in.docbook:2490
6191#, fuzzy6130#, fuzzy
6192#| msgid ""6131#| msgid ""
6193#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6132#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6194#| "tree/master/examples/book/treeview/list/\">Source Code</link>"n6133#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6134#| "GridView</link>"
6195msgid ""6135msgid ""
6196"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6136"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6197"master/examples/book/listmodelviews/list_listview\">Source Code</link>"6137"master/examples/book/listmodelviews/list_listview\">Source Code</link>"
6198msgstr ""6138msgstr ""
6199"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6139"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6200"master/examples/book/treeview/list/\">Källkod</link>"n6140"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
62016141
6202#. (itstool) path: section/title6142#. (itstool) path: section/title
6203#. (itstool) path: figure/title6143#. (itstool) path: figure/title
6204#: C/index-in.docbook:2496 C/index-in.docbook:25086144#: C/index-in.docbook:2496 C/index-in.docbook:2508
6205#, fuzzy6145#, fuzzy
62166156
6217#. (itstool) path: section/para6157#. (itstool) path: section/para
6218#: C/index-in.docbook:25026158#: C/index-in.docbook:2502
6219#, fuzzy6159#, fuzzy
6220#| msgid ""6160#| msgid ""
n6221#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6161#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6222#| "classGtk_1_1Grid.html\">Reference</link>"6162#| "classGtk_1_1Grid.html\">Reference</link>"
6223msgid ""6163msgid ""
6224"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6164"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6225"classGtk_1_1GridView.html\">Reference</link>"6165"classGtk_1_1GridView.html\">Reference</link>"
6226msgstr ""6166msgstr ""
n6227"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6167"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6228"classGtk_1_1Grid.html\">Referens</link>"6168"classGtk_1_1Grid.html\">Referens</link>"
62296169
6230#. (itstool) path: imageobject/imagedata6170#. (itstool) path: imageobject/imagedata
6231#. This is a reference to an external file such as an image or video. When6171#. This is a reference to an external file such as an image or video. When
6232#. the file changes, the md5 hash will change to let you know you need to6172#. the file changes, the md5 hash will change to let you know you need to
6245#. (itstool) path: section/para6185#. (itstool) path: section/para
6246#: C/index-in.docbook:25146186#: C/index-in.docbook:2514
6247#, fuzzy6187#, fuzzy
6248#| msgid ""6188#| msgid ""
6249#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6189#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6250#| "tree/master/examples/book/textview/\">Source Code</link>"n6190#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6191#| "GridView</link>"
6251msgid ""6192msgid ""
6252"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6193"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6253"master/examples/book/listmodelviews/gridview\">Source Code</link>"6194"master/examples/book/listmodelviews/gridview\">Source Code</link>"
6254msgstr ""6195msgstr ""
6255"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6196"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6256"master/examples/book/textview/\">Källkod</link>"n6197"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
62576198
6258#. (itstool) path: section/title6199#. (itstool) path: section/title
6259#. (itstool) path: figure/title6200#. (itstool) path: figure/title
6260#: C/index-in.docbook:2520 C/index-in.docbook:25326201#: C/index-in.docbook:2520 C/index-in.docbook:2532
6261msgid "ColumnView"6202msgid "ColumnView"
62766217
6277#. (itstool) path: section/para6218#. (itstool) path: section/para
6278#: C/index-in.docbook:25266219#: C/index-in.docbook:2526
6279#, fuzzy6220#, fuzzy
6280#| msgid ""6221#| msgid ""
n6281#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6222#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6282#| "classGtk_1_1TreeView.html\">Reference</link>"6223#| "classGtk_1_1TreeView.html\">Reference</link>"
6283msgid ""6224msgid ""
6284"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6225"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6285"classGtk_1_1ColumnView.html\">Reference</link>"6226"classGtk_1_1ColumnView.html\">Reference</link>"
6286msgstr ""6227msgstr ""
n6287"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6228"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6288"classGtk_1_1TreeView.html\">Referens</link>"6229"classGtk_1_1TreeView.html\">Referens</link>"
62896230
6290#. (itstool) path: imageobject/imagedata6231#. (itstool) path: imageobject/imagedata
6291#. This is a reference to an external file such as an image or video. When6232#. This is a reference to an external file such as an image or video. When
6292#. the file changes, the md5 hash will change to let you know you need to6233#. the file changes, the md5 hash will change to let you know you need to
6304#. (itstool) path: section/para6245#. (itstool) path: section/para
6305#: C/index-in.docbook:25386246#: C/index-in.docbook:2538
6306#, fuzzy6247#, fuzzy
6307#| msgid ""6248#| msgid ""
6308#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6249#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6309#| "tree/master/examples/book/treeview/list/\">Source Code</link>"n6250#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6251#| "GridView</link>"
6310msgid ""6252msgid ""
6311"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6253"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6312"master/examples/book/listmodelviews/list_columnview\">Source Code</link>"6254"master/examples/book/listmodelviews/list_columnview\">Source Code</link>"
6313msgstr ""6255msgstr ""
6314"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6256"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6315"master/examples/book/treeview/list/\">Källkod</link>"n6257"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
63166258
6317#. (itstool) path: section/title6259#. (itstool) path: section/title
6318#: C/index-in.docbook:2545 C/index-in.docbook:31396260#: C/index-in.docbook:2545 C/index-in.docbook:3139
6319msgid "Sorting"6261msgid "Sorting"
6320msgstr "Sortering"6262msgstr "Sortering"
63546296
6355#. (itstool) path: section/para6297#. (itstool) path: section/para
6356#: C/index-in.docbook:25626298#: C/index-in.docbook:2562
6357#, fuzzy6299#, fuzzy
6358#| msgid ""6300#| msgid ""
n6359#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6301#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6360#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"6302#| "classGtk_1_1TreeModel.html\">Reference</link>"
6361msgid ""6303msgid ""
6362"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6304"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6363"classGtk_1_1SortListModel.html\">SortListModel Reference</link>"6305"classGtk_1_1SortListModel.html\">SortListModel Reference</link>"
6364msgstr ""6306msgstr ""
n6365"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6307"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6366"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"6308"classGtk_1_1TreeModel.html\">Referens</link>"
63676309
6368#. (itstool) path: section/para6310#. (itstool) path: section/para
6369#: C/index-in.docbook:25636311#: C/index-in.docbook:2563
6370#, fuzzy6312#, fuzzy
6371#| msgid ""6313#| msgid ""
n6372#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6314#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6373#| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"6315#| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"
6374msgid ""6316msgid ""
6375"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6317"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6376"classGtk_1_1StringSorter.html\">StringSorter Reference</link>"6318"classGtk_1_1StringSorter.html\">StringSorter Reference</link>"
6377msgstr ""6319msgstr ""
n6378"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6320"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6379"classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>"6321"classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>"
63806322
6381#. (itstool) path: section/para6323#. (itstool) path: section/para
6382#: C/index-in.docbook:25646324#: C/index-in.docbook:2564
6383#, fuzzy6325#, fuzzy
6384#| msgid ""6326#| msgid ""
n6385#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6327#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6386#| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"6328#| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"
6387msgid ""6329msgid ""
6388"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6330"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6389"classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>"6331"classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>"
6390msgstr ""6332msgstr ""
n6391"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6333"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6392"classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>"6334"classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>"
63936335
6394#. (itstool) path: figure/title6336#. (itstool) path: figure/title
6395#: C/index-in.docbook:25706337#: C/index-in.docbook:2570
6396msgid "SortListModel"6338msgid "SortListModel"
64476389
6448#. (itstool) path: section/para6390#. (itstool) path: section/para
6449#: C/index-in.docbook:25906391#: C/index-in.docbook:2590
6450#, fuzzy6392#, fuzzy
6451#| msgid ""6393#| msgid ""
n6452#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6394#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6453#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"6395#| "classGtk_1_1FileDialog.html\">FileDialog Reference</link>"
6454msgid ""6396msgid ""
6455"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6397"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6456"classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>"6398"classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>"
6457msgstr ""6399msgstr ""
n6458"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6400"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6459"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"6401"classGtk_1_1FileDialog.html\">FileDialog-referens</link>"
64606402
6461#. (itstool) path: section/para6403#. (itstool) path: section/para
6462#: C/index-in.docbook:25916404#: C/index-in.docbook:2591
6463#, fuzzy6405#, fuzzy
6464#| msgid ""6406#| msgid ""
n6465#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6407#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6466#| "classGtk_1_1Widget.html\">Widget Reference</link>"6408#| "classGtk_1_1Widget.html\">Widget Reference</link>"
6467msgid ""6409msgid ""
6468"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6410"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6469"classGtk_1_1StringFilter.html\">StringFilter Reference</link>"6411"classGtk_1_1StringFilter.html\">StringFilter Reference</link>"
6470msgstr ""6412msgstr ""
n6471"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6413"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6472"classGtk_1_1Widget.html\">Widget-referens</link>"6414"classGtk_1_1Widget.html\">Widget-referens</link>"
64736415
6474#. (itstool) path: section/para6416#. (itstool) path: section/para
6475#: C/index-in.docbook:25926417#: C/index-in.docbook:2592
6476#, fuzzy6418#, fuzzy
6477#| msgid ""6419#| msgid ""
n6478#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6420#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6479#| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>"6421#| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>"
6480msgid ""6422msgid ""
6481"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6423"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6482"classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>"6424"classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>"
6483msgstr ""6425msgstr ""
n6484"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6426"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6485"classGtk_1_1Tooltip.html\">Tooltip-referens</link>"6427"classGtk_1_1Tooltip.html\">Tooltip-referens</link>"
64866428
6487#. (itstool) path: figure/title6429#. (itstool) path: figure/title
6488#: C/index-in.docbook:25986430#: C/index-in.docbook:2598
6489msgid "FilterListModel"6431msgid "FilterListModel"
65386480
6539#. (itstool) path: section/para6481#. (itstool) path: section/para
6540#: C/index-in.docbook:26226482#: C/index-in.docbook:2622
6541#, fuzzy6483#, fuzzy
6542#| msgid ""6484#| msgid ""
n6543#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6485#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6544#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"6486#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"
6545msgid ""6487msgid ""
6546"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6488"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6547"classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>"6489"classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>"
6548msgstr ""6490msgstr ""
n6549"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6491"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6550"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"6492"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"
65516493
6552#. (itstool) path: section/para6494#. (itstool) path: section/para
6553#: C/index-in.docbook:26236495#: C/index-in.docbook:2623
6554#, fuzzy6496#, fuzzy
6555#| msgid ""6497#| msgid ""
n6556#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6498#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6557#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"6499#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"
6558msgid ""6500msgid ""
6559"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6501"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6560"classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>"6502"classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>"
6561msgstr ""6503msgstr ""
n6562"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6504"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6563"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"6505"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"
65646506
6565#. (itstool) path: figure/title6507#. (itstool) path: figure/title
6566#: C/index-in.docbook:26296508#: C/index-in.docbook:2629
6567#, fuzzy6509#, fuzzy
nn6510#| msgid "The Model"
6568msgid "TreeListModel"6511msgid "TreeListModel"
6569msgstr "Modellen"6512msgstr "Modellen"
65706513
6571#. (itstool) path: imageobject/imagedata6514#. (itstool) path: imageobject/imagedata
6572#. This is a reference to an external file such as an image or video. When6515#. This is a reference to an external file such as an image or video. When
6585#. (itstool) path: section/para6528#. (itstool) path: section/para
6586#: C/index-in.docbook:26356529#: C/index-in.docbook:2635
6587#, fuzzy6530#, fuzzy
6588#| msgid ""6531#| msgid ""
6589#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6532#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6590#| "tree/master/examples/book/treeview/tree/\">Source Code</link>"n6533#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6534#| "GridView</link>"
6591msgid ""6535msgid ""
6592"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6536"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6593"master/examples/book/listmodelviews/tree_columnview\">Source Code</link>"6537"master/examples/book/listmodelviews/tree_columnview\">Source Code</link>"
6594msgstr ""6538msgstr ""
6595"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6539"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6596"master/examples/book/treeview/tree/\">Källkod</link>"n6540"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
65976541
6598#. (itstool) path: chapter/title6542#. (itstool) path: chapter/title
6599#: C/index-in.docbook:26436543#: C/index-in.docbook:2643
6600msgid "The TreeView widget"6544msgid "The TreeView widget"
6601msgstr "TreeView-komponenten"6545msgstr "TreeView-komponenten"
66026546
6603#. (itstool) path: note/para6547#. (itstool) path: note/para
6604#: C/index-in.docbook:26456548#: C/index-in.docbook:2645
n6605#, fuzzyn
6606#| msgid ""
6607#| "<classname>Gdk::DragContext</classname> has been split into "
6608#| "<classname>Gdk::Drag</classname> and <classname>Gdk::Drop</classname>."
6609msgid ""6549msgid ""
6610"<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</"6550"<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</"
6611"application> 4.10. In new code, use <classname>Gtk::ListView</classname> for "6551"application> 4.10. In new code, use <classname>Gtk::ListView</classname> for "
6612"lists and <classname>Gtk::ColumnView</classname> for tabular lists."6552"lists and <classname>Gtk::ColumnView</classname> for tabular lists."
6613msgstr ""6553msgstr ""
n6614"<classname>Gdk::DragContext</classname> har delats upp i <classname>Gdk::"n6554"<classname>Gtk::TreeView</classname> är föråldrad sedan <application>gtkmm</"
6615"Drag</classname> och <classname>Gdk::Drop</classname>."6555"application> 4.10. Använd i ny kod <classname>Gtk::ListView</classname> för "
6556"listor och <classname>Gtk::ColumnView</classname> för tabellistor."
66166557
6617#. (itstool) path: chapter/para6558#. (itstool) path: chapter/para
6618#: C/index-in.docbook:26506559#: C/index-in.docbook:2650
6619msgid ""6560msgid ""
6620"The <classname>Gtk::TreeView</classname> widget can contain lists or trees "6561"The <classname>Gtk::TreeView</classname> widget can contain lists or trees "
6623"Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller "6564"Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller "
6624"träd med data i kolumner."6565"träd med data i kolumner."
66256566
6626#. (itstool) path: section/title6567#. (itstool) path: section/title
6627#: C/index-in.docbook:26566568#: C/index-in.docbook:2656
n6628#, fuzzyn
6629msgid "The Model"6569msgid "The Model"
6630msgstr "Modellen"6570msgstr "Modellen"
66316571
6632#. (itstool) path: section/para6572#. (itstool) path: section/para
6633#: C/index-in.docbook:26586573#: C/index-in.docbook:2658
6663"använda antingen modellklasserna <classname>ListStore</classname> eller "6603"använda antingen modellklasserna <classname>ListStore</classname> eller "
6664"<classname>TreeStore</classname>."6604"<classname>TreeStore</classname>."
66656605
6666#. (itstool) path: section/para6606#. (itstool) path: section/para
6667#: C/index-in.docbook:26746607#: C/index-in.docbook:2674
n6668#, fuzzyn
6669#| msgid ""
6670#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
6671#| "classGtk_1_1TreeModel.html\">Reference</link>"
6672msgid ""6608msgid ""
6673"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6609"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6674"classGtk_1_1TreeModel.html\">Reference</link>"6610"classGtk_1_1TreeModel.html\">Reference</link>"
6675msgstr ""6611msgstr ""
n6676"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6612"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6677"classGtk_1_1TreeModel.html\">Referens</link>"6613"classGtk_1_1TreeModel.html\">Referens</link>"
66786614
6679#. (itstool) path: section/title6615#. (itstool) path: section/title
6680#: C/index-in.docbook:26776616#: C/index-in.docbook:2677
6681msgid "ListStore, for rows"6617msgid "ListStore, for rows"
6710"external ref='figures/treeview_list.png' "6646"external ref='figures/treeview_list.png' "
6711"md5='60e5e4ecb284d0cdc53373fe0ec858ee'"6647"md5='60e5e4ecb284d0cdc53373fe0ec858ee'"
67126648
6713#. (itstool) path: section/para6649#. (itstool) path: section/para
6714#: C/index-in.docbook:26916650#: C/index-in.docbook:2691
n6715#, fuzzyn
6716#| msgid ""
6717#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
6718#| "classGtk_1_1ListStore.html\">Reference</link>"
6719msgid ""6651msgid ""
6720"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6652"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6721"classGtk_1_1ListStore.html\">Reference</link>"6653"classGtk_1_1ListStore.html\">Reference</link>"
6722msgstr ""6654msgstr ""
n6723"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6655"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6724"classGtk_1_1ListStore.html\">Referens</link>"6656"classGtk_1_1ListStore.html\">Referens</link>"
67256657
6726#. (itstool) path: section/title6658#. (itstool) path: section/title
6727#: C/index-in.docbook:26966659#: C/index-in.docbook:2696
6728msgid "TreeStore, for a hierarchy"6660msgid "TreeStore, for a hierarchy"
6757"external ref='figures/treeview_tree.png' "6689"external ref='figures/treeview_tree.png' "
6758"md5='2270025659b23ebfc0e38d8b629289ef'"6690"md5='2270025659b23ebfc0e38d8b629289ef'"
67596691
6760#. (itstool) path: section/para6692#. (itstool) path: section/para
6761#: C/index-in.docbook:27106693#: C/index-in.docbook:2710
n6762#, fuzzyn
6763#| msgid ""
6764#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
6765#| "classGtk_1_1TreeStore.html\">Reference</link>"
6766msgid ""6694msgid ""
6767"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6695"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6768"classGtk_1_1TreeStore.html\">Reference</link>"6696"classGtk_1_1TreeStore.html\">Reference</link>"
6769msgstr ""6697msgstr ""
n6770"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6698"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
6771"classGtk_1_1TreeStore.html\">Referens</link>"6699"classGtk_1_1TreeStore.html\">Referens</link>"
67726700
6773#. (itstool) path: section/title6701#. (itstool) path: section/title
6774#: C/index-in.docbook:27156702#: C/index-in.docbook:2715
6775msgid "Model Columns"6703msgid "Model Columns"
7001"auto strText = row[m_Columns.m_col_text];\n"6929"auto strText = row[m_Columns.m_col_text];\n"
7002"auto number = row[m_Columns.m_col_number];"6930"auto number = row[m_Columns.m_col_number];"
70036931
7004#. (itstool) path: section/para6932#. (itstool) path: section/para
7005#: C/index-in.docbook:28036933#: C/index-in.docbook:2803
n7006#, fuzzyn
7007msgid ""6934msgid ""
7008"The compiler will complain if you use an inappropriate type. For instance, "6935"The compiler will complain if you use an inappropriate type. For instance, "
7009"this would generate a compiler error:"6936"this would generate a compiler error:"
7010msgstr ""6937msgstr ""
n7011"Kompilatorn kommer klaga om du använder en opassande typ. Exempelvis skulle "n6938"Kompilatorn kommer klaga om du använder en olämplig typ. Exempelvis skulle "
7012"detta generera ett kompilatorfel:"6939"detta generera ett kompileringsfel:"
70136940
7014#. (itstool) path: section/programlisting6941#. (itstool) path: section/programlisting
7015#: C/index-in.docbook:28076942#: C/index-in.docbook:2807
7016#, fuzzy, no-wrap6943#, fuzzy, no-wrap
7017#| msgid ""6944#| msgid ""
7019#| "int number = row[m_Columns.m_col_text];"6946#| "int number = row[m_Columns.m_col_text];"
7020msgid ""6947msgid ""
7021"<code>//compiler error - no conversion from ustring to int.\n"6948"<code>//compiler error - no conversion from ustring to int.\n"
7022"int number = row[m_Columns.m_col_text];</code>"6949"int number = row[m_Columns.m_col_text];</code>"
7023msgstr ""6950msgstr ""
n7024"//kompilatorfel - ingen konvertering från ustring till int.\n"n6951"//kompileringsfel - ingen konvertering från ustring till int.\n"
7025"int number = row[m_Columns.m_col_text];"6952"int number = row[m_Columns.m_col_text];"
70266953
7027#. (itstool) path: section/title6954#. (itstool) path: section/title
7028#: C/index-in.docbook:28126955#: C/index-in.docbook:2812
7029msgid "\"Hidden\" Columns"6956msgid "\"Hidden\" Columns"
7053"användaren interagera med dem. Vyn kan visa alla modellens kolumner, eller "6980"användaren interagera med dem. Vyn kan visa alla modellens kolumner, eller "
7054"bara några, och den kan visa dem på olika sätt."6981"bara några, och den kan visa dem på olika sätt."
70556982
7056#. (itstool) path: section/para6983#. (itstool) path: section/para
7057#: C/index-in.docbook:28326984#: C/index-in.docbook:2832
n7058#, fuzzyn
7059#| msgid ""
7060#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
7061#| "classGtk_1_1TreeView.html\">Reference</link>"
7062msgid ""6985msgid ""
7063"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"6986"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
7064"classGtk_1_1TreeView.html\">Reference</link>"6987"classGtk_1_1TreeView.html\">Reference</link>"
7065msgstr ""6988msgstr ""
n7066"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n6989"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
7067"classGtk_1_1TreeView.html\">Referens</link>"6990"classGtk_1_1TreeView.html\">Referens</link>"
70686991
7069#. (itstool) path: section/title6992#. (itstool) path: section/title
7070#: C/index-in.docbook:28356993#: C/index-in.docbook:2835
7071#, fuzzy6994#, fuzzy
7103"You can use the <methodname>append_column()</methodname> method to tell the "7026"You can use the <methodname>append_column()</methodname> method to tell the "
7104"View that it should display certain Model columns, in a certain order, with "7027"View that it should display certain Model columns, in a certain order, with "
7105"a certain column title."7028"a certain column title."
7106msgstr ""7029msgstr ""
7107"Du kan använda metoden <methodname>append_column()</methodname> för att säga "7030"Du kan använda metoden <methodname>append_column()</methodname> för att säga "
n7108"till byn att den ska visa vissa modellkolumner i en viss ordning, med en "n7031"till vyn att den ska visa vissa modellkolumner i en viss ordning, med en "
7109"viss kolumntitel."7032"viss kolumntitel."
71107033
7111#. (itstool) path: section/programlisting7034#. (itstool) path: section/programlisting
7112#: C/index-in.docbook:28537035#: C/index-in.docbook:2853
7113#, fuzzy, no-wrap7036#, fuzzy, no-wrap
7178"vår <classname>TreeModelColumn</classname> från vilken den genererar en "7101"vår <classname>TreeModelColumn</classname> från vilken den genererar en "
7179"lämplig <classname>Gtk::TreeView::Column</classname>-komponent."7102"lämplig <classname>Gtk::TreeView::Column</classname>-komponent."
71807103
7181#. (itstool) path: section/para7104#. (itstool) path: section/para
7182#: C/index-in.docbook:28857105#: C/index-in.docbook:2885
n7183#, fuzzyn
7184msgid ""7106msgid ""
7185"Here is some example code, which has a pixbuf icon and a text name in the "7107"Here is some example code, which has a pixbuf icon and a text name in the "
7186"same column:"7108"same column:"
7187msgstr ""7109msgstr ""
7188"Här är lite exempelkod som har en pixbuf-ikon och ett textnamn i samma "7110"Här är lite exempelkod som har en pixbuf-ikon och ett textnamn i samma "
7202"m_TreeView.append_column(*pColumn);</code>"7124"m_TreeView.append_column(*pColumn);</code>"
7203msgstr ""7125msgstr ""
7204"\n"7126"\n"
7205"auto pColumn = Gtk::make_managed&lt;Gtk::TreeView::Column&gt;(\"Ikonnamn\");\n"7127"auto pColumn = Gtk::make_managed&lt;Gtk::TreeView::Column&gt;(\"Ikonnamn\");\n"
7206"\n"7128"\n"
n7207"// m_columns.icon and m_columns.iconname are columns in the model.\n"n7129"// m_columns.icon och m_columns.iconname är kolumner i modellen.\n"
7208"// pColumn is the column in the TreeView:\n"7130"// pColumn är kolumnen i vår TreeView:\n"
7209"pColumn-&gt;pack_start(m_columns.icon, /* expand= */ false);\n"7131"pColumn-&gt;pack_start(m_columns.icon, /* expand= */ false);\n"
7210"pColumn-&gt;pack_start(m_columns.iconname);\n"7132"pColumn-&gt;pack_start(m_columns.iconname);\n"
7211"\n"7133"\n"
7212"m_TreeView.append_column(*pColumn);"7134"m_TreeView.append_column(*pColumn);"
72137135
7759"classname> eller <classname>Gtk::TreeModel::Row</classname>, så här:"7681"classname> eller <classname>Gtk::TreeModel::Row</classname>, så här:"
77607682
7761#. (itstool) path: section/programlisting7683#. (itstool) path: section/programlisting
7762#: C/index-in.docbook:31267684#: C/index-in.docbook:3126
7763#, fuzzy, no-wrap7685#, fuzzy, no-wrap
nn7686#| msgid ""
7687#| "auto row = m_refModel-&gt;children()[5]; //The sixth row.\n"
7688#| "if(row)\n"
7689#| "  refTreeSelection-&gt;select(row.get_iter());"
7764msgid ""7690msgid ""
7765"<code>auto row = m_refModel-&gt;children()[5]; //The sixth row.\n"7691"<code>auto row = m_refModel-&gt;children()[5]; //The sixth row.\n"
7766"if(row)\n"7692"if(row)\n"
7767"  refTreeSelection-&gt;select(row.get_iter());</code>"7693"  refTreeSelection-&gt;select(row.get_iter());</code>"
7768msgstr ""7694msgstr ""
7810"<methodname>set_sort_func()</methodname> för att implementera en mer "7736"<methodname>set_sort_func()</methodname> för att implementera en mer "
7811"komplicerad sorteringsalgoritm."7737"komplicerad sorteringsalgoritm."
78127738
7813#. (itstool) path: section/para7739#. (itstool) path: section/para
7814#: C/index-in.docbook:31457740#: C/index-in.docbook:3145
n7815#, fuzzyn
7816#| msgid ""
7817#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
7818#| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"
7819msgid ""7741msgid ""
7820"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"7742"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
7821"classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"7743"classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>"
7822msgstr ""7744msgstr ""
n7823"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n7745"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
7824"classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>"7746"classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>"
78257747
7826#. (itstool) path: section/title7748#. (itstool) path: section/title
7827#: C/index-in.docbook:31487749#: C/index-in.docbook:3148
7828msgid "Sorting by clicking on columns"7750msgid "Sorting by clicking on columns"
7961"  }\n"7883"  }\n"
7962"}"7884"}"
79637885
7964#. (itstool) path: section/para7886#. (itstool) path: section/para
7965#: C/index-in.docbook:31897887#: C/index-in.docbook:3189
n7966#, fuzzyn
7967#| msgid ""
7968#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
7969#| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"
7970msgid ""7888msgid ""
7971"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"7889"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
7972"classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"7890"classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>"
7973msgstr ""7891msgstr ""
n7974"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n7892"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
7975"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"7893"classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>"
79767894
7977#. (itstool) path: section/title7895#. (itstool) path: section/title
7978#. (itstool) path: chapter/title7896#. (itstool) path: chapter/title
7979#. (itstool) path: figure/title7897#. (itstool) path: figure/title
8041"tillåta eller förbjuda dragning eller släppning genom att returnera "7959"tillåta eller förbjuda dragning eller släppning genom att returnera "
8042"<literal>true</literal> eller <literal>false</literal>."7960"<literal>true</literal> eller <literal>false</literal>."
80437961
8044#. (itstool) path: section/para7962#. (itstool) path: section/para
8045#: C/index-in.docbook:32207963#: C/index-in.docbook:3220
n8046#, fuzzyn
8047msgid "This is demonstrated in the drag_and_drop example."7964msgid "This is demonstrated in the drag_and_drop example."
8048msgstr "Detta demonstreras i dra-och-släpp-exemplet."7965msgstr "Detta demonstreras i dra-och-släpp-exemplet."
80497966
8050#. (itstool) path: section/title7967#. (itstool) path: section/title
8051#: C/index-in.docbook:3226 C/index-in.docbook:33367968#: C/index-in.docbook:3226 C/index-in.docbook:3336
8295"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8212"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8296"master/examples/book/treeview/popup/\">Källkod</link>"8213"master/examples/book/treeview/popup/\">Källkod</link>"
82978214
8298#. (itstool) path: chapter/title8215#. (itstool) path: chapter/title
8299#: C/index-in.docbook:33598216#: C/index-in.docbook:3359
n8300#, fuzzyn
8301#| msgid "The DrawingArea Widget"
8302msgid "The DropDown Widget"8217msgid "The DropDown Widget"
n8303msgstr "DrawingArea-komponenten"n8218msgstr "DropDown-komponenten"
83048219
8305#. (itstool) path: chapter/para8220#. (itstool) path: chapter/para
8306#: C/index-in.docbook:33618221#: C/index-in.docbook:3361
8307msgid ""8222msgid ""
8308"The <classname>DropDown</classname> widget is an alternative to the "8223"The <classname>DropDown</classname> widget is an alternative to the "
8309"deprecated <classname>ComboBox</classname>. It uses list models instead of "8224"deprecated <classname>ComboBox</classname>. It uses list models instead of "
8310"tree models, and the content is displayed using widgets instead of cell "8225"tree models, and the content is displayed using widgets instead of cell "
8311"renderers."8226"renderers."
8312msgstr ""8227msgstr ""
nn8228"Komponenten <classname>DropDown</classname> är ett alternativ till den "
8229"föråldrade <classname>ComboBox</classname>. Den använder listmodeller i "
8230"stället för trädmodeller, och innehållet visas med komponenter i stället för "
8231"cellrenderare."
83138232
8314#. (itstool) path: chapter/para8233#. (itstool) path: chapter/para
8315#: C/index-in.docbook:33668234#: C/index-in.docbook:3366
8316#, fuzzy8235#, fuzzy
8317#| msgid ""8236#| msgid ""
8327"dropdown menu. If appropriate, it can show extra information about each "8246"dropdown menu. If appropriate, it can show extra information about each "
8328"item, such as text, a picture, or a check button. The <classname>DropDown</"8247"item, such as text, a picture, or a check button. The <classname>DropDown</"
8329"classname> widget can optionally have an <classname>Entry</classname> in the "8248"classname> widget can optionally have an <classname>Entry</classname> in the "
8330"dropdown menu, allowing the user to search in a long list."8249"dropdown menu, allowing the user to search in a long list."
8331msgstr ""8250msgstr ""
n8332"<classname>ComboBox</classname>-komponenten erbjuder en lista (eller träd) "n8251"<classname>ComboBox</classname>-komponenten erbjuder en lista (eller ett "
8333"av val i en rullgardinsmeny. Om lämpligt kan den visa extra information om "8252"träd) av val i en rullgardinsmeny. Om lämpligt kan den visa extra "
8334"varje objekt, som text, en bild, en kryssruta eller en förloppsindikator. "8253"information om varje objekt, som text, en bild, en kryssruta eller en "
8335"<classname>ComboBox</classname>-komponenten begränsar vanligen användaren "8254"förloppsindikator. <classname>ComboBox</classname>-komponenten begränsar "
8336"till de tillgängliga valen, men den kan valfritt ha ett <classname>Entry</"8255"vanligen användaren till de tillgängliga valen, men den kan valfritt ha ett "
8337"classname>, som låter användaren mata in godtycklig text om inget av de "8256"<classname>Entry</classname>, som låter användaren mata in godtycklig text "
8338"tillgängliga valen passar."8257"om inget av de tillgängliga valen passar."
83398258
8340#. (itstool) path: chapter/para8259#. (itstool) path: chapter/para
8341#: C/index-in.docbook:33738260#: C/index-in.docbook:3373
8342#, fuzzy8261#, fuzzy
8343msgid ""8262msgid ""
8346"signal handlers connected to a <classname>SignalListItemFactory</classname>. "8265"signal handlers connected to a <classname>SignalListItemFactory</classname>. "
8347"This provides flexibility, but the <classname>StringList</classname> class "8266"This provides flexibility, but the <classname>StringList</classname> class "
8348"provides a simpler text-based specialization in case that flexibility is not "8267"provides a simpler text-based specialization in case that flexibility is not "
8349"required."8268"required."
8350msgstr ""8269msgstr ""
n8351"Listan tillhandahålls via en <classname>TreeModel</classname>, och kolumner "n8270"Listan tillhandahålls via en <classname>Gio::ListModel</classname>, och data "
8352"från denna modell läggs till vyn för ComboBox-komponenten med metoden "8271"från denna modell läggs till vyn för <classname>DropDown</classname>-"
8353"<methodname>ComboBox::pack_start()</methodname>. Detta tillhandahåller "8272"komponenten med signalhanterare anslutna till en "
8354"flexibilitet och typsäkerhet under kompilering, men <classname>ComboBoxText</"8273"<classname>SignalListItemFactory</classname>. Detta tillhandahåller "
8355"classname>-klassen tillhandahåller en enklare textbaserad specialisering om "8274"flexibilitet, men <classname>StringList</classname>-klassen tillhandahåller "
8356"den flexibiliteten inte behövs."8275"en enklare textbaserad specialisering om den flexibiliteten inte behövs."
83578276
8358#. (itstool) path: chapter/para8277#. (itstool) path: chapter/para
8359#: C/index-in.docbook:33808278#: C/index-in.docbook:3380
n8360#, fuzzyn
8361#| msgid ""
8362#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
8363#| "classGtk_1_1Box.html\">Reference</link>"
8364msgid ""8279msgid ""
8365"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"8280"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
8366"classGtk_1_1DropDown.html\">Reference</link>"8281"classGtk_1_1DropDown.html\">Reference</link>"
8367msgstr ""8282msgstr ""
n8368"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Box."n8283"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
8369"html\">Referens</link>"8284"classGtk_1_1DropDown.html\">Referens</link>"
83708285
8371#. (itstool) path: section/title8286#. (itstool) path: section/title
8372#: C/index-in.docbook:3383 C/index-in.docbook:35588287#: C/index-in.docbook:3383 C/index-in.docbook:3558
n8373#, fuzzyn
8374msgid "The model"8288msgid "The model"
8375msgstr "Modellen"8289msgstr "Modellen"
83768290
8377#. (itstool) path: section/para8291#. (itstool) path: section/para
8378#: C/index-in.docbook:33858292#: C/index-in.docbook:3385
8379#, fuzzy8293#, fuzzy
n8380#| msgid ""n
8381#| "The model for a ComboBox can be defined and filled exactly as for a "
8382#| "<classname>TreeView</classname>. For instance, you might derive a "
8383#| "ComboBox class with one integer and one text column, like so:"
8384msgid ""8294msgid ""
8385"The model for a <classname>DropDown</classname> can be defined and filled "8295"The model for a <classname>DropDown</classname> can be defined and filled "
8386"exactly as for a <classname>ListView</classname> or a <classname>ColumnView</"8296"exactly as for a <classname>ListView</classname> or a <classname>ColumnView</"
8387"classname>. It must be a subclass of <classname>Glib::Object</classname>. "8297"classname>. It must be a subclass of <classname>Glib::Object</classname>. "
8388"For instance, you might have a <classname>DropDown</classname> with one "8298"For instance, you might have a <classname>DropDown</classname> with one "
8389"integer and one text column, like so:"8299"integer and one text column, like so:"
8390msgstr ""8300msgstr ""
n8391"Modellen för en ComboBox kan definieras och fyllas i exakt som för en "n8301"Modellen för en <classname>DropDown</classname> kan definieras och fyllas i "
8392"<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med "8302"exakt som för en <classname>ListView</classname> eller en "
8393"ett heltal och en textkolumn, så här:"8303"<classname>ColumnView</classname>. Den måste vara en underklass till "
8304"<classname>Glib::Object</classname>. Exempelvis kan du ha en "
8305"<classname>DropDown</classname> med ett heltal och en textkolumn, så här:"
83948306
8395#. (itstool) path: section/para8307#. (itstool) path: section/para
8396#: C/index-in.docbook:34138308#: C/index-in.docbook:3413
nn8309#, fuzzy
8397msgid ""8310msgid ""
8398"After appending rows to this model, you should provide the model to the "8311"After appending rows to this model, you should provide the model to the "
8399"<classname>DropDown</classname> with the <methodname>set_model()</"8312"<classname>DropDown</classname> with the <methodname>set_model()</"
8400"methodname> method. Unless you use the <classname>StringList</classname> "8313"methodname> method. Unless you use the <classname>StringList</classname> "
8401"model, you also need to set a <classname>ListItemFactory</classname> with "8314"model, you also need to set a <classname>ListItemFactory</classname> with "
8403"dropdown menu to look different from the item in the <classname>DropDown</"8316"dropdown menu to look different from the item in the <classname>DropDown</"
8404"classname> widget, you also need to set a separate "8317"classname> widget, you also need to set a separate "
8405"<classname>ListItemFactory</classname> with <methodname>set_list_factory()</"8318"<classname>ListItemFactory</classname> with <methodname>set_list_factory()</"
8406"methodname>."8319"methodname>."
8407msgstr ""8320msgstr ""
nn8321"Efter att ha lagt till rader till denna modell bör du tillhandahålla "
8322"modellen till vår <classname>DropDown</classname> med metoden "
8323"<methodname>set_model()</methodname>. Om du inte använder modellen "
8324"<classname>StringList</classname> så kommer du också behöva ställa in en "
8325"<classname>ListItemFactory</classname> med <methodname>set_factory()</"
8326"methodname>. Om du vill att objekten i rullgardinsmenyn ska se annorlunda "
8327"från objektet i <classname>DropDown</classname>-komponenten så behöver du "
8328"också ställa in en separat <classname>ListItemFactory</classname> med "
8329"<methodname>set_list_factory()</methodname>."
84088330
8409#. (itstool) path: section/title8331#. (itstool) path: section/title
8410#: C/index-in.docbook:34248332#: C/index-in.docbook:3424
n8411#, fuzzyn
8412msgid "The selected item"8333msgid "The selected item"
n8413msgstr "De markerade raderna"n8334msgstr "Det valda objektet"
84148335
8415#. (itstool) path: section/para8336#. (itstool) path: section/para
8416#: C/index-in.docbook:34268337#: C/index-in.docbook:3426
8417#, fuzzy8338#, fuzzy
8418msgid ""8339msgid ""
8422"get the selected data from the model. For instance, you might read an "8343"get the selected data from the model. For instance, you might read an "
8423"integer ID value from the model, even though you have chosen only to show "8344"integer ID value from the model, even though you have chosen only to show "
8424"the human-readable description in the <classname>DropDown</classname>. For "8345"the human-readable description in the <classname>DropDown</classname>. For "
8425"instance:"8346"instance:"
8426msgstr ""8347msgstr ""
n8427"För att upptäcka vilket objekt, om något, som användaren har valt från en "n8348"För att upptäcka vilket objekt, om något, som användaren har valt från vår "
8428"ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. "8349"<classname>DropDown</classname>, anropa <methodname>DropDown::"
8429"Detta<classname>TreeModel::iterator</classname> returnerar en som du kan "8350"get_selected()</methodname>. Detta returnerar en <type>unsigned int</type> "
8430"dereferera till en <classname>Row</classname> för att läsa värdena i dina "8351"som du kan använda för att få valda data från modellen. Exempelvis kanske du "
8431"kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, "8352"läser ett heltals-ID-värde från modellen, även om du valt att bara visa den "
8432"även om du valt att bara visa den mänskligt läsbara beskrivningen i vår "8353"mänskligt läsbara beskrivningen i vår <classname>DropDown</classname>. Till "
8433"ComboBox. Till exempel:"8354"exempel:"
84348355
8435#. (itstool) path: section/programlisting8356#. (itstool) path: section/programlisting
8436#: C/index-in.docbook:34338357#: C/index-in.docbook:3433
8437#, fuzzy, no-wrap8358#, fuzzy, no-wrap
8438msgid ""8359msgid ""
8445"}\n"8366"}\n"
8446"else\n"8367"else\n"
8447"  set_nothing_chosen(); // Your own function.\n"8368"  set_nothing_chosen(); // Your own function.\n"
8448"</code>"8369"</code>"
8449msgstr ""8370msgstr ""
n8450"Gtk::TreeModel::iterator iter = m_Combo.get_active();\n"n8371"unsigned int sel = m_DropDown.get_selected();\n"
8451"if(iter)\n"8372"if (sel != GTK_INVALID_LIST_POSITION)\n"
8452"{\n"8373"{\n"
n8453"  auto row = *iter;\n"n
8454"\n"
8455"  //Få data för markerad rad, med vår kunskap\n"8374"  // Få data för markerad rad, med vår kunskap om listmodellen:\n"
8456"  //om trädmodellen:\n"8375"  auto id = m_ListStore-&gt;get_item(sel).m_col_id;\n"
8457"  auto id = row[m_Columns.m_col_id];\n"
8458"  set_something_id_chosen(id); //Din egen funktion.\n"8376"  set_some_id_chosen(id); // Din egen funktion.\n"
8459"}\n"8377"}\n"
8460"else\n"8378"else\n"
n8461"  set_nothing_chosen(); //Din egen funktion."n8379"  set_nothing_chosen(); // Din egen funktion.\n"
84628380
8463#. (itstool) path: section/title8381#. (itstool) path: section/title
8464#: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:36588382#: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658
8465msgid "Responding to changes"8383msgid "Responding to changes"
8466msgstr "Svara på ändringar"8384msgstr "Svara på ändringar"
8472"You might need to react to every change of selection in the "8390"You might need to react to every change of selection in the "
8473"<classname>DropDown</classname>, for instance to update other widgets. To do "8391"<classname>DropDown</classname>, for instance to update other widgets. To do "
8474"so, you should connect to <methodname>property_selected().signal_changed()</"8392"so, you should connect to <methodname>property_selected().signal_changed()</"
8475"methodname>. For instance:"8393"methodname>. For instance:"
8476msgstr ""8394msgstr ""
n8477"Du behöver reagera på varje ändring av val i vår ComboBox, till exempel för "n8395"Du kan behöva reagera på varje ändring av val i vår <classname>DropDown</"
8478"att uppdatera andra komponenter. För att göra så bör du hantera signalen "8396"classname>, till exempel för att uppdatera andra komponenter. För att göra "
8479"<literal>changed</literal>. Till exempel:"8397"så bör du ansluta till <methodname>property_selected().signal_changed()</"
8398"methodname>. Till exempel:"
84808399
8481#. (itstool) path: section/programlisting8400#. (itstool) path: section/programlisting
8482#: C/index-in.docbook:34528401#: C/index-in.docbook:3452
8483#, fuzzy, no-wrap8402#, fuzzy, no-wrap
8484#| msgid ""8403#| msgid ""
n8485#| "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n"n8404#| "m_DropDown.property_selected().signal_changed().connect(\n"
8486#| "      &amp;ExampleWindow::on_combo_changed) );"8405#| "  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"
8487msgid ""8406msgid ""
8488"<code>m_DropDown.property_selected().signal_changed().connect(\n"8407"<code>m_DropDown.property_selected().signal_changed().connect(\n"
8489"  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"8408"  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"
8490"</code>"8409"</code>"
8491msgstr ""8410msgstr ""
n8492"m_combo.signal_changed().connect( sigc::mem_fun(*this,\n"n8411"m_DropDown.property_selected().signal_changed().connect(\n"
8493"      &amp;ExampleWindow::on_combo_changed) );"8412"  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"
84948413
8495#. (itstool) path: section/title8414#. (itstool) path: section/title
8496#: C/index-in.docbook:34588415#: C/index-in.docbook:3458
n8497#, fuzzyn
8498msgid "Simple String Example"8416msgid "Simple String Example"
n8499msgstr "Enkelt inmatningsexempel"n8417msgstr "Enkelt stngexempel"
85008418
8501#. (itstool) path: figure/title8419#. (itstool) path: figure/title
8502#: C/index-in.docbook:34618420#: C/index-in.docbook:3461
8503msgid "Simple DropDown"8421msgid "Simple DropDown"
n8504msgstr ""n8422msgstr "Enkel DropDown"
85058423
8506#. (itstool) path: imageobject/imagedata8424#. (itstool) path: imageobject/imagedata
8507#. This is a reference to an external file such as an image or video. When8425#. This is a reference to an external file such as an image or video. When
8508#. the file changes, the md5 hash will change to let you know you need to8426#. the file changes, the md5 hash will change to let you know you need to
8509#. update your localized copy. The msgstr is not used at all. Set it to8427#. update your localized copy. The msgstr is not used at all. Set it to
8513msgctxt "_"8431msgctxt "_"
8514msgid ""8432msgid ""
8515"external ref='figures/dropdown_string.png' "8433"external ref='figures/dropdown_string.png' "
8516"md5='b1689605c645e1ada3040f6df3335c56'"8434"md5='b1689605c645e1ada3040f6df3335c56'"
8517msgstr ""8435msgstr ""
n8518"external ref='figures/printing.png' md5='d4565328475ec89edf5f2230cb3fc5d0'"n8436"external ref='figures/dropdown_string.png' "
8437"md5='b1689605c645e1ada3040f6df3335c56'"
85198438
8520#. (itstool) path: section/para8439#. (itstool) path: section/para
8521#: C/index-in.docbook:34678440#: C/index-in.docbook:3467
n8522#, fuzzyn
8523#| msgid ""
8524#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8525#| "tree/master/examples/book/entry/icon\">Source Code</link>"
8526msgid ""8441msgid ""
8527"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8442"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8528"master/examples/book/dropdown/string\">Source Code</link>"8443"master/examples/book/dropdown/string\">Source Code</link>"
8529msgstr ""8444msgstr ""
8530"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8445"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8531"master/examples/book/entry/icon\">Källkod</link>"n8446"master/examples/book/dropdown/string\">Källkod</link>"
85328447
8533#. (itstool) path: section/title8448#. (itstool) path: section/title
8534#: C/index-in.docbook:34718449#: C/index-in.docbook:3471
8535msgid "Examples with a Search Entry"8450msgid "Examples with a Search Entry"
n8536msgstr ""n8451msgstr "Exempel med ett sökfält"
85378452
8538#. (itstool) path: section/para8453#. (itstool) path: section/para
8539#: C/index-in.docbook:34738454#: C/index-in.docbook:3473
n8540#, fuzzyn
8541#| msgid ""
8542#| "<classname>Gtk::Grid</classname> arranges its child widgets in rows and "
8543#| "columns. Use <methodname>attach()</methodname> and "
8544#| "<methodname>attach_next_to()</methodname> to insert child widgets."
8545msgid ""8455msgid ""
8546"The dropdown menu may contain an <classname>Entry</classname> that allows to "8456"The dropdown menu may contain an <classname>Entry</classname> that allows to "
8547"search for items in the list. Call <methodname>set_enable_search()</"8457"search for items in the list. Call <methodname>set_enable_search()</"
8548"methodname> and <methodname>set_expression()</methodname>. For instance:"8458"methodname> and <methodname>set_expression()</methodname>. For instance:"
8549msgstr ""8459msgstr ""
n8550"<classname>Gtk::Grid</classname> arrangerar sina underordnade komponenter i "n8460"Rullgardinsmeny kan innehålla ett <classname>Entry</classname> som tillåter "
8551"rader och kolumner. Använd <methodname>attach()</methodname> och "8461"sökning efter objekt i listan. Anropa <methodname>set_enable_search()</"
8552"<methodname>attach_next_to()</methodname> för att infoga underordnade "8462"methodname> och <methodname>set_expression()</methodname>. Till exempel:"
8553"komponenter."
85548463
8555#. (itstool) path: section/programlisting8464#. (itstool) path: section/programlisting
8556#: C/index-in.docbook:34778465#: C/index-in.docbook:3477
n8557#, no-wrapn8466#, fuzzy, no-wrap
8467#| msgid ""
8468#| "m_DropDown.set_enable_search(true);\n"
8469#| "auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"
8470#| "  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"
8471#| "m_DropDown.set_expression(expression);\n"
8472#| "\n"
8473#| "//-------\n"
8474#| "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr&lt;Glib::Object
 >Base&gt;&amp; item)\n"
8475#| "{\n"
8476#| "  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"
8477#| "  return col ? col-&gt;m_col_name : \"\";\n"
8478#| "}\n"
8558msgid ""8479msgid ""
8559"<code>m_DropDown.set_enable_search(true);\n"8480"<code>m_DropDown.set_enable_search(true);\n"
8560"auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"8481"auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"
8561"  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"8482"  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"
8562"m_DropDown.set_expression(expression);\n"8483"m_DropDown.set_expression(expression);\n"
8567"  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"8488"  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"
8568"  return col ? col-&gt;m_col_name : \"\";\n"8489"  return col ? col-&gt;m_col_name : \"\";\n"
8569"}\n"8490"}\n"
8570"</code>"8491"</code>"
8571msgstr ""8492msgstr ""
nn8493"m_DropDown.set_enable_search(true);\n"
8494"auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"
8495"  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"
8496"m_DropDown.set_expression(expression);\n"
8497"\n"
8498"//-------\n"
8499"Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr&lt;Glib::ObjectBas
 >e&gt;&amp; item)\n"
8500"{\n"
8501"  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"
8502"  return col ? col-&gt;m_col_name : \"\";\n"
8503"}\n"
85728504
8573#. (itstool) path: section/title8505#. (itstool) path: section/title
8574#: C/index-in.docbook:34918506#: C/index-in.docbook:3491
n8575#, fuzzyn
8576#| msgid "Simple Example"
8577msgid "String Example"8507msgid "String Example"
n8578msgstr "Enkelt exempel"n8508msgstr "Strängexempel"
85798509
8580#. (itstool) path: figure/title8510#. (itstool) path: figure/title
8581#: C/index-in.docbook:34948511#: C/index-in.docbook:3494
8582msgid "Search String"8512msgid "Search String"
n8583msgstr ""n8513msgstr "Sök sträng"
85848514
8585#. (itstool) path: imageobject/imagedata8515#. (itstool) path: imageobject/imagedata
8586#. This is a reference to an external file such as an image or video. When8516#. This is a reference to an external file such as an image or video. When
8587#. the file changes, the md5 hash will change to let you know you need to8517#. the file changes, the md5 hash will change to let you know you need to
8588#. update your localized copy. The msgstr is not used at all. Set it to8518#. update your localized copy. The msgstr is not used at all. Set it to
8596msgctxt "_"8526msgctxt "_"
8597msgid ""8527msgid ""
8598"external ref='figures/dropdown_search_string.png' "8528"external ref='figures/dropdown_search_string.png' "
8599"md5='e130e644e7cfb13a5b90ab1372b17503'"8529"md5='e130e644e7cfb13a5b90ab1372b17503'"
8600msgstr ""8530msgstr ""
n8601"external ref='figures/drawingarea_arcs.png' "n8531"external ref='figures/dropdown_search_string.png' "
8602"md5='d94b40e33b9fab7ea9e2c870b97fcf0c'"8532"md5='e130e644e7cfb13a5b90ab1372b17503'"
86038533
8604#. (itstool) path: section/para8534#. (itstool) path: section/para
8605#: C/index-in.docbook:35008535#: C/index-in.docbook:3500
n8606#, fuzzyn
8607#| msgid ""
8608#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8609#| "tree/master/examples/book/drawingarea/arcs\">Source Code</link>"
8610msgid ""8536msgid ""
8611"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8537"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8612"master/examples/book/dropdown/search_string\">Source Code</link>"8538"master/examples/book/dropdown/search_string\">Source Code</link>"
8613msgstr ""8539msgstr ""
8614"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8540"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8615"master/examples/book/drawingarea/arcs\">Källkod</link>"n8541"master/examples/book/dropdown/search_string\">Källkod</link>"
86168542
8617#. (itstool) path: section/title8543#. (itstool) path: section/title
8618#: C/index-in.docbook:35048544#: C/index-in.docbook:3504
n8619#, fuzzyn
8620#| msgid "Full Example"
8621msgid "Font Example"8545msgid "Font Example"
n8622msgstr "Fullständigt exempel"n8546msgstr "Typsnittsexempel"
86238547
8624#. (itstool) path: section/para8548#. (itstool) path: section/para
8625#: C/index-in.docbook:35068549#: C/index-in.docbook:3506
n8626#, fuzzyn
8627#| msgid ""
8628#| "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</"
8629#| "classname>, <classname>Gtk::MenuItem</classname> and <classname>Gtk::"
8630#| "Switch</classname> implement the <classname>Gtk::Actionable</classname> "
8631#| "interface instead of the removed <classname>Gtk::Activatable</classname> "
8632#| "interface."
8633msgid ""8550msgid ""
8634"This example uses a <classname>Pango::FontMap</classname> as its model. This "8551"This example uses a <classname>Pango::FontMap</classname> as its model. This "
8635"is possible because <classname>Pango::FontMap</classname> implements the "8552"is possible because <classname>Pango::FontMap</classname> implements the "
8636"<classname>Gio::ListModel</classname> interface. Of course you can use a "8553"<classname>Gio::ListModel</classname> interface. Of course you can use a "
8637"<classname>FontDialogButton</classname> instead."8554"<classname>FontDialogButton</classname> instead."
8638msgstr ""8555msgstr ""
n8639"<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</classname>, "n8556"Detta exempel använder en <classname>Pango::FontMap</classname> som sin "
8640"<classname>Gtk::MenuItem</classname> och <classname>Gtk::Switch</classname> "8557"modell. Detta är möjligt för att <classname>Pango::FontMap</classname> "
8641"implementerar <classname>Gtk::Actionable</classname>-gränssnittet i stället "8558"implementerar <classname>Gio::ListModel</classname>-gränssnittet. Du kan "
8642"för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet."8559"förstås använda en <classname>FontDialogButton</classname> i stället."
86438560
8644#. (itstool) path: figure/title8561#. (itstool) path: figure/title
8645#: C/index-in.docbook:3513 C/index-in.docbook:35328562#: C/index-in.docbook:3513 C/index-in.docbook:3532
8646msgid "Search Font"8563msgid "Search Font"
n8647msgstr ""n8564msgstr "Sök typsnitt"
86488565
8649#. (itstool) path: imageobject/imagedata8566#. (itstool) path: imageobject/imagedata
8650#. This is a reference to an external file such as an image or video. When8567#. This is a reference to an external file such as an image or video. When
8651#. the file changes, the md5 hash will change to let you know you need to8568#. the file changes, the md5 hash will change to let you know you need to
8652#. update your localized copy. The msgstr is not used at all. Set it to8569#. update your localized copy. The msgstr is not used at all. Set it to
8656msgctxt "_"8573msgctxt "_"
8657msgid ""8574msgid ""
8658"external ref='figures/dropdown_search_font.png' "8575"external ref='figures/dropdown_search_font.png' "
8659"md5='1733e29c88c19dc6c4cbd1114446ac18'"8576"md5='1733e29c88c19dc6c4cbd1114446ac18'"
8660msgstr ""8577msgstr ""
n8661"external ref='figures/drawingarea_pango_text.png' "n8578"external ref='figures/dropdown_search_font.png' "
8662"md5='07c39668c9dda2ac1f9455caf6e4d16a'"8579"md5='1733e29c88c19dc6c4cbd1114446ac18'"
86638580
8664#. (itstool) path: section/para8581#. (itstool) path: section/para
8665#: C/index-in.docbook:35198582#: C/index-in.docbook:3519
n8666#, fuzzyn
8667#| msgid ""
8668#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8669#| "tree/master/examples/book/paned\">Source Code</link>"
8670msgid ""8583msgid ""
8671"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8584"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8672"master/examples/book/dropdown/search_font\">Source Code</link>"8585"master/examples/book/dropdown/search_font\">Source Code</link>"
8673msgstr ""8586msgstr ""
8674"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8587"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8675"master/examples/book/paned\">Källkod</link>"n8588"master/examples/book/dropdown/search_font\">Källkod</link>"
86768589
8677#. (itstool) path: section/title8590#. (itstool) path: section/title
8678#: C/index-in.docbook:35248591#: C/index-in.docbook:3524
n8679#, fuzzyn
8680#| msgid "Simple Example"
8681msgid "Complex Example"8592msgid "Complex Example"
n8682msgstr "Enkelt exempel"n8593msgstr "Komplext exempel"
86838594
8684#. (itstool) path: section/para8595#. (itstool) path: section/para
8685#: C/index-in.docbook:35268596#: C/index-in.docbook:3526
8686msgid ""8597msgid ""
8687"This is a more complex example with two <classname>SignalListItemFactory</"8598"This is a more complex example with two <classname>SignalListItemFactory</"
8688"classname> objects and their signal handlers. This example would be simpler "8599"classname> objects and their signal handlers. This example would be simpler "
8689"without the checkmark in the dropdown menu."8600"without the checkmark in the dropdown menu."
8690msgstr ""8601msgstr ""
nn8602"Detta är ett mer komplext exempel med två <classname>SignalListItemFactory</"
8603"classname>-objekt och deras signalhanterare. Detta exempel skulle vara "
8604"enklare utan bocken i rullgardinsmenyn."
86918605
8692#. (itstool) path: imageobject/imagedata8606#. (itstool) path: imageobject/imagedata
8693#. This is a reference to an external file such as an image or video. When8607#. This is a reference to an external file such as an image or video. When
8694#. the file changes, the md5 hash will change to let you know you need to8608#. the file changes, the md5 hash will change to let you know you need to
8695#. update your localized copy. The msgstr is not used at all. Set it to8609#. update your localized copy. The msgstr is not used at all. Set it to
8699msgctxt "_"8613msgctxt "_"
8700msgid ""8614msgid ""
8701"external ref='figures/dropdown_complex.png' "8615"external ref='figures/dropdown_complex.png' "
8702"md5='2167fb44e42653aa7fd855604c4c1e65'"8616"md5='2167fb44e42653aa7fd855604c4c1e65'"
8703msgstr ""8617msgstr ""
n8704"external ref='figures/combobox_complex.png' "n8618"external ref='figures/dropdown_complex.png' "
8705"md5='ec96e29fe85caef072868284443e413e'"8619"md5='2167fb44e42653aa7fd855604c4c1e65'"
87068620
8707#. (itstool) path: section/para8621#. (itstool) path: section/para
8708#: C/index-in.docbook:35388622#: C/index-in.docbook:3538
n8709#, fuzzyn
8710#| msgid ""
8711#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8712#| "tree/master/examples/book/combobox/complex\">Source Code</link>"
8713msgid ""8623msgid ""
8714"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8624"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8715"master/examples/book/dropdown/complex\">Source Code</link>"8625"master/examples/book/dropdown/complex\">Source Code</link>"
8716msgstr ""8626msgstr ""
8717"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8627"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8718"master/examples/book/combobox/complex\">Källkod</link>"n8628"master/examples/book/dropdown/complex\">Källkod</link>"
87198629
8720#. (itstool) path: chapter/title8630#. (itstool) path: chapter/title
8721#: C/index-in.docbook:35438631#: C/index-in.docbook:3543
8722msgid "Combo Boxes"8632msgid "Combo Boxes"
8723msgstr "Kombinationsrutor"8633msgstr "Kombinationsrutor"
87248634
8725#. (itstool) path: note/para8635#. (itstool) path: note/para
8726#: C/index-in.docbook:35458636#: C/index-in.docbook:3545
n8727#, fuzzyn
8728#| msgid ""
8729#| "<classname>Gdk::DrawContext</classname> and <classname>Gdk::CairoContext</"
8730#| "classname> are new. <classname>Gdk::DrawingContext</classname> has been "
8731#| "removed."
8732msgid ""8637msgid ""
8733"<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</"8638"<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</"
8734"classname> are deprecated since <application>gtkmm</application> 4.10. Use "8639"classname> are deprecated since <application>gtkmm</application> 4.10. Use "
8735"<classname>Gtk::DropDown</classname> in new code."8640"<classname>Gtk::DropDown</classname> in new code."
8736msgstr ""8641msgstr ""
n8737"<classname>Gdk::DrawContext</classname> och <classname>Gdk::CairoContext</"n8642"<classname>Gtk::ComboBox</classname> och <classname>Gtk::ComboBoxText</"
8738"classname> är nya. <classname>Gdk::DrawingContext</classname> har tagits "8643"classname> är föråldrade sedan <application>gtkmm</application> 4.10. Använd "
8739"bort."8644"<classname>Gtk::DropDown</classname> i ny kod."
87408645
8741#. (itstool) path: chapter/para8646#. (itstool) path: chapter/para
8742#: C/index-in.docbook:35498647#: C/index-in.docbook:3549
8743msgid ""8648msgid ""
8744"The <classname>ComboBox</classname> widget offers a list (or tree) of "8649"The <classname>ComboBox</classname> widget offers a list (or tree) of "
8747"The <classname>ComboBox</classname> widget usually restricts the user to the "8652"The <classname>ComboBox</classname> widget usually restricts the user to the "
8748"available choices, but it can optionally have an <classname>Entry</"8653"available choices, but it can optionally have an <classname>Entry</"
8749"classname>, allowing the user to enter arbitrary text if none of the "8654"classname>, allowing the user to enter arbitrary text if none of the "
8750"available choices are suitable."8655"available choices are suitable."
8751msgstr ""8656msgstr ""
n8752"<classname>ComboBox</classname>-komponenten erbjuder en lista (eller träd) "n8657"<classname>ComboBox</classname>-komponenten erbjuder en lista (eller ett "
8753"av val i en rullgardinsmeny. Om lämpligt kan den visa extra information om "8658"träd) av val i en rullgardinsmeny. Om lämpligt kan den visa extra "
8754"varje objekt, som text, en bild, en kryssruta eller en förloppsindikator. "8659"information om varje objekt, som text, en bild, en kryssruta eller en "
8755"<classname>ComboBox</classname>-komponenten begränsar vanligen användaren "8660"förloppsindikator. <classname>ComboBox</classname>-komponenten begränsar "
8756"till de tillgängliga valen, men den kan valfritt ha ett <classname>Entry</"8661"vanligen användaren till de tillgängliga valen, men den kan valfritt ha ett "
8757"classname>, som låter användaren mata in godtycklig text om inget av de "8662"<classname>Entry</classname>, som låter användaren mata in godtycklig text "
8758"tillgängliga valen passar."8663"om inget av de tillgängliga valen passar."
87598664
8760#. (itstool) path: chapter/para8665#. (itstool) path: chapter/para
8761#: C/index-in.docbook:35528666#: C/index-in.docbook:3552
8762#, fuzzy8667#, fuzzy
8763msgid ""8668msgid ""
8775"classname>-klassen tillhandahåller en enklare textbaserad specialisering om "8680"classname>-klassen tillhandahåller en enklare textbaserad specialisering om "
8776"den flexibiliteten inte behövs."8681"den flexibiliteten inte behövs."
87778682
8778#. (itstool) path: chapter/para8683#. (itstool) path: chapter/para
8779#: C/index-in.docbook:35558684#: C/index-in.docbook:3555
n8780#, fuzzyn
8781#| msgid ""
8782#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
8783#| "classGtk_1_1ComboBox.html\">Reference</link>"
8784msgid ""8685msgid ""
8785"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"8686"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
8786"classGtk_1_1ComboBox.html\">Reference</link>"8687"classGtk_1_1ComboBox.html\">Reference</link>"
8787msgstr ""8688msgstr ""
n8788"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n8689"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
8789"classGtk_1_1ComboBox.html\">Referens</link>"8690"classGtk_1_1ComboBox.html\">Referens</link>"
87908691
8791#. (itstool) path: section/para8692#. (itstool) path: section/para
8792#: C/index-in.docbook:35608693#: C/index-in.docbook:3560
8793msgid ""8694msgid ""
9271"<classname>TextBuffer</classname>, som du kan komma åt genom metoden "9172"<classname>TextBuffer</classname>, som du kan komma åt genom metoden "
9272"<methodname>get_buffer()</methodname>."9173"<methodname>get_buffer()</methodname>."
92739174
9274#. (itstool) path: section/para9175#. (itstool) path: section/para
9275#: C/index-in.docbook:37529176#: C/index-in.docbook:3752
n9276#, fuzzyn
9277#| msgid ""
9278#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9279#| "classGtk_1_1TextBuffer.html\">Reference</link>"
9280msgid ""9177msgid ""
9281"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9178"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9282"classGtk_1_1TextBuffer.html\">Reference</link>"9179"classGtk_1_1TextBuffer.html\">Reference</link>"
9283msgstr ""9180msgstr ""
n9284"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9181"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9285"classGtk_1_1TextBuffer.html\">Referens</link>"9182"classGtk_1_1TextBuffer.html\">Referens</link>"
92869183
9287#. (itstool) path: section/title9184#. (itstool) path: section/title
9288#: C/index-in.docbook:37559185#: C/index-in.docbook:3755
9289msgid "Iterators"9186msgid "Iterators"
9309"positioner genom buffertändringar. För att bevara en position, använd "9206"positioner genom buffertändringar. För att bevara en position, använd "
9310"<classname>Gtk::TextBuffer::Mark</classname>."9207"<classname>Gtk::TextBuffer::Mark</classname>."
93119208
9312#. (itstool) path: section/para9209#. (itstool) path: section/para
9313#: C/index-in.docbook:37649210#: C/index-in.docbook:3764
n9314#, fuzzyn
9315#| msgid ""
9316#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9317#| "classGtk_1_1TextIter.html\">Reference</link>"
9318msgid ""9211msgid ""
9319"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9212"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9320"classGtk_1_1TextIter.html\">Reference</link>"9213"classGtk_1_1TextIter.html\">Reference</link>"
9321msgstr ""9214msgstr ""
n9322"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9215"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9323"classGtk_1_1TextIter.html\">Referens</link>"9216"classGtk_1_1TextIter.html\">Referens</link>"
93249217
9325#. (itstool) path: section/title9218#. (itstool) path: section/title
9326#: C/index-in.docbook:37689219#: C/index-in.docbook:3768
9327msgid "Tags and Formatting"9220msgid "Tags and Formatting"
9374msgid "The <classname>Tag</classname> class has many other properties."9267msgid "The <classname>Tag</classname> class has many other properties."
9375msgstr "Klassen <classname>Tag</classname> har många andra egenskaper."9268msgstr "Klassen <classname>Tag</classname> har många andra egenskaper."
93769269
9377#. (itstool) path: section/para9270#. (itstool) path: section/para
9378#: C/index-in.docbook:37879271#: C/index-in.docbook:3787
n9379#, fuzzyn
9380#| msgid ""
9381#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9382#| "classGtk_1_1TextTag.html\">Reference</link>"
9383msgid ""9272msgid ""
9384"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9273"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9385"classGtk_1_1TextTag.html\">Reference</link>"9274"classGtk_1_1TextTag.html\">Reference</link>"
9386msgstr ""9275msgstr ""
n9387"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9276"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9388"classGtk_1_1TextTag.html\">Referens</link>"9277"classGtk_1_1TextTag.html\">Referens</link>"
93899278
9390#. (itstool) path: section/title9279#. (itstool) path: section/title
9391#: C/index-in.docbook:37929280#: C/index-in.docbook:3792
9392msgid "TagTable"9281msgid "TagTable"
9438"och kanske modifiera, <classname>TextBuffer</classname>tens "9327"och kanske modifiera, <classname>TextBuffer</classname>tens "
9439"<classname>TagTable</classname> i stället för att skapa en explicit."9328"<classname>TagTable</classname> i stället för att skapa en explicit."
94409329
9441#. (itstool) path: section/para9330#. (itstool) path: section/para
9442#: C/index-in.docbook:38149331#: C/index-in.docbook:3814
n9443#, fuzzyn
9444#| msgid ""
9445#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9446#| "classGtk_1_1TextTagTable.html\">Reference</link>"
9447msgid ""9332msgid ""
9448"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9333"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9449"classGtk_1_1TextTagTable.html\">Reference</link>"9334"classGtk_1_1TextTagTable.html\">Reference</link>"
9450msgstr ""9335msgstr ""
n9451"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9336"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9452"classGtk_1_1TextTagTable.html\">Referens</link>"9337"classGtk_1_1TextTagTable.html\">Referens</link>"
94539338
9454#. (itstool) path: section/title9339#. (itstool) path: section/title
9455#: C/index-in.docbook:38199340#: C/index-in.docbook:3819
9456msgid "Applying Tags"9341msgid "Applying Tags"
9556"<classname>TextBuffer</classname>tens metoder <methodname>get_insert()</"9441"<classname>TextBuffer</classname>tens metoder <methodname>get_insert()</"
9557"methodname> och <methodname>get_selection_bound()</methodname>."9442"methodname> och <methodname>get_selection_bound()</methodname>."
95589443
9559#. (itstool) path: section/para9444#. (itstool) path: section/para
9560#: C/index-in.docbook:38679445#: C/index-in.docbook:3867
n9561#, fuzzyn
9562#| msgid ""
9563#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9564#| "classGtk_1_1TextMark.html\">Reference</link>"
9565msgid ""9446msgid ""
9566"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9447"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9567"classGtk_1_1TextMark.html\">Reference</link>"9448"classGtk_1_1TextMark.html\">Reference</link>"
9568msgstr ""9449msgstr ""
n9569"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9450"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9570"classGtk_1_1TextMark.html\">Referens</link>"9451"classGtk_1_1TextMark.html\">Referens</link>"
95719452
9572#. (itstool) path: section/para9453#. (itstool) path: section/para
9573#: C/index-in.docbook:38749454#: C/index-in.docbook:3874
9574msgid ""9455msgid ""
9594"för att låta användaren se och gå runt i hela textområdet med "9475"för att låta användaren se och gå runt i hela textområdet med "
9595"rullningslister."9476"rullningslister."
95969477
9597#. (itstool) path: section/para9478#. (itstool) path: section/para
9598#: C/index-in.docbook:38889479#: C/index-in.docbook:3888
n9599#, fuzzyn
9600#| msgid ""
9601#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9602#| "classGtk_1_1TextView.html\">Reference</link>"
9603msgid ""9480msgid ""
9604"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9481"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9605"classGtk_1_1TextView.html\">Reference</link>"9482"classGtk_1_1TextView.html\">Reference</link>"
9606msgstr ""9483msgstr ""
n9607"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9484"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9608"classGtk_1_1TextView.html\">Referens</link>"9485"classGtk_1_1TextView.html\">Referens</link>"
96099486
9610#. (itstool) path: section/title9487#. (itstool) path: section/title
9611#: C/index-in.docbook:38919488#: C/index-in.docbook:3891
9612msgid "Default formatting"9489msgid "Default formatting"
9696msgid "<code>m_TextView.add_child_at_anchor(m_Button, refAnchor);</code>"9573msgid "<code>m_TextView.add_child_at_anchor(m_Button, refAnchor);</code>"
9697msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);"9574msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);"
96989575
9699#. (itstool) path: section/para9576#. (itstool) path: section/para
9700#: C/index-in.docbook:39389577#: C/index-in.docbook:3938
n9701#, fuzzyn
9702#| msgid ""
9703#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
9704#| "classGtk_1_1TextChildAnchor.html\">Reference</link>"
9705msgid ""9578msgid ""
9706"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"9579"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9707"classGtk_1_1TextChildAnchor.html\">Reference</link>"9580"classGtk_1_1TextChildAnchor.html\">Reference</link>"
9708msgstr ""9581msgstr ""
n9709"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n9582"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
9710"classGtk_1_1TextChildAnchor.html\">Referens</link>"9583"classGtk_1_1TextChildAnchor.html\">Referens</link>"
97119584
9712#. (itstool) path: imageobject/imagedata9585#. (itstool) path: imageobject/imagedata
9713#. This is a reference to an external file such as an image or video. When9586#. This is a reference to an external file such as an image or video. When
9714#. the file changes, the md5 hash will change to let you know you need to9587#. the file changes, the md5 hash will change to let you know you need to
9769msgid "Menus and Toolbars"9642msgid "Menus and Toolbars"
9770msgstr "Menyer och verktygsfält"9643msgstr "Menyer och verktygsfält"
97719644
9772#. (itstool) path: chapter/para9645#. (itstool) path: chapter/para
9773#: C/index-in.docbook:39759646#: C/index-in.docbook:3975
n9774#, fuzzyn
9775msgid ""9647msgid ""
9776"There are specific APIs for menus and toolbars, but you should usually deal "9648"There are specific APIs for menus and toolbars, but you should usually deal "
9777"with them together, creating <classname>Gio::SimpleAction</classname>s that "9649"with them together, creating <classname>Gio::SimpleAction</classname>s that "
9778"you can refer to in both menus and toolbars. In this way you can handle "9650"you can refer to in both menus and toolbars. In this way you can handle "
9779"activation of the action instead of responding to the menu and toolbar items "9651"activation of the action instead of responding to the menu and toolbar items "
9789"inaktivera både menyns och verktygsfältets objekt via åtgärden. "9661"inaktivera både menyns och verktygsfältets objekt via åtgärden. "
9790"<classname>Gtk::Builder</classname> kan skapa menyer och verktygsfält."9662"<classname>Gtk::Builder</classname> kan skapa menyer och verktygsfält."
97919663
9792#. (itstool) path: chapter/para9664#. (itstool) path: chapter/para
9793#: C/index-in.docbook:39839665#: C/index-in.docbook:3983
n9794#, fuzzyn
9795msgid ""9666msgid ""
9796"This involves the use of the <classname>Gio::SimpleActionGroup</classname>, "9667"This involves the use of the <classname>Gio::SimpleActionGroup</classname>, "
9797"<classname>Gio::SimpleAction</classname> and <classname>Gtk::Builder</"9668"<classname>Gio::SimpleAction</classname> and <classname>Gtk::Builder</"
9798"classname> classes, all of which should be instantiated via their "9669"classname> classes, all of which should be instantiated via their "
9799"<methodname>create()</methodname> methods, which return <classname>RefPtr</"9670"<methodname>create()</methodname> methods, which return <classname>RefPtr</"
9805"<methodname>create()</methodname>-metoder, vilka returnerar "9676"<methodname>create()</methodname>-metoder, vilka returnerar "
9806"<classname>RefPtr</classname>-pekare."9677"<classname>RefPtr</classname>-pekare."
98079678
9808#. (itstool) path: section/title9679#. (itstool) path: section/title
9809#: C/index-in.docbook:39919680#: C/index-in.docbook:3991
n9810#, fuzzyn
9811msgid "Actions"9681msgid "Actions"
9812msgstr "Åtgärder"9682msgstr "Åtgärder"
98139683
9814#. (itstool) path: section/para9684#. (itstool) path: section/para
9815#: C/index-in.docbook:39939685#: C/index-in.docbook:3993
n9816#, fuzzyn
9817msgid ""9686msgid ""
9818"First create the <classname>Gio::SimpleAction</classname>s and add them to a "9687"First create the <classname>Gio::SimpleAction</classname>s and add them to a "
9819"<classname>Gio::SimpleActionGroup</classname>, with <methodname>Gio::"9688"<classname>Gio::SimpleActionGroup</classname>, with <methodname>Gio::"
9820"ActionMap::add_action()</methodname>. (<classname>Gio::ActionMap</classname> "9689"ActionMap::add_action()</methodname>. (<classname>Gio::ActionMap</classname> "
9821"is a base class of <classname>Gio::SimpleActionGroup</classname>.) Then add "9690"is a base class of <classname>Gio::SimpleActionGroup</classname>.) Then add "
9822"the action group to your window with <methodname>Gtk::Widget::"9691"the action group to your window with <methodname>Gtk::Widget::"
9823"insert_action_group()</methodname>."9692"insert_action_group()</methodname>."
9824msgstr ""9693msgstr ""
9825"Skapa först <classname>Gio::SimpleAction</classname>-åtgärder och lägg till "9694"Skapa först <classname>Gio::SimpleAction</classname>-åtgärder och lägg till "
n9826"dem till en <classname>Gio::SimpleActionGroup</classname>, med "n9695"dem till en <classname>Gio::SimpleActionGroup</classname> med "
9827"<methodname>Gio::ActionMap::add_action()</methodname>. (<classname>Gio::"9696"<methodname>Gio::ActionMap::add_action()</methodname>. (<classname>Gio::"
9828"ActionMap</classname> är en basklass för <classname>Gio::SimpleActionGroup</"9697"ActionMap</classname> är en basklass för <classname>Gio::SimpleActionGroup</"
9829"classname>.) Lägg sedan till åtgärdsgruppen till ditt fönster med "9698"classname>.) Lägg sedan till åtgärdsgruppen till ditt fönster med "
9830"<methodname>Gtk::Widget::insert_action_group()</methodname>."9699"<methodname>Gtk::Widget::insert_action_group()</methodname>."
98319700
9889msgid "Menubar and Toolbar"9758msgid "Menubar and Toolbar"
9890msgstr "Menyrad och verktygsfält"9759msgstr "Menyrad och verktygsfält"
98919760
9892#. (itstool) path: section/para9761#. (itstool) path: section/para
9893#: C/index-in.docbook:40339762#: C/index-in.docbook:4033
n9894#, fuzzyn
9895msgid ""9763msgid ""
9896"Next you should create a <classname>Gtk::Builder</classname>. At this point "9764"Next you should create a <classname>Gtk::Builder</classname>. At this point "
9897"is also a good idea to tell the application to respond to keyboard "9765"is also a good idea to tell the application to respond to keyboard "
9898"shortcuts, by using <methodname>Gtk::Application::set_accel_for_action()</"9766"shortcuts, by using <methodname>Gtk::Application::set_accel_for_action()</"
9899"methodname>."9767"methodname>."
9900msgstr ""9768msgstr ""
n9901"Härnäst bör du skapa en <classname>Gtk::Builder</classname>. Vid detta "n9769"Härnäst ska du skapa en <classname>Gtk::Builder</classname>. Vid detta "
9902"tillfälle är det också en bra idé att säga till programmet att svara på "9770"tillfälle är det också en bra idé att säga till programmet att svara på "
9903"tangentbordsgenvägar genom att använda <methodname>Gtk::Application::"9771"tangentbordsgenvägar genom att använda <methodname>Gtk::Application::"
9904"set_accel_for_action()</methodname>."9772"set_accel_for_action()</methodname>."
99059773
9906#. (itstool) path: section/para9774#. (itstool) path: section/para
10024msgid ""9892msgid ""
10025"This is where we specify the names of the menu items as they will be seen by "9893"This is where we specify the names of the menu items as they will be seen by "
10026"users in the menu. Therefore, this is where you should make strings "9894"users in the menu. Therefore, this is where you should make strings "
10027"translatable, by adding <literal>translatable='yes'</literal>."9895"translatable, by adding <literal>translatable='yes'</literal>."
10028msgstr ""9896msgstr ""
n10029"Här är var vi anger namnen för menyobjekten som de kommer ses av användare i "n9897"Här anger vi namnen för menyobjekten som de kommer ses av användare i menyn. "
10030"menyn. Det är därför här som du ska göra strängar översättbara genom att "9898"Det är därför här som du ska göra strängar översättbara genom att lägga till "
10031"lägga till <literal>translatable='yes'</literal>."9899"<literal>translatable='yes'</literal>."
100329900
10033#. (itstool) path: section/para9901#. (itstool) path: section/para
10034#: C/index-in.docbook:41059902#: C/index-in.docbook:4105
10035#, fuzzy9903#, fuzzy
10036msgid ""9904msgid ""
10153"To show the popup menu, use a <classname>Gtk::GestureClick</classname> and "10021"To show the popup menu, use a <classname>Gtk::GestureClick</classname> and "
10154"connect to its <literal>pressed</literal> signal. In the signal handler, use "10022"connect to its <literal>pressed</literal> signal. In the signal handler, use "
10155"<classname>Gtk::PopoverMenu</classname>'s <methodname>popup()</methodname> "10023"<classname>Gtk::PopoverMenu</classname>'s <methodname>popup()</methodname> "
10156"method. For instance:"10024"method. For instance:"
10157msgstr ""10025msgstr ""
n10158"För att visa poppuppmenyn, använd en <classname>Gtk::EventControllerClick</"n10026"Använd för att visa poppuppmenyn en <classname>Gtk::EventControllerClick</"
10159"classname> och anslut till dess <literal>pressed</literal>-signal. Använd i "10027"classname> och anslut till dess <literal>pressed</literal>-signal. Använd i "
10160"signalhanteraren <classname>Gtk::PopoverMenu</classname>s "10028"signalhanteraren <classname>Gtk::PopoverMenu</classname>s "
10161"<methodname>popup()</methodname>-metod. Till exempel:"10029"<methodname>popup()</methodname>-metod. Till exempel:"
1016210030
10163#. (itstool) path: section/programlisting10031#. (itstool) path: section/programlisting
10164#: C/index-in.docbook:416610032#: C/index-in.docbook:4166
10165#, fuzzy, no-wrap10033#, fuzzy, no-wrap
nn10034#| msgid ""
10035#| "\n"
10036#| "void ExampleWindow::on_label_pressed(int /* n_press */, double x, double y)\
 >n"
10037#| "{\n"
10038#| "  const Gdk::Rectangle rect(x, y, 1, 1);\n"
10039#| "  m_MenuPopup.set_pointing_to(rect);\n"
10040#| "  m_MenuPopup.popup();\n"
10041#| "}"
10166msgid ""10042msgid ""
10167"<code>void ExampleWindow::on_label_pressed(int /* n_press */, double x, double 10043"<code>void ExampleWindow::on_label_pressed(int /* n_press */, double x, double 
>y)\n">y)\n"
10168"{\n"10044"{\n"
10169"  const Gdk::Rectangle rect(x, y, 1, 1);\n"10045"  const Gdk::Rectangle rect(x, y, 1, 1);\n"
10170"  m_MenuPopup.set_pointing_to(rect);\n"10046"  m_MenuPopup.set_pointing_to(rect);\n"
10229"det också lättare att skapa flyttbara program."10105"det också lättare att skapa flyttbara program."
1023010106
10231#. (itstool) path: section/para10107#. (itstool) path: section/para
10232#: C/index-in.docbook:419810108#: C/index-in.docbook:4198
10233#, fuzzy10109#, fuzzy
nn10110#| msgid ""
10111#| "Resource bundles are created by the <link xlink:href=\"https://developer-"
10112#| "old.gnome.org/gio/stable/glib-compile-resources.html\">glib-compile-"
10113#| "resources</link> program which takes an xml file that describes the "
10114#| "bundle, and a set of files that the xml references. These are combined "
10115#| "into a binary resource bundle."
10234msgid ""10116msgid ""
10235"Resource bundles are created by the <application>glib-compile-resources</"10117"Resource bundles are created by the <application>glib-compile-resources</"
10236"application> program which takes an xml file that describes the bundle, and "10118"application> program which takes an xml file that describes the bundle, and "
10237"a set of files that the xml references. These are combined into a binary "10119"a set of files that the xml references. These are combined into a binary "
10238"resource bundle."10120"resource bundle."
10242"link> som tar en xml-fil som beskriver bunten, och en uppsättning filer som "10124"link> som tar en xml-fil som beskriver bunten, och en uppsättning filer som "
10243"xml-filen refererar till. Dessa kombineras till en binär resursbunt."10125"xml-filen refererar till. Dessa kombineras till en binär resursbunt."
1024410126
10245#. (itstool) path: section/para10127#. (itstool) path: section/para
10246#: C/index-in.docbook:420310128#: C/index-in.docbook:4203
n10247#, fuzzyn
10248#| msgid ""
10249#| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"
10250#| "classGio_1_1Resource.html\">Gio::Resource Reference</link>"
10251msgid ""10129msgid ""
10252"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"10130"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
10253"classGio_1_1Resource.html\">Gio::Resource Reference</link>"10131"classGio_1_1Resource.html\">Gio::Resource Reference</link>"
10254msgstr ""10132msgstr ""
n10255"<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n10133"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
10256"classGio_1_1Resource.html\">Referens för Gio::Resource</link>"10134"classGio_1_1Resource.html\">Referens för Gio::Resource</link>"
1025710135
10258#. (itstool) path: section/para10136#. (itstool) path: section/para
10259#: C/index-in.docbook:420410137#: C/index-in.docbook:4204
10260#, fuzzy10138#, fuzzy
10382"Klasser härleds från <classname>Gtk::Application</classname> och "10260"Klasser härleds från <classname>Gtk::Application</classname> och "
10383"<classname>Gtk::ApplicationWindow</classname>."10261"<classname>Gtk::ApplicationWindow</classname>."
1038410262
10385#. (itstool) path: figure/title10263#. (itstool) path: figure/title
10386#: C/index-in.docbook:425610264#: C/index-in.docbook:4256
n10387#, fuzzyn
10388msgid "App and Main Menu"10265msgid "App and Main Menu"
10389msgstr "Program- och huvudmeny"10266msgstr "Program- och huvudmeny"
1039010267
10391#. (itstool) path: imageobject/imagedata10268#. (itstool) path: imageobject/imagedata
10392#. This is a reference to an external file such as an image or video. When10269#. This is a reference to an external file such as an image or video. When
10415msgid "Main Menu example"10292msgid "Main Menu example"
10416msgstr "Exempel på huvudmeny"10293msgstr "Exempel på huvudmeny"
1041710294
10418#. (itstool) path: section/para10295#. (itstool) path: section/para
10419#: C/index-in.docbook:426810296#: C/index-in.docbook:4268
n10420#, fuzzyn
10421msgid ""10297msgid ""
10422"This program contains a menubar and a toolbar. A class is derived from "10298"This program contains a menubar and a toolbar. A class is derived from "
10423"<classname>Gtk::Window</classname>."10299"<classname>Gtk::Window</classname>."
10424msgstr ""10300msgstr ""
n10425"Detta program innehåller en menyrad och ett verktygsfält. En klass är "n10301"Detta program innehåller en menyrad och ett verktygsfält. En klass härleds "
10426"härledd från <classname>Gtk::Window</classname>."10302"från <classname>Gtk::Window</classname>."
1042710303
10428#. (itstool) path: figure/title10304#. (itstool) path: figure/title
10429#: C/index-in.docbook:427410305#: C/index-in.docbook:4274
10430msgid "Main Menu"10306msgid "Main Menu"
10431msgstr "Huvudmeny"10307msgstr "Huvudmeny"
10700"and <methodname>set_value()</methodname> methods:"10576"and <methodname>set_value()</methodname> methods:"
10701msgstr ""10577msgstr ""
10702"OK, då säger du att det var väl fint, men om jag vill skapa mina egna "10578"OK, då säger du att det var väl fint, men om jag vill skapa mina egna "
10703"hanterare för att svara när användaren justerar en <classname>Range</"10579"hanterare för att svara när användaren justerar en <classname>Range</"
10704"classname>-komponent eller en <classname>SpinButton</classname> då? För att "10580"classname>-komponent eller en <classname>SpinButton</classname> då? För att "
n10705"komma åt värdet på en <classname>Gtk::Adjustment</classname>, kan du använda "n10581"komma åt värdet på en <classname>Gtk::Adjustment</classname> kan du använda "
10706"metoderna <methodname>get_value()</methodname> och <methodname>set_value()</"10582"metoderna <methodname>get_value()</methodname> och <methodname>set_value()</"
10707"methodname>:"10583"methodname>:"
1070810584
10709#. (itstool) path: section/para10585#. (itstool) path: section/para
10710#: C/index-in.docbook:440610586#: C/index-in.docbook:4406
10826"used in <application>gtkmm</application>4 applications, provided "10702"used in <application>gtkmm</application>4 applications, provided "
10827"GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some "10703"GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some "
10828"of the dialog classes are replaced by classes that are available since "10704"of the dialog classes are replaced by classes that are available since "
10829"<application>gtkmm</application> 4.10."10705"<application>gtkmm</application> 4.10."
10830msgstr ""10706msgstr ""
nn10707"<classname>Gtk::Dialog</classname> och klasserna som härleds från den är "
10708"föråldrade sedan <application>gtkmm</application> 4.10. De kan fortfarande "
10709"användas i <application>gtkmm</application>4-program, förutsatt att "
10710"GTKMM_DISABLE_DEPRECATED och GDKMM_DISABLE_DEPRECATED inte har definierats. "
10711"Några av dialogklasserna ersätts av klasser som finns tillgängliga sedan "
10712"<application>gtkmm</application> 4.10."
1083110713
10832#. (itstool) path: note/para10714#. (itstool) path: note/para
10833#: C/index-in.docbook:446410715#: C/index-in.docbook:4464
10834msgid ""10716msgid ""
10835"The examples in this chapter use classes that are available since "10717"The examples in this chapter use classes that are available since "
10836"<application>gtkmm</application> 4.10. Similar examples with the deprecated "10718"<application>gtkmm</application> 4.10. Similar examples with the deprecated "
10837"classes are available in the <link xlink:href=\"https://gitlab.gnome.org/"10719"classes are available in the <link xlink:href=\"https://gitlab.gnome.org/"
10838"GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> gtkmm-4-0 "10720"GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> gtkmm-4-0 "
10839"branch</link> in the git repository."10721"branch</link> in the git repository."
10840msgstr ""10722msgstr ""
nn10723"Exemplen i detta kapitel använder klasser som finns tillgängliga sedan "
10724"<application>gtkmm</application> 4.10. Liknande exempel med de föråldrade "
10725"klasserna finns tillgängliga i <link xlink:href=\"https://gitlab.gnome.org/"
10726"GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> grenen "
10727"gtkmm-4-0</link> i git-arkivet."
1084110728
10842#. (itstool) path: chapter/para10729#. (itstool) path: chapter/para
10843#: C/index-in.docbook:447010730#: C/index-in.docbook:4470
10844#, fuzzy10731#, fuzzy
10845msgid ""10732msgid ""
10899"kunde det vara det anpassade svarsvärdet som du angivit när du använt "10786"kunde det vara det anpassade svarsvärdet som du angivit när du använt "
10900"<methodname>add_button()</methodname>."10787"<methodname>add_button()</methodname>."
1090110788
10902#. (itstool) path: chapter/para10789#. (itstool) path: chapter/para
10903#: C/index-in.docbook:449910790#: C/index-in.docbook:4499
n10904#, fuzzyn
10905msgid ""10791msgid ""
10906"To show the dialog, call <methodname>set_visible(true)</methodname>. If the "10792"To show the dialog, call <methodname>set_visible(true)</methodname>. If the "
10907"same dialog instance will be shown several times, you must also call "10793"same dialog instance will be shown several times, you must also call "
10908"<methodname>set_hide_on_close()</methodname>, or else the dialog will be "10794"<methodname>set_hide_on_close()</methodname>, or else the dialog will be "
10909"destroyed when it's closed. Connect to the <literal>response</literal> "10795"destroyed when it's closed. Connect to the <literal>response</literal> "
10910"signal, if you want to know which button was pressed. The <literal>response</"10796"signal, if you want to know which button was pressed. The <literal>response</"
10911"literal> signal handler is also where you should hide the dialog."10797"literal> signal handler is also where you should hide the dialog."
10912msgstr ""10798msgstr ""
n10913"För att visa dialogrutan, anropa <methodname>show()</methodname>. Om samma "n10799"För att visa dialogrutan, anropa <methodname>set_visible(true)</methodname>. "
10914"dialoginstans kommer visas flera gånger måste du också anropa "10800"Om samma dialoginstans kommer visas flera gånger måste du också anropa "
10915"<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan "10801"<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan "
10916"förstöras då den stängs. Anslut till <literal>response</literal>-signalen om "10802"förstöras då den stängs. Anslut till <literal>response</literal>-signalen om "
10917"du vill veta vilken knapp som trycktes på. <literal>response</literal>-"10803"du vill veta vilken knapp som trycktes på. <literal>response</literal>-"
10918"signalhanteraren är också var du ska dölja dialogrutan."10804"signalhanteraren är också var du ska dölja dialogrutan."
1091910805
10920#. (itstool) path: chapter/para10806#. (itstool) path: chapter/para
10921#: C/index-in.docbook:450810807#: C/index-in.docbook:4508
n10922#, fuzzyn
10923#| msgid ""
10924#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
10925#| "classGtk_1_1Dialog.html\">Reference</link>"
10926msgid ""10808msgid ""
10927"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"10809"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
10928"classGtk_1_1Dialog.html\">Reference</link>"10810"classGtk_1_1Dialog.html\">Reference</link>"
10929msgstr ""10811msgstr ""
n10930"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10812"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
10931"classGtk_1_1Dialog.html\">Referens</link>"10813"classGtk_1_1Dialog.html\">Referens</link>"
1093210814
10933#. (itstool) path: section/title10815#. (itstool) path: section/title
10934#: C/index-in.docbook:451110816#: C/index-in.docbook:4511
n10935#, fuzzyn
10936#| msgid "MessageDialog"
10937msgid "AlertDialog and MessageDialog"10817msgid "AlertDialog and MessageDialog"
n10938msgstr "MessageDialog"n10818msgstr "AlertDialog och MessageDialog"
1093910819
10940#. (itstool) path: section/para10820#. (itstool) path: section/para
10941#: C/index-in.docbook:451210821#: C/index-in.docbook:4512
10942msgid ""10822msgid ""
10943"<classname>MessageDialog</classname> (deprecated since <application>gtkmm</"10823"<classname>MessageDialog</classname> (deprecated since <application>gtkmm</"
10944"application> 4.10) and <classname>AlertDialog</classname> (available since "10824"application> 4.10) and <classname>AlertDialog</classname> (available since "
10945"<application>gtkmm</application> 4.10) are convenience classes, used to "10825"<application>gtkmm</application> 4.10) are convenience classes, used to "
10946"create simple, standard message dialogs, with a message and buttons for user "10826"create simple, standard message dialogs, with a message and buttons for user "
10947"response."10827"response."
10948msgstr ""10828msgstr ""
nn10829"<classname>MessageDialog</classname> (föråldrad sedan <application>gtkmm</"
10830"application> 4.10) och <classname>AlertDialog</classname> (tillgänglig sedan "
10831"<application>gtkmm</application> 4.10) är bekvämlighetsklasser som används "
10832"för att skapa enkla standardmeddelandedialoger, med ett meddelande och "
10833"knappar för användarsvar."
1094910834
10950#. (itstool) path: section/para10835#. (itstool) path: section/para
10951#: C/index-in.docbook:451910836#: C/index-in.docbook:4519
n10952#, fuzzyn
10953#| msgid ""
10954#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
10955#| "classGtk_1_1AboutDialog.html\">Reference</link>"
10956msgid ""10837msgid ""
10957"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"10838"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
10958"classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>"10839"classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>"
10959msgstr ""10840msgstr ""
n10960"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10841"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
10961"classGtk_1_1AboutDialog.html\">Referens</link>"10842"classGtk_1_1AlertDialog.html\">AlertDialog-referens</link>"
1096210843
10963#. (itstool) path: section/para10844#. (itstool) path: section/para
10964#: C/index-in.docbook:452010845#: C/index-in.docbook:4520
n10965#, fuzzyn
10966#| msgid ""
10967#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
10968#| "classGtk_1_1MessageDialog.html\">Reference</link>"
10969msgid ""10846msgid ""
10970"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"10847"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
10971"classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>"10848"classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>"
10972msgstr ""10849msgstr ""
n10973"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10850"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
10974"classGtk_1_1MessageDialog.html\">Referens</link>"10851"classGtk_1_1MessageDialog.html\">MessageDialog-referens</link>"
1097510852
10976#. (itstool) path: figure/title10853#. (itstool) path: figure/title
10977#: C/index-in.docbook:452610854#: C/index-in.docbook:4526
n10978#, fuzzyn
10979#| msgid "AboutDialog"
10980msgid "AlertDialog"10855msgid "AlertDialog"
n10981msgstr "AboutDialog"n10856msgstr "AlertDialog"
1098210857
10983#. (itstool) path: imageobject/imagedata10858#. (itstool) path: imageobject/imagedata
10984#. This is a reference to an external file such as an image or video. When10859#. This is a reference to an external file such as an image or video. When
10985#. the file changes, the md5 hash will change to let you know you need to10860#. the file changes, the md5 hash will change to let you know you need to
10986#. update your localized copy. The msgstr is not used at all. Set it to10861#. update your localized copy. The msgstr is not used at all. Set it to
10990msgctxt "_"10865msgctxt "_"
10991msgid ""10866msgid ""
10992"external ref='figures/dialogs_alertdialog.png' "10867"external ref='figures/dialogs_alertdialog.png' "
10993"md5='88fa2103ad6d842eeebc68cc8cfd94ef'"10868"md5='88fa2103ad6d842eeebc68cc8cfd94ef'"
10994msgstr ""10869msgstr ""
n10995"external ref='figures/dialogs_messagedialog.png' "n10870"external ref='figures/dialogs_alertdialog.png' "
10996"md5='58151003c2b562b9f27b064c3193f7b1'"10871"md5='88fa2103ad6d842eeebc68cc8cfd94ef'"
1099710872
10998#. (itstool) path: section/para10873#. (itstool) path: section/para
10999#: C/index-in.docbook:453210874#: C/index-in.docbook:4532
n11000#, fuzzyn
11001#| msgid ""
11002#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
11003#| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>"
11004msgid ""10875msgid ""
11005"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"10876"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
11006"master/examples/book/dialogs/alertdialog\">Source Code</link>"10877"master/examples/book/dialogs/alertdialog\">Source Code</link>"
11007msgstr ""10878msgstr ""
11008"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"10879"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n11009"master/examples/book/dialogs/aboutdialog\">Källkod</link>"n10880"master/examples/book/dialogs/alertdialog\">Källkod</link>"
1101010881
11011#. (itstool) path: section/title10882#. (itstool) path: section/title
11012#: C/index-in.docbook:453710883#: C/index-in.docbook:4537
n11013#, fuzzyn
11014#| msgid "FileChooserDialog"
11015msgid "FileDialog and FileChooserDialog"10884msgid "FileDialog and FileChooserDialog"
n11016msgstr "FileChooserDialog"n10885msgstr "FileDialog och FileChooserDialog"
1101710886
11018#. (itstool) path: section/para10887#. (itstool) path: section/para
11019#: C/index-in.docbook:453810888#: C/index-in.docbook:4538
11020msgid ""10889msgid ""
11021"The <classname>FileChooserDialog</classname> (deprecated since "10890"The <classname>FileChooserDialog</classname> (deprecated since "
11022"<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> "10891"<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> "
11023"(available since <application>gtkmm</application> 4.10) are suitable for use "10892"(available since <application>gtkmm</application> 4.10) are suitable for use "
11024"with \"Open\" or \"Save\" menu items."10893"with \"Open\" or \"Save\" menu items."
11025msgstr ""10894msgstr ""
nn10895"<classname>FileChooserDialog</classname> (föråldrad sedan "
10896"<application>gtkmm</application> 4.10) och <classname>FileDialog</classname> "
10897"(tillgänglig sedan <application>gtkmm</application> 4.10) är lämpliga för "
10898"användning med menyobjekten ”Öppna” eller ”Spara”."
1102610899
11027#. (itstool) path: section/para10900#. (itstool) path: section/para
11028#: C/index-in.docbook:454310901#: C/index-in.docbook:4543
n11029#, fuzzyn
11030#| msgid ""
11031#| "Most of the useful member methods for this class are actually in the "
11032#| "<classname>Gtk::FileChooser</classname> base class."
11033msgid ""10902msgid ""
11034"Most of the useful member methods for <classname>FileChooserDialog</"10903"Most of the useful member methods for <classname>FileChooserDialog</"
11035"classname> are actually in the <classname>Gtk::FileChooser</classname> base "10904"classname> are actually in the <classname>Gtk::FileChooser</classname> base "
11036"class."10905"class."
11037msgstr ""10906msgstr ""
n11038"De flesta av de användbara medlemsmetoderna för denna klass är faktiskt i "n10907"De flesta av de användbara medlemsmetoderna för "
10908"<classname>FileChooserDialog</classname> finns faktiskt i basklassen "
11039"basklassen <classname>Gtk::FileChooser</classname>."10909"<classname>Gtk::FileChooser</classname>."
1104010910
11041#. (itstool) path: section/para10911#. (itstool) path: section/para
11042#: C/index-in.docbook:454810912#: C/index-in.docbook:4548
n11043#, fuzzyn
11044#| msgid ""
11045#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11046#| "classGtk_1_1Dialog.html\">Reference</link>"
11047msgid ""10913msgid ""
11048"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"10914"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11049"classGtk_1_1FileDialog.html\">FileDialog Reference</link>"10915"classGtk_1_1FileDialog.html\">FileDialog Reference</link>"
11050msgstr ""10916msgstr ""
n11051"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10917"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11052"classGtk_1_1Dialog.html\">Referens</link>"10918"classGtk_1_1FileDialog.html\">FileDialog-referens</link>"
1105310919
nn10920# TODO: FileChooseDialog Reference
11054#. (itstool) path: section/para10921#. (itstool) path: section/para
11055#: C/index-in.docbook:454910922#: C/index-in.docbook:4549
11056#, fuzzy10923#, fuzzy
11057#| msgid ""10924#| msgid ""
n11058#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10925#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11059#| "classGtk_1_1FileChooserDialog.html\">Reference</link>"10926#| "classGtk_1_1FileChooserDialog.html\">FileChooserDialogReference</link>"
11060msgid ""10927msgid ""
11061"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"10928"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11062"classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>"10929"classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>"
11063msgstr ""10930msgstr ""
n11064"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10931"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11065"classGtk_1_1FileChooserDialog.html\">Referens</link>"10932"classGtk_1_1FileChooserDialog.html\">FileChooserDialog-referens</link>"
1106610933
11067#. (itstool) path: figure/title10934#. (itstool) path: figure/title
11068#: C/index-in.docbook:455510935#: C/index-in.docbook:4555
n11069#, fuzzyn
11070#| msgid "FileChooserDialog"
11071msgid "FileDialog"10936msgid "FileDialog"
n11072msgstr "FileChooserDialog"n10937msgstr "FileDialog"
1107310938
11074#. (itstool) path: imageobject/imagedata10939#. (itstool) path: imageobject/imagedata
11075#. This is a reference to an external file such as an image or video. When10940#. This is a reference to an external file such as an image or video. When
11076#. the file changes, the md5 hash will change to let you know you need to10941#. the file changes, the md5 hash will change to let you know you need to
11077#. update your localized copy. The msgstr is not used at all. Set it to10942#. update your localized copy. The msgstr is not used at all. Set it to
11081msgctxt "_"10946msgctxt "_"
11082msgid ""10947msgid ""
11083"external ref='figures/dialogs_filedialog.png' "10948"external ref='figures/dialogs_filedialog.png' "
11084"md5='15ecc452482112428259d0dcd8d0394a'"10949"md5='15ecc452482112428259d0dcd8d0394a'"
11085msgstr ""10950msgstr ""
n11086"external ref='figures/dialogs_filechooser.png' "n10951"external ref='figures/dialogs_filedialog.png' "
11087"md5='15ecc452482112428259d0dcd8d0394a'"10952"md5='15ecc452482112428259d0dcd8d0394a'"
1108810953
11089#. (itstool) path: section/para10954#. (itstool) path: section/para
11090#: C/index-in.docbook:456110955#: C/index-in.docbook:4561
n11091#, fuzzyn
11092#| msgid ""
11093#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
11094#| "tree/master/examples/book/dialogs/filechooserdialog\">Source Code</link>"
11095msgid ""10956msgid ""
11096"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"10957"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
11097"master/examples/book/dialogs/filedialog\">Source Code</link>"10958"master/examples/book/dialogs/filedialog\">Source Code</link>"
11098msgstr ""10959msgstr ""
11099"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"10960"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n11100"master/examples/book/dialogs/filechooserdialog\">Källkod</link>"n10961"master/examples/book/dialogs/filedialog\">Källkod</link>"
1110110962
11102#. (itstool) path: section/title10963#. (itstool) path: section/title
11103#: C/index-in.docbook:456610964#: C/index-in.docbook:4566
n11104#, fuzzyn
11105#| msgid "ColorChooserDialog"
11106msgid "ColorDialog and ColorChooserDialog"10965msgid "ColorDialog and ColorChooserDialog"
n11107msgstr "ColorChooserDialog"n10966msgstr "ColorDialog och ColorChooserDialog"
1110810967
11109#. (itstool) path: section/para10968#. (itstool) path: section/para
11110#: C/index-in.docbook:456710969#: C/index-in.docbook:4567
11111msgid ""10970msgid ""
11112"The <classname>ColorChooserDialog</classname> (deprecated since "10971"The <classname>ColorChooserDialog</classname> (deprecated since "
11116"since <application>gtkmm</application> 4.10) and "10975"since <application>gtkmm</application> 4.10) and "
11117"<classname>ColorDialogButton</classname> (available since "10976"<classname>ColorDialogButton</classname> (available since "
11118"<application>gtkmm</application> 4.10) open a color selection dialog when it "10977"<application>gtkmm</application> 4.10) open a color selection dialog when it "
11119"is clicked."10978"is clicked."
11120msgstr ""10979msgstr ""
nn10980"<classname>ColorChooserDialog</classname> (föråldrad sedan "
10981"<application>gtkmm</application> 4.10) och <classname>ColorDialog</"
10982"classname> (tillgänglig sedan <application>gtkmm</application> 4.10) låter "
10983"användaren välja en färg. <classname>ColorButton</classname> (föråldrad "
10984"sedan <application>gtkmm</application> 4.10) och "
10985"<classname>ColorDialogButton</classname> (tillgänglig sedan "
10986"<application>gtkmm</application> 4.10) öppnar en färgvalsdialog när de "
10987"klickas på."
1112110988
11122#. (itstool) path: section/para10989#. (itstool) path: section/para
11123#: C/index-in.docbook:457510990#: C/index-in.docbook:4575
n11124#, fuzzyn
11125#| msgid ""
11126#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11127#| "classGtk_1_1ColorChooserDialog.html\">Reference</link>"
11128msgid ""10991msgid ""
11129"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"10992"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11130"classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>"10993"classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>"
11131msgstr ""10994msgstr ""
n11132"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n10995"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11133"classGtk_1_1ColorChooserDialog.html\">Referens</link>"10996"classGtk_1_1ColorDialog.html\">ColorDialog-referens</link>"
1113410997
11135#. (itstool) path: section/para10998#. (itstool) path: section/para
11136#: C/index-in.docbook:457610999#: C/index-in.docbook:4576
n11137#, fuzzyn
11138#| msgid ""
11139#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11140#| "classGtk_1_1ColorChooserDialog.html\">Reference</link>"
11141msgid ""11000msgid ""
11142"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11001"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11143"classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>"11002"classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>"
11144msgstr ""11003msgstr ""
n11145"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n11004"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11146"classGtk_1_1ColorChooserDialog.html\">Referens</link>"11005"classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog-referens</link>"
1114711006
11148#. (itstool) path: figure/title11007#. (itstool) path: figure/title
11149#: C/index-in.docbook:458211008#: C/index-in.docbook:4582
n11150#, fuzzyn
11151#| msgid "ColorChooserDialog"
11152msgid "ColorDialog"11009msgid "ColorDialog"
n11153msgstr "ColorChooserDialog"n11010msgstr "ColorDialog"
1115411011
11155#. (itstool) path: imageobject/imagedata11012#. (itstool) path: imageobject/imagedata
11156#. This is a reference to an external file such as an image or video. When11013#. This is a reference to an external file such as an image or video. When
11157#. the file changes, the md5 hash will change to let you know you need to11014#. the file changes, the md5 hash will change to let you know you need to
11158#. update your localized copy. The msgstr is not used at all. Set it to11015#. update your localized copy. The msgstr is not used at all. Set it to
11162msgctxt "_"11019msgctxt "_"
11163msgid ""11020msgid ""
11164"external ref='figures/dialogs_colordialog.png' "11021"external ref='figures/dialogs_colordialog.png' "
11165"md5='029761e82cf06d3cbeaac2b7ccd70e57'"11022"md5='029761e82cf06d3cbeaac2b7ccd70e57'"
11166msgstr ""11023msgstr ""
n11167"external ref='figures/dialogs_colorchooserdialog.png' "n11024"external ref='figures/dialogs_colordialog.png' "
11168"md5='029761e82cf06d3cbeaac2b7ccd70e57'"11025"md5='029761e82cf06d3cbeaac2b7ccd70e57'"
1116911026
11170#. (itstool) path: section/para11027#. (itstool) path: section/para
11171#: C/index-in.docbook:458811028#: C/index-in.docbook:4588
n11172#, fuzzyn
11173#| msgid ""
11174#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
11175#| "tree/master/examples/book/dialogs/colorchooserdialog\">Source Code</link>"
11176msgid ""11029msgid ""
11177"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11030"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
11178"master/examples/book/dialogs/colordialog\">Source Code</link>"11031"master/examples/book/dialogs/colordialog\">Source Code</link>"
11179msgstr ""11032msgstr ""
11180"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11033"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n11181"master/examples/book/dialogs/colorchooserdialog\">Källkod</link>"n11034"master/examples/book/dialogs/colordialog\">Källkod</link>"
1118211035
11183#. (itstool) path: section/title11036#. (itstool) path: section/title
11184#: C/index-in.docbook:459311037#: C/index-in.docbook:4593
n11185#, fuzzyn
11186#| msgid "FontChooserDialog"
11187msgid "FontDialog and FontChooserDialog"11038msgid "FontDialog and FontChooserDialog"
n11188msgstr "FontChooserDialog"n11039msgstr "FontDialog och FontChooserDialog"
1118911040
11190#. (itstool) path: section/para11041#. (itstool) path: section/para
11191#: C/index-in.docbook:459411042#: C/index-in.docbook:4594
11192msgid ""11043msgid ""
11193"The <classname>FontChooserDialog</classname> (deprecated since "11044"The <classname>FontChooserDialog</classname> (deprecated since "
11196"choose a font. The <classname>FontButton</classname> (deprecated since "11047"choose a font. The <classname>FontButton</classname> (deprecated since "
11197"<application>gtkmm</application> 4.10) and <classname>FontDialogButton</"11048"<application>gtkmm</application> 4.10) and <classname>FontDialogButton</"
11198"classname> (available since <application>gtkmm</application> 4.10) open a "11049"classname> (available since <application>gtkmm</application> 4.10) open a "
11199"font chooser dialog when it is clicked."11050"font chooser dialog when it is clicked."
11200msgstr ""11051msgstr ""
nn11052"<classname>FontChooserDialog</classname> (föråldrad sedan "
11053"<application>gtkmm</application> 4.10) och <classname>FontDialog</classname> "
11054"(tillgänglig sedan <application>gtkmm</application> 4.10) låter användaren "
11055"välja ett typsnitt. <classname>FontButton</classname> (föråldrad sedan "
11056"<application>gtkmm</application> 4.10) och <classname>FontDialogButton</"
11057"classname> (tillgänglig sedan <application>gtkmm</application> 4.10) öppnar "
11058"en typsnittvalsdialog när de klickas på."
1120111059
11202#. (itstool) path: section/para11060#. (itstool) path: section/para
11203#: C/index-in.docbook:460211061#: C/index-in.docbook:4602
n11204#, fuzzyn
11205#| msgid ""
11206#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11207#| "classGtk_1_1AboutDialog.html\">Reference</link>"
11208msgid ""11062msgid ""
11209"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11063"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11210"classGtk_1_1FontDialog.html\">FontDialog Reference</link>"11064"classGtk_1_1FontDialog.html\">FontDialog Reference</link>"
11211msgstr ""11065msgstr ""
n11212"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n11066"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11213"classGtk_1_1AboutDialog.html\">Referens</link>"11067"classGtk_1_1FontDialog.html\">FontDialog-referens</link>"
1121411068
11215#. (itstool) path: section/para11069#. (itstool) path: section/para
11216#: C/index-in.docbook:460311070#: C/index-in.docbook:4603
n11217#, fuzzyn
11218#| msgid ""
11219#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11220#| "classGtk_1_1FontChooserDialog.html\">Reference</link>"
11221msgid ""11071msgid ""
11222"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11072"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11223"classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>"11073"classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>"
11224msgstr ""11074msgstr ""
n11225"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n11075"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11226"classGtk_1_1FontChooserDialog.html\">Referens</link>"11076"classGtk_1_1FontChooserDialog.html\">FontChooserDialog-referens</link>"
1122711077
11228#. (itstool) path: figure/title11078#. (itstool) path: figure/title
11229#: C/index-in.docbook:460911079#: C/index-in.docbook:4609
n11230#, fuzzyn
11231#| msgid "AboutDialog"
11232msgid "FontDialog"11080msgid "FontDialog"
n11233msgstr "AboutDialog"n11081msgstr "FontDialog"
1123411082
11235#. (itstool) path: imageobject/imagedata11083#. (itstool) path: imageobject/imagedata
11236#. This is a reference to an external file such as an image or video. When11084#. This is a reference to an external file such as an image or video. When
11237#. the file changes, the md5 hash will change to let you know you need to11085#. the file changes, the md5 hash will change to let you know you need to
11238#. update your localized copy. The msgstr is not used at all. Set it to11086#. update your localized copy. The msgstr is not used at all. Set it to
11242msgctxt "_"11090msgctxt "_"
11243msgid ""11091msgid ""
11244"external ref='figures/dialogs_fontdialog.png' "11092"external ref='figures/dialogs_fontdialog.png' "
11245"md5='e35e05429468fa8823416b8a0deff342'"11093"md5='e35e05429468fa8823416b8a0deff342'"
11246msgstr ""11094msgstr ""
n11247"external ref='figures/dialogs_fontchooserdialog.png' "n11095"external ref='figures/dialogs_fontdialog.png' "
11248"md5='e35e05429468fa8823416b8a0deff342'"11096"md5='e35e05429468fa8823416b8a0deff342'"
1124911097
11250#. (itstool) path: section/para11098#. (itstool) path: section/para
11251#: C/index-in.docbook:461511099#: C/index-in.docbook:4615
n11252#, fuzzyn
11253#| msgid ""
11254#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
11255#| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>"
11256msgid ""11100msgid ""
11257"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11101"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
11258"master/examples/book/dialogs/fontdialog\">Source Code</link>"11102"master/examples/book/dialogs/fontdialog\">Source Code</link>"
11259msgstr ""11103msgstr ""
11260"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11104"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n11261"master/examples/book/dialogs/aboutdialog\">Källkod</link>"n11105"master/examples/book/dialogs/fontdialog\">Källkod</link>"
1126211106
11263#. (itstool) path: section/title11107#. (itstool) path: section/title
11264#: C/index-in.docbook:462011108#: C/index-in.docbook:4620
11265#, fuzzy11109#, fuzzy
11266msgid "Non-modal AboutDialog"11110msgid "Non-modal AboutDialog"
11297"icke-modala dialogrutor kan vara användbara i andra fall. Exempelvis är "11141"icke-modala dialogrutor kan vara användbara i andra fall. Exempelvis är "
11298"<application>gedit</application>s sök-och-ersättdialog icke-modal."11142"<application>gedit</application>s sök-och-ersättdialog icke-modal."
1129911143
11300#. (itstool) path: section/para11144#. (itstool) path: section/para
11301#: C/index-in.docbook:463511145#: C/index-in.docbook:4635
n11302#, fuzzyn
11303#| msgid ""
11304#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11305#| "classGtk_1_1AboutDialog.html\">Reference</link>"
11306msgid ""11146msgid ""
11307"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11147"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11308"classGtk_1_1AboutDialog.html\">Reference</link>"11148"classGtk_1_1AboutDialog.html\">Reference</link>"
11309msgstr ""11149msgstr ""
n11310"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n11150"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11311"classGtk_1_1AboutDialog.html\">Referens</link>"11151"classGtk_1_1AboutDialog.html\">Referens</link>"
1131211152
11313#. (itstool) path: figure/title11153#. (itstool) path: figure/title
11314#: C/index-in.docbook:464111154#: C/index-in.docbook:4641
11315msgid "AboutDialog"11155msgid "AboutDialog"
11340"master/examples/book/dialogs/aboutdialog\">Källkod</link>"11180"master/examples/book/dialogs/aboutdialog\">Källkod</link>"
1134111181
11342#. (itstool) path: section/title11182#. (itstool) path: section/title
11343#: C/index-in.docbook:465211183#: C/index-in.docbook:4652
11344#, fuzzy11184#, fuzzy
n11345#| msgid "Custom Widget"n
11346msgid "Custom Dialog"11185msgid "Custom Dialog"
n11347msgstr "Anpassad komponent"n11186msgstr "Anpassad dialogruta"
1134811187
11349#. (itstool) path: section/para11188#. (itstool) path: section/para
11350#: C/index-in.docbook:465311189#: C/index-in.docbook:4653
nn11190#, fuzzy
11351msgid ""11191msgid ""
11352"When none of the predefined dialog classes suit your needs, you can make "11192"When none of the predefined dialog classes suit your needs, you can make "
11353"your own dialog by deriving a class from <classname>Window</classname> and "11193"your own dialog by deriving a class from <classname>Window</classname> and "
11354"fill it with the widgets you need."11194"fill it with the widgets you need."
11355msgstr ""11195msgstr ""
nn11196"Om ingen av de fördefinierade dialogklasserna passar för dina behov kan du "
11197"skapa din egen dialogruta genom att härleda en klass från <classname>Window</"
11198"classname> och fylla den med komponenterna som du behöver."
1135611199
11357#. (itstool) path: section/para11200#. (itstool) path: section/para
11358#: C/index-in.docbook:465911201#: C/index-in.docbook:4659
n11359#, fuzzyn
11360#| msgid ""
11361#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
11362#| "classGtk_1_1Widget.html\">Widget Reference</link>"
11363msgid ""11202msgid ""
11364"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11203"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11365"classGtk_1_1Window.html\">Window Reference</link>"11204"classGtk_1_1Window.html\">Window Reference</link>"
11366msgstr ""11205msgstr ""
n11367"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n11206"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11368"classGtk_1_1Widget.html\">Widget-referens</link>"11207"classGtk_1_1Window.html\">Window-referens</link>"
1136911208
11370#. (itstool) path: figure/title11209#. (itstool) path: figure/title
11371#: C/index-in.docbook:466511210#: C/index-in.docbook:4665
11372#, fuzzy11211#, fuzzy
n11373#| msgid "Dialogs"n
11374msgid "Window Dialog"11212msgid "Window Dialog"
n11375msgstr "Dialogrutor"n11213msgstr "Fönsterdialog"
1137611214
11377#. (itstool) path: imageobject/imagedata11215#. (itstool) path: imageobject/imagedata
11378#. This is a reference to an external file such as an image or video. When11216#. This is a reference to an external file such as an image or video. When
11379#. the file changes, the md5 hash will change to let you know you need to11217#. the file changes, the md5 hash will change to let you know you need to
11380#. update your localized copy. The msgstr is not used at all. Set it to11218#. update your localized copy. The msgstr is not used at all. Set it to
11384msgctxt "_"11222msgctxt "_"
11385msgid ""11223msgid ""
11386"external ref='figures/dialogs_windowdialog.png' "11224"external ref='figures/dialogs_windowdialog.png' "
11387"md5='53deb18153f6903fe45d015fc06ccef3'"11225"md5='53deb18153f6903fe45d015fc06ccef3'"
11388msgstr ""11226msgstr ""
n11389"external ref='figures/dialogs_messagedialog.png' "n11227"external ref='figures/dialogs_windowdialog.png' "
11390"md5='58151003c2b562b9f27b064c3193f7b1'"11228"md5='53deb18153f6903fe45d015fc06ccef3'"
1139111229
11392#. (itstool) path: section/para11230#. (itstool) path: section/para
11393#: C/index-in.docbook:467111231#: C/index-in.docbook:4671
n11394#, fuzzyn
11395#| msgid ""
11396#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
11397#| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>"
11398msgid ""11232msgid ""
11399"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11233"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
11400"master/examples/book/dialogs/windowdialog\">Source Code</link>"11234"master/examples/book/dialogs/windowdialog\">Source Code</link>"
11401msgstr ""11235msgstr ""
11402"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11236"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n11403"master/examples/book/dialogs/aboutdialog\">Källkod</link>"n11237"master/examples/book/dialogs/windowdialog\">Källkod</link>"
1140411238
11405#. (itstool) path: chapter/title11239#. (itstool) path: chapter/title
11406#: C/index-in.docbook:467811240#: C/index-in.docbook:4678
11407msgid "The DrawingArea Widget"11241msgid "The DrawingArea Widget"
11408msgstr "DrawingArea-komponenten"11242msgstr "DrawingArea-komponenten"
11654msgstr ""11488msgstr ""
11655"Det är god sed att stoppa alla ändringar till grafiktillståndet mellan "11489"Det är god sed att stoppa alla ändringar till grafiktillståndet mellan "
11656"<methodname>save()</methodname>/<methodname>restore()</methodname>-"11490"<methodname>save()</methodname>/<methodname>restore()</methodname>-"
11657"funktionsanrop. Om du exempelvis har en funktion som tar en "11491"funktionsanrop. Om du exempelvis har en funktion som tar en "
11658"<classname>Cairo::Context</classname>-referens som ett argument kanske du "11492"<classname>Cairo::Context</classname>-referens som ett argument kanske du "
n11659"implementerar den som följande:"n11493"implementerar den enligt följande:"
1166011494
11661#. (itstool) path: tip/programlisting11495#. (itstool) path: tip/programlisting
11662#: C/index-in.docbook:479911496#: C/index-in.docbook:4799
11663#, fuzzy, no-wrap11497#, fuzzy, no-wrap
11664#| msgid ""11498#| msgid ""
11895"methodname> anropas sedan närhelst bilden i ritytan behöver ritas om. Den "11729"methodname> anropas sedan närhelst bilden i ritytan behöver ritas om. Den "
11896"skickas en <classname>Cairo::RefPtr</classname>-pekare till en "11730"skickas en <classname>Cairo::RefPtr</classname>-pekare till en "
11897"<classname>Cairo::Context</classname> som vi använder för ritandet. Koden "11731"<classname>Cairo::Context</classname> som vi använder för ritandet. Koden "
11898"som faktiskt ritar ställer in färgen vi vill använda för ritandet genom att "11732"som faktiskt ritar ställer in färgen vi vill använda för ritandet genom att "
11899"använda <methodname>set_source_rgb()</methodname> vilken tar argument som "11733"använda <methodname>set_source_rgb()</methodname> vilken tar argument som "
n11900"definierar komponenterna Red, Green, and Blue för den önskade färgen "n11734"definierar komponenterna Red, Green och Blue för den önskade färgen (giltiga "
11901"(giltiga värden är mellan 0 och 1). Efter att färgen ställts in skapade vi "11735"värden är mellan 0 och 1). Efter att färgen ställts in skapade vi en ny bana "
11902"en ny bana med funktionerna <methodname>move_to()</methodname> och "11736"med funktionerna <methodname>move_to()</methodname> och "
11903"<methodname>line_to()</methodname>, och strök sedan denna bana med "11737"<methodname>line_to()</methodname>, och strök sedan denna bana med "
11904"<methodname>stroke()</methodname>."11738"<methodname>stroke()</methodname>."
1190511739
11906#. (itstool) path: tip/title11740#. (itstool) path: tip/title
11907#: C/index-in.docbook:489911741#: C/index-in.docbook:4899
11930"In addition to drawing basic straight lines, there are a number of things "11764"In addition to drawing basic straight lines, there are a number of things "
11931"that you can customize about a line. You've already seen examples of setting "11765"that you can customize about a line. You've already seen examples of setting "
11932"a line's color and width, but there are others as well."11766"a line's color and width, but there are others as well."
11933msgstr ""11767msgstr ""
11934"Utöver att rita enkla raka linjer så finns det ett antal saker som du kan "11768"Utöver att rita enkla raka linjer så finns det ett antal saker som du kan "
n11935"anpassa med en linje. Du har redan sett exempel på att ställa in en linje "n11769"anpassa med en linje. Du har redan sett exempel på att ställa in en linjes "
11936"färg och bredd, men det finns även annat."11770"färg och bredd, men det finns även annat."
1193711771
11938# TODO: are show*n*11772# TODO: are show*n*
11939#. (itstool) path: section/para11773#. (itstool) path: section/para
11940#: C/index-in.docbook:491411774#: C/index-in.docbook:4914
12670"0) coordinate is in the very center of the window."12504"0) coordinate is in the very center of the window."
12671msgstr ""12505msgstr ""
12672"Låt oss nu ta en titt på koden som utför det faktiska ritandet. Den första "12506"Låt oss nu ta en titt på koden som utför det faktiska ritandet. Den första "
12673"delen av <methodname>on_draw()</methodname> bör vara ganska bekant nu. Detta "12507"delen av <methodname>on_draw()</methodname> bör vara ganska bekant nu. Detta "
12674"exempel skalar igen koordinatsystemet till en enhetskvadrat så att det är "12508"exempel skalar igen koordinatsystemet till en enhetskvadrat så att det är "
n12675"lättare att rita klockan som en procentsats av fönsterstorleken så att den "n12509"lättare att rita klockan som en procentsats av fönsterstorleken, så att den "
12676"automatiskt kommer skalas när fönsterstorleken justeras. Vidare skalas och "12510"automatiskt kommer skalas när fönsterstorleken justeras. Vidare skalas och "
12677"flyttas koordinatsystemet så att koordinaten (0, 0) är i mitten av fönstret."12511"flyttas koordinatsystemet så att koordinaten (0, 0) är i mitten av fönstret."
1267812512
12679#. (itstool) path: section/para12513#. (itstool) path: section/para
12680#: C/index-in.docbook:527612514#: C/index-in.docbook:5276
12708"implement the time-keeping functionality of the clock, which simply involves "12542"implement the time-keeping functionality of the clock, which simply involves "
12709"getting the current values for hours, minutes and seconds, and drawing the "12543"getting the current values for hours, minutes and seconds, and drawing the "
12710"hands at the correct angles."12544"hands at the correct angles."
12711msgstr ""12545msgstr ""
12712"Efter att ha ritat konturen går vi runt klockan och ritar streck för varje "12546"Efter att ha ritat konturen går vi runt klockan och ritar streck för varje "
n12713"timme, med ett större sträck vid 12, 3, 6 och 9. Slutligen är vi redo att "n12547"timme, med ett större streck vid 12, 3, 6 och 9. Slutligen är vi redo att "
12714"implementera klockans tidtagande, vilket helt enkelt innefattar att få de "12548"implementera klockans tidtagande, vilket helt enkelt innefattar att få de "
12715"aktuella värdena för timmar, minuter och sekunder, och rita visarna på rätt "12549"aktuella värdena för timmar, minuter och sekunder, och rita visarna på rätt "
12716"vinklar."12550"vinklar."
1271712551
12718#. (itstool) path: chapter/para12552#. (itstool) path: chapter/para
13132"classname> är redo kommer det anropa dessa metoder, och tillhandahålla "12966"classname> är redo kommer det anropa dessa metoder, och tillhandahålla "
13133"begärda data."12967"begärda data."
1313412968
13135#. (itstool) path: chapter/para12969#. (itstool) path: chapter/para
13136#: C/index-in.docbook:549512970#: C/index-in.docbook:5495
n13137#, fuzzyn
13138#| msgid ""
13139#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
13140#| "classGdk_1_1Clipboard.html\">Reference</link>"
13141msgid ""12971msgid ""
13142"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"12972"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
13143"classGdk_1_1Clipboard.html\">Reference</link>"12973"classGdk_1_1Clipboard.html\">Reference</link>"
13144msgstr ""12974msgstr ""
n13145"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n12975"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
13146"classGdk_1_1Clipboard.html\">Referens</link>"12976"classGdk_1_1Clipboard.html\">Referens</link>"
1314712977
13148#. (itstool) path: section/title12978#. (itstool) path: section/title
13149#: C/index-in.docbook:549812979#: C/index-in.docbook:5498
13150msgid "Formats"12980msgid "Formats"
13370msgid "Ideal"13200msgid "Ideal"
13371msgstr "Idealiskt"13201msgstr "Idealiskt"
1337213202
13373#. (itstool) path: listitem/simpara13203#. (itstool) path: listitem/simpara
13374#: C/index-in.docbook:559913204#: C/index-in.docbook:5599
n13375#, fuzzyn
13376msgid "Defines a custom clipboard target, though the format is still text."13205msgid "Defines a custom clipboard target, though the format is still text."
13377msgstr "Definierar ett anpassat urklippsmål, men formatet är fortfarande text."13206msgstr "Definierar ett anpassat urklippsmål, men formatet är fortfarande text."
1337813207
13379#. (itstool) path: listitem/simpara13208#. (itstool) path: listitem/simpara
13380#: C/index-in.docbook:560013209#: C/index-in.docbook:5600
13587"Metoden <methodname>PrintOperation::run()</methodname> startar "13416"Metoden <methodname>PrintOperation::run()</methodname> startar "
13588"utskriftsslingan, under vilken olika signaler sänds ut: <_:itemizedlist-1/>"13417"utskriftsslingan, under vilken olika signaler sänds ut: <_:itemizedlist-1/>"
1358913418
13590#. (itstool) path: section/para13419#. (itstool) path: section/para
13591#: C/index-in.docbook:572713420#: C/index-in.docbook:5727
n13592#, fuzzyn
13593#| msgid ""
13594#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
13595#| "classGtk_1_1PrintOperation.html\">Reference</link>"
13596msgid ""13421msgid ""
13597"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"13422"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
13598"classGtk_1_1PrintOperation.html\">Reference</link>"13423"classGtk_1_1PrintOperation.html\">Reference</link>"
13599msgstr ""13424msgstr ""
n13600"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n13425"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
13601"classGtk_1_1PrintOperation.html\">Referens</link>"13426"classGtk_1_1PrintOperation.html\">Referens</link>"
1360213427
13603#. (itstool) path: section/title13428#. (itstool) path: section/title
13604#: C/index-in.docbook:573613429#: C/index-in.docbook:5736
13605msgid "Page setup"13430msgid "Page setup"
13659"auto new_page_setup = Gtk::run_page_setup_dialog(*this, m_refPageSetup, m_refSe13484"auto new_page_setup = Gtk::run_page_setup_dialog(*this, m_refPageSetup, m_refSe
>ttings);\n">ttings);\n"
13660"m_refPageSetup = new_page_setup;\n"13485"m_refPageSetup = new_page_setup;\n"
1366113486
13662#. (itstool) path: section/para13487#. (itstool) path: section/para
13663#: C/index-in.docbook:575813488#: C/index-in.docbook:5758
n13664#, fuzzyn
13665#| msgid ""
13666#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
13667#| "classGtk_1_1PageSetup.html\">Reference</link>"
13668msgid ""13489msgid ""
13669"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"13490"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
13670"classGtk_1_1PageSetup.html\">Reference</link>"13491"classGtk_1_1PageSetup.html\">Reference</link>"
13671msgstr ""13492msgstr ""
n13672"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n13493"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
13673"classGtk_1_1PageSetup.html\">Referens</link>"13494"classGtk_1_1PageSetup.html\">Referens</link>"
1367413495
13675#. (itstool) path: section/para13496#. (itstool) path: section/para
13676#: C/index-in.docbook:576213497#: C/index-in.docbook:5762
13677#, fuzzy13498#, fuzzy
13758"stöds på alla plattformar, men signalen <literal>done</literal> kommer "13579"stöds på alla plattformar, men signalen <literal>done</literal> kommer "
13759"fortfarande sändas ut."13580"fortfarande sändas ut."
1376013581
13761#. (itstool) path: section/para13582#. (itstool) path: section/para
13762#: C/index-in.docbook:580813583#: C/index-in.docbook:5808
n13763#, fuzzyn
13764msgid ""13584msgid ""
13765"<methodname>run()</methodname> may return <literal>PrintOperation::Result::"13585"<methodname>run()</methodname> may return <literal>PrintOperation::Result::"
13766"IN_PROGRESS</literal>. To track status and handle the result or error you "13586"IN_PROGRESS</literal>. To track status and handle the result or error you "
13767"need to implement signal handlers for the <literal>done</literal> and "13587"need to implement signal handlers for the <literal>done</literal> and "
13768"<literal>status_changed</literal> signals:"13588"<literal>status_changed</literal> signals:"
14082"advanced."13902"advanced."
1408313903
14084#. (itstool) path: section/title13904#. (itstool) path: section/title
14085#: C/index-in.docbook:5952 C/index-in.docbook:598913905#: C/index-in.docbook:5952 C/index-in.docbook:5989
14086#, fuzzy13906#, fuzzy
n14087#| msgid "Printing"n13907#| msgid "FontDialog"
14088msgid "PrintDialog"13908msgid "PrintDialog"
n14089msgstr "Utskrift"n13909msgstr "FontDialog"
1409013910
14091#. (itstool) path: section/para13911#. (itstool) path: section/para
14092#: C/index-in.docbook:595413912#: C/index-in.docbook:5954
14093msgid ""13913msgid ""
14094"Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</"13914"Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</"
14529"methodname> påverkar inte de faktiska filerna som URI:erna hänvisar till, de "14349"methodname> påverkar inte de faktiska filerna som URI:erna hänvisar till, de "
14530"ändrar bara listan över senaste filer."14350"ändrar bara listan över senaste filer."
1453114351
14532#. (itstool) path: section/title14352#. (itstool) path: section/title
14533#: C/index-in.docbook:616714353#: C/index-in.docbook:6167
n14534#, fuzzyn
14535#| msgid "FileChooserDialog"
14536msgid "FileChooser and FileDialog"14354msgid "FileChooser and FileDialog"
n14537msgstr "FileChooserDialog"n14355msgstr "FileChooser och FileDialog"
1453814356
14539#. (itstool) path: section/para14357#. (itstool) path: section/para
14540#: C/index-in.docbook:616914358#: C/index-in.docbook:6169
14541msgid ""14359msgid ""
14542"<classname>FileChooser</classname> is an interface that can be implemented "14360"<classname>FileChooser</classname> is an interface that can be implemented "
14574"<classname>FileChooser</classname> and the classes that implement it are "14392"<classname>FileChooser</classname> and the classes that implement it are "
14575"deprecated since <application>gtkmm</application> 4.10. They have been "14393"deprecated since <application>gtkmm</application> 4.10. They have been "
14576"replaced by <classname>FileDialog</classname>, which is available since "14394"replaced by <classname>FileDialog</classname>, which is available since "
14577"<application>gtkmm</application> 4.10."14395"<application>gtkmm</application> 4.10."
14578msgstr ""14396msgstr ""
nn14397"<classname>FileChooser</classname> och klasserna som implementerar den är "
14398"föråldrade sedan <application>gtkmm</application> 4.10. De har ersatts av "
14399"<classname>FileDialog</classname>, vilken finns tillgänglig sedan "
14400"<application>gtkmm</application> 4.10."
1457914401
14580#. (itstool) path: section/title14402#. (itstool) path: section/title
14581#: C/index-in.docbook:619114403#: C/index-in.docbook:6191
n14582#, fuzzyn
14583#| msgid "Simple FileChooserDialog example"
14584msgid "Simple FileDialog example"14404msgid "Simple FileDialog example"
n14585msgstr "Enkelt FileChooserDialog-exempel"n14405msgstr "Enkelt FileDialog-exempel"
1458614406
14587#. (itstool) path: section/para14407#. (itstool) path: section/para
14588#: C/index-in.docbook:619314408#: C/index-in.docbook:6193
14589#, fuzzy14409#, fuzzy
n14590#| msgid ""n
14591#| "Shown below is a simple example of how to use the "
14592#| "<classname>FileChooserDialog</classname> class in a program. This simple "
14593#| "program has a menubar with a <guimenuitem>File Chooser Dialog</"
14594#| "guimenuitem> menu item. When you select this menu item, a dialog pops up "
14595#| "showing a list of files. If you select <guimenuitem>Recent</guimenuitem> "
14596#| "in the sidebar, the list of recently used files is shown."
14597msgid ""14410msgid ""
14598"Shown below is a simple example of how to use the <classname>FileDialog</"14411"Shown below is a simple example of how to use the <classname>FileDialog</"
14599"classname> class in a program. This simple program has a menubar with a "14412"classname> class in a program. This simple program has a menubar with a "
14600"<guimenuitem>File Dialog</guimenuitem> menu item. When you select this menu "14413"<guimenuitem>File Dialog</guimenuitem> menu item. When you select this menu "
14601"item, a dialog pops up showing a list of files. If you select "14414"item, a dialog pops up showing a list of files. If you select "
1508814901
15089#. (itstool) path: section/para14902#. (itstool) path: section/para
15090#: C/index-in.docbook:641114903#: C/index-in.docbook:6411
15091#, fuzzy14904#, fuzzy
15092#| msgid ""14905#| msgid ""
n15093#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n14906#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
15094#| "classGtk_1_1Entry.html\">Reference</link>"14907#| "classGtk_1_1Entry.html\">Reference</link>"
15095msgid ""14908msgid ""
15096"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"14909"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
15097"classGtk_1_1EventController.html\">Reference</link>"14910"classGtk_1_1EventController.html\">Reference</link>"
15098msgstr ""14911msgstr ""
n15099"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n14912"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
15100"classGtk_1_1Entry.html\">Referens</link>"14913"classGtk_1_1Entry.html\">Referens</link>"
1510114914
15102#. (itstool) path: section/para14915#. (itstool) path: section/para
15103#: C/index-in.docbook:641514916#: C/index-in.docbook:6415
15104msgid "This is an expanded version of the simple keyboard events example."14917msgid "This is an expanded version of the simple keyboard events example."
15645"över klassräckvidd är det ökade datadöljandet och minskade beroendena."15458"över klassräckvidd är det ökade datadöljandet och minskade beroendena."
1564615459
15647#. (itstool) path: section/programlisting15460#. (itstool) path: section/programlisting
15648#: C/index-in.docbook:667215461#: C/index-in.docbook:6672
15649#, fuzzy, no-wrap15462#, fuzzy, no-wrap
nn15463#| msgid ""
15464#| "\n"
15465#| "{\n"
15466#| "  Gtk::Button aButton;\n"
15467#| "  aButton.set_visible(true);\n"
15468#| "  ...\n"
15469#| "  app-&gt;run();\n"
15470#| "}\n"
15650msgid ""15471msgid ""
15651"<code>{\n"15472"<code>{\n"
15652"  Gtk::Button aButton;\n"15473"  Gtk::Button aButton;\n"
15653"  aButton.set_visible(true);\n"15474"  aButton.set_visible(true);\n"
15654"  ...\n"15475"  ...\n"
15657"</code>"15478"</code>"
15658msgstr ""15479msgstr ""
15659"\n"15480"\n"
15660"{\n"15481"{\n"
15661"  Gtk::Button aButton;\n"15482"  Gtk::Button aButton;\n"
n15662"  aButton.show();\n"n15483"  aButton.set_visible(true);\n"
15663"  ...\n"15484"  ...\n"
15664"  app-&gt;run();\n"15485"  app-&gt;run();\n"
15665"}\n"15486"}\n"
1566615487
15667#. (itstool) path: section/para15488#. (itstool) path: section/para
15740"leak."15561"leak."
15741msgstr ""15562msgstr ""
1574215563
15743#. (itstool) path: section/title15564#. (itstool) path: section/title
15744#: C/index-in.docbook:671015565#: C/index-in.docbook:6710
n15745#, fuzzyn
15746msgid "Managed Widgets"15566msgid "Managed Widgets"
15747msgstr "Hanterade komponenter"15567msgstr "Hanterade komponenter"
1574815568
15749#. (itstool) path: section/para15569#. (itstool) path: section/para
15750#: C/index-in.docbook:671215570#: C/index-in.docbook:6712
16046"Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad "15866"Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad "
16047"information om RefPtr."15867"information om RefPtr."
1604815868
16049#. (itstool) path: listitem/para15869#. (itstool) path: listitem/para
16050#: C/index-in.docbook:683415870#: C/index-in.docbook:6834
n16051#, fuzzyn
16052#| msgid ""
16053#| "Bjarne Stroustrup, \"The C++ Programming Language\" Forth Edition - "
16054#| "section 34.3"
16055msgid ""15871msgid ""
16056"Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section "15872"Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section "
16057"34.3"15873"34.3"
16058msgstr ""15874msgstr ""
16059"Bjarne Stroustrup, ”The C++ Programming Language”, 4:e utgåvan - avsnitt 34.3"15875"Bjarne Stroustrup, ”The C++ Programming Language”, 4:e utgåvan - avsnitt 34.3"
16198#: C/index-in.docbook:689316014#: C/index-in.docbook:6893
16199msgid ""16015msgid ""
16200"To instantiate just one window, or just one of the child widgets, you can "16016"To instantiate just one window, or just one of the child widgets, you can "
16201"specify the name of a widget as the second parameter. For instance,"16017"specify the name of a widget as the second parameter. For instance,"
16202msgstr ""16018msgstr ""
n16203"För att instansiera bara ett fönster, eller bara en av de underordnade "n16019"För att bara instansiera ett fönster, eller bara en av de underordnade "
16204"komponenterna, kan du ange namnet på en komponent som den andra parametern. "16020"komponenterna, kan du ange namnet på en komponent som den andra parametern. "
16205"Till exempel,"16021"Till exempel,"
1620616022
16207#. (itstool) path: section/programlisting16023#. (itstool) path: section/programlisting
16208#: C/index-in.docbook:689516024#: C/index-in.docbook:6895
16227"<methodname>get_widget()</methodname> method, providing the widget's name. "16043"<methodname>get_widget()</methodname> method, providing the widget's name. "
16228"This name should be specified in the <application>Cambalache</application> "16044"This name should be specified in the <application>Cambalache</application> "
16229"window. If the widget could not be found, or is of the wrong type, then the "16045"window. If the widget could not be found, or is of the wrong type, then the "
16230"pointer will be set to <literal>nullptr</literal>."16046"pointer will be set to <literal>nullptr</literal>."
16231msgstr ""16047msgstr ""
n16232"För att komma åt en komponent, exempelvis för att visa en dialogruta med "n16048"För att komma åt en komponent, exempelvis för att visa en dialogruta, "
16233"<methodname>show()</methodname>, använder du metoden "16049"använder du metoden <methodname>get_widget()</methodname> och "
16234"<methodname>get_widget()</methodname> och tillhandahåller komponentens namn. "16050"tillhandahåller komponentens namn. Detta namn bör anges i "
16235"Detta namn bör anges i <application>Glade</application>s egenskapsfönster. "16051"<application>Glade</application>s egenskapsfönster. Om komponenten inte "
16236"Om komponenten inte kunde hittas eller är av fel typ så kommer pekaren "16052"kunde hittas eller är av fel typ så kommer pekaren sättas till nullptr."
16237"sättas till nullptr."
1623816053
16239#. (itstool) path: section/para16054#. (itstool) path: section/para
16240#: C/index-in.docbook:691016055#: C/index-in.docbook:6910
n16241#, fuzzyn
16242msgid ""16056msgid ""
16243"The dialogs in this chapter are derived from <classname>Gtk::Window</"16057"The dialogs in this chapter are derived from <classname>Gtk::Window</"
16244"classname> because <classname>Gtk::Dialog</classname> is deprecated since "16058"classname> because <classname>Gtk::Dialog</classname> is deprecated since "
16245"<application>gtkmm</application> 4.10."16059"<application>gtkmm</application> 4.10."
16246msgstr ""16060msgstr ""
n16247"I detta steg använder vi en <classname>Gtk::Builder</classname>-instans för "n16061"Dialogrutorna i detta kapitel härleds från <classname>Gtk::Window</"
16248"att associera en <classname>Gtk::Builder</classname>-ui-fil med vår "16062"classname> eftersom <classname>Gtk::Dialog</classname> är föråldrat sedan "
16249"programfönsterklass."16063"<application>gtkmm</application> 4.10."
1625016064
16251#. (itstool) path: section/programlisting16065#. (itstool) path: section/programlisting
16252#: C/index-in.docbook:691416066#: C/index-in.docbook:6914
16253#, fuzzy, no-wrap16067#, fuzzy, no-wrap
16254msgid ""16068msgid ""
16264msgid ""16078msgid ""
16265"<classname>Gtk::Builder</classname> checks for a null pointer, and checks "16079"<classname>Gtk::Builder</classname> checks for a null pointer, and checks "
16266"that the widget is of the expected type, and will show warnings on the "16080"that the widget is of the expected type, and will show warnings on the "
16267"command line about these."16081"command line about these."
16268msgstr ""16082msgstr ""
n16269"<application>Gtk::Builder</application> tittar efter en null-pekare, och "n16083"<classname>Gtk::Builder</classname> tittar efter en null-pekare, och "
16270"kontrollerar att komponenten är av förväntad typ, och kommer visa varningar "16084"kontrollerar att komponenten är av förväntad typ, och kommer visa varningar "
16271"på kommandoraden om dessa."16085"på kommandoraden om dessa."
1627216086
16273#. (itstool) path: section/para16087#. (itstool) path: section/para
16274#: C/index-in.docbook:692316088#: C/index-in.docbook:6923
16311"<classname>Gtk::Builder</classname> har mer att säga om minneshanteringen "16125"<classname>Gtk::Builder</classname> har mer att säga om minneshanteringen "
16312"för olika sorters objekt."16126"för olika sorters objekt."
1631316127
16314#. (itstool) path: section/para16128#. (itstool) path: section/para
16315#: C/index-in.docbook:694216129#: C/index-in.docbook:6942
n16316#, fuzzyn
16317#| msgid ""
16318#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
16319#| "classGtk_1_1Builder.html\">Reference</link>"
16320msgid ""16130msgid ""
16321"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"16131"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
16322"classGtk_1_1Builder.html\">Reference</link>"16132"classGtk_1_1Builder.html\">Reference</link>"
16323msgstr ""16133msgstr ""
n16324"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n16134"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
16325"classGtk_1_1Builder.html\">Referens</link>"16135"classGtk_1_1Builder.html\">Referens</link>"
1632616136
16327#. (itstool) path: section/para16137#. (itstool) path: section/para
16328#: C/index-in.docbook:694716138#: C/index-in.docbook:6947
16329#, fuzzy16139#, fuzzy
16480"}\n"16290"}\n"
1648116291
16482#. (itstool) path: section/para16292#. (itstool) path: section/para
16483#: C/index-in.docbook:700916293#: C/index-in.docbook:7009
16484#, fuzzy16294#, fuzzy
nn16295#| msgid ""
16296#| "It's possible to pass additional arguments from "
16297#| "<methodname>get_widget_derived()</methodname> to the constructor of the "
16298#| "derived widget. For instance, this call to "
16299#| "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> can "
16300#| "invoke this constructor"
16485msgid ""16301msgid ""
16486"It's possible to pass additional arguments from "16302"It's possible to pass additional arguments from "
16487"<methodname>get_widget_derived()</methodname> to the constructor of the "16303"<methodname>get_widget_derived()</methodname> to the constructor of the "
16488"derived widget. For instance, this call to <methodname>get_widget_derived()</"16304"derived widget. For instance, this call to <methodname>get_widget_derived()</"
16489"methodname>"16305"methodname>"
16490msgstr ""16306msgstr ""
16491"Det är möjligt att skicka ytterligare argument från "16307"Det är möjligt att skicka ytterligare argument från "
16492"<methodname>get_widget_derived()</methodname> till konstruktorn för den "16308"<methodname>get_widget_derived()</methodname> till konstruktorn för den "
16493"härledda komponenten. Exempelvis kan detta anrop till "16309"härledda komponenten. Exempelvis kan detta anrop till "
16494"<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta "16310"<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta "
n16495"denna konstruktor <_:programlisting-2/>"n16311"denna konstruktor"
1649616312
16497#. (itstool) path: section/programlisting16313#. (itstool) path: section/programlisting
16498#: C/index-in.docbook:701416314#: C/index-in.docbook:7014
16499#, fuzzy, no-wrap16315#, fuzzy, no-wrap
16500msgid ""16316msgid ""
18213"your custom class from that class. The <link linkend=\"custom-css-name-"18029"your custom class from that class. The <link linkend=\"custom-css-name-"
18214"example\">custom CSS name example</link> shows how that's done."18030"example\">custom CSS name example</link> shows how that's done."
18215msgstr ""18031msgstr ""
18216"Vissa <application>GTK</application>-funktioner måste, om de anropas över "18032"Vissa <application>GTK</application>-funktioner måste, om de anropas över "
18217"huvud taget, anropas från klassens init-funktion. Några andra "18033"huvud taget, anropas från klassens init-funktion. Några andra "
n18218"<application>GTK</application>-funktioner måste, om de anropas , anropas "n18034"<application>GTK</application>-funktioner måste, om de anropas, anropas från "
18219"från instansens init-funktion. Om din anpassade komponent måste anropa någon "18035"instansens init-funktion. Om din anpassade komponent måste anropa någon av "
18220"av dessa funktioner kan du härleda en klass från <classname>Glib::"18036"dessa funktioner kan du härleda en klass från <classname>Glib::"
18221"ExtraClassInit</classname> och härleda din anpassade klass från den klassen. "18037"ExtraClassInit</classname> och härleda din anpassade klass från den klassen. "
nn18038"Exemplet för <link linkend=\"custom-css-name-example\">anpassat CSS-namn</"
18222"ljande exempel visar hur detta görs."18039"link> visar hur detta görs."
1822318040
18224#. (itstool) path: section/para18041#. (itstool) path: section/para
18225#: C/index-in.docbook:778018042#: C/index-in.docbook:7780
18226msgid "This example implements a widget which draws Penrose triangles."18043msgid "This example implements a widget which draws Penrose triangles."
18227msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar."18044msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar."
18255"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"18072"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
18256"master/examples/book/custom/custom_widget/\">Källkod</link>"18073"master/examples/book/custom/custom_widget/\">Källkod</link>"
1825718074
18258#. (itstool) path: section/title18075#. (itstool) path: section/title
18259#: C/index-in.docbook:779418076#: C/index-in.docbook:7794
n18260#, fuzzyn
18261#| msgid "Custom Containers"
18262msgid "Custom CSS Names"18077msgid "Custom CSS Names"
n18263msgstr "Anpassade behållare"n18078msgstr "Anpassade CSS-namn"
1826418079
nn18080# TODO: controlled
18265#. (itstool) path: section/para18081#. (itstool) path: section/para
18266#: C/index-in.docbook:779618082#: C/index-in.docbook:7796
nn18083#, fuzzy
18267msgid ""18084msgid ""
18268"Many aspects of the look of widgets are controlled by CSS (Cascading Style "18085"Many aspects of the look of widgets are controlled by CSS (Cascading Style "
18269"Sheet) files. With CSS files you can choose color, font, line thickness, "18086"Sheet) files. With CSS files you can choose color, font, line thickness, "
18270"etc. If you give some widgets their own names or their own CSS classes, you "18087"etc. If you give some widgets their own names or their own CSS classes, you "
18271"can define CSS rules that apply only to those widgets, for instance certain "18088"can define CSS rules that apply only to those widgets, for instance certain "
18272"buttons, without affecting other similar widgets."18089"buttons, without affecting other similar widgets."
18273msgstr ""18090msgstr ""
nn18091"Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style "
18092"Sheet). Med CSS-filer kan du välja färg, typsnitt, radtjocklek och så "
18093"vidare. Om du ger några komponenter egna namn så kan du definiera CSS-regler "
18094"som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan "
18095"att påverka andra liknande komponenter."
1827418096
18275#. (itstool) path: section/title18097#. (itstool) path: section/title
18276#: C/index-in.docbook:780318098#: C/index-in.docbook:7803
18277msgid "CSS Node Name, Widget Name, CSS Class Name"18099msgid "CSS Node Name, Widget Name, CSS Class Name"
n18278msgstr ""n18100msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn"
1827918101
18280#. (itstool) path: listitem/para18102#. (itstool) path: listitem/para
18281#: C/index-in.docbook:780718103#: C/index-in.docbook:7807
nn18104#, fuzzy
18282msgid ""18105msgid ""
18283"<methodname>gtk_widget_class_set_css_name()</methodname> can only be called "18106"<methodname>gtk_widget_class_set_css_name()</methodname> can only be called "
18284"from the class init function. It sets the CSS node name of all instances of "18107"from the class init function. It sets the CSS node name of all instances of "
18285"a class (a GType). See the <link linkend=\"custom-init-functions\"> Class "18108"a class (a GType). See the <link linkend=\"custom-init-functions\"> Class "
18286"Init and Instance Init Functions</link> section."18109"Init and Instance Init Functions</link> section."
18287msgstr ""18110msgstr ""
nn18111"<methodname>gtk_widget_class_set_css_name()</methodname> kan endast anropas "
18112"från klassens init-funktion. Den ställer in CSS-nodnamnet för alla instanser "
18113"av en klass (en GType). Se avsnittet <link linkend=\"custom-init-"
18114"functions\"> Initieringsfunktioner för klasser och instanser</link>."
1828818115
18289#. (itstool) path: listitem/para18116#. (itstool) path: listitem/para
18290#: C/index-in.docbook:781118117#: C/index-in.docbook:7811
nn18118#, fuzzy
18119#| msgid ""
18120#| "<methodname>Gtk::Widget::set_name()</methodname> can be called from a C++ "
18121#| "constructor. It sets the name of a widget instance."
18291msgid ""18122msgid ""
18292"<methodname>Gtk::Widget::set_name()</methodname> can be called from a "18123"<methodname>Gtk::Widget::set_name()</methodname> can be called from a "
18293"<phrase role=\"nowrap\">C++</phrase> constructor. It sets the name of a "18124"<phrase role=\"nowrap\">C++</phrase> constructor. It sets the name of a "
18294"widget instance."18125"widget instance."
18295msgstr ""18126msgstr ""
nn18127"<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-"
18128"konstruktor. Den ställer in namnet för en komponentinstans."
1829618129
18297#. (itstool) path: listitem/para18130#. (itstool) path: listitem/para
18298#: C/index-in.docbook:781418131#: C/index-in.docbook:7814
nn18132#, fuzzy
18133#| msgid ""
18134#| "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from "
18135#| "a C++ constructor. It adds the name of a CSS class, used by a widget "
18136#| "instance."
18299msgid ""18137msgid ""
18300"<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a "18138"<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a "
18301"<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS "18139"<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS "
18302"class, used by a widget instance."18140"class, used by a widget instance."
18303msgstr ""18141msgstr ""
nn18142"<methodname>Gtk::Widget::add_class_name()</methodname> kan anropas från en C+"
18143"+-konstruktor. Den lägger till namnet för en CSS-klass, använd av en "
18144"komponentinstans."
1830418145
18305#. (itstool) path: section/para18146#. (itstool) path: section/para
18306#: C/index-in.docbook:780518147#: C/index-in.docbook:7805
nn18148#, fuzzy
18307msgid ""18149msgid ""
18308"There are three ways of referring from a widget to data in a CSS file: <_:"18150"There are three ways of referring from a widget to data in a CSS file: <_:"
18309"itemizedlist-1/> The following example shows a button with its own CSS node "18151"itemizedlist-1/> The following example shows a button with its own CSS node "
18310"name, a label with a widget name and a label that uses its own CSS class."18152"name, a label with a widget name and a label that uses its own CSS class."
18311msgstr ""18153msgstr ""
nn18154"Det finns tre sätt att referera från en komponent till data i en CSS-fil: <_:"
18155"itemizedlist-1/> Följande exempel visar en knapp med eget CSS-nodnamn, en "
18156"etikett med ett komponentnamn och en etikett som använder sin egen CSS-klass."
1831218157
18313#. (itstool) path: section/title18158#. (itstool) path: section/title
18314#: C/index-in.docbook:782318159#: C/index-in.docbook:7823
18315msgid "Custom Style Information"18160msgid "Custom Style Information"
18316msgstr "Anpassad stilinformation"18161msgstr "Anpassad stilinformation"
18325"StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::"18170"StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::"
18326"StyleContext</classname> also contains methods to read some style "18171"StyleContext</classname> also contains methods to read some style "
18327"information, but this class is deprecated since <application>gtkmm</"18172"information, but this class is deprecated since <application>gtkmm</"
18328"application> 4.10."18173"application> 4.10."
18329msgstr ""18174msgstr ""
nn18175"För att lägga till en stilmall till ett program använder du en av "
18176"<methodname>Gtk::CssProvider::load_from_*()</methodname>-metoderna. Lägg "
18177"sedan till den med <methodname>Gtk::StyleProvider::"
18178"add_provider_for_display()</methodname> (tillgänglig sedan "
18179"<application>gtkmm</application> 4.10) eller <methodname>Gtk::StyleContext::"
18180"add_provider_for_display()</methodname>. <classname>Gtk::StyleContext</"
18181"classname> innehåller också metoder för att läsa viss stilinformation, men "
18182"denna klass är föråldrad sedan <application>gtkmm</application> 4.10."
1833018183
18331#. (itstool) path: section/para18184#. (itstool) path: section/para
18332#: C/index-in.docbook:783218185#: C/index-in.docbook:7832
18333msgid "CSS files are described in the documentation of GTK."18186msgid "CSS files are described in the documentation of GTK."
n18334msgstr ""n18187msgstr "CSS-filer beskrivs i dokumentationen för GTK."
1833518188
18336#. (itstool) path: section/para18189#. (itstool) path: section/para
18337#: C/index-in.docbook:783818190#: C/index-in.docbook:7838
18338msgid ""18191msgid ""
18339"This example implements a button and two labels with custom style "18192"This example implements a button and two labels with custom style "
18340"information."18193"information."
18341msgstr ""18194msgstr ""
nn18195"Detta exempel implementerar en knapp och två etiketter med anpassad "
18196"stilinformation."
1834218197
18343#. (itstool) path: figure/title18198#. (itstool) path: figure/title
18344#: C/index-in.docbook:784118199#: C/index-in.docbook:7841
18345#, fuzzy18200#, fuzzy
n18346#| msgid "Custom Container"n
18347msgid "Custom CSS Name"18201msgid "Custom CSS Name"
n18348msgstr "Anpassad behållare"n18202msgstr "Anpassat CSS-namn"
1834918203
18350#. (itstool) path: imageobject/imagedata18204#. (itstool) path: imageobject/imagedata
18351#. This is a reference to an external file such as an image or video. When18205#. This is a reference to an external file such as an image or video. When
18352#. the file changes, the md5 hash will change to let you know you need to18206#. the file changes, the md5 hash will change to let you know you need to
18353#. update your localized copy. The msgstr is not used at all. Set it to18207#. update your localized copy. The msgstr is not used at all. Set it to
18357msgctxt "_"18211msgctxt "_"
18358msgid ""18212msgid ""
18359"external ref='figures/custom_css_name.png' "18213"external ref='figures/custom_css_name.png' "
18360"md5='fb3d968b1fd40eb219e5a78946adff0f'"18214"md5='fb3d968b1fd40eb219e5a78946adff0f'"
18361msgstr ""18215msgstr ""
n18362"external ref='figures/custom_container.png' "n18216"external ref='figures/custom_css_name.png' "
18363"md5='5b4ae318725b6efbf5c6e1f7c94e6e04'"18217"md5='fb3d968b1fd40eb219e5a78946adff0f'"
1836418218
18365#. (itstool) path: section/para18219#. (itstool) path: section/para
18366#: C/index-in.docbook:784718220#: C/index-in.docbook:7847
n18367#, fuzzyn
18368#| msgid ""
18369#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
18370#| "tree/master/examples/book/custom/custom_container/\">Source Code</link>"
18371msgid ""18221msgid ""
18372"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"18222"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
18373"master/examples/book/custom/custom_css_name/\">Source Code</link>"18223"master/examples/book/custom/custom_css_name/\">Source Code</link>"
18374msgstr ""18224msgstr ""
18375"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"18225"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n18376"master/examples/book/custom/custom_container/\">Källkod</link>"n18226"master/examples/book/custom/custom_css_name/\">Källkod</link>"
1837718227
18378#. (itstool) path: chapter/title18228#. (itstool) path: chapter/title
18379#: C/index-in.docbook:785418229#: C/index-in.docbook:7854
18380msgid "Multi-threaded programs"18230msgid "Multi-threaded programs"
18381msgstr "Flertrådade program"18231msgstr "Flertrådade program"
19178"kommandoradsargument, och <methodname>signal_open()</methodname>:s "19028"kommandoradsargument, och <methodname>signal_open()</methodname>:s "
19179"standardhanterare, som anropas när programmet körs med kommandoradsargument."19029"standardhanterare, som anropas när programmet körs med kommandoradsargument."
1918019030
19181#. (itstool) path: section/para19031#. (itstool) path: section/para
19182#: C/index-in.docbook:828619032#: C/index-in.docbook:8286
n19183#, fuzzyn
19184#| msgid ""
19185#| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"
19186#| "classGio_1_1Application.html\">Gio::Application Reference</link>"
19187msgid ""19033msgid ""
19188"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"19034"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
19189"classGio_1_1Application.html\">Gio::Application Reference</link>"19035"classGio_1_1Application.html\">Gio::Application Reference</link>"
19190msgstr ""19036msgstr ""
n19191"<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n19037"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
19192"classGio_1_1Application.html\">Referens för Gio::Application</link>"19038"classGio_1_1Application.html\">Referens för Gio::Application</link>"
1919319039
19194#. (itstool) path: section/para19040#. (itstool) path: section/para
19195#: C/index-in.docbook:828719041#: C/index-in.docbook:8287
n19196#, fuzzyn
19197#| msgid ""
19198#| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"
19199#| "classGtk_1_1Application.html\">Gtk::Application Reference</link>"
19200msgid ""19042msgid ""
19201"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"19043"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
19202"classGtk_1_1Application.html\">Gtk::Application Reference</link>"19044"classGtk_1_1Application.html\">Gtk::Application Reference</link>"
19203msgstr ""19045msgstr ""
n19204"<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/"n19046"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
19205"classGtk_1_1Application.html\">Referens för Gtk::Application</link>"19047"classGtk_1_1Application.html\">Referens för Gtk::Application</link>"
1920619048
19207#. (itstool) path: section/para19049#. (itstool) path: section/para
19208#: C/index-in.docbook:828919050#: C/index-in.docbook:8289
19209#, fuzzy19051#, fuzzy
20342"methods."20184"methods."
20343msgstr ""20185msgstr ""
2034420186
20345#. (itstool) path: appendix/para20187#. (itstool) path: appendix/para
20346#: C/index-in.docbook:880220188#: C/index-in.docbook:8802
n20347#, fuzzyn
20348#| msgid ""
20349#| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"
20350#| "classGlib_1_1RefPtr.html\">Reference</link>"
20351msgid ""20189msgid ""
20352"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr."20190"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr."
20353"html\">Reference</link>"20191"html\">Reference</link>"
20354msgstr ""20192msgstr ""
n20355"<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n20193"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr."
20356"classGlib_1_1RefPtr.html\">Referens</link>"20194"html\">Referens</link>"
2035720195
20358#. (itstool) path: appendix/para20196#. (itstool) path: appendix/para
20359#: C/index-in.docbook:880420197#: C/index-in.docbook:8804
20360msgid ""20198msgid ""
20361"A smartpointer acts much like a normal pointer. Here are a few examples."20199"A smartpointer acts much like a normal pointer. Here are a few examples."
21651"}\n"21489"}\n"
2165221490
21653#. (itstool) path: section/para21491#. (itstool) path: section/para
21654#: C/index-in.docbook:938321492#: C/index-in.docbook:9383
21655#, fuzzy21493#, fuzzy
n21656#| msgid "Using the git version of <application>gtkmm</application>"n21494#| msgid "Deprecations in <application>gtkmm</application> 4.10"
21657msgid "And here's an excerpt from a <application>gdb</application> session."21495msgid "And here's an excerpt from a <application>gdb</application> session."
n21658msgstr "Använda git-versionen av <application>gtkmm</application>"n21496msgstr "Föråldringar i <application>gtkmm</application> 4.10"
2165921497
21660#. (itstool) path: section/programlisting21498#. (itstool) path: section/programlisting
21661#: C/index-in.docbook:938621499#: C/index-in.docbook:9386
21662#, fuzzy, no-wrap21500#, fuzzy, no-wrap
21663msgid ""21501msgid ""
22148msgstr ""21986msgstr ""
22149"Se <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm/tree/master/"21987"Se <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm/tree/master/"
22150"README.win32\">README.win32</link> såväl som <link xlink:href=\"https://"21988"README.win32\">README.win32</link> såväl som <link xlink:href=\"https://"
22151"gitlab.gnome.org/GNOME/gtkmm/tree/master/MSVC_NMake/README\">README</link>-"21989"gitlab.gnome.org/GNOME/gtkmm/tree/master/MSVC_NMake/README\">README</link>-"
22152"filerna i <application>gtkmm</application>, pangomm och glibmm för "21990"filerna i <application>gtkmm</application>, pangomm och glibmm för "
n22153"instruktioner om du bygger <application>gtkmm</application> på Windows."n21991"instruktioner om hur du bygger <application>gtkmm</application> på Windows."
2215421992
22155#. (itstool) path: appendix/title21993#. (itstool) path: appendix/title
22156#: C/index-in.docbook:959721994#: C/index-in.docbook:9597
22157msgid "Working with gtkmm's Source Code"21995msgid "Working with gtkmm's Source Code"
22158msgstr "Arbeta med gtkmm:s källkod"21996msgstr "Arbeta med gtkmm:s källkod"
22532"kommer kommandot köras med rätt miljövariabler inställda, men kommer "22370"kommer kommandot köras med rätt miljövariabler inställda, men kommer "
22533"returnera till din föregående miljö efter programmet avslutas."22371"returnera till din föregående miljö efter programmet avslutas."
2253422372
22535#. (itstool) path: appendix/title22373#. (itstool) path: appendix/title
22536#: C/index-in.docbook:976422374#: C/index-in.docbook:9764
n22537#, fuzzyn
22538msgid "Wrapping C Libraries with gmmproc"22375msgid "Wrapping C Libraries with gmmproc"
22539msgstr "Omsluta C-bibliotek med gmmproc"22376msgstr "Omsluta C-bibliotek med gmmproc"
2254022377
22541#. (itstool) path: appendix/para22378#. (itstool) path: appendix/para
22542#: C/index-in.docbook:976622379#: C/index-in.docbook:9766
23279msgstr ".hg- och .ccg-filerna"23116msgstr ".hg- och .ccg-filerna"
2328023117
23281#. (itstool) path: section/para23118#. (itstool) path: section/para
23282#: C/index-in.docbook:1003423119#: C/index-in.docbook:10034
23283#, fuzzy23120#, fuzzy
nn23121#| msgid ""
23122#| "The .hg and .ccg source files are very much like .h and .cc C++ source "
23123#| "files, but they contain extra macros, such as <function>_CLASS_GOBJECT()</"
23124#| "function> and <function>_WRAP_METHOD()</function>, from which "
23125#| "<command>gmmproc</command> generates appropriate C++ source code, usually "
23126#| "at the same position in the header. Any additional C++ source code will "
23127#| "be copied verbatim into the corresponding .h or .cc file."
23284msgid ""23128msgid ""
23285"The .hg and .ccg source files are very much like .h and .cc <phrase "23129"The .hg and .ccg source files are very much like .h and .cc <phrase "
23286"role=\"nowrap\">C++</phrase> source files, but they contain extra macros, "23130"role=\"nowrap\">C++</phrase> source files, but they contain extra macros, "
23287"such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</"23131"such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</"
23288"function>, from which <command>gmmproc</command> generates appropriate "23132"function>, from which <command>gmmproc</command> generates appropriate "
23289"<phrase role=\"nowrap\">C++</phrase> source code, usually at the same "23133"<phrase role=\"nowrap\">C++</phrase> source code, usually at the same "
23290"position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> "23134"position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> "
23291"source code will be copied verbatim into the corresponding .h or .cc file."23135"source code will be copied verbatim into the corresponding .h or .cc file."
23292msgstr ""23136msgstr ""
n23293".hg- och .ccg-källfilerna är mycket som .h and .cc-källfiler i C++, men de "n23137".hg- och .ccg-källfilerna är mycket som .h- och .cc-källfiler i C++, men de "
23294"innehåller extra makron som <function>_CLASS_GOBJECT()</function> och "23138"innehåller extra makron som <function>_CLASS_GOBJECT()</function> och "
23295"<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> "23139"<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> "
23296"genererar lämplig C++-källkod, vanligen på samma plats i huvudet. All "23140"genererar lämplig C++-källkod, vanligen på samma plats i huvudet. All "
23297"ytterligare C++-källkod kommer kopieras som den är i motsvarande .h- eller ."23141"ytterligare C++-källkod kommer kopieras som den är i motsvarande .h- eller ."
23298"cc-fil."23142"cc-fil."
23733"function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</"23577"function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</"
23734"function> med mera."23578"function> med mera."
2373523579
23736#. (itstool) path: section/para23580#. (itstool) path: section/para
23737#: C/index-in.docbook:1019323581#: C/index-in.docbook:10193
n23738#, fuzzyn
23739msgid ""23582msgid ""
23740"Other macros, such as <function>_WRAP_METHOD()</function> and "23583"Other macros, such as <function>_WRAP_METHOD()</function> and "
23741"<function>_WRAP_SIGNAL()</function> may only be used after a call to a "23584"<function>_WRAP_SIGNAL()</function> may only be used after a call to a "
23742"<function>_CLASS_*</function> macro."23585"<function>_CLASS_*</function> macro."
23743msgstr ""23586msgstr ""
n23744"Andra makron, som <function>_WRAP_METHOD()</function> and "n23587"Andra makron, som <function>_WRAP_METHOD()</function> och "
23745"<function>_WRAP_SIGNAL()</function> kan endast användas efter ett anrop till "23588"<function>_WRAP_SIGNAL()</function> kan endast användas efter ett anrop till "
23746"ett <function>_CLASS_*</function>-makro."23589"ett <function>_CLASS_*</function>-makro."
2374723590
23748#. (itstool) path: section/para23591#. (itstool) path: section/para
23749#: C/index-in.docbook:1019623592#: C/index-in.docbook:10196
24435msgid ""24278msgid ""
24436"Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> "24279"Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> "
24437"and <function>_CLASS_GTKOBJECT</function>."24280"and <function>_CLASS_GTKOBJECT</function>."
24438msgstr ""24281msgstr ""
24439"Undertrycker definition av destruktorn i <function>_CLASS_GOBJECT</function> "24282"Undertrycker definition av destruktorn i <function>_CLASS_GOBJECT</function> "
n24440"and <function>_CLASS_GTKOBJECT</function>."n24283"och <function>_CLASS_GTKOBJECT</function>."
2444124284
24442#. (itstool) path: section/title24285#. (itstool) path: section/title
24443#: C/index-in.docbook:1045024286#: C/index-in.docbook:10450
24444msgid "_CUSTOM_MOVE_OPERATIONS"24287msgid "_CUSTOM_MOVE_OPERATIONS"
24445msgstr "_CUSTOM_MOVE_OPERATIONS"24288msgstr "_CUSTOM_MOVE_OPERATIONS"
25518"enums should be registered as GTypes."25361"enums should be registered as GTypes."
25519msgstr ""25362msgstr ""
25520"Använd detta alternativ om uppräkningen inte är en <classname>GType</"25363"Använd detta alternativ om uppräkningen inte är en <classname>GType</"
25521"classname>. Detta är fallet när det inte finns någon <function>*_get_type()</"25364"classname>. Detta är fallet när det inte finns någon <function>*_get_type()</"
25522"function>-funktion för C-uppräkningen, men var försiktig så att du inte vara "25365"function>-funktion för C-uppräkningen, men var försiktig så att du inte vara "
n25523"behöver inkludera en extra header för den funktionen. Du bör också "n25366"behöver inkludera ett extra huvud för den funktionen. Du bör också "
25524"rapportera ett fel mot C-API:t, för alla uppräkningar ska registreras som "25367"rapportera ett fel mot C-API:t, för alla uppräkningar ska registreras som "
25525"GType-typer."25368"GType-typer."
2552625369
25527#. (itstool) path: listitem/para25370#. (itstool) path: listitem/para
25528#: C/index-in.docbook:1102325371#: C/index-in.docbook:11023
25556"_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n"25399"_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n"
25557"      "25400"      "
2555825401
25559#. (itstool) path: varlistentry/term25402#. (itstool) path: varlistentry/term
25560#: C/index-in.docbook:1103225403#: C/index-in.docbook:11032
n25561#, fuzzyn
25562msgid "gtype_func &lt;function_name&gt;"25404msgid "gtype_func &lt;function_name&gt;"
25563msgstr "gtype_func &lt;funktionsnamn&gt;"25405msgstr "gtype_func &lt;funktionsnamn&gt;"
2556425406
25565#. (itstool) path: listitem/para25407#. (itstool) path: listitem/para
25566#: C/index-in.docbook:1103425408#: C/index-in.docbook:11034
25702"<function>_WRAP_ENUM()</function> för att de är komplext definierade (kanske "25544"<function>_WRAP_ENUM()</function> för att de är komplext definierade (kanske "
25703"med C-makron) men att det fortfarande är önskvärt att inkludera den "25545"med C-makron) men att det fortfarande är önskvärt att inkludera den "
25704"genererade uppräkningsdokumentationen. Det används med samma syntax som "25546"genererade uppräkningsdokumentationen. Det används med samma syntax som "
25705"<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även "25547"<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även "
25706"om NO_GTYPE, gtype_func &lt;funktionsnamn&gt; och CONV_TO_INT ignoreras för "25548"om NO_GTYPE, gtype_func &lt;funktionsnamn&gt; och CONV_TO_INT ignoreras för "
n25707"att de inte gör någon skillnad på bara uppräkningens dokumentation "n25549"att de inte gör någon skillnad då bara uppräkningens dokumentation "
25708"genereras)."25550"genereras)."
2570925551
25710#. (itstool) path: section/title25552#. (itstool) path: section/title
25711#: C/index-in.docbook:1110625553#: C/index-in.docbook:11106
25712msgid "_WRAP_GERROR"25554msgid "_WRAP_GERROR"
26194"<parameter>out_mime_type</parameter>:"26036"<parameter>out_mime_type</parameter>:"
26195msgstr ""26037msgstr ""
2619626038
26197#. (itstool) path: section/programlisting26039#. (itstool) path: section/programlisting
26198#: C/index-in.docbook:1127926040#: C/index-in.docbook:11279
n26199#, no-wrapn26041#, fuzzy, no-wrap
26042#| msgid ""
26043#| "\n"
26044#| "GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n"
26045#| "  GAsyncResult* result, const char** out_mime_type, GError** error)\n"
26200msgid ""26046msgid ""
26201"<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n"26047"<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n"
26202"  GAsyncResult* result, const char** out_mime_type, GError** error)\n"26048"  GAsyncResult* result, const char** out_mime_type, GError** error)\n"
26203"</code>"26049"</code>"
26204msgstr ""26050msgstr ""
nn26051"\n"
26052"GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n"
26053"  GAsyncResult* result, const char** out_mime_type, GError** error)\n"
2620526054
26206#. (itstool) path: section/para26055#. (itstool) path: section/para
26207#: C/index-in.docbook:1128226056#: C/index-in.docbook:11282
26208msgid ""26057msgid ""
26209"To have <command>gmmproc</command> place the value returned in the <phrase "26058"To have <command>gmmproc</command> place the value returned in the <phrase "
26212"macro could be used:"26061"macro could be used:"
26213msgstr ""26062msgstr ""
2621426063
26215#. (itstool) path: section/programlisting26064#. (itstool) path: section/programlisting
26216#: C/index-in.docbook:1128626065#: C/index-in.docbook:11286
n26217#, no-wrapn26066#, fuzzy, no-wrap
26218msgid ""26067msgid ""
26219"<code>\n"26068"<code>\n"
26220"_WRAP_METHOD(Glib::RefPtr&lt;Gio::InputStream&gt; read_finish(\n"26069"_WRAP_METHOD(Glib::RefPtr&lt;Gio::InputStream&gt; read_finish(\n"
26221"  const Glib::RefPtr&lt;Gio::AsyncResult&gt;&amp; result,\n"26070"  const Glib::RefPtr&lt;Gio::AsyncResult&gt;&amp; result,\n"
26222"  Glib::ustring&amp; out_mime_type{&gt;&gt;}), gdk_clipboard_read_finish, errth26071"  Glib::ustring&amp; out_mime_type{&gt;&gt;}), gdk_clipboard_read_finish, errth
>row)\n">row)\n"
26223"</code>"26072"</code>"
26224msgstr ""26073msgstr ""
nn26074"\n"
26075"_WRAP_METHOD(Glib::RefPtr&lt;Gio::InputStream&gt; read_finish(\n"
26076"  const Glib::RefPtr&lt;Gio::AsyncResult&gt;&amp; result,\n"
26077"  Glib::ustring&amp; out_mime_type{&gt;&gt;}), gdk_clipboard_read_finish, errth
 >row)\n"
2622526078
26226#. (itstool) path: section/para26079#. (itstool) path: section/para
26227#: C/index-in.docbook:1129126080#: C/index-in.docbook:11291
26228#, fuzzy26081#, fuzzy
26229msgid ""26082msgid ""
26474"Ditt bibliotek måste initieras innan det kan användas för att registrera de "26327"Ditt bibliotek måste initieras innan det kan användas för att registrera de "
26475"nya typer som det gör tillgängligt. C-biblioteket som du omsluter kan också "26328"nya typer som det gör tillgängligt. C-biblioteket som du omsluter kan också "
26476"ha sin egen initieringsfunktion som du ska anropa. Du kan göra detta i en "26329"ha sin egen initieringsfunktion som du ska anropa. Du kan göra detta i en "
26477"<function>init()</function>-funktion som du kan placera i handkodade "26330"<function>init()</function>-funktion som du kan placera i handkodade "
26478"<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna "26331"<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna "
n26479"funktion ska initiera dina beroenden (som C funktionen and "n26332"funktion ska initiera dina beroenden (som C-funktionen och "
26480"<application>gtkmm</application>) och anropa din genererade "26333"<application>gtkmm</application>) och anropa din genererade "
26481"<function>wrap_init()</function>-funktion. Till exempel:"26334"<function>wrap_init()</function>-funktion. Till exempel:"
2648226335
26483#. (itstool) path: section/programlisting26336#. (itstool) path: section/programlisting
26484#: C/index-in.docbook:1138126337#: C/index-in.docbook:11381
27564"license, such as the GNU General Public License, to permit their use in free "27417"license, such as the GNU General Public License, to permit their use in free "
27565"software."27418"software."
27566msgstr ""27419msgstr ""
2756727420
27568#~ msgid ""27421#~ msgid ""
n27569#~ "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n27422#~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
27570#~ "namespaceGlib.html\">Reference</link>"27423#~ "namespaceGlib.html\">Reference</link>"
27571#~ msgstr ""27424#~ msgstr ""
n27572#~ "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/"n27425#~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
27573#~ "namespaceGlib.html\">Referens</link>"27426#~ "namespaceGlib.html\">Referens</link>"
n27574 n
27575#~ msgid ""
27576#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27577#~ "tree/master/examples/book/iconview\">Source Code, IconView</link>"
27578#~ msgstr ""
27579#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27580#~ "tree/master/examples/book/iconview\">Källkod, IconView</link>"
27581 
27582#~ msgid ""
27583#~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::"
27584#~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://"
27585#~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the "
27586#~ "latest info."
27587#~ msgstr ""
27588#~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i "
27589#~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://"
27590#~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för "
27591#~ "den senaste informationen."
27592 
27593#, fuzzy
27594#~ msgid ""
27595#~ "<classname>MessageDialog</classname> is a convenience class, used to "
27596#~ "create simple, standard message dialogs, with a message and buttons for "
27597#~ "user response. You can specify the type of message and the text in the "
27598#~ "constructor, as well as specifying standard buttons via the <type>Gtk::"
27599#~ "ButtonsType</type> enum."
27600#~ msgstr ""
27601#~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som "
27602#~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande "
27603#~ "och knappar för svar från användaren. Du kan ange meddelandetypen och "
27604#~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::"
27605#~ "ButtonsType</type>-uppräkningen."
27606 
27607#~ msgid ""
27608#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27609#~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>"
27610#~ msgstr ""
27611#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27612#~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>"
27613 
27614#~ msgid ""
27615#~ "The <classname>FileChooserDialog</classname> is suitable for use with "
27616#~ "\"Open\" or \"Save\" menu items."
27617#~ msgstr ""
27618#~ "<classname>FileChooserDialog</classname> är lämplig för användning med "
27619#~ "menyobjekten ”Öppna” eller ”Spara”."
27620 
27621#~ msgid "FileChooser"
27622#~ msgstr "FileChooser"
27623 
27624#, fuzzy
27625#~ msgid ""
27626#~ "The <classname>ColorChooserDialog</classname> allows the user to choose a "
27627#~ "color. The <classname>ColorButton</classname> opens a color selection "
27628#~ "dialog when it is clicked."
27629#~ msgstr ""
27630#~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. "
27631#~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den "
27632#~ "klickas på."
27633 
27634#, fuzzy
27635#~ msgid ""
27636#~ "The <classname>FontChooserDialog</classname> allows the user to choose a "
27637#~ "font. The <classname>FontButton</classname> opens a font chooser dialog "
27638#~ "when it is clicked."
27639#~ msgstr ""
27640#~ "<classname>FontChooserDialog</classname> låter användaren välja ett "
27641#~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en "
27642#~ "typsnittsväljardialog när den klickas på."
27643 
27644#~ msgid ""
27645#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27646#~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>"
27647#~ msgstr ""
27648#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27649#~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>"
2765027427
27651#, no-wrap27428#, no-wrap
27652#~ msgid "intltool-update --pot"27429#~ msgid "intltool-update --pot"
27653#~ msgstr "intltool-update --pot"27430#~ msgstr "intltool-update --pot"
2765427431
27663#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"27440#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"
27664#~ "\"><literal>gnomemm_hello</literal> example package</link>"27441#~ "\"><literal>gnomemm_hello</literal> example package</link>"
27665#~ msgstr ""27442#~ msgstr ""
27666#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"27443#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"
27667#~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>"27444#~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>"
n27668 n
27669#, fuzzy
27670#~ msgid ""
27671#~ "Your widget class, whether it's derived directly from <classname>Gtk::"
27672#~ "Widget</classname> or from another widget class, can read some style "
27673#~ "information from a CSS (Cascading Style Sheets) file. The users of your "
27674#~ "widget, or the users of an application program with your widget, can then "
27675#~ "modify the style of your widget without modifying the source code. Useful "
27676#~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::"
27677#~ "CssProvider</classname>. With the methods of <classname>Gtk::"
27678#~ "StyleContext</classname> you can read the values of your widget's style "
27679#~ "information. CSS files are described in the documentation of "
27680#~ "<application>GTK</application>. The following example shows a simple use "
27681#~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>."
27682#~ msgstr ""
27683#~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil "
27684#~ "(Cascading Style Sheets), oavsett om den härleds direkt från "
27685#~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. "
27686#~ "Användarna av din komponent, eller användarna av ett program med din "
27687#~ "komponent, kan sedan ändra stilen för din komponent utan att ändra "
27688#~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> "
27689#~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i "
27690#~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din "
27691#~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för "
27692#~ "<application>GTK</application>. Följande exempel visar enkel användning "
27693#~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>."
2769427445
27695#~ msgid "For instance, from <filename>adjustment.hg</filename>:"27446#~ msgid "For instance, from <filename>adjustment.hg</filename>:"
27696#~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:"27447#~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:"
2769727448
27698#~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:"27449#~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:"
27803#~ "<command>gmmproc</command> att placera C-funktionens returvärde i den "27554#~ "<command>gmmproc</command> att placera C-funktionens returvärde i den "
27804#~ "utdataparametern. I detta fall kommer dock ett nödvändigt "27555#~ "utdataparametern. I detta fall kommer dock ett nödvändigt "
27805#~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/"27556#~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/"
27806#~ "> Vilket också skulle kunna skrivas som: <_:programlisting-4/>"27557#~ "> Vilket också skulle kunna skrivas som: <_:programlisting-4/>"
2780727558
nn27559#~ msgid ""
27560#~ "This compiler error might look like this: <_:programlisting-1/> or this: "
27561#~ "<_:programlisting-2/>"
27562#~ msgstr ""
27563#~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så "
27564#~ "här: <_:programlisting-2/>"
27565 
27566#~ msgid "Widget Name and CSS Node Name"
27567#~ msgstr "Komponentnamn och CSS-nodnamn"
27568 
27569#, fuzzy
27570#~ msgid ""
27571#~ "<classname>MessageDialog</classname> is a convenience class, used to "
27572#~ "create simple, standard message dialogs, with a message and buttons for "
27573#~ "user response. You can specify the type of message and the text in the "
27574#~ "constructor, as well as specifying standard buttons via the <type>Gtk::"
27575#~ "ButtonsType</type> enum."
27576#~ msgstr ""
27577#~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som "
27578#~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande "
27579#~ "och knappar för svar från användaren. Du kan ange meddelandetypen och "
27580#~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::"
27581#~ "ButtonsType</type>-uppräkningen."
27582 
27583#~ msgid ""
27584#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27585#~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>"
27586#~ msgstr ""
27587#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27588#~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>"
27589 
27590#~ msgid ""
27591#~ "The <classname>FileChooserDialog</classname> is suitable for use with "
27592#~ "\"Open\" or \"Save\" menu items."
27593#~ msgstr ""
27594#~ "<classname>FileChooserDialog</classname> är lämplig för användning med "
27595#~ "menyobjekten ”Öppna” eller ”Spara”."
27596 
27597#~ msgid "FileChooser"
27598#~ msgstr "FileChooser"
27599 
27600#, fuzzy
27601#~ msgid ""
27602#~ "The <classname>ColorChooserDialog</classname> allows the user to choose a "
27603#~ "color. The <classname>ColorButton</classname> opens a color selection "
27604#~ "dialog when it is clicked."
27605#~ msgstr ""
27606#~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. "
27607#~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den "
27608#~ "klickas på."
27609 
27610#, fuzzy
27611#~ msgid ""
27612#~ "The <classname>FontChooserDialog</classname> allows the user to choose a "
27613#~ "font. The <classname>FontButton</classname> opens a font chooser dialog "
27614#~ "when it is clicked."
27615#~ msgstr ""
27616#~ "<classname>FontChooserDialog</classname> låter användaren välja ett "
27617#~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en "
27618#~ "typsnittsväljardialog när den klickas på."
27619 
27620#~ msgid ""
27621#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27622#~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>"
27623#~ msgstr ""
27624#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27625#~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>"
27626 
27627#, fuzzy
27628#~ msgid ""
27629#~ "Your widget class, whether it's derived directly from <classname>Gtk::"
27630#~ "Widget</classname> or from another widget class, can read some style "
27631#~ "information from a CSS (Cascading Style Sheets) file. The users of your "
27632#~ "widget, or the users of an application program with your widget, can then "
27633#~ "modify the style of your widget without modifying the source code. Useful "
27634#~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::"
27635#~ "CssProvider</classname>. With the methods of <classname>Gtk::"
27636#~ "StyleContext</classname> you can read the values of your widget's style "
27637#~ "information. CSS files are described in the documentation of "
27638#~ "<application>GTK</application>. The following example shows a simple use "
27639#~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>."
27640#~ msgstr ""
27641#~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil "
27642#~ "(Cascading Style Sheets), oavsett om den härleds direkt från "
27643#~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. "
27644#~ "Användarna av din komponent, eller användarna av ett program med din "
27645#~ "komponent, kan sedan ändra stilen för din komponent utan att ändra "
27646#~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> "
27647#~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i "
27648#~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din "
27649#~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för "
27650#~ "<application>GTK</application>. Följande exempel visar enkel användning "
27651#~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>."
27652 
27808#, no-wrap27653#, no-wrap
27809#~ msgid ""27654#~ msgid ""
27810#~ "\n"27655#~ "\n"
27811#~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n"27656#~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n"
27812#~ "  GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n"27657#~ "  GtkTreePath* path, GtkCellRenderer* cell, GdkRectangle* rect);\n"
27833#~ "_INITIALIZATION(`Gdk::Rectangle&amp;',`GdkRectangle',`$3 = Glib::wrap(&amp;(27678#~ "_INITIALIZATION(`Gdk::Rectangle&amp;',`GdkRectangle',`$3 = Glib::wrap(&amp;(
>$4))')\n">$4))')\n"
27834#~ msgstr ""27679#~ msgstr ""
27835#~ "\n"27680#~ "\n"
27836#~ "_INITIALIZATION(`Gdk::Rectangle&amp;',`GdkRectangle',`$3 = Glib::wrap(&amp;(27681#~ "_INITIALIZATION(`Gdk::Rectangle&amp;',`GdkRectangle',`$3 = Glib::wrap(&amp;(
>$4))')\n">$4))')\n"
2783727682
nn27683# TODO: Fixed sep 2022?
27838#~ msgid ""27684#~ msgid ""
n27839#~ "This compiler error might look like this: <_:programlisting-1/> or this: "n27685#~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::"
27840#~ "<_:programlisting-2/>"27686#~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://"
27687#~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the "
27688#~ "latest info."
27841#~ msgstr ""27689#~ msgstr ""
t27842#~ "Detta kompilatorfel kan se ut så här: <_:programlisting-1/> eller så här: "t27690#~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i "
27843#~ "<_:programlisting-2/>"27691#~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://"
27692#~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för "
27693#~ "den senaste informationen."
2784427694
27845#~ msgid "An preference dialog"27695#~ msgid "An preference dialog"
27846#~ msgstr "En inställningsdialog"27696#~ msgstr "En inställningsdialog"

Note: both files are merged with latest POT file.