gtkmm-documentation - master - Tutorial - Swedish
Uploaded file by Anders Jonsson on 2022-08-15 17:40:49+00:00 | Uploaded file by Anders Jonsson on 2023-03-05 11:30:32+00:00 | ||||
---|---|---|---|---|---|
5 | # | 5 | # | ||
6 | msgid "" | 6 | msgid "" | ||
7 | msgstr "" | 7 | msgstr "" | ||
8 | "Project-Id-Version: gtkmm-documentation master\n" | 8 | "Project-Id-Version: gtkmm-documentation master\n" | ||
9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | 9 | "POT-Creation-Date: 2025-07-08 14:05+0000\n" | ||
n | 10 | "PO-Revision-Date: 2022-08-15 19:40+0200\n" | n | 10 | "PO-Revision-Date: 2023-03-05 12:30+0100\n" |
11 | "Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n" | 11 | "Last-Translator: Anders Jonsson <anders.jonsson@norsjovallen.se>\n" | ||
12 | "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" | 12 | "Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n" | ||
13 | "Language: sv\n" | 13 | "Language: sv\n" | ||
14 | "MIME-Version: 1.0\n" | 14 | "MIME-Version: 1.0\n" | ||
15 | "Content-Type: text/plain; charset=UTF-8\n" | 15 | "Content-Type: text/plain; charset=UTF-8\n" | ||
16 | "Content-Transfer-Encoding: 8bit\n" | 16 | "Content-Transfer-Encoding: 8bit\n" | ||
17 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | 17 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
n | 18 | "X-Generator: Poedit 3.1.1\n" | n | 18 | "X-Generator: Poedit 3.2.2\n" |
19 | 19 | ||||
20 | #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 | 20 | #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 | ||
21 | msgctxt "_" | 21 | msgctxt "_" | ||
22 | msgid "translator-credits" | 22 | msgid "translator-credits" | ||
n | 23 | msgstr "Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022" | n | 23 | msgstr "Anders Jonsson <anders.jonsson@norsjovallen.se>, 2022, 2023" |
24 | 24 | ||||
25 | #. (itstool) path: info/title | 25 | #. (itstool) path: info/title | ||
26 | #: C/index-in.docbook:46 | 26 | #: C/index-in.docbook:46 | ||
27 | msgid "Programming with <application>gtkmm</application> 4" | 27 | msgid "Programming with <application>gtkmm</application> 4" | ||
28 | msgstr "Programmering med <application>gtkmm</application> 4" | 28 | msgstr "Programmering med <application>gtkmm</application> 4" | ||
36 | "<personname><firstname>Murray</firstname><surname>Cumming</surname></" | 36 | "<personname><firstname>Murray</firstname><surname>Cumming</surname></" | ||
37 | "personname>" | 37 | "personname>" | ||
38 | 38 | ||||
39 | #. (itstool) path: authorgroup/author | 39 | #. (itstool) path: authorgroup/author | ||
40 | #: C/index-in.docbook:51 | 40 | #: C/index-in.docbook:51 | ||
n | 41 | #, fuzzy | n | ||
42 | msgid "" | 41 | msgid "" | ||
43 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | 42 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | ||
44 | "personname> <contrib>Chapter on \"Timeouts\".</contrib>" | 43 | "personname> <contrib>Chapter on \"Timeouts\".</contrib>" | ||
45 | msgstr "" | 44 | msgstr "" | ||
46 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | 45 | "<personname><firstname>Bernhard</firstname><surname>Rieder</surname></" | ||
79 | "personname> <contrib>Kapitlet om ”Utskrift”.</contrib> <contrib>Delar av " | 78 | "personname> <contrib>Kapitlet om ”Utskrift”.</contrib> <contrib>Delar av " | ||
80 | "kapitlet ”Internationalisering”.</contrib>" | 79 | "kapitlet ”Internationalisering”.</contrib>" | ||
81 | 80 | ||||
82 | #. (itstool) path: authorgroup/author | 81 | #. (itstool) path: authorgroup/author | ||
83 | #: C/index-in.docbook:70 | 82 | #: C/index-in.docbook:70 | ||
n | 84 | #, fuzzy | n | ||
85 | msgid "" | 83 | msgid "" | ||
86 | "<personname><firstname>Daniel</firstname><surname>Elstner</surname></" | 84 | "<personname><firstname>Daniel</firstname><surname>Elstner</surname></" | ||
87 | "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping C " | 85 | "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping C " | ||
88 | "Libraries with gmmproc\".</contrib>" | 86 | "Libraries with gmmproc\".</contrib>" | ||
89 | msgstr "" | 87 | msgstr "" | ||
141 | "<contrib>Kapitlet ”Bygga program”.</contrib>" | 139 | "<contrib>Kapitlet ”Bygga program”.</contrib>" | ||
142 | 140 | ||||
143 | #. (itstool) path: authorgroup/author | 141 | #. (itstool) path: authorgroup/author | ||
144 | #: C/index-in.docbook:93 | 142 | #: C/index-in.docbook:93 | ||
145 | #, fuzzy | 143 | #, fuzzy | ||
n | n | 144 | #| msgid "" | ||
145 | #| "<personname><firstname>Daniel</firstname><surname>Elstner</surname></" | ||||
146 | #| "personname> <contrib>Section \"Build Structure\" of chapter on \"Wrapping " | ||||
147 | #| "C Libraries with gmmproc\".</contrib>" | ||||
146 | msgid "" | 148 | msgid "" | ||
147 | "<personname><firstname>Daniel</firstname><surname>Boles</surname></" | 149 | "<personname><firstname>Daniel</firstname><surname>Boles</surname></" | ||
148 | "personname> <contrib>Notes on need to remove widgets in non-managed wrappers " | 150 | "personname> <contrib>Notes on need to remove widgets in non-managed wrappers " | ||
149 | "from parents to dispose, other tweaks.</contrib>" | 151 | "from parents to dispose, other tweaks.</contrib>" | ||
150 | msgstr "" | 152 | msgstr "" | ||
303 | "<application>gtkmm</application>, and that's what we stuck with." | 305 | "<application>gtkmm</application>, and that's what we stuck with." | ||
304 | msgstr "" | 306 | msgstr "" | ||
305 | "<application>gtkmm</application> kallades ursprungligen gtk-- eftersom GTK i " | 307 | "<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 " | 308 | "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 " | 309 | "indexeras av sökmotorer så gick paketet allmänt under namnet " | ||
n | 308 | "<application>gtkmm</application> vilket vi nu är fast med." | n | 310 | "<application>gtkmm</application> vilket vi sedan höll oss till." |
309 | 311 | ||||
310 | #. (itstool) path: section/title | 312 | #. (itstool) path: section/title | ||
311 | #: C/index-in.docbook:154 | 313 | #: C/index-in.docbook:154 | ||
312 | msgid "Why use <application>gtkmm</application> instead of GTK?" | 314 | msgid "Why use <application>gtkmm</application> instead of GTK?" | ||
313 | msgstr "Varför använda <application>gtkmm</application> i stället för GTK?" | 315 | msgstr "Varför använda <application>gtkmm</application> i stället för GTK?" | ||
327 | "derivation, and polymorphism. As a <phrase role=\"nowrap\">C++</phrase> " | 329 | "derivation, and polymorphism. As a <phrase role=\"nowrap\">C++</phrase> " | ||
328 | "programmer you probably already realize that this leads to clearer and " | 330 | "programmer you probably already realize that this leads to clearer and " | ||
329 | "better organized code." | 331 | "better organized code." | ||
330 | msgstr "" | 332 | msgstr "" | ||
331 | "<application>gtkmm</application> låter dig skriva kod med vanliga C++-" | 333 | "<application>gtkmm</application> låter dig skriva kod med vanliga C++-" | ||
n | 332 | "tekniker som inkapsling, härledning och polymorfism. Som en C++-" | n | 334 | "tekniker som inkapsling, härledning och polymorfism. Som C++-programmerare " |
333 | "programmerare inser du förmodligen redan att detta leder till tydligare och " | 335 | "inser du förmodligen redan att detta leder till tydligare och bättre " | ||
334 | "bättre organiserad kod." | 336 | "organiserad kod." | ||
335 | 337 | ||||
336 | #. (itstool) path: section/para | 338 | #. (itstool) path: section/para | ||
337 | #: C/index-in.docbook:157 | 339 | #: C/index-in.docbook:157 | ||
338 | msgid "" | 340 | msgid "" | ||
339 | "<application>gtkmm</application> is more type-safe, so the compiler can " | 341 | "<application>gtkmm</application> is more type-safe, so the compiler can " | ||
381 | "komponenter i GTK hanteras genom användning av pekare. Som C++-kodare vet du " | 383 | "komponenter i GTK hanteras genom användning av pekare. Som C++-kodare vet du " | ||
382 | "att pekare ska undvikas när möjligt." | 384 | "att pekare ska undvikas när möjligt." | ||
383 | 385 | ||||
384 | #. (itstool) path: section/para | 386 | #. (itstool) path: section/para | ||
385 | #: C/index-in.docbook:160 | 387 | #: C/index-in.docbook:160 | ||
n | 386 | #, fuzzy | n | ||
387 | msgid "" | 388 | msgid "" | ||
388 | "<application>gtkmm</application> involves less code compared to GTK, which " | 389 | "<application>gtkmm</application> involves less code compared to GTK, which " | ||
389 | "uses prefixed function names and lots of cast macros." | 390 | "uses prefixed function names and lots of cast macros." | ||
390 | msgstr "" | 391 | msgstr "" | ||
n | 391 | "<application>gtkmm</application> involverar mindre kod än GTK, vilket " | n | 392 | "<application>gtkmm</application> innefattar mindre kod än GTK, vilket " |
392 | "använder prefixade funktionsnamn och massor av typkonverteringsmakron." | 393 | "använder prefixade funktionsnamn och många typkonverteringsmakron." | ||
393 | 394 | ||||
394 | #. (itstool) path: section/title | 395 | #. (itstool) path: section/title | ||
395 | #: C/index-in.docbook:164 | 396 | #: C/index-in.docbook:164 | ||
396 | msgid "<application>gtkmm</application> compared to Qt" | 397 | msgid "<application>gtkmm</application> compared to Qt" | ||
397 | msgstr "<application>gtkmm</application> jämfört med Qt" | 398 | msgstr "<application>gtkmm</application> jämfört med Qt" | ||
645 | "Distributioner som inkluderar <application>gtkmm</application> i sina förråd " | 646 | "Distributioner som inkluderar <application>gtkmm</application> i sina förråd " | ||
646 | "inkluderar Debian, Ubuntu, Red Hat, Fedora, Mandriva, Suse och många fler." | 647 | "inkluderar Debian, Ubuntu, Red Hat, Fedora, Mandriva, Suse och många fler." | ||
647 | 648 | ||||
648 | #. (itstool) path: section/para | 649 | #. (itstool) path: section/para | ||
649 | #: C/index-in.docbook:238 | 650 | #: C/index-in.docbook:238 | ||
n | 650 | #, fuzzy | n | ||
651 | #| msgid "" | ||||
652 | #| "The names of the <application>gtkmm</application> packages vary from " | ||||
653 | #| "distribution to distribution (e.g. <application>libgtkmm-4.0-dev</" | ||||
654 | #| "application> on Debian and Ubuntu or <application>gtkmm40-devel</" | ||||
655 | #| "application> on Red Hat Fedora), so check with your distribution's " | ||||
656 | #| "package management program for the correct package name and install it " | ||||
657 | #| "like you would any other package." | ||||
658 | msgid "" | 651 | msgid "" | ||
659 | "The names of the <application>gtkmm</application> packages vary from " | 652 | "The names of the <application>gtkmm</application> packages vary from " | ||
660 | "distribution to distribution (e.g. <application>libgtkmm-4.0-dev</" | 653 | "distribution to distribution (e.g. <application>libgtkmm-4.0-dev</" | ||
661 | "application> on Debian and Ubuntu or <application>gtkmm4.0-devel</" | 654 | "application> on Debian and Ubuntu or <application>gtkmm4.0-devel</" | ||
662 | "application> on Red Hat and Fedora), so check with your distribution's " | 655 | "application> on Red Hat and Fedora), so check with your distribution's " | ||
663 | "package management program for the correct package name and install it like " | 656 | "package management program for the correct package name and install it like " | ||
664 | "you would any other package." | 657 | "you would any other package." | ||
665 | msgstr "" | 658 | msgstr "" | ||
666 | "Namnen på <application>gtkmm</application>-paketen varierar från " | 659 | "Namnen på <application>gtkmm</application>-paketen varierar från " | ||
667 | "distribution till distribution (t.ex. <application>libgtkmm-4.0-dev</" | 660 | "distribution till distribution (t.ex. <application>libgtkmm-4.0-dev</" | ||
n | 668 | "application> på Debian och Ubuntu eller <application>gtkmm40-devel</" | n | 661 | "application> på Debian och Ubuntu eller <application>gtkmm4.0-devel</" |
669 | "application> på Red Hat och Fedora), så se i din distributions " | 662 | "application> på Red Hat och Fedora), så se i din distributions " | ||
670 | "pakethanteringsprogram vad som är rätt paketnamn och installera det som " | 663 | "pakethanteringsprogram vad som är rätt paketnamn och installera det som " | ||
671 | "vilket annat paket som helst." | 664 | "vilket annat paket som helst." | ||
672 | 665 | ||||
673 | #. (itstool) path: note/para | 666 | #. (itstool) path: note/para | ||
680 | "<application>libgtkmm-4.0-dev</application> package." | 673 | "<application>libgtkmm-4.0-dev</application> package." | ||
681 | msgstr "" | 674 | msgstr "" | ||
682 | "Paketnamnen kommer inte ändras när nya API/ABI-kompatibla versioner av " | 675 | "Paketnamnen kommer inte ändras när nya API/ABI-kompatibla versioner av " | ||
683 | "<application>gtkmm</application> släpps. Annars skulle de inte vara API/ABI-" | 676 | "<application>gtkmm</application> släpps. Annars skulle de inte vara API/ABI-" | ||
684 | "kompatibla. Så bli inte överraskad om exempelvis <application>gtkmm</" | 677 | "kompatibla. Så bli inte överraskad om exempelvis <application>gtkmm</" | ||
n | 685 | "application> 4.8 tillhandahålls av Debians <application>libgtkmm-4.0-dev</" | n | 678 | "application> 4.8 tillhandahålls av paketet <application>libgtkmm-4.0-dev</" |
686 | "application>-paket." | 679 | "application> i Debian." | ||
687 | 680 | ||||
688 | #. (itstool) path: section/title | 681 | #. (itstool) path: section/title | ||
689 | #: C/index-in.docbook:256 | 682 | #: C/index-in.docbook:256 | ||
690 | msgid "Installing From Source" | 683 | msgid "Installing From Source" | ||
691 | msgstr "Installera från källkod" | 684 | msgstr "Installera från källkod" | ||
720 | "application>-källkoden, packar upp den, och går till den nyskapade " | 713 | "application>-källkoden, packar upp den, och går till den nyskapade " | ||
721 | "katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen " | 714 | "katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen " | ||
722 | "<filename>README</filename> i <application>gtkmm</application>-versionen som " | 715 | "<filename>README</filename> i <application>gtkmm</application>-versionen som " | ||
723 | "du hämtat." | 716 | "du hämtat." | ||
724 | 717 | ||||
n | 725 | # TODO: root password for su, not sudo | n | 718 | # TODO: root password for su, not sudo? |
726 | #. (itstool) path: note/para | 719 | #. (itstool) path: note/para | ||
727 | #: C/index-in.docbook:271 | 720 | #: C/index-in.docbook:271 | ||
728 | msgid "" | 721 | msgid "" | ||
729 | "Remember that on a Unix or Linux operating system, you will probably need to " | 722 | "Remember that on a Unix or Linux operating system, you will probably need to " | ||
730 | "be <literal>root</literal> to install software. The <command>su</command> or " | 723 | "be <literal>root</literal> to install software. The <command>su</command> or " | ||
929 | msgstr "#include <gtkmm.h>" | 922 | msgstr "#include <gtkmm.h>" | ||
930 | 923 | ||||
931 | #. (itstool) path: section/para | 924 | #. (itstool) path: section/para | ||
932 | #: C/index-in.docbook:349 | 925 | #: C/index-in.docbook:349 | ||
933 | #, fuzzy | 926 | #, fuzzy | ||
n | n | 927 | #| msgid "" | ||
928 | #| "All <application>gtkmm</application> programs must include certain " | ||||
929 | #| "<application>gtkmm</application> headers; <literal>gtkmm.h</literal> " | ||||
930 | #| "includes the entire <application>gtkmm</application> kit. This is usually " | ||||
931 | #| "not a good idea, because it includes a megabyte or so of headers, but for " | ||||
932 | #| "simple programs, it suffices." | ||||
934 | msgid "" | 933 | msgid "" | ||
935 | "All <application>gtkmm</application> programs must include certain " | 934 | "All <application>gtkmm</application> programs must include certain " | ||
936 | "<application>gtkmm</application> headers; <filename>gtkmm.h</filename> " | 935 | "<application>gtkmm</application> headers; <filename>gtkmm.h</filename> " | ||
937 | "includes the entire <application>gtkmm</application> kit. This is usually " | 936 | "includes the entire <application>gtkmm</application> kit. This is usually " | ||
938 | "not a good idea, because it includes a megabyte or so of headers, but for " | 937 | "not a good idea, because it includes a megabyte or so of headers, but for " | ||
994 | msgid "" | 993 | msgid "" | ||
995 | "defines the <classname>MyWindow</classname> class. Its default constructor " | 994 | "defines the <classname>MyWindow</classname> class. Its default constructor " | ||
996 | "sets the window's title and default (initial) size." | 995 | "sets the window's title and default (initial) size." | ||
997 | msgstr "" | 996 | msgstr "" | ||
998 | "definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor " | 997 | "definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor " | ||
n | 999 | "ställer in fönstrets titel and (initial) standardstorlek." | n | 998 | "ställer in fönstrets titel och (initial) standardstorlek." |
1000 | 999 | ||||
1001 | #. (itstool) path: section/para | 1000 | #. (itstool) path: section/para | ||
1002 | #: C/index-in.docbook:373 | 1001 | #: C/index-in.docbook:373 | ||
1003 | msgid "The <function>main()</function> function's first statement:" | 1002 | msgid "The <function>main()</function> function's first statement:" | ||
1004 | msgstr "<function>main()</function>-funktionens första sats:" | 1003 | msgstr "<function>main()</function>-funktionens första sats:" | ||
1073 | msgstr "g++ simple.cc -o simple `pkg-config --cflags --libs gtkmm-4.0` -std=c++1 | 1072 | msgstr "g++ simple.cc -o simple `pkg-config --cflags --libs gtkmm-4.0` -std=c++1 | ||
> | 7" | > | 7" | ||
1074 | 1073 | ||||
1075 | #. (itstool) path: section/para | 1074 | #. (itstool) path: section/para | ||
1076 | #: C/index-in.docbook:393 | 1075 | #: C/index-in.docbook:393 | ||
1077 | #, fuzzy | 1076 | #, fuzzy | ||
n | n | 1077 | #| msgid "" | ||
1078 | #| "Note that you must surround the <literal>pkg-config</literal> invocation " | ||||
1079 | #| "with backquotes. Backquotes cause the shell to execute the command inside " | ||||
1080 | #| "them, and to use the command's output as part of the command line. Note " | ||||
1081 | #| "also that <literal>simple.cc</literal> must come before the <literal>pkg-" | ||||
1082 | #| "config</literal> invocation on the command line. <literal>-std=c++17</" | ||||
1083 | #| "literal> is necessary only if your compiler is not C++17 compliant by " | ||||
1084 | #| "default." | ||||
1078 | msgid "" | 1085 | msgid "" | ||
1079 | "Note that you must surround the <application>pkg-config</application> " | 1086 | "Note that you must surround the <application>pkg-config</application> " | ||
1080 | "invocation with backquotes. Backquotes cause the shell to execute the " | 1087 | "invocation with backquotes. Backquotes cause the shell to execute the " | ||
1081 | "command inside them, and to use the command's output as part of the command " | 1088 | "command inside them, and to use the command's output as part of the command " | ||
1082 | "line. Note also that <filename>base.cc</filename> must come before the " | 1089 | "line. Note also that <filename>base.cc</filename> must come before the " | ||
1084 | "<literal><phrase role=\"nowrap\">-std=c++17</phrase></literal> is necessary " | 1091 | "<literal><phrase role=\"nowrap\">-std=c++17</phrase></literal> is necessary " | ||
1085 | "only if your compiler is not <phrase role=\"nowrap\">C++17</phrase> " | 1092 | "only if your compiler is not <phrase role=\"nowrap\">C++17</phrase> " | ||
1086 | "compliant by default." | 1093 | "compliant by default." | ||
1087 | msgstr "" | 1094 | msgstr "" | ||
1088 | "Observera att du måste omsluta anropet av <literal>pkg-config</literal> med " | 1095 | "Observera att du måste omsluta anropet av <literal>pkg-config</literal> med " | ||
n | 1089 | "bakåtcitat. Bakåtcitat får skalet att exekvera kommandot inuti dem, och att " | n | 1096 | "grav accent (`). Grava accenter får skalet att exekvera kommandot inuti dem, " |
1090 | "använda kommandots utdata som en del av kommandoraden. Observera också att " | 1097 | "och att använda kommandots utdata som en del av kommandoraden. Observera " | ||
1091 | "<literal>simple.cc</literal> måste komma före anropet av <literal>pkg-" | 1098 | "också att <literal>simple.cc</literal> måste komma före anropet av " | ||
1092 | "config</literal> på kommandoraden. <literal>-std=c++17</literal> är endast " | 1099 | "<literal>pkg-config</literal> på kommandoraden. <literal>-std=c++17</" | ||
1093 | "nödvändigt om din kompilator inte följer C++17 som standard." | 1100 | "literal> är endast nödvändigt om din kompilator inte följer C++17 som " | ||
1101 | "standard." | ||||
1094 | 1102 | ||||
1095 | #. (itstool) path: section/title | 1103 | #. (itstool) path: section/title | ||
1096 | #: C/index-in.docbook:404 | 1104 | #: C/index-in.docbook:404 | ||
n | 1097 | #, fuzzy | n | ||
1098 | msgid "Headers and Linking" | 1105 | msgid "Headers and Linking" | ||
1099 | msgstr "Huvuden och länkning" | 1106 | msgstr "Huvuden och länkning" | ||
1100 | 1107 | ||||
1101 | #. (itstool) path: section/para | 1108 | #. (itstool) path: section/para | ||
1102 | #: C/index-in.docbook:406 | 1109 | #: C/index-in.docbook:406 | ||
1117 | "i <application>gtkmm-documentation</application> beskriver hur du bygger " | 1124 | "i <application>gtkmm-documentation</application> beskriver hur du bygger " | ||
1118 | "exemplen." | 1125 | "exemplen." | ||
1119 | 1126 | ||||
1120 | #. (itstool) path: section/para | 1127 | #. (itstool) path: section/para | ||
1121 | #: C/index-in.docbook:414 | 1128 | #: C/index-in.docbook:414 | ||
n | 1122 | #, fuzzy | n | ||
1123 | msgid "" | 1129 | msgid "" | ||
1124 | "To simplify compilation, we use <literal>pkg-config</literal>, which is " | 1130 | "To simplify compilation, we use <literal>pkg-config</literal>, which is " | ||
1125 | "present in all (properly installed) <application>gtkmm</application> " | 1131 | "present in all (properly installed) <application>gtkmm</application> " | ||
1126 | "installations. This program 'knows' what compiler switches are needed to " | 1132 | "installations. This program 'knows' what compiler switches are needed to " | ||
1127 | "compile programs that use <application>gtkmm</application>. The <literal>--" | 1133 | "compile programs that use <application>gtkmm</application>. The <literal>--" | ||
1183 | " win_subsystem: 'windows',\n" | 1189 | " win_subsystem: 'windows',\n" | ||
1184 | ")" | 1190 | ")" | ||
1185 | 1191 | ||||
1186 | #. (itstool) path: section/para | 1192 | #. (itstool) path: section/para | ||
1187 | #: C/index-in.docbook:437 | 1193 | #: C/index-in.docbook:437 | ||
n | 1188 | #, fuzzy | n | ||
1189 | msgid "" | 1194 | msgid "" | ||
1190 | "gtkmm-4.0 is the name of the current stable API. There are older APIs called " | 1195 | "gtkmm-4.0 is the name of the current stable API. There are older APIs called " | ||
1191 | "gtkmm-2.4 and gtkmm-3.0 which install in parallel when they are available. " | 1196 | "gtkmm-2.4 and gtkmm-3.0 which install in parallel when they are available. " | ||
1192 | "There are several versions of gtkmm-2.4, such as gtkmm 2.10 and there are " | 1197 | "There are several versions of gtkmm-2.4, such as gtkmm 2.10 and there are " | ||
1193 | "several versions of the gtkmm-3.0 API. Note that the API name does not " | 1198 | "several versions of the gtkmm-3.0 API. Note that the API name does not " | ||
1194 | "change for every version because that would be an incompatible API and ABI " | 1199 | "change for every version because that would be an incompatible API and ABI " | ||
1195 | "break. There might be a future gtkmm-5.0 API which would install in parallel " | 1200 | "break. There might be a future gtkmm-5.0 API which would install in parallel " | ||
1196 | "with gtkmm-4.0 without affecting existing applications." | 1201 | "with gtkmm-4.0 without affecting existing applications." | ||
1197 | msgstr "" | 1202 | msgstr "" | ||
1198 | "gtkmm-4.0 är namnet på det aktuella stabila API:t. Det finns äldre API:er " | 1203 | "gtkmm-4.0 är namnet på det aktuella stabila API:t. Det finns äldre API:er " | ||
n | 1199 | "som heter gtkmm-2.4 och gtkmm-3.0 vilka installeras parallellt då de är " | n | 1204 | "som heter gtkmm-2.4 och gtkmm-3.0 vilka installeras parallellt då de finns " |
1200 | "tillgängliga. Det finns flera versioner av gtkmm-2.4, som gtkmm 2.10, och " | 1205 | "tillgängliga. Det finns flera versioner av gtkmm-2.4, som gtkmm 2.10, och " | ||
1201 | "det finns flera versioner av gtkmm-3.0-API:t. Observera att API-namnet inte " | 1206 | "det finns flera versioner av gtkmm-3.0-API:t. Observera att API-namnet inte " | ||
1202 | "ändras för varje version då det skulle vara ett inkompatibelt API- och ABI-" | 1207 | "ändras för varje version då det skulle vara ett inkompatibelt API- och ABI-" | ||
1203 | "brott. Det kan komma ett framtida gtkmm-5.0-API som då skulle gå installera " | 1208 | "brott. Det kan komma ett framtida gtkmm-5.0-API som då skulle gå installera " | ||
1204 | "parallellt med gtkmm-4.0 utan att påverka befintliga program." | 1209 | "parallellt med gtkmm-4.0 utan att påverka befintliga program." | ||
1210 | "just for yourself, it's easier to start with a <filename>meson.build</" | 1215 | "just for yourself, it's easier to start with a <filename>meson.build</" | ||
1211 | "filename> similar to the <filename>meson.build</filename> files in the <link " | 1216 | "filename> similar to the <filename>meson.build</filename> files in the <link " | ||
1212 | "linkend=\"chapter-building-applications\">Building applications</link> " | 1217 | "linkend=\"chapter-building-applications\">Building applications</link> " | ||
1213 | "chapter." | 1218 | "chapter." | ||
1214 | msgstr "" | 1219 | msgstr "" | ||
n | 1215 | "Om du börjar med att experimenting med ett litet program som du bara tänker " | n | 1220 | "Om du börjar genom att experimentera med ett litet program som du bara " |
1216 | "använda själv är det lättare att börja med en <filename>meson.build</" | 1221 | "tänker använda själv är det lättare att börja med en <filename>meson.build</" | ||
1217 | "filename> liknande <filename>meson.build</filename>-filerna i kapitlet <link " | 1222 | "filename> liknande <filename>meson.build</filename>-filerna i kapitlet <link " | ||
1218 | "linkend=\"chapter-building-applications\">Bygga program</link>." | 1223 | "linkend=\"chapter-building-applications\">Bygga program</link>." | ||
1219 | 1224 | ||||
1220 | #. (itstool) path: section/para | 1225 | #. (itstool) path: section/para | ||
1221 | #: C/index-in.docbook:449 | 1226 | #: C/index-in.docbook:449 | ||
1460 | "rest of this section. But read on if you want to use languages other than " | 1465 | "rest of this section. But read on if you want to use languages other than " | ||
1461 | "English in your application." | 1466 | "English in your application." | ||
1462 | msgstr "" | 1467 | msgstr "" | ||
1463 | "Det kanske förvånar dig att höra att <application>gtkmm</application> inte " | 1468 | "Det kanske förvånar dig att höra att <application>gtkmm</application> inte " | ||
1464 | "använder <classname>std::string</classname> i sina gränssnitt. I stället " | 1469 | "använder <classname>std::string</classname> i sina gränssnitt. I stället " | ||
n | 1465 | "använder det <classname>Glib::ustring</classname> vilket är snarlikt och gör " | n | 1470 | "använder det <classname>Glib::ustring</classname> vilket är snarlikt och " |
1466 | "inget väsen av sig, så du skulle kunna låtsas att varje <classname>Glib::" | 1471 | "inte gör något väsen av sig, så du skulle kunna låtsas att varje " | ||
1467 | "ustring</classname> är en <classname>std::string</classname> och ignorera " | 1472 | "<classname>Glib::ustring</classname> är en <classname>std::string</" | ||
1468 | "resten av detta avsnitt. Men läs vidare om du vill använda andra språk än " | 1473 | "classname> och ignorera resten av detta avsnitt. Men läs vidare om du vill " | ||
1469 | "engelska i ditt program." | 1474 | "använda andra språk än engelska i ditt program." | ||
1470 | 1475 | ||||
1471 | #. (itstool) path: section/para | 1476 | #. (itstool) path: section/para | ||
1472 | #: C/index-in.docbook:518 | 1477 | #: C/index-in.docbook:518 | ||
1473 | #, fuzzy | 1478 | #, fuzzy | ||
n | n | 1479 | #| msgid "" | ||
1480 | #| "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | ||||
1481 | #| "languages such as Arabic, Chinese, and Japanese. Although the encodings " | ||||
1482 | #| "for these languages have been specified by the <link xlink:href=\"http://" | ||||
1483 | #| "www.unicode.org/\">Unicode Consortium</link>, the C and C++ languages do " | ||||
1484 | #| "not yet provide any standardised Unicode support for UTF-8 encoding. GTK " | ||||
1485 | #| "and GNOME chose to implement Unicode using UTF-8, and that's what is " | ||||
1486 | #| "wrapped by Glib::ustring. It provides almost exactly the same interface " | ||||
1487 | #| "as std::string, along with automatic conversions to and from std::string." | ||||
1474 | msgid "" | 1488 | msgid "" | ||
1475 | "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | 1489 | "std::string uses 8 bits per character, but 8 bits aren't enough to encode " | ||
1476 | "languages such as Arabic, Chinese, and Japanese. Although the encodings for " | 1490 | "languages such as Arabic, Chinese, and Japanese. Although the encodings for " | ||
1477 | "these languages have been specified by the <link xlink:href=\"http://www." | 1491 | "these languages have been specified by the <link xlink:href=\"http://www." | ||
1478 | "unicode.org/\">Unicode Consortium</link>, the C and <phrase " | 1492 | "unicode.org/\">Unicode Consortium</link>, the C and <phrase " | ||
1491 | "ustring. Det tillhandahåller nästan exakt samma gränssnitt som std::string, " | 1505 | "ustring. Det tillhandahåller nästan exakt samma gränssnitt som std::string, " | ||
1492 | "tillsammans med automatiska konverteringar till och från std::string." | 1506 | "tillsammans med automatiska konverteringar till och från std::string." | ||
1493 | 1507 | ||||
1494 | #. (itstool) path: section/para | 1508 | #. (itstool) path: section/para | ||
1495 | #: C/index-in.docbook:523 | 1509 | #: C/index-in.docbook:523 | ||
n | 1496 | #, fuzzy | n | ||
1497 | msgid "" | 1510 | msgid "" | ||
1498 | "One of the benefits of UTF-8 is that you don't need to use it unless you " | 1511 | "One of the benefits of UTF-8 is that you don't need to use it unless you " | ||
1499 | "want to, so you don't need to retrofit all of your code at once. " | 1512 | "want to, so you don't need to retrofit all of your code at once. " | ||
1500 | "<classname>std::string</classname> will still work for 7-bit ASCII strings. " | 1513 | "<classname>std::string</classname> will still work for 7-bit ASCII strings. " | ||
1501 | "But when you try to localize your application for languages like Chinese, " | 1514 | "But when you try to localize your application for languages like Chinese, " | ||
1511 | "du behöver göra att börja använda <classname>Glib::ustring</classname> i " | 1524 | "du behöver göra att börja använda <classname>Glib::ustring</classname> i " | ||
1512 | "stället." | 1525 | "stället." | ||
1513 | 1526 | ||||
1514 | #. (itstool) path: section/para | 1527 | #. (itstool) path: section/para | ||
1515 | #: C/index-in.docbook:524 | 1528 | #: C/index-in.docbook:524 | ||
n | 1516 | #, fuzzy | n | ||
1517 | msgid "" | 1529 | msgid "" | ||
1518 | "Note that UTF-8 isn't compatible with 8-bit encodings like ISO-8859-1. For " | 1530 | "Note that UTF-8 isn't compatible with 8-bit encodings like ISO-8859-1. For " | ||
1519 | "instance, German umlauts are not in the ASCII range and need more than 1 " | 1531 | "instance, German umlauts are not in the ASCII range and need more than 1 " | ||
1520 | "byte in the UTF-8 encoding. If your code contains 8-bit string literals, you " | 1532 | "byte in the UTF-8 encoding. If your code contains 8-bit string literals, you " | ||
1521 | "have to convert them to UTF-8 (e.g. the Bavarian greeting \"Grüß Gott\" " | 1533 | "have to convert them to UTF-8 (e.g. the Bavarian greeting \"Grüß Gott\" " | ||
1522 | "would be \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")." | 1534 | "would be \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")." | ||
1523 | msgstr "" | 1535 | msgstr "" | ||
1524 | "Observera att UTF-8 inte är kompatibelt med 8-bitars kodningar som " | 1536 | "Observera att UTF-8 inte är kompatibelt med 8-bitars kodningar som " | ||
n | 1525 | "ISO-8859-1. Exempelvis tyska umlaut finns inte i ASCII-intervallet och " | n | 1537 | "ISO-8859-1. Exempelvis finns tyska omljud inte i ASCII-intervallet och " |
1526 | "behöver mer än 1 byte i UTF-8-kodningen. Om din kod innehåller 8-bitars " | 1538 | "behöver mer än 1 byte i UTF-8-kodningen. Om din kod innehåller 8-bitars " | ||
1527 | "stränglitteraler behöver du konvertera dem till UTF-8 (t.ex. skulle den " | 1539 | "stränglitteraler behöver du konvertera dem till UTF-8 (t.ex. skulle den " | ||
n | 1528 | "Bayerska hälsningen \"Grüß Gott\" bli \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")." | n | 1540 | "bayerska hälsningen ”Grüß Gott” bli ”Gr\\xC3\\xBC\\xC3\\x9F Gott”)." |
1529 | 1541 | ||||
1530 | #. (itstool) path: section/para | 1542 | #. (itstool) path: section/para | ||
1531 | #: C/index-in.docbook:525 | 1543 | #: C/index-in.docbook:525 | ||
n | 1532 | #, fuzzy | n | ||
1533 | msgid "" | 1544 | msgid "" | ||
1534 | "You should avoid C-style pointer arithmetic, and functions such as strlen(). " | 1545 | "You should avoid C-style pointer arithmetic, and functions such as strlen(). " | ||
1535 | "In UTF-8, each character might need anywhere from 1 to 6 bytes, so it's not " | 1546 | "In UTF-8, each character might need anywhere from 1 to 6 bytes, so it's not " | ||
1536 | "possible to assume that the next byte is another character. <classname>Glib::" | 1547 | "possible to assume that the next byte is another character. <classname>Glib::" | ||
1537 | "ustring</classname> worries about the details of this for you so you can use " | 1548 | "ustring</classname> worries about the details of this for you so you can use " | ||
1538 | "methods such as Glib::ustring::substr() while still thinking in terms of " | 1549 | "methods such as Glib::ustring::substr() while still thinking in terms of " | ||
1539 | "characters instead of bytes." | 1550 | "characters instead of bytes." | ||
1540 | msgstr "" | 1551 | msgstr "" | ||
n | 1541 | "Du bör undvika pekararitmetik av C-stil, och funktioner som strlen(). I " | n | 1552 | "Du bör undvika pekararitmetik av C-stil och funktioner som strlen(). I UTF-8 " |
1542 | "UTF-8 kan varje tecken behöva vad som helst mellan 1 och 6 byte, så det är " | 1553 | "kan varje tecken behöva vad som helst från 1 till 6 byte, så det är inte " | ||
1543 | "inte möjligt att anta att nästa byte är ett annat tecken. <classname>Glib::" | 1554 | "möjligt att anta att nästa byte är ett nytt tecken. <classname>Glib::" | ||
1544 | "ustring</classname> sköter detaljera kring detta åt dig, så du kan använda " | 1555 | "ustring</classname> sköter detaljerna kring detta åt dig, så du kan använda " | ||
1545 | "metoder som Glib::ustring::substr() och tänka på antal tecken i stället för " | 1556 | "metoder som Glib::ustring::substr() och tänka på antal tecken i stället för " | ||
1546 | "byte." | 1557 | "byte." | ||
1547 | 1558 | ||||
1548 | #. (itstool) path: section/para | 1559 | #. (itstool) path: section/para | ||
1549 | #: C/index-in.docbook:527 | 1560 | #: C/index-in.docbook:527 | ||
n | 1550 | #, fuzzy | n | ||
1551 | msgid "" | 1561 | msgid "" | ||
1552 | "Unlike the Windows UCS-2 Unicode solution, this does not require any special " | 1562 | "Unlike the Windows UCS-2 Unicode solution, this does not require any special " | ||
1553 | "compiler options to process string literals, and it does not result in " | 1563 | "compiler options to process string literals, and it does not result in " | ||
1554 | "Unicode executables and libraries which are incompatible with ASCII ones." | 1564 | "Unicode executables and libraries which are incompatible with ASCII ones." | ||
1555 | msgstr "" | 1565 | msgstr "" | ||
n | 1556 | "Till skillnad från Windows UCS-2 Unicode-lösning, så kräver detta inte några " | n | 1566 | "Till skillnad från Windows Unicode-lösning UCS-2 så kräver detta inte några " |
1557 | "ytterligare kompilatorflaggor för att behandla stränglitteraler, och det " | 1567 | "ytterligare kompilatorflaggor för att behandla stränglitteraler, och det " | ||
1558 | "resulterar inte i körbara Unicode-program och bibliotek som är inkompatibla " | 1568 | "resulterar inte i körbara Unicode-program och bibliotek som är inkompatibla " | ||
1559 | "med de som använder ASCII." | 1569 | "med de som använder ASCII." | ||
1560 | 1570 | ||||
1561 | #. (itstool) path: section/para | 1571 | #. (itstool) path: section/para | ||
1562 | #: C/index-in.docbook:529 | 1572 | #: C/index-in.docbook:529 | ||
n | 1563 | #, fuzzy | n | ||
1564 | #| msgid "" | ||||
1565 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
1566 | #| "classGlib_1_1ustring.html\">Reference</link>" | ||||
1567 | msgid "" | 1573 | msgid "" | ||
1568 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 1574 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
1569 | "classGlib_1_1ustring.html\">Reference</link>" | 1575 | "classGlib_1_1ustring.html\">Reference</link>" | ||
1570 | msgstr "" | 1576 | msgstr "" | ||
n | 1571 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 1577 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
1572 | "classGlib_1_1ustring.html\">Referens</link>" | 1578 | "classGlib_1_1ustring.html\">Referens</link>" | ||
1573 | 1579 | ||||
1574 | #. (itstool) path: section/para | 1580 | #. (itstool) path: section/para | ||
1575 | #: C/index-in.docbook:531 | 1581 | #: C/index-in.docbook:531 | ||
n | 1576 | #, fuzzy | n | ||
1577 | msgid "" | 1582 | msgid "" | ||
1578 | "See the <link linkend=\"chapter-internationalization\">Internationalization</" | 1583 | "See the <link linkend=\"chapter-internationalization\">Internationalization</" | ||
1579 | "link> section for information about providing the UTF-8 string literals." | 1584 | "link> section for information about providing the UTF-8 string literals." | ||
1580 | msgstr "" | 1585 | msgstr "" | ||
1581 | "Se avsnittet <link linkend=\"chapter-" | 1586 | "Se avsnittet <link linkend=\"chapter-" | ||
2029 | "several small changes that were not possible while maintaining binary " | 2034 | "several small changes that were not possible while maintaining binary " | ||
2030 | "compatibility. If you never used the <application>gtkmm</application>-2.4 " | 2035 | "compatibility. If you never used the <application>gtkmm</application>-2.4 " | ||
2031 | "API then you can safely ignore this chapter." | 2036 | "API then you can safely ignore this chapter." | ||
2032 | msgstr "" | 2037 | msgstr "" | ||
2033 | "<application>gtkmm</application>-3.0 är en gammal version av " | 2038 | "<application>gtkmm</application>-3.0 är en gammal version av " | ||
n | 2034 | "<application>gtkmm</application>-API:t som kan installeras parallellt med " | n | 2039 | "<application>gtkmm</application>-API:t som installeras parallellt med det " |
2035 | "det ännu äldre <application>gtkmm</application>-2.4-API:t och det nya " | 2040 | "ännu äldre <application>gtkmm</application>-2.4-API:t och det nya " | ||
2036 | "<application>gtkmm</application>-4.0-API:t. Den senaste versionen av " | 2041 | "<application>gtkmm</application>-4.0-API:t. Den senaste versionen av " | ||
2037 | "<application>gtkmm</application>-2.4-API:t var <application>gtkmm</" | 2042 | "<application>gtkmm</application>-2.4-API:t var <application>gtkmm</" | ||
2038 | "application> 2.24. <application>gtkmm</application> 3 har inga större " | 2043 | "application> 2.24. <application>gtkmm</application> 3 har inga större " | ||
2039 | "fundamentala skillnader mot <application>gtkmm</application> 2 men gör flera " | 2044 | "fundamentala skillnader mot <application>gtkmm</application> 2 men gör flera " | ||
2040 | "små ändringar som inte var möjliga att göra samtidigt som binär " | 2045 | "små ändringar som inte var möjliga att göra samtidigt som binär " | ||
2041 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" | 2046 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" | ||
2042 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | 2047 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | ||
2043 | 2048 | ||||
2044 | #. (itstool) path: chapter/para | 2049 | #. (itstool) path: chapter/para | ||
2045 | #: C/index-in.docbook:696 | 2050 | #: C/index-in.docbook:696 | ||
n | 2046 | #, fuzzy | n | ||
2047 | msgid "" | 2051 | msgid "" | ||
2048 | "<application>gtkmm</application> 3's library is called " | 2052 | "<application>gtkmm</application> 3's library is called " | ||
2049 | "<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> " | 2053 | "<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> " | ||
2050 | "and installs its headers in a similarly-versioned directory, so your pkg-" | 2054 | "and installs its headers in a similarly-versioned directory, so your pkg-" | ||
2051 | "config check should ask for <literal>gtkmm-3.0</literal> rather than " | 2055 | "config check should ask for <literal>gtkmm-3.0</literal> rather than " | ||
2086 | "classname>. Den arrangerar sina underliggande komponenter enligt " | 2090 | "classname>. Den arrangerar sina underliggande komponenter enligt " | ||
2087 | "komponenternas egenskaper snarare än sina egna layoutdetaljer." | 2091 | "komponenternas egenskaper snarare än sina egna layoutdetaljer." | ||
2088 | 2092 | ||||
2089 | #. (itstool) path: listitem/simpara | 2093 | #. (itstool) path: listitem/simpara | ||
2090 | #: C/index-in.docbook:703 | 2094 | #: C/index-in.docbook:703 | ||
n | 2091 | #, fuzzy | n | ||
2092 | msgid "" | 2095 | msgid "" | ||
2093 | "<classname>Gtk::Switch</classname> displays On/Off states more explicitly " | 2096 | "<classname>Gtk::Switch</classname> displays On/Off states more explicitly " | ||
2094 | "than <classname>Gtk::CheckButton</classname>. It may be useful, for " | 2097 | "than <classname>Gtk::CheckButton</classname>. It may be useful, for " | ||
2095 | "instance, when allowing users to activate hardware." | 2098 | "instance, when allowing users to activate hardware." | ||
2096 | msgstr "" | 2099 | msgstr "" | ||
2109 | "t som du troligen kommer stöta på när du porterar kod som använt " | 2112 | "t som du troligen kommer stöta på när du porterar kod som använt " | ||
2110 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | 2113 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | ||
2111 | 2114 | ||||
2112 | #. (itstool) path: listitem/simpara | 2115 | #. (itstool) path: listitem/simpara | ||
2113 | #: C/index-in.docbook:711 | 2116 | #: C/index-in.docbook:711 | ||
n | 2114 | #, fuzzy | n | ||
2115 | msgid "" | 2117 | msgid "" | ||
2116 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | 2118 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | ||
2117 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | 2119 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | ||
2118 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | 2120 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | ||
2119 | "can be used to specify more details of how the <classname>CellRenderer</" | 2121 | "can be used to specify more details of how the <classname>CellRenderer</" | ||
2125 | "classname> som kan användas för att ange mer detaljer på hur " | 2127 | "classname> som kan användas för att ange mer detaljer på hur " | ||
2126 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." | 2128 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." | ||
2127 | 2129 | ||||
2128 | #. (itstool) path: listitem/simpara | 2130 | #. (itstool) path: listitem/simpara | ||
2129 | #: C/index-in.docbook:713 | 2131 | #: C/index-in.docbook:713 | ||
n | 2130 | #, fuzzy | n | ||
2131 | msgid "" | 2132 | msgid "" | ||
2132 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | 2133 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | ||
2133 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | 2134 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | ||
2134 | msgstr "" | 2135 | msgstr "" | ||
2135 | "Gtk::ComboBox härleds nu från CellLayout, vilket tillåter lättare layout och " | 2136 | "Gtk::ComboBox härleds nu från CellLayout, vilket tillåter lättare layout och " | ||
2166 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | 2167 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | ||
2167 | "kräva användningen av en härledd klass som <classname>Gtk::HBox</classname>." | 2168 | "kräva användningen av en härledd klass som <classname>Gtk::HBox</classname>." | ||
2168 | 2169 | ||||
2169 | #. (itstool) path: listitem/simpara | 2170 | #. (itstool) path: listitem/simpara | ||
2170 | #: C/index-in.docbook:720 | 2171 | #: C/index-in.docbook:720 | ||
n | 2171 | #, fuzzy | n | ||
2172 | msgid "" | 2172 | msgid "" | ||
2173 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | 2173 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | ||
2174 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | 2174 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | ||
2175 | "Scrollable instead of having their own methods such as " | 2175 | "Scrollable instead of having their own methods such as " | ||
2176 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | 2176 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | ||
2182 | "<methodname>get_vadjustment()</methodname> och i stället för att ha sin egen " | 2182 | "<methodname>get_vadjustment()</methodname> och i stället för att ha sin egen " | ||
2183 | "set_scroll_adjustments-signal." | 2183 | "set_scroll_adjustments-signal." | ||
2184 | 2184 | ||||
2185 | #. (itstool) path: listitem/simpara | 2185 | #. (itstool) path: listitem/simpara | ||
2186 | #: C/index-in.docbook:722 | 2186 | #: C/index-in.docbook:722 | ||
n | 2187 | #, fuzzy | n | ||
2188 | msgid "" | 2187 | msgid "" | ||
2189 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | 2188 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||
2190 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | 2189 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||
2191 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | 2190 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||
2192 | "CssProvider</classname>." | 2191 | "CssProvider</classname>." | ||
2193 | msgstr "" | 2192 | msgstr "" | ||
2194 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 2193 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
2195 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 2194 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 2196 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 2195 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
2197 | "classname>." | 2196 | "CssProvider</classname>." | ||
2198 | 2197 | ||||
2199 | #. (itstool) path: listitem/simpara | 2198 | #. (itstool) path: listitem/simpara | ||
2200 | #: C/index-in.docbook:724 | 2199 | #: C/index-in.docbook:724 | ||
2201 | msgid "" | 2200 | msgid "" | ||
2202 | "Widget::on_expose_event() was replaced by Widget::on_draw(), which assumes " | 2201 | "Widget::on_expose_event() was replaced by Widget::on_draw(), which assumes " | ||
2209 | "classname> och kräver inte att du anropar <methodname>Cairo::Context::" | 2208 | "classname> och kräver inte att du anropar <methodname>Cairo::Context::" | ||
2210 | "clip()</methodname>." | 2209 | "clip()</methodname>." | ||
2211 | 2210 | ||||
2212 | #. (itstool) path: listitem/simpara | 2211 | #. (itstool) path: listitem/simpara | ||
2213 | #: C/index-in.docbook:726 | 2212 | #: C/index-in.docbook:726 | ||
n | 2214 | #, fuzzy | n | ||
2215 | msgid "" | 2213 | msgid "" | ||
2216 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | 2214 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | ||
2217 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | 2215 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | ||
2218 | "removed, along with its awkward use to allocate colors." | 2216 | "removed, along with its awkward use to allocate colors." | ||
2219 | msgstr "" | 2217 | msgstr "" | ||
2245 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | 2243 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | ||
2246 | "till <classname>Gdk::Window</classname>." | 2244 | "till <classname>Gdk::Window</classname>." | ||
2247 | 2245 | ||||
2248 | #. (itstool) path: listitem/simpara | 2246 | #. (itstool) path: listitem/simpara | ||
2249 | #: C/index-in.docbook:732 | 2247 | #: C/index-in.docbook:732 | ||
n | 2250 | #, fuzzy | n | ||
2251 | msgid "" | 2248 | msgid "" | ||
2252 | "We now use std::vector in several methods instead of the intermediate " | 2249 | "We now use std::vector in several methods instead of the intermediate " | ||
2253 | "*Handle types to make the API clearer." | 2250 | "*Handle types to make the API clearer." | ||
2254 | msgstr "" | 2251 | msgstr "" | ||
2255 | "Vi använder nu std::vector i flera metoder i stället för mellanliggande " | 2252 | "Vi använder nu std::vector i flera metoder i stället för mellanliggande " | ||
2256 | "*Handle-typer för att göra API:t tydligare." | 2253 | "*Handle-typer för att göra API:t tydligare." | ||
2257 | 2254 | ||||
2258 | #. (itstool) path: chapter/para | 2255 | #. (itstool) path: chapter/para | ||
2259 | #: C/index-in.docbook:737 | 2256 | #: C/index-in.docbook:737 | ||
n | 2260 | #, fuzzy | n | ||
2261 | msgid "" | 2257 | msgid "" | ||
2262 | "All deprecated API was removed in <application>gtkmm</application> 3.0, " | 2258 | "All deprecated API was removed in <application>gtkmm</application> 3.0, " | ||
2263 | "though there have been new deprecations in later <application>gtkmm</" | 2259 | "though there have been new deprecations in later <application>gtkmm</" | ||
2264 | "application> 3.x versions." | 2260 | "application> 3.x versions." | ||
2265 | msgstr "" | 2261 | msgstr "" | ||
2267 | "nya föråldringar har gjorts i senare <application>gtkmm</application> 3.x-" | 2263 | "nya föråldringar har gjorts i senare <application>gtkmm</application> 3.x-" | ||
2268 | "versioner." | 2264 | "versioner." | ||
2269 | 2265 | ||||
2270 | #. (itstool) path: chapter/para | 2266 | #. (itstool) path: chapter/para | ||
2271 | #: C/index-in.docbook:739 | 2267 | #: C/index-in.docbook:739 | ||
n | 2272 | #, fuzzy | n | ||
2273 | msgid "" | 2268 | msgid "" | ||
2274 | "As a first step to porting your source code to <application>gtkmm</" | 2269 | "As a first step to porting your source code to <application>gtkmm</" | ||
2275 | "application>-3.0 you should probably ensure that your application builds " | 2270 | "application>-3.0 you should probably ensure that your application builds " | ||
2276 | "with the deprecated <application>gtkmm</application>-2.4 API disabled, by " | 2271 | "with the deprecated <application>gtkmm</application>-2.4 API disabled, by " | ||
2277 | "defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools " | 2272 | "defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools " | ||
2310 | "and large ones) that were not possible while maintaining binary " | 2305 | "and large ones) that were not possible while maintaining binary " | ||
2311 | "compatibility. If you never used the <application>gtkmm</application>-3.0 " | 2306 | "compatibility. If you never used the <application>gtkmm</application>-3.0 " | ||
2312 | "API then you can safely ignore this chapter." | 2307 | "API then you can safely ignore this chapter." | ||
2313 | msgstr "" | 2308 | msgstr "" | ||
2314 | "<application>gtkmm</application>-4.0 är en ny version av <application>gtkmm</" | 2309 | "<application>gtkmm</application>-4.0 är en ny version av <application>gtkmm</" | ||
n | 2315 | "application>-API:t som kan installeras parallellt med de äldre API:erna " | n | 2310 | "application>-API:t som installeras parallellt med de äldre API:erna " |
2316 | "<application>gtkmm</application>-2.4 och <application>gtkmm</" | 2311 | "<application>gtkmm</application>-2.4 och <application>gtkmm</" | ||
2317 | "application>-3.0. Den senaste versionen av <application>gtkmm</" | 2312 | "application>-3.0. Den senaste versionen av <application>gtkmm</" | ||
2318 | "application>-3.0-API:t är <application>gtkmm</application> 3.24. " | 2313 | "application>-3.0-API:t är <application>gtkmm</application> 3.24. " | ||
2319 | "<application>gtkmm</application> 4 har inga större fundamentala skillnader " | 2314 | "<application>gtkmm</application> 4 har inga större fundamentala skillnader " | ||
2320 | "mot <application>gtkmm</application> 3 men gör flera ändringar (både stora " | 2315 | "mot <application>gtkmm</application> 3 men gör flera ändringar (både stora " | ||
2322 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | 2317 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | ||
2323 | "du lugnt ignorera detta kapitel." | 2318 | "du lugnt ignorera detta kapitel." | ||
2324 | 2319 | ||||
2325 | #. (itstool) path: chapter/para | 2320 | #. (itstool) path: chapter/para | ||
2326 | #: C/index-in.docbook:754 | 2321 | #: C/index-in.docbook:754 | ||
n | 2327 | #, fuzzy | n | ||
2328 | msgid "" | 2322 | msgid "" | ||
2329 | "<application>gtkmm</application> 4's library is called " | 2323 | "<application>gtkmm</application> 4's library is called " | ||
2330 | "<literal>libgtkmm-4.0</literal> rather than <literal>libgtkmm-3.0</literal> " | 2324 | "<literal>libgtkmm-4.0</literal> rather than <literal>libgtkmm-3.0</literal> " | ||
2331 | "and installs its headers in a similarly-versioned directory, so your " | 2325 | "and installs its headers in a similarly-versioned directory, so your " | ||
2332 | "<application>pkg-config</application> check should ask for " | 2326 | "<application>pkg-config</application> check should ask for " | ||
2339 | "<literal>gtkmm-4.0</literal> snarare än <literal>gtkmm-3.0</literal>." | 2333 | "<literal>gtkmm-4.0</literal> snarare än <literal>gtkmm-3.0</literal>." | ||
2340 | 2334 | ||||
2341 | #. (itstool) path: chapter/para | 2335 | #. (itstool) path: chapter/para | ||
2342 | #: C/index-in.docbook:760 | 2336 | #: C/index-in.docbook:760 | ||
2343 | #, fuzzy | 2337 | #, fuzzy | ||
n | n | 2338 | #| msgid "" | ||
2339 | #| "<application>gtkmm</application>-4.0 is used in combination with " | ||||
2340 | #| "<application>glibmm-2.68</application>, which sets the global locale for " | ||||
2341 | #| "your program. The older <application>glibmm-2.4</application> does not do " | ||||
2342 | #| "that, and <application>gtkmm</application>-3.0 does it only to some " | ||||
2343 | #| "extent. What this means is briefly that if your <application>gtkmm</" | ||||
2344 | #| "application>-3.0 program contains a call to <function>std::locale::" | ||||
2345 | #| "global(std::locale(\"\"))</function>, you can probably remove it. If you " | ||||
2346 | #| "don't want <application>glibmm</application> or <application>gtkmm</" | ||||
2347 | #| "application> to set the global locale for you, you should add a call to " | ||||
2348 | #| "<function>Glib::set_init_to_users_preferred_locale(false)</function> " | ||||
2349 | #| "before any call to <function>Glib::init()</function> or <methodname>Gtk::" | ||||
2350 | #| "Application::create()</methodname>." | ||||
2344 | msgid "" | 2351 | msgid "" | ||
2345 | "<application>gtkmm</application>-4.0 is used in combination with " | 2352 | "<application>gtkmm</application>-4.0 is used in combination with " | ||
2346 | "<application>glibmm-2.68</application>, which sets the global locale for " | 2353 | "<application>glibmm-2.68</application>, which sets the global locale for " | ||
2347 | "your program. The older <application>glibmm-2.4</application> does not do " | 2354 | "your program. The older <application>glibmm-2.4</application> does not do " | ||
2348 | "that, and <application>gtkmm</application>-3.0 does it only to some extent. " | 2355 | "that, and <application>gtkmm</application>-3.0 does it only to some extent. " | ||
2412 | #: C/index-in.docbook:791 | 2419 | #: C/index-in.docbook:791 | ||
2413 | msgid "" | 2420 | msgid "" | ||
2414 | "Some new classes were added in <application>gtkmm</application> 4 and " | 2421 | "Some new classes were added in <application>gtkmm</application> 4 and " | ||
2415 | "<application>glibmm</application> 2.68:" | 2422 | "<application>glibmm</application> 2.68:" | ||
2416 | msgstr "" | 2423 | msgstr "" | ||
n | 2417 | "Nägra nya klasser lades till i <application>gtkmm</application> 4 och " | n | 2424 | "Några nya klasser lades till i <application>gtkmm</application> 4 och " |
2418 | "<application>glibmm</application> 2.68:" | 2425 | "<application>glibmm</application> 2.68:" | ||
2419 | 2426 | ||||
2420 | #. (itstool) path: listitem/simpara | 2427 | #. (itstool) path: listitem/simpara | ||
2421 | #: C/index-in.docbook:793 | 2428 | #: C/index-in.docbook:793 | ||
2422 | msgid "" | 2429 | msgid "" | ||
2527 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | 2534 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | ||
2528 | "<classname>Gtk::FontChooser</classname>." | 2535 | "<classname>Gtk::FontChooser</classname>." | ||
2529 | 2536 | ||||
2530 | #. (itstool) path: listitem/simpara | 2537 | #. (itstool) path: listitem/simpara | ||
2531 | #: C/index-in.docbook:822 | 2538 | #: C/index-in.docbook:822 | ||
n | 2532 | #, fuzzy | n | ||
2533 | msgid "" | 2539 | msgid "" | ||
2534 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | 2540 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | ||
2535 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | 2541 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | ||
2536 | "This change only affects custom widgets." | 2542 | "This change only affects custom widgets." | ||
2537 | msgstr "" | 2543 | msgstr "" | ||
n | 2538 | "<classname>Gtk::Widget</classname>: De olika " | n | 2544 | "<classname>Gtk::Widget</classname>: De olika metoderna " |
2539 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | 2545 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | ||
2540 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | 2546 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | ||
2541 | "anpassade komponenter." | 2547 | "anpassade komponenter." | ||
2542 | 2548 | ||||
2543 | #. (itstool) path: listitem/simpara | 2549 | #. (itstool) path: listitem/simpara | ||
2559 | #, fuzzy | 2565 | #, fuzzy | ||
2560 | msgid "" | 2566 | msgid "" | ||
2561 | "<classname>Gtk::DrawingArea</classname> uses a draw function instead of the " | 2567 | "<classname>Gtk::DrawingArea</classname> uses a draw function instead of the " | ||
2562 | "draw signal." | 2568 | "draw signal." | ||
2563 | msgstr "" | 2569 | msgstr "" | ||
n | 2564 | "<classname>Gtk::DrawingArea</classname> använder en ritfunktion istället för " | n | 2570 | "<classname>Gtk::DrawingArea</classname> använder en ritfunktion i stället " |
2565 | "signalen draw." | 2571 | "för signalen draw." | ||
2566 | 2572 | ||||
2567 | #. (itstool) path: listitem/simpara | 2573 | #. (itstool) path: listitem/simpara | ||
2568 | #: C/index-in.docbook:828 | 2574 | #: C/index-in.docbook:828 | ||
2569 | #, fuzzy | 2575 | #, fuzzy | ||
2570 | #| msgid "" | 2576 | #| msgid "" | ||
2597 | msgid "<classname>Gtk::Container</classname> has been removed." | 2603 | msgid "<classname>Gtk::Container</classname> has been removed." | ||
2598 | msgstr "<classname>Gtk::Container</classname> har tagits bort." | 2604 | msgstr "<classname>Gtk::Container</classname> har tagits bort." | ||
2599 | 2605 | ||||
2600 | #. (itstool) path: listitem/simpara | 2606 | #. (itstool) path: listitem/simpara | ||
2601 | #: C/index-in.docbook:833 | 2607 | #: C/index-in.docbook:833 | ||
n | 2602 | #, fuzzy | n | ||
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>." | ||||
2608 | msgid "" | 2608 | msgid "" | ||
2609 | "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | 2609 | "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | ||
2610 | "default value of <methodname>Gtk::Widget::property_visible()</methodname> " | 2610 | "default value of <methodname>Gtk::Widget::property_visible()</methodname> " | ||
2611 | "has been changed from <literal>false</literal> to <literal>true</literal>." | 2611 | "has been changed from <literal>false</literal> to <literal>true</literal>." | ||
2612 | msgstr "" | 2612 | msgstr "" | ||
2687 | "CheckButton</classname> eller <classname>Gtk::ToggleButton</classname> med " | 2687 | "CheckButton</classname> eller <classname>Gtk::ToggleButton</classname> med " | ||
2688 | "<methodname>set_group()</methodname>." | 2688 | "<methodname>set_group()</methodname>." | ||
2689 | 2689 | ||||
2690 | #. (itstool) path: chapter/para | 2690 | #. (itstool) path: chapter/para | ||
2691 | #: C/index-in.docbook:859 | 2691 | #: C/index-in.docbook:859 | ||
n | 2692 | #, fuzzy | n | ||
2693 | msgid "" | 2692 | msgid "" | ||
2694 | "All deprecated API was removed in <application>gtkmm</application> 4.0 and " | 2693 | "All deprecated API was removed in <application>gtkmm</application> 4.0 and " | ||
2695 | "<application>glibmm</application> 2.68, though there will be new " | 2694 | "<application>glibmm</application> 2.68, though there will be new " | ||
2696 | "deprecations in future versions." | 2695 | "deprecations in future versions." | ||
2697 | msgstr "" | 2696 | msgstr "" | ||
2698 | "Alla föråldrade API:er togs bort i <application>gtkmm</application> 4.0 och " | 2697 | "Alla föråldrade API:er togs bort i <application>gtkmm</application> 4.0 och " | ||
2699 | "<application>glibmm</application> 2.68, men det kommer göras nya " | 2698 | "<application>glibmm</application> 2.68, men det kommer göras nya " | ||
n | 2700 | "föråldringar framtida versioner." | n | 2699 | "föråldringar i framtida versioner." |
2701 | 2700 | ||||
2702 | # TODO: copy paste of wiki page? | 2701 | # TODO: copy paste of wiki page? | ||
2703 | #. (itstool) path: chapter/para | 2702 | #. (itstool) path: chapter/para | ||
2704 | #: C/index-in.docbook:862 | 2703 | #: C/index-in.docbook:862 | ||
n | 2705 | #, fuzzy | n | ||
2706 | msgid "" | 2704 | msgid "" | ||
2707 | "As a first step to porting your source code to <application>gtkmm</" | 2705 | "As a first step to porting your source code to <application>gtkmm</" | ||
2708 | "application>-4.0 you should probably ensure that your application builds " | 2706 | "application>-4.0 you should probably ensure that your application builds " | ||
2709 | "with the deprecated <application>gtkmm</application>-3.0 and " | 2707 | "with the deprecated <application>gtkmm</application>-3.0 and " | ||
2710 | "<application>glibmm-2.4</application> API disabled, by defining the macros " | 2708 | "<application>glibmm-2.4</application> API disabled, by defining the macros " | ||
2726 | "Projects/gtkmm/PortingToGtkmm3\">portering från gtkmm-2.4 till gtkmm-3.0</" | 2724 | "Projects/gtkmm/PortingToGtkmm3\">portering från gtkmm-2.4 till gtkmm-3.0</" | ||
2727 | "link> för mer detaljer." | 2725 | "link> för mer detaljer." | ||
2728 | 2726 | ||||
2729 | #. (itstool) path: chapter/para | 2727 | #. (itstool) path: chapter/para | ||
2730 | #: C/index-in.docbook:869 | 2728 | #: C/index-in.docbook:869 | ||
n | 2731 | #, fuzzy | n | ||
2732 | #| msgid "" | ||||
2733 | #| "See also <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-" | ||||
2734 | #| "migrating-3-to-4.html\"> Migrating from GTK 3.x to GTK 4</link>." | ||||
2735 | msgid "" | 2729 | msgid "" | ||
2736 | "See also <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> " | 2730 | "See also <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> " | ||
2737 | "Migrating from GTK 3.x to GTK 4</link>." | 2731 | "Migrating from GTK 3.x to GTK 4</link>." | ||
2738 | msgstr "" | 2732 | msgstr "" | ||
n | 2739 | "Se även <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-" | n | 2733 | "Se även <link xlink:href=\"https://docs.gtk.org/gtk4/migrating-3to4.html\"> " |
2740 | "migrating-3-to-4.html\"> Migrera från GTK 3.x till GTK 4</link>." | 2734 | "Migrera från GTK 3.x till GTK 4</link>." | ||
2741 | 2735 | ||||
2742 | #. (itstool) path: section/title | 2736 | #. (itstool) path: section/title | ||
2743 | #: C/index-in.docbook:873 | 2737 | #: C/index-in.docbook:873 | ||
n | 2744 | #, fuzzy | n | ||
2745 | #| msgid "Changes in <application>gtkmm</application> 3" | ||||
2746 | msgid "Deprecations in <application>gtkmm</application> 4.10" | 2738 | msgid "Deprecations in <application>gtkmm</application> 4.10" | ||
n | 2747 | msgstr "Ändringar i <application>gtkmm</application> 3" | n | 2739 | msgstr "Föråldringar i <application>gtkmm</application> 4.10" |
2748 | 2740 | ||||
2749 | #. (itstool) path: section/para | 2741 | #. (itstool) path: section/para | ||
2750 | #: C/index-in.docbook:874 | 2742 | #: C/index-in.docbook:874 | ||
2751 | msgid "" | 2743 | msgid "" | ||
2752 | "Many classes are deprecated since <application>gtkmm</application> 4.10. " | 2744 | "Many classes are deprecated since <application>gtkmm</application> 4.10. " | ||
2756 | "4.10, which replace some of the deprecated classes. Some example programs in " | 2748 | "4.10, which replace some of the deprecated classes. Some example programs in " | ||
2757 | "this tutorial use classes deprecated since <application>gtkmm</application> " | 2749 | "this tutorial use classes deprecated since <application>gtkmm</application> " | ||
2758 | "4.10. Some other programs use classes available since <application>gtkmm</" | 2750 | "4.10. Some other programs use classes available since <application>gtkmm</" | ||
2759 | "application> 4.10." | 2751 | "application> 4.10." | ||
2760 | msgstr "" | 2752 | msgstr "" | ||
n | n | 2753 | "Många klasser har föråldrats sedan <application>gtkmm</application> 4.10. De " | ||
2754 | "kan fortfarande användas i <application>gtkmm</application>4-program, " | ||||
2755 | "förutsatt att GTKMM_DISABLE_DEPRECATED och GDKMM_DISABLE_DEPRECATED inte har " | ||||
2756 | "definierats. Det finns också många nya klasser i <application>gtkmm</" | ||||
2757 | "application> 4.10, vilka ersätter några av de föråldrade klasserna. Några " | ||||
2758 | "exempelprogram i denna handledning använder klasser som föråldrats sedan " | ||||
2759 | "<application>gtkmm</application> 4.10. Några andra program använder klasser " | ||||
2760 | "som är tillgängliga sedan <application>gtkmm</application> 4.10." | ||||
2761 | 2761 | ||||
2762 | #. (itstool) path: section/para | 2762 | #. (itstool) path: section/para | ||
2763 | #: C/index-in.docbook:880 | 2763 | #: C/index-in.docbook:880 | ||
n | n | 2764 | #, fuzzy | ||
2764 | msgid "" | 2765 | msgid "" | ||
2765 | "Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, " | 2766 | "Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, " | ||
2766 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | 2767 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | ||
2767 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | 2768 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | ||
2768 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | 2769 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | ||
2776 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | 2777 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | ||
2777 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | 2778 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | ||
2778 | "TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, " | 2779 | "TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, " | ||
2779 | "Statusbar, VolumeButton." | 2780 | "Statusbar, VolumeButton." | ||
2780 | msgstr "" | 2781 | msgstr "" | ||
n | n | 2782 | "Föråldrade klasser: AppChooser, AppChooserButton, AppChooserDialog, " | ||
2783 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | ||||
2784 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | ||||
2785 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | ||||
2786 | "CellRendererText, CellRendererToggle, CellView, ComboBox, ComboBoxText, " | ||||
2787 | "EntryCompletion, IconView, ListStore, ListViewText, StyleContext, " | ||||
2788 | "TreeDragDest, TreeDragSource, TreeIter och andra klasser i treeiter.h, " | ||||
2789 | "TreeModel, TreeModelFilter, TreeModelSort, TreePath, TreeRowReference, " | ||||
2790 | "TreeSelection, TreeSortable, TreeStore, TreeView, TreeViewColumn, namnrymden " | ||||
2791 | "CellRenderer_Generation, namnrymden TreeView_Private, ColorButton, " | ||||
2792 | "ColorChooser, ColorChooserDialog, FileChooser, FileChooserDialog, " | ||||
2793 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | ||||
2794 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | ||||
2795 | "TreeModelColumnRecord, InfoBar." | ||||
2781 | 2796 | ||||
2782 | #. (itstool) path: section/para | 2797 | #. (itstool) path: section/para | ||
2783 | #: C/index-in.docbook:898 | 2798 | #: C/index-in.docbook:898 | ||
n | n | 2799 | #, fuzzy | ||
2784 | msgid "" | 2800 | msgid "" | ||
2785 | "New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, " | 2801 | "New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, " | ||
2786 | "ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, " | 2802 | "ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, " | ||
2787 | "UriLauncher, ATContext, enums DialogError, FontLevel, Collation." | 2803 | "UriLauncher, ATContext, enums DialogError, FontLevel, Collation." | ||
2788 | msgstr "" | 2804 | msgstr "" | ||
n | n | 2805 | "Nya klasser och enum-uppräkningar: AlertDialog, ColorDialog, " | ||
2806 | "ColorDialogButton, ColumnViewSorter, FileDialog, FontDialog, " | ||||
2807 | "FontDialogButton, enum: DialogError, FontLevel." | ||||
2789 | 2808 | ||||
2790 | #. (itstool) path: section/para | 2809 | #. (itstool) path: section/para | ||
2791 | #: C/index-in.docbook:903 | 2810 | #: C/index-in.docbook:903 | ||
2792 | msgid "" | 2811 | msgid "" | ||
2793 | "In most cases there are replacements for the deprecated classes. See the " | 2812 | "In most cases there are replacements for the deprecated classes. See the " | ||
2794 | "reference documentation." | 2813 | "reference documentation." | ||
2795 | msgstr "" | 2814 | msgstr "" | ||
n | n | 2815 | "I de flesta fall finns det ersättningar för de föråldrade klasserna. Se " | ||
2816 | "referensdokumentationen." | ||||
2796 | 2817 | ||||
2797 | #. (itstool) path: chapter/title | 2818 | #. (itstool) path: chapter/title | ||
2798 | #: C/index-in.docbook:911 | 2819 | #: C/index-in.docbook:911 | ||
2799 | msgid "Buttons" | 2820 | msgid "Buttons" | ||
2800 | msgstr "Knappar" | 2821 | msgstr "Knappar" | ||
2811 | msgid "Push buttons" | 2832 | msgid "Push buttons" | ||
2812 | msgstr "Tryckknappar" | 2833 | msgstr "Tryckknappar" | ||
2813 | 2834 | ||||
2814 | #. (itstool) path: listitem/para | 2835 | #. (itstool) path: listitem/para | ||
2815 | #: C/index-in.docbook:922 | 2836 | #: C/index-in.docbook:922 | ||
n | 2816 | #, fuzzy | n | ||
2817 | #| msgid "" | ||||
2818 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
2819 | #| "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||||
2820 | #| "Standard buttons, usually marked with a label or picture. Pushing one " | ||||
2821 | #| "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</" | ||||
2822 | #| "link> section." | ||||
2823 | msgid "" | 2837 | msgid "" | ||
2824 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2838 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2825 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | 2839 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||
2826 | "Standard buttons, usually marked with a label or picture. Pushing one " | 2840 | "Standard buttons, usually marked with a label or picture. Pushing one " | ||
2827 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | 2841 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | ||
2828 | "section." | 2842 | "section." | ||
2829 | msgstr "" | 2843 | msgstr "" | ||
n | 2830 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2844 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2831 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | 2845 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||
2832 | "Standardknappar, vanligen markerade med en etikett eller bild. Att trycka på " | 2846 | "Standardknappar, vanligen markerade med en etikett eller bild. Att trycka på " | ||
n | 2833 | "en utlöser en åtgärd. Se avsnittet <link linkend=\"sec-pushbuttons\">Button</" | n | 2847 | "en av dem utlöser en åtgärd. Se avsnittet <link linkend=\"sec-" |
2834 | "link>." | 2848 | "pushbuttons\">Button</link>." | ||
2835 | 2849 | ||||
2836 | #. (itstool) path: varlistentry/term | 2850 | #. (itstool) path: varlistentry/term | ||
2837 | #: C/index-in.docbook:929 | 2851 | #: C/index-in.docbook:929 | ||
2838 | msgid "Toggle buttons" | 2852 | msgid "Toggle buttons" | ||
2839 | msgstr "Växlingsknappar" | 2853 | msgstr "Växlingsknappar" | ||
2846 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | 2860 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | ||
2847 | "link>. Unlike a normal Button, which springs back up, a ToggleButton stays " | 2861 | "link>. Unlike a normal Button, which springs back up, a ToggleButton stays " | ||
2848 | "down until you press it again. It might be useful as an on/off switch. See " | 2862 | "down until you press it again. It might be useful as an on/off switch. See " | ||
2849 | "the <link linkend=\"sec-toggle-buttons\">ToggleButton</link> section." | 2863 | "the <link linkend=\"sec-toggle-buttons\">ToggleButton</link> section." | ||
2850 | msgstr "" | 2864 | msgstr "" | ||
n | 2851 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2865 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2852 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | 2866 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | ||
2853 | "link>. Till skillnad från en vanlig Button som fjädrar upp igen förblir en " | 2867 | "link>. Till skillnad från en vanlig Button som fjädrar upp igen förblir en " | ||
2854 | "ToggleButton nedtryckt till du trycker på den igen. Den kan vara användbar " | 2868 | "ToggleButton nedtryckt till du trycker på den igen. Den kan vara användbar " | ||
2855 | "som en på/av-brytare. Se avsnittet <link linkend=\"sec-toggle-" | 2869 | "som en på/av-brytare. Se avsnittet <link linkend=\"sec-toggle-" | ||
2856 | "buttons\">ToggleButton</link>." | 2870 | "buttons\">ToggleButton</link>." | ||
2860 | msgid "Check buttons" | 2874 | msgid "Check buttons" | ||
2861 | msgstr "Kryssrutor" | 2875 | msgstr "Kryssrutor" | ||
2862 | 2876 | ||||
2863 | #. (itstool) path: listitem/para | 2877 | #. (itstool) path: listitem/para | ||
2864 | #: C/index-in.docbook:941 | 2878 | #: C/index-in.docbook:941 | ||
n | 2865 | #, fuzzy | n | ||
2866 | #| msgid "" | ||||
2867 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
2868 | #| "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||||
2869 | #| "link>. These act like ToggleButtons, but show their state in small " | ||||
2870 | #| "squares, with their label at the side. They should be used in most " | ||||
2871 | #| "situations which require an on/off setting. See the <link linkend=\"sec-" | ||||
2872 | #| "checkbuttons\">CheckButton</link> section." | ||||
2873 | msgid "" | 2879 | msgid "" | ||
2874 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2880 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2875 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | 2881 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||
2876 | "link>. These act like ToggleButtons, but show their state in small squares, " | 2882 | "link>. These act like ToggleButtons, but show their state in small squares, " | ||
2877 | "with their label at the side. They should be used in most situations which " | 2883 | "with their label at the side. They should be used in most situations which " | ||
2878 | "require an on/off setting. See the <link linkend=\"sec-" | 2884 | "require an on/off setting. See the <link linkend=\"sec-" | ||
2879 | "checkbuttons\">CheckButton</link> section." | 2885 | "checkbuttons\">CheckButton</link> section." | ||
2880 | msgstr "" | 2886 | msgstr "" | ||
n | 2881 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2887 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2882 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | 2888 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||
2883 | "link>. Dessa fungerar som ToggleButton, men visar sitt tillstånd i små " | 2889 | "link>. Dessa fungerar som ToggleButton, men visar sitt tillstånd i små " | ||
2884 | "rutor, med sin etikett på sidan. De bör användas i de flesta situationer som " | 2890 | "rutor, med sin etikett på sidan. De bör användas i de flesta situationer som " | ||
2885 | "kräver en på/av-inställning. Se avsnittet <link linkend=\"sec-" | 2891 | "kräver en på/av-inställning. Se avsnittet <link linkend=\"sec-" | ||
2886 | "checkbuttons\">CheckButton</link>." | 2892 | "checkbuttons\">CheckButton</link>." | ||
2942 | "To define an accelerator key for keyboard navigation, place an underscore " | 2948 | "To define an accelerator key for keyboard navigation, place an underscore " | ||
2943 | "before one of the label's characters and specify <literal>true</literal> for " | 2949 | "before one of the label's characters and specify <literal>true</literal> for " | ||
2944 | "the optional <literal>mnemonic</literal> parameter. For instance:" | 2950 | "the optional <literal>mnemonic</literal> parameter. For instance:" | ||
2945 | msgstr "" | 2951 | msgstr "" | ||
2946 | "För att definiera en snabbtangent för tangentbordsnavigering sätter du ett " | 2952 | "För att definiera en snabbtangent för tangentbordsnavigering sätter du ett " | ||
n | 2947 | "understreck för ett av etikettens tecken och anger <literal>true</literal> " | n | 2953 | "understreck före ett av etikettens tecken och anger <literal>true</literal> " |
2948 | "för den valfria parametern <literal>mnemonic</literal>. Till exempel:" | 2954 | "för den valfria parametern <literal>mnemonic</literal>. Till exempel:" | ||
2949 | 2955 | ||||
2950 | #. (itstool) path: section/programlisting | 2956 | #. (itstool) path: section/programlisting | ||
2951 | #: C/index-in.docbook:984 | 2957 | #: C/index-in.docbook:984 | ||
2952 | #, fuzzy, no-wrap | 2958 | #, fuzzy, no-wrap | ||
2971 | "Komponenten <classname>Gtk::Button</classname> har signalen " | 2977 | "Komponenten <classname>Gtk::Button</classname> har signalen " | ||
2972 | "<literal>clicked</literal> som sänds ut när knappen trycks ned och släpps." | 2978 | "<literal>clicked</literal> som sänds ut när knappen trycks ned och släpps." | ||
2973 | 2979 | ||||
2974 | #. (itstool) path: section/para | 2980 | #. (itstool) path: section/para | ||
2975 | #: C/index-in.docbook:997 | 2981 | #: C/index-in.docbook:997 | ||
n | 2976 | #, fuzzy | n | ||
2977 | #| msgid "" | ||||
2978 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
2979 | #| "classGtk_1_1Button.html\">Reference</link>" | ||||
2980 | msgid "" | 2982 | msgid "" | ||
2981 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2983 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2982 | "classGtk_1_1Button.html\">Reference</link>" | 2984 | "classGtk_1_1Button.html\">Reference</link>" | ||
2983 | msgstr "" | 2985 | msgstr "" | ||
n | 2984 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2986 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2985 | "classGtk_1_1Button.html\">Referens</link>" | 2987 | "classGtk_1_1Button.html\">Referens</link>" | ||
2986 | 2988 | ||||
2987 | #. (itstool) path: section/title | 2989 | #. (itstool) path: section/title | ||
2988 | #: C/index-in.docbook:1000 C/index-in.docbook:1054 C/index-in.docbook:1113 | 2990 | #: C/index-in.docbook:1000 C/index-in.docbook:1054 C/index-in.docbook:1113 | ||
2989 | #: C/index-in.docbook:1229 C/index-in.docbook:1287 C/index-in.docbook:1605 | 2991 | #: C/index-in.docbook:1229 C/index-in.docbook:1287 C/index-in.docbook:1605 | ||
3047 | "<classname>ToggleButton</classname>s are like normal <classname>Button</" | 3049 | "<classname>ToggleButton</classname>s are like normal <classname>Button</" | ||
3048 | "classname>s, but when clicked they remain activated, or pressed, until " | 3050 | "classname>s, but when clicked they remain activated, or pressed, until " | ||
3049 | "clicked again." | 3051 | "clicked again." | ||
3050 | msgstr "" | 3052 | msgstr "" | ||
3051 | "En <classname>ToggleButton</classname> är som en vanlig <classname>Button</" | 3053 | "En <classname>ToggleButton</classname> är som en vanlig <classname>Button</" | ||
n | 3052 | "classname>, men när den klickas på för blir den aktiverad, eller nedtryckt, " | n | 3054 | "classname>, men när den klickas på förblir den aktiverad, eller nedtryckt, " |
3053 | "tills den klickas på igen." | 3055 | "tills den klickas på igen." | ||
3054 | 3056 | ||||
3055 | #. (itstool) path: section/para | 3057 | #. (itstool) path: section/para | ||
3056 | #: C/index-in.docbook:1024 | 3058 | #: C/index-in.docbook:1024 | ||
3057 | msgid "" | 3059 | msgid "" | ||
3081 | "knappens tillstånd, och får signalen <literal>toggled</literal> att sändas " | 3083 | "knappens tillstånd, och får signalen <literal>toggled</literal> att sändas " | ||
3082 | "ut." | 3084 | "ut." | ||
3083 | 3085 | ||||
3084 | #. (itstool) path: section/para | 3086 | #. (itstool) path: section/para | ||
3085 | #: C/index-in.docbook:1036 | 3087 | #: C/index-in.docbook:1036 | ||
n | 3086 | #, fuzzy | n | ||
3087 | #| msgid "" | ||||
3088 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3089 | #| "classGtk_1_1ToggleButton.html\">Reference</link>" | ||||
3090 | msgid "" | 3088 | msgid "" | ||
3091 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3089 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3092 | "classGtk_1_1ToggleButton.html\">Reference</link>" | 3090 | "classGtk_1_1ToggleButton.html\">Reference</link>" | ||
3093 | msgstr "" | 3091 | msgstr "" | ||
n | 3094 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3092 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3095 | "classGtk_1_1ToggleButton.html\">Referens</link>" | 3093 | "classGtk_1_1ToggleButton.html\">Referens</link>" | ||
3096 | 3094 | ||||
3097 | #. (itstool) path: section/title | 3095 | #. (itstool) path: section/title | ||
3098 | #. (itstool) path: figure/title | 3096 | #. (itstool) path: figure/title | ||
3099 | #: C/index-in.docbook:1041 C/index-in.docbook:1057 | 3097 | #: C/index-in.docbook:1041 C/index-in.docbook:1057 | ||
3116 | "CheckButton</classname>. Du kan kontrollera och ställa in en kryssruta med " | 3114 | "CheckButton</classname>. Du kan kontrollera och ställa in en kryssruta med " | ||
3117 | "samma medlemsmetoder som för <classname>Gtk::ToggleButton</classname>." | 3115 | "samma medlemsmetoder som för <classname>Gtk::ToggleButton</classname>." | ||
3118 | 3116 | ||||
3119 | #. (itstool) path: section/para | 3117 | #. (itstool) path: section/para | ||
3120 | #: C/index-in.docbook:1051 | 3118 | #: C/index-in.docbook:1051 | ||
n | 3121 | #, fuzzy | n | ||
3122 | #| msgid "" | ||||
3123 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3124 | #| "classGtk_1_1CheckButton.html\">Reference</link>" | ||||
3125 | msgid "" | 3119 | msgid "" | ||
3126 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3120 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3127 | "classGtk_1_1CheckButton.html\">Reference</link>" | 3121 | "classGtk_1_1CheckButton.html\">Reference</link>" | ||
3128 | msgstr "" | 3122 | msgstr "" | ||
n | 3129 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3123 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3130 | "classGtk_1_1CheckButton.html\">Referens</link>" | 3124 | "classGtk_1_1CheckButton.html\">Referens</link>" | ||
3131 | 3125 | ||||
3132 | #. (itstool) path: imageobject/imagedata | 3126 | #. (itstool) path: imageobject/imagedata | ||
3133 | #. This is a reference to an external file such as an image or video. When | 3127 | #. This is a reference to an external file such as an image or video. When | ||
3134 | #. the file changes, the md5 hash will change to let you know you need to | 3128 | #. the file changes, the md5 hash will change to let you know you need to | ||
3217 | msgstr "" | 3211 | msgstr "" | ||
3218 | "Vi sa till <application>gtkmm</application> att stoppa alla tre " | 3212 | "Vi sa till <application>gtkmm</application> att stoppa alla tre " | ||
3219 | "<classname>CheckButton</classname>-knapparna i samma grupp genom att använda " | 3213 | "<classname>CheckButton</classname>-knapparna i samma grupp genom att använda " | ||
3220 | "<methodname>set_group()</methodname> för att säga till de andra två " | 3214 | "<methodname>set_group()</methodname> för att säga till de andra två " | ||
3221 | "<classname>CheckButton</classname>-knapparna att dela grupp med den första " | 3215 | "<classname>CheckButton</classname>-knapparna att dela grupp med den första " | ||
n | 3222 | "<classname>CheckButton</classname>." | n | 3216 | "<classname>CheckButton</classname>-knappen." |
3223 | 3217 | ||||
3224 | #. (itstool) path: section/title | 3218 | #. (itstool) path: section/title | ||
3225 | #: C/index-in.docbook:1101 C/index-in.docbook:1566 C/index-in.docbook:5323 | 3219 | #: C/index-in.docbook:1101 C/index-in.docbook:1566 C/index-in.docbook:5323 | ||
3226 | msgid "Methods" | 3220 | msgid "Methods" | ||
3227 | msgstr "Metoder" | 3221 | msgstr "Metoder" | ||
3239 | "kommer alla vara ”av”. Glöm inte att slå på en av dem med " | 3233 | "kommer alla vara ”av”. Glöm inte att slå på en av dem med " | ||
3240 | "<methodname>set_active()</methodname>." | 3234 | "<methodname>set_active()</methodname>." | ||
3241 | 3235 | ||||
3242 | #. (itstool) path: section/para | 3236 | #. (itstool) path: section/para | ||
3243 | #: C/index-in.docbook:1108 | 3237 | #: C/index-in.docbook:1108 | ||
n | 3244 | #, fuzzy | n | ||
3245 | #| msgid "" | ||||
3246 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3247 | #| "classGtk_1_1RadioButton.html\">Reference</link>" | ||||
3248 | msgid "" | 3238 | msgid "" | ||
3249 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3239 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3250 | "classGtk_1_1RadioButton.html\">Reference</link>" | 3240 | "classGtk_1_1RadioButton.html\">Reference</link>" | ||
3251 | msgstr "" | 3241 | msgstr "" | ||
n | 3252 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3242 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3253 | "classGtk_1_1RadioButton.html\">Referens</link>" | 3243 | "classGtk_1_1RadioButton.html\">Referens</link>" | ||
3254 | 3244 | ||||
3255 | #. (itstool) path: section/para | 3245 | #. (itstool) path: section/para | ||
3256 | #: C/index-in.docbook:1114 | 3246 | #: C/index-in.docbook:1114 | ||
3257 | msgid "" | 3247 | msgid "" | ||
3348 | "classname>, kanske för att dela med en annan komponent. Se avsnittet <link " | 3338 | "classname>, kanske för att dela med en annan komponent. Se avsnittet <link " | ||
3349 | "linkend=\"chapter-adjustment\">Justeringar</link> för mer detaljer." | 3339 | "linkend=\"chapter-adjustment\">Justeringar</link> för mer detaljer." | ||
3350 | 3340 | ||||
3351 | #. (itstool) path: chapter/para | 3341 | #. (itstool) path: chapter/para | ||
3352 | #: C/index-in.docbook:1161 | 3342 | #: C/index-in.docbook:1161 | ||
n | 3353 | #, fuzzy | n | ||
3354 | #| msgid "" | ||||
3355 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3356 | #| "classGtk_1_1Range.html\">Reference</link>" | ||||
3357 | msgid "" | 3343 | msgid "" | ||
3358 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3344 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3359 | "classGtk_1_1Range.html\">Reference</link>" | 3345 | "classGtk_1_1Range.html\">Reference</link>" | ||
3360 | msgstr "" | 3346 | msgstr "" | ||
n | 3361 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3347 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3362 | "classGtk_1_1Range.html\">Referens</link>" | 3348 | "classGtk_1_1Range.html\">Referens</link>" | ||
3363 | 3349 | ||||
3364 | #. (itstool) path: section/title | 3350 | #. (itstool) path: section/title | ||
3365 | #: C/index-in.docbook:1164 | 3351 | #: C/index-in.docbook:1164 | ||
3366 | msgid "Scrollbar Widgets" | 3352 | msgid "Scrollbar Widgets" | ||
3389 | "Orienteringen för en <classname>Gtk::Scrollbar</classname> kan vara antingen " | 3375 | "Orienteringen för en <classname>Gtk::Scrollbar</classname> kan vara antingen " | ||
3390 | "horisontell eller vertikal." | 3376 | "horisontell eller vertikal." | ||
3391 | 3377 | ||||
3392 | #. (itstool) path: section/para | 3378 | #. (itstool) path: section/para | ||
3393 | #: C/index-in.docbook:1178 | 3379 | #: C/index-in.docbook:1178 | ||
n | 3394 | #, fuzzy | n | ||
3395 | #| msgid "" | ||||
3396 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3397 | #| "classGtk_1_1Scrollbar.html\">Reference</link>" | ||||
3398 | msgid "" | 3380 | msgid "" | ||
3399 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3381 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3400 | "classGtk_1_1Scrollbar.html\">Reference</link>" | 3382 | "classGtk_1_1Scrollbar.html\">Reference</link>" | ||
3401 | msgstr "" | 3383 | msgstr "" | ||
n | 3402 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3384 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3403 | "classGtk_1_1Scrollbar.html\">Referens</link>" | 3385 | "classGtk_1_1Scrollbar.html\">Referens</link>" | ||
3404 | 3386 | ||||
3405 | #. (itstool) path: section/title | 3387 | #. (itstool) path: section/title | ||
3406 | #: C/index-in.docbook:1183 | 3388 | #: C/index-in.docbook:1183 | ||
3407 | #, fuzzy | 3389 | #, fuzzy | ||
3491 | "Värdet kan också skrivas ut i olika positions relativt till tråget, angivet " | 3473 | "Värdet kan också skrivas ut i olika positions relativt till tråget, angivet " | ||
3492 | "av metoden <methodname>set_value_pos()</methodname>." | 3474 | "av metoden <methodname>set_value_pos()</methodname>." | ||
3493 | 3475 | ||||
3494 | #. (itstool) path: section/para | 3476 | #. (itstool) path: section/para | ||
3495 | #: C/index-in.docbook:1223 | 3477 | #: C/index-in.docbook:1223 | ||
n | 3496 | #, fuzzy | n | ||
3497 | #| msgid "" | ||||
3498 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3499 | #| "classGtk_1_1Scale.html\">Reference</link>" | ||||
3500 | msgid "" | 3478 | msgid "" | ||
3501 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3479 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3502 | "classGtk_1_1Scale.html\">Reference</link>" | 3480 | "classGtk_1_1Scale.html\">Reference</link>" | ||
3503 | msgstr "" | 3481 | msgstr "" | ||
n | 3504 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3482 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3505 | "classGtk_1_1Scale.html\">Referens</link>" | 3483 | "classGtk_1_1Scale.html\">Referens</link>" | ||
3506 | 3484 | ||||
3507 | #. (itstool) path: section/para | 3485 | #. (itstool) path: section/para | ||
3508 | #: C/index-in.docbook:1231 | 3486 | #: C/index-in.docbook:1231 | ||
3509 | #, fuzzy | 3487 | #, fuzzy | ||
3566 | msgstr "" | 3544 | msgstr "" | ||
3567 | "Etiketter är huvudmetoden för att placera ej redigerbar text i fönster, " | 3545 | "Etiketter är huvudmetoden för att placera ej redigerbar text i fönster, " | ||
3568 | "exempelvis för att placera en titel intill en <classname>Entry</classname>-" | 3546 | "exempelvis för att placera en titel intill en <classname>Entry</classname>-" | ||
3569 | "komponent. Du kan ange texten i konstruktorn, eller senare med metoderna " | 3547 | "komponent. Du kan ange texten i konstruktorn, eller senare med metoderna " | ||
3570 | "<methodname>set_text()</methodname> eller <methodname>set_markup()</" | 3548 | "<methodname>set_text()</methodname> eller <methodname>set_markup()</" | ||
n | 3571 | "methodname> methods." | n | 3549 | "methodname>." |
3572 | 3550 | ||||
3573 | #. (itstool) path: section/para | 3551 | #. (itstool) path: section/para | ||
3574 | #: C/index-in.docbook:1265 | 3552 | #: C/index-in.docbook:1265 | ||
3575 | msgid "" | 3553 | msgid "" | ||
3576 | "The width of the label will be adjusted automatically. You can produce multi-" | 3554 | "The width of the label will be adjusted automatically. You can produce multi-" | ||
3601 | "string to <methodname>set_markup()</methodname>, using the <link xlink:" | 3579 | "string to <methodname>set_markup()</methodname>, using the <link xlink:" | ||
3602 | "href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango Markup syntax</" | 3580 | "href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango Markup syntax</" | ||
3603 | "link>. For instance, <code> <b>bold text</b> and <s>" | 3581 | "link>. For instance, <code> <b>bold text</b> and <s>" | ||
3604 | "strikethrough text</s> </code> ." | 3582 | "strikethrough text</s> </code> ." | ||
3605 | msgstr "" | 3583 | msgstr "" | ||
n | 3606 | "Gtk::Label stöder viss enkel formatering, till exempel låter det göra text i " | n | 3584 | "Gtk::Label stöder viss enkel formatering, till exempel låter det dig göra " |
3607 | "fetstil, i färg, eller större. Du kan göra detta genom att tillhandahålla en " | 3585 | "text i fetstil, i färg, eller större. Du kan göra detta genom att " | ||
3608 | "sträng till <methodname>set_markup()</methodname> med <link xlink:" | 3586 | "tillhandahålla en sträng till <methodname>set_markup()</methodname> med " | ||
3609 | "href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango Markup-syntax</" | 3587 | "<link xlink:href=\"https://docs.gtk.org/Pango/pango_markup.html\">Pango " | ||
3610 | "link>. Exempelvis, <code> <b>text i fetstil</b> och <s>" | 3588 | "Markup-syntax</link>. Exempelvis, <code> <b>text i fetstil</b> " | ||
3611 | "genomstruken text</s> </code> ." | 3589 | "och <s>genomstruken text</s> </code> ." | ||
3612 | 3590 | ||||
3613 | #. (itstool) path: section/para | 3591 | #. (itstool) path: section/para | ||
3614 | #: C/index-in.docbook:1284 | 3592 | #: C/index-in.docbook:1284 | ||
n | 3615 | #, fuzzy | n | ||
3616 | #| msgid "" | ||||
3617 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3618 | #| "classGtk_1_1Label.html\">Reference</link>" | ||||
3619 | msgid "" | 3593 | msgid "" | ||
3620 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3594 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3621 | "classGtk_1_1Label.html\">Reference</link>" | 3595 | "classGtk_1_1Label.html\">Reference</link>" | ||
3622 | msgstr "" | 3596 | msgstr "" | ||
n | 3623 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3597 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3624 | "classGtk_1_1Label.html\">Referens</link>" | 3598 | "classGtk_1_1Label.html\">Referens</link>" | ||
3625 | 3599 | ||||
3626 | #. (itstool) path: section/para | 3600 | #. (itstool) path: section/para | ||
3627 | #: C/index-in.docbook:1288 | 3601 | #: C/index-in.docbook:1288 | ||
3628 | msgid "" | 3602 | msgid "" | ||
3635 | msgstr "" | 3609 | msgstr "" | ||
3636 | "Nedan är ett kort exempel för att illustrera dessa funktioner. Detta exempel " | 3610 | "Nedan är ett kort exempel för att illustrera dessa funktioner. Detta exempel " | ||
3637 | "använder komponenten Frame för att bättre demonstrera etikettstilarna. " | 3611 | "använder komponenten Frame för att bättre demonstrera etikettstilarna. " | ||
3638 | "(Komponenten Frame förklaras i avsnittet <link linkend=\"sec-frame\">Frame</" | 3612 | "(Komponenten Frame förklaras i avsnittet <link linkend=\"sec-frame\">Frame</" | ||
3639 | "link>.) Det är möjligt att det första tecknet i <literal>m_Label_Normal</" | 3613 | "link>.) Det är möjligt att det första tecknet i <literal>m_Label_Normal</" | ||
n | 3640 | "literal> endast visas understreckat när du trycker på <keycap>Alt</keycap>-" | n | 3614 | "literal> endast visas understruket när du trycker på <keycap>Alt</keycap>-" |
3641 | "tangenten." | 3615 | "tangenten." | ||
3642 | 3616 | ||||
3643 | #. (itstool) path: imageobject/imagedata | 3617 | #. (itstool) path: imageobject/imagedata | ||
3644 | #. This is a reference to an external file such as an image or video. When | 3618 | #. This is a reference to an external file such as an image or video. When | ||
3645 | #. the file changes, the md5 hash will change to let you know you need to | 3619 | #. the file changes, the md5 hash will change to let you know you need to | ||
3691 | "Occasionally you might want to make an <classname>Entry</classname> widget " | 3665 | "Occasionally you might want to make an <classname>Entry</classname> widget " | ||
3692 | "read-only. This can be done by passing <literal>false</literal> to the " | 3666 | "read-only. This can be done by passing <literal>false</literal> to the " | ||
3693 | "<methodname>set_editable()</methodname> method." | 3667 | "<methodname>set_editable()</methodname> method." | ||
3694 | msgstr "" | 3668 | msgstr "" | ||
3695 | "Ibland kan du vilja göra en <classname>Entry</classname>-komponent " | 3669 | "Ibland kan du vilja göra en <classname>Entry</classname>-komponent " | ||
n | 3696 | "skrivskyddad. Detta kan göras genom att sätta metoden " | n | 3670 | "skrivskyddad. Detta kan göras genom att skicka <literal>false</literal> till " |
3697 | "<methodname>set_editable()</methodname> till <literal>false</literal>." | 3671 | "metoden <methodname>set_editable()</methodname>." | ||
3698 | 3672 | ||||
3699 | #. (itstool) path: section/para | 3673 | #. (itstool) path: section/para | ||
3700 | #: C/index-in.docbook:1326 | 3674 | #: C/index-in.docbook:1326 | ||
3701 | msgid "" | 3675 | msgid "" | ||
3702 | "For the input of passwords, passphrases and other information you don't want " | 3676 | "For the input of passwords, passphrases and other information you don't want " | ||
3761 | "Använd <methodname>Gtk::Window::set_default_widget()</methodname> för att " | 3735 | "Använd <methodname>Gtk::Window::set_default_widget()</methodname> för att " | ||
3762 | "ställa in en komponent som standardkomponenten." | 3736 | "ställa in en komponent som standardkomponenten." | ||
3763 | 3737 | ||||
3764 | #. (itstool) path: section/para | 3738 | #. (itstool) path: section/para | ||
3765 | #: C/index-in.docbook:1355 | 3739 | #: C/index-in.docbook:1355 | ||
n | 3766 | #, fuzzy | n | ||
3767 | #| msgid "" | ||||
3768 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3769 | #| "classGtk_1_1Entry.html\">Reference</link>" | ||||
3770 | msgid "" | 3740 | msgid "" | ||
3771 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3741 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3772 | "classGtk_1_1Entry.html\">Reference</link>" | 3742 | "classGtk_1_1Entry.html\">Reference</link>" | ||
3773 | msgstr "" | 3743 | msgstr "" | ||
n | 3774 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3744 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3775 | "classGtk_1_1Entry.html\">Referens</link>" | 3745 | "classGtk_1_1Entry.html\">Referens</link>" | ||
3776 | 3746 | ||||
3777 | #. (itstool) path: section/title | 3747 | #. (itstool) path: section/title | ||
3778 | #: C/index-in.docbook:1358 | 3748 | #: C/index-in.docbook:1358 | ||
3779 | #, fuzzy | 3749 | #, fuzzy | ||
3786 | "This example uses <classname>Gtk::Entry</classname>. It also has two " | 3756 | "This example uses <classname>Gtk::Entry</classname>. It also has two " | ||
3787 | "<classname>CheckButton</classname>s, with which you can toggle the editable " | 3757 | "<classname>CheckButton</classname>s, with which you can toggle the editable " | ||
3788 | "and visible flags." | 3758 | "and visible flags." | ||
3789 | msgstr "" | 3759 | msgstr "" | ||
3790 | "Detta exempel använder <classname>Gtk::Entry</classname>. Det har också två " | 3760 | "Detta exempel använder <classname>Gtk::Entry</classname>. Det har också två " | ||
n | 3791 | "<classname>CheckButton</classname>, med vilka du kan växla flaggorna för " | n | 3761 | "<classname>CheckButton</classname>-knappar, med vilka du kan växla flaggorna " |
3792 | "redigering och synlighet." | 3762 | "för redigering och synlighet." | ||
3793 | 3763 | ||||
3794 | #. (itstool) path: imageobject/imagedata | 3764 | #. (itstool) path: imageobject/imagedata | ||
3795 | #. This is a reference to an external file such as an image or video. When | 3765 | #. This is a reference to an external file such as an image or video. When | ||
3796 | #. the file changes, the md5 hash will change to let you know you need to | 3766 | #. the file changes, the md5 hash will change to let you know you need to | ||
3797 | #. update your localized copy. The msgstr is not used at all. Set it to | 3767 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
3819 | msgid "Entry Completion" | 3789 | msgid "Entry Completion" | ||
3820 | msgstr "Inmatningskomplettering" | 3790 | msgstr "Inmatningskomplettering" | ||
3821 | 3791 | ||||
3822 | #. (itstool) path: note/para | 3792 | #. (itstool) path: note/para | ||
3823 | #: C/index-in.docbook:1381 | 3793 | #: C/index-in.docbook:1381 | ||
n | 3824 | #, fuzzy | n | ||
3825 | #| msgid "" | ||||
3826 | #| "Some new classes were added in <application>gtkmm</application> 4 and " | ||||
3827 | #| "<application>glibmm</application> 2.68:" | ||||
3828 | msgid "" | 3794 | msgid "" | ||
3829 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | 3795 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | ||
3830 | "<application>gtkmm</application> 4.10. There is no replacement in " | 3796 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
3831 | "<application>gtkmm</application>." | 3797 | "<application>gtkmm</application>." | ||
3832 | msgstr "" | 3798 | msgstr "" | ||
n | 3833 | "Nägra nya klasser lades till i <application>gtkmm</application> 4 och " | n | 3799 | "<classname>Gtk::EntryCompletion</classname> är föråldrad sedan " |
3800 | "<application>gtkmm</application> 4.10. Det finns ingen ersättning i " | ||||
3834 | "<application>glibmm</application> 2.68:" | 3801 | "<application>gtkmm</application>." | ||
3835 | 3802 | ||||
3836 | #. (itstool) path: section/para | 3803 | #. (itstool) path: section/para | ||
3837 | #: C/index-in.docbook:1385 | 3804 | #: C/index-in.docbook:1385 | ||
3838 | msgid "" | 3805 | msgid "" | ||
3839 | "An <classname>Entry</classname> widget can offer a drop-down list of pre-" | 3806 | "An <classname>Entry</classname> widget can offer a drop-down list of pre-" | ||
3880 | "too inconvenient to generate, a callback slot may instead be specified with " | 3847 | "too inconvenient to generate, a callback slot may instead be specified with " | ||
3881 | "<methodname>set_match_func()</methodname>. This is also useful if you wish " | 3848 | "<methodname>set_match_func()</methodname>. This is also useful if you wish " | ||
3882 | "to match on a part of the string other than the start." | 3849 | "to match on a part of the string other than the start." | ||
3883 | msgstr "" | 3850 | msgstr "" | ||
3884 | "Alternativt kan, om en fullständig lista över möjliga inmatningar skulle " | 3851 | "Alternativt kan, om en fullständig lista över möjliga inmatningar skulle " | ||
n | 3885 | "vara för stor eller opraktisk att skapa, ett återanropsfack istället anges " | n | 3852 | "vara för stor eller opraktisk att skapa, ett återanropsfack i stället anges " |
3886 | "med <methodname>set_match_func()</methodname>. Detta är även användbart om " | 3853 | "med <methodname>set_match_func()</methodname>. Detta är även användbart om " | ||
3887 | "du vill matcha strängen på en annan del än starten." | 3854 | "du vill matcha strängen på en annan del än starten." | ||
3888 | 3855 | ||||
3889 | #. (itstool) path: section/para | 3856 | #. (itstool) path: section/para | ||
3890 | #: C/index-in.docbook:1407 | 3857 | #: C/index-in.docbook:1407 | ||
n | 3891 | #, fuzzy | n | ||
3892 | #| msgid "" | ||||
3893 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3894 | #| "classGtk_1_1EntryCompletion.html\">Reference</link>" | ||||
3895 | msgid "" | 3858 | msgid "" | ||
3896 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3859 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3897 | "classGtk_1_1EntryCompletion.html\">Reference</link>" | 3860 | "classGtk_1_1EntryCompletion.html\">Reference</link>" | ||
3898 | msgstr "" | 3861 | msgstr "" | ||
n | 3899 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3862 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3900 | "classGtk_1_1EntryCompletion.html\">Referens</link>" | 3863 | "classGtk_1_1EntryCompletion.html\">Referens</link>" | ||
3901 | 3864 | ||||
3902 | #. (itstool) path: section/title | 3865 | #. (itstool) path: section/title | ||
3903 | #: C/index-in.docbook:1410 | 3866 | #: C/index-in.docbook:1410 | ||
3904 | #, fuzzy | 3867 | #, fuzzy | ||
3948 | msgid "Entry Icons" | 3911 | msgid "Entry Icons" | ||
3949 | msgstr "Inmatningsikoner" | 3912 | msgstr "Inmatningsikoner" | ||
3950 | 3913 | ||||
3951 | #. (itstool) path: section/para | 3914 | #. (itstool) path: section/para | ||
3952 | #: C/index-in.docbook:1433 | 3915 | #: C/index-in.docbook:1433 | ||
n | 3953 | #, fuzzy | n | ||
3954 | #| msgid "" | ||||
3955 | #| "An <classname>Entry</classname> widget can show an icon at the start or " | ||||
3956 | #| "end of the text area. The icon can be specifed by methods such as " | ||||
3957 | #| "<methodname>set_icon_from_paintable()</methodname> or " | ||||
3958 | #| "<methodname>set_icon_from_icon_name()</methodname>. An application can " | ||||
3959 | #| "respond to the user pressing the icon by handling the " | ||||
3960 | #| "<methodname>signal_icon_press</methodname> signal." | ||||
3961 | msgid "" | 3916 | msgid "" | ||
3962 | "An <classname>Entry</classname> widget can show an icon at the start or end " | 3917 | "An <classname>Entry</classname> widget can show an icon at the start or end " | ||
3963 | "of the text area. The icon can be specified by methods such as " | 3918 | "of the text area. The icon can be specified by methods such as " | ||
3964 | "<methodname>set_icon_from_paintable()</methodname> or " | 3919 | "<methodname>set_icon_from_paintable()</methodname> or " | ||
3965 | "<methodname>set_icon_from_icon_name()</methodname>. An application can " | 3920 | "<methodname>set_icon_from_icon_name()</methodname>. An application can " | ||
4225 | "behöver ange en <classname>Gtk::SpinType</classname> för att ange riktningen " | 4180 | "behöver ange en <classname>Gtk::SpinType</classname> för att ange riktningen " | ||
4226 | "eller ny position." | 4181 | "eller ny position." | ||
4227 | 4182 | ||||
4228 | #. (itstool) path: section/para | 4183 | #. (itstool) path: section/para | ||
4229 | #: C/index-in.docbook:1585 | 4184 | #: C/index-in.docbook:1585 | ||
n | 4230 | #, fuzzy | n | ||
4231 | msgid "" | 4185 | msgid "" | ||
4232 | "To prevent the user from typing non-numeric characters into the entry box, " | 4186 | "To prevent the user from typing non-numeric characters into the entry box, " | ||
4233 | "pass <literal>true</literal> to the <methodname>set_numeric()</methodname> " | 4187 | "pass <literal>true</literal> to the <methodname>set_numeric()</methodname> " | ||
4234 | "method." | 4188 | "method." | ||
4235 | msgstr "" | 4189 | msgstr "" | ||
4236 | "För att hindra användaren från att mata in icke-numeriska tecken i " | 4190 | "För att hindra användaren från att mata in icke-numeriska tecken i " | ||
n | 4237 | "inmatningsfältet sätter du metoden <methodname>set_numeric()</methodname> " | n | 4191 | "inmatningsfältet skickar du <literal>true</literal> till metoden " |
4238 | "till <literal>true</literal>." | 4192 | "<methodname>set_numeric()</methodname>." | ||
4239 | 4193 | ||||
4240 | #. (itstool) path: section/para | 4194 | #. (itstool) path: section/para | ||
4241 | #: C/index-in.docbook:1590 | 4195 | #: C/index-in.docbook:1590 | ||
4242 | #, fuzzy | 4196 | #, fuzzy | ||
4243 | msgid "" | 4197 | msgid "" | ||
4258 | "För att tvinga den att fästa vid närmaste <literal>step_increment</literal>, " | 4212 | "För att tvinga den att fästa vid närmaste <literal>step_increment</literal>, " | ||
4259 | "använd <methodname>set_snap_to_ticks()</methodname>." | 4213 | "använd <methodname>set_snap_to_ticks()</methodname>." | ||
4260 | 4214 | ||||
4261 | #. (itstool) path: section/para | 4215 | #. (itstool) path: section/para | ||
4262 | #: C/index-in.docbook:1600 | 4216 | #: C/index-in.docbook:1600 | ||
n | 4263 | #, fuzzy | n | ||
4264 | #| msgid "" | ||||
4265 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4266 | #| "classGtk_1_1SpinButton.html\">Reference</link>" | ||||
4267 | msgid "" | 4217 | msgid "" | ||
4268 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4218 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4269 | "classGtk_1_1SpinButton.html\">Reference</link>" | 4219 | "classGtk_1_1SpinButton.html\">Reference</link>" | ||
4270 | msgstr "" | 4220 | msgstr "" | ||
n | 4271 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4221 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4272 | "classGtk_1_1SpinButton.html\">Referens</link>" | 4222 | "classGtk_1_1SpinButton.html\">Referens</link>" | ||
4273 | 4223 | ||||
4274 | #. (itstool) path: section/para | 4224 | #. (itstool) path: section/para | ||
4275 | #: C/index-in.docbook:1607 | 4225 | #: C/index-in.docbook:1607 | ||
4276 | msgid "Here's an example of a <classname>SpinButton</classname> in action:" | 4226 | msgid "Here's an example of a <classname>SpinButton</classname> in action:" | ||
4334 | "A <classname>ProgressBar</classname> is horizontal and left-to-right by " | 4284 | "A <classname>ProgressBar</classname> is horizontal and left-to-right by " | ||
4335 | "default, but you can change it to a vertical progress bar by using the " | 4285 | "default, but you can change it to a vertical progress bar by using the " | ||
4336 | "<methodname>set_orientation()</methodname> method." | 4286 | "<methodname>set_orientation()</methodname> method." | ||
4337 | msgstr "" | 4287 | msgstr "" | ||
4338 | "En <classname>ProgressBar</classname> är som standard horisontell och " | 4288 | "En <classname>ProgressBar</classname> är som standard horisontell och " | ||
n | 4339 | "vänster-till-höjer, men du kan ändra den till en vertikal förloppsindikator " | n | 4289 | "vänster-till-höger, men du kan ändra den till en vertikal förloppsindikator " |
4340 | "genom att använda metoden <methodname>set_orientation()</methodname>." | 4290 | "genom att använda metoden <methodname>set_orientation()</methodname>." | ||
4341 | 4291 | ||||
4342 | #. (itstool) path: section/para | 4292 | #. (itstool) path: section/para | ||
4343 | #: C/index-in.docbook:1644 | 4293 | #: C/index-in.docbook:1644 | ||
n | 4344 | #, fuzzy | n | ||
4345 | #| msgid "" | ||||
4346 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4347 | #| "classGtk_1_1ProgressBar.html\">Reference</link>" | ||||
4348 | msgid "" | 4294 | msgid "" | ||
4349 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4295 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4350 | "classGtk_1_1ProgressBar.html\">Reference</link>" | 4296 | "classGtk_1_1ProgressBar.html\">Reference</link>" | ||
4351 | msgstr "" | 4297 | msgstr "" | ||
n | 4352 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4298 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4353 | "classGtk_1_1ProgressBar.html\">Referens</link>" | 4299 | "classGtk_1_1ProgressBar.html\">Referens</link>" | ||
4354 | 4300 | ||||
4355 | #. (itstool) path: section/title | 4301 | #. (itstool) path: section/title | ||
4356 | #: C/index-in.docbook:1647 | 4302 | #: C/index-in.docbook:1647 | ||
4357 | msgid "Activity Mode" | 4303 | msgid "Activity Mode" | ||
4435 | "top of the current window instead of opening a new window. Its API is very " | 4381 | "top of the current window instead of opening a new window. Its API is very " | ||
4436 | "similar to the <link linkend=\"chapter-dialogs\">Gtk::Dialog</link> API." | 4382 | "similar to the <link linkend=\"chapter-dialogs\">Gtk::Dialog</link> API." | ||
4437 | msgstr "" | 4383 | msgstr "" | ||
4438 | "En <classname>InfoBar</classname> kan visa små informationsobjekt eller " | 4384 | "En <classname>InfoBar</classname> kan visa små informationsobjekt eller " | ||
4439 | "fråga korta frågor. Till skillnad från en <classname>Dialog</classname> " | 4385 | "fråga korta frågor. Till skillnad från en <classname>Dialog</classname> " | ||
n | 4440 | "dyker den upp högst upp i det aktuella fönstret istället för att öppna ett " | n | 4386 | "dyker den upp högst upp i det aktuella fönstret i stället för att öppna ett " |
4441 | "nytt fönster. Dess API är väldigt likt API:t för <link linkend=\"chapter-" | 4387 | "nytt fönster. Dess API är väldigt likt API:t för <link linkend=\"chapter-" | ||
4442 | "dialogs\">Gtk::Dialog</link>." | 4388 | "dialogs\">Gtk::Dialog</link>." | ||
4443 | 4389 | ||||
4444 | #. (itstool) path: section/para | 4390 | #. (itstool) path: section/para | ||
4445 | #: C/index-in.docbook:1692 | 4391 | #: C/index-in.docbook:1692 | ||
n | 4446 | #, fuzzy | n | ||
4447 | #| msgid "" | ||||
4448 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4449 | #| "classGtk_1_1InfoBar.html\">Reference</link>" | ||||
4450 | msgid "" | 4392 | msgid "" | ||
4451 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4393 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4452 | "classGtk_1_1InfoBar.html\">Reference</link>" | 4394 | "classGtk_1_1InfoBar.html\">Reference</link>" | ||
4453 | msgstr "" | 4395 | msgstr "" | ||
n | 4454 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4396 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4455 | "classGtk_1_1InfoBar.html\">Referens</link>" | 4397 | "classGtk_1_1InfoBar.html\">Referens</link>" | ||
4456 | 4398 | ||||
4457 | #. (itstool) path: section/para | 4399 | #. (itstool) path: section/para | ||
4458 | #: C/index-in.docbook:1697 | 4400 | #: C/index-in.docbook:1697 | ||
4459 | msgid "" | 4401 | msgid "" | ||
4460 | "The <classname>InfoBar</classname> widget is deprecated since " | 4402 | "The <classname>InfoBar</classname> widget is deprecated since " | ||
4461 | "<application>gtkmm</application> 4.10. The example shows an info bar " | 4403 | "<application>gtkmm</application> 4.10. The example shows an info bar " | ||
4462 | "consisting of a <classname>Box</classname> with a <classname>Label</" | 4404 | "consisting of a <classname>Box</classname> with a <classname>Label</" | ||
4463 | "classname> and a <classname>Button</classname>." | 4405 | "classname> and a <classname>Button</classname>." | ||
4464 | msgstr "" | 4406 | msgstr "" | ||
n | n | 4407 | "<classname>InfoBar</classname>-komponenten är föråldrad sedan " | ||
4408 | "<application>gtkmm</application> 4.10. Exemplen visar en inforad som består " | ||||
4409 | "av en <classname>Box</classname> med en <classname>Label</classname> och en " | ||||
4410 | "<classname>Button</classname>." | ||||
4465 | 4411 | ||||
4466 | #. (itstool) path: imageobject/imagedata | 4412 | #. (itstool) path: imageobject/imagedata | ||
4467 | #. This is a reference to an external file such as an image or video. When | 4413 | #. This is a reference to an external file such as an image or video. When | ||
4468 | #. the file changes, the md5 hash will change to let you know you need to | 4414 | #. the file changes, the md5 hash will change to let you know you need to | ||
4469 | #. update your localized copy. The msgstr is not used at all. Set it to | 4415 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
4505 | "<classname>Widget</classname>. <classname>Gtk::Tooltip</classname> används " | 4451 | "<classname>Widget</classname>. <classname>Gtk::Tooltip</classname> används " | ||
4506 | "för mer avancerad inforuteanvändning, som att visa en bild såväl som text." | 4452 | "för mer avancerad inforuteanvändning, som att visa en bild såväl som text." | ||
4507 | 4453 | ||||
4508 | #. (itstool) path: section/para | 4454 | #. (itstool) path: section/para | ||
4509 | #: C/index-in.docbook:1726 | 4455 | #: C/index-in.docbook:1726 | ||
n | 4510 | #, fuzzy | n | ||
4511 | #| msgid "" | ||||
4512 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4513 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
4514 | msgid "" | 4456 | msgid "" | ||
4515 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4457 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4516 | "classGtk_1_1Widget.html\">Widget Reference</link>" | 4458 | "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
4517 | msgstr "" | 4459 | msgstr "" | ||
n | 4518 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4460 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4519 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 4461 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
4520 | 4462 | ||||
4521 | #. (itstool) path: section/para | 4463 | #. (itstool) path: section/para | ||
4522 | #: C/index-in.docbook:1727 | 4464 | #: C/index-in.docbook:1727 | ||
n | 4523 | #, fuzzy | n | ||
4524 | #| msgid "" | ||||
4525 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4526 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
4527 | msgid "" | 4465 | msgid "" | ||
4528 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4466 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4529 | "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | 4467 | "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||
4530 | msgstr "" | 4468 | msgstr "" | ||
n | 4531 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4469 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4532 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | 4470 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | ||
4533 | 4471 | ||||
4534 | #. (itstool) path: figure/title | 4472 | #. (itstool) path: figure/title | ||
4535 | #: C/index-in.docbook:1733 | 4473 | #: C/index-in.docbook:1733 | ||
4536 | #, fuzzy | 4474 | #, fuzzy | ||
4632 | "classname> eller <classname>CheckButton</classname> i en <classname>Frame</" | 4570 | "classname> eller <classname>CheckButton</classname> i en <classname>Frame</" | ||
4633 | "classname>." | 4571 | "classname>." | ||
4634 | 4572 | ||||
4635 | #. (itstool) path: section/para | 4573 | #. (itstool) path: section/para | ||
4636 | #: C/index-in.docbook:1781 | 4574 | #: C/index-in.docbook:1781 | ||
n | 4637 | #, fuzzy | n | ||
4638 | #| msgid "" | ||||
4639 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4640 | #| "classGtk_1_1Frame.html\">Reference</link>" | ||||
4641 | msgid "" | 4575 | msgid "" | ||
4642 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4576 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4643 | "classGtk_1_1Frame.html\">Reference</link>" | 4577 | "classGtk_1_1Frame.html\">Reference</link>" | ||
4644 | msgstr "" | 4578 | msgstr "" | ||
n | 4645 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4579 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4646 | "classGtk_1_1Frame.html\">Referens</link>" | 4580 | "classGtk_1_1Frame.html\">Referens</link>" | ||
4647 | 4581 | ||||
4648 | #. (itstool) path: imageobject/imagedata | 4582 | #. (itstool) path: imageobject/imagedata | ||
4649 | #. This is a reference to an external file such as an image or video. When | 4583 | #. This is a reference to an external file such as an image or video. When | ||
4650 | #. the file changes, the md5 hash will change to let you know you need to | 4584 | #. the file changes, the md5 hash will change to let you know you need to | ||
4707 | "Du kan justera avskiljarens position genom att använda metoden " | 4641 | "Du kan justera avskiljarens position genom att använda metoden " | ||
4708 | "<methodname>set_position()</methodname>, och kommer troligen behöva göra det." | 4642 | "<methodname>set_position()</methodname>, och kommer troligen behöva göra det." | ||
4709 | 4643 | ||||
4710 | #. (itstool) path: section/para | 4644 | #. (itstool) path: section/para | ||
4711 | #: C/index-in.docbook:1820 | 4645 | #: C/index-in.docbook:1820 | ||
n | 4712 | #, fuzzy | n | ||
4713 | #| msgid "" | ||||
4714 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4715 | #| "classGtk_1_1Paned.html\">Reference</link>" | ||||
4716 | msgid "" | 4646 | msgid "" | ||
4717 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4647 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4718 | "classGtk_1_1Paned.html\">Reference</link>" | 4648 | "classGtk_1_1Paned.html\">Reference</link>" | ||
4719 | msgstr "" | 4649 | msgstr "" | ||
n | 4720 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4650 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4721 | "classGtk_1_1Paned.html\">Referens</link>" | 4651 | "classGtk_1_1Paned.html\">Referens</link>" | ||
4722 | 4652 | ||||
4723 | #. (itstool) path: imageobject/imagedata | 4653 | #. (itstool) path: imageobject/imagedata | ||
4724 | #. This is a reference to an external file such as an image or video. When | 4654 | #. This is a reference to an external file such as an image or video. When | ||
4725 | #. the file changes, the md5 hash will change to let you know you need to | 4655 | #. the file changes, the md5 hash will change to let you know you need to | ||
4787 | "<literal>Gtk::PolicyType::ALWAYS</literal> kommer få rullningslisten att " | 4717 | "<literal>Gtk::PolicyType::ALWAYS</literal> kommer få rullningslisten att " | ||
4788 | "alltid visas." | 4718 | "alltid visas." | ||
4789 | 4719 | ||||
4790 | #. (itstool) path: section/para | 4720 | #. (itstool) path: section/para | ||
4791 | #: C/index-in.docbook:1861 | 4721 | #: C/index-in.docbook:1861 | ||
n | 4792 | #, fuzzy | n | ||
4793 | #| msgid "" | ||||
4794 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4795 | #| "classGtk_1_1ScrolledWindow.html\">Reference</link>" | ||||
4796 | msgid "" | 4722 | msgid "" | ||
4797 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4723 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4798 | "classGtk_1_1ScrolledWindow.html\">Reference</link>" | 4724 | "classGtk_1_1ScrolledWindow.html\">Reference</link>" | ||
4799 | msgstr "" | 4725 | msgstr "" | ||
n | 4800 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4726 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4801 | "classGtk_1_1ScrolledWindow.html\">Referens</link>" | 4727 | "classGtk_1_1ScrolledWindow.html\">Referens</link>" | ||
4802 | 4728 | ||||
4803 | #. (itstool) path: section/para | 4729 | #. (itstool) path: section/para | ||
4804 | #: C/index-in.docbook:1866 | 4730 | #: C/index-in.docbook:1866 | ||
4805 | msgid "" | 4731 | msgid "" | ||
4849 | "extra space if necessary. For instance, this would allow you to display a " | 4775 | "extra space if necessary. For instance, this would allow you to display a " | ||
4850 | "photograph without allowing the user to distort it horizontally or " | 4776 | "photograph without allowing the user to distort it horizontally or " | ||
4851 | "vertically while resizing." | 4777 | "vertically while resizing." | ||
4852 | msgstr "" | 4778 | msgstr "" | ||
4853 | "<classname>AspectFrame</classname>-komponenten ser ut som en " | 4779 | "<classname>AspectFrame</classname>-komponenten ser ut som en " | ||
n | 4854 | "<classname>Frame</classname>-komponent, men den uppräthåller även " | n | 4780 | "<classname>Frame</classname>-komponent, men den upprätthåller även " |
4855 | "<emphasis>bildförhållandet</emphasis> (kvoten mellan bredden och höjden) för " | 4781 | "<emphasis>bildförhållandet</emphasis> (kvoten mellan bredden och höjden) för " | ||
4856 | "den underordnade komponenten, och lägger till extra utrymme om nödvändigt. " | 4782 | "den underordnade komponenten, och lägger till extra utrymme om nödvändigt. " | ||
4857 | "Exempelvis skulle detta låta dig visa ett foto utan att användaren kan " | 4783 | "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." | 4784 | "förvränga det horisontellt eller vertikalt då storleken ändras." | ||
4859 | 4785 | ||||
4860 | #. (itstool) path: section/para | 4786 | #. (itstool) path: section/para | ||
4861 | #: C/index-in.docbook:1894 | 4787 | #: C/index-in.docbook:1894 | ||
n | 4862 | #, fuzzy | n | ||
4863 | #| msgid "" | ||||
4864 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4865 | #| "classGtk_1_1AspectFrame.html\">Reference</link>" | ||||
4866 | msgid "" | 4788 | msgid "" | ||
4867 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4789 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4868 | "classGtk_1_1AspectFrame.html\">Reference</link>" | 4790 | "classGtk_1_1AspectFrame.html\">Reference</link>" | ||
4869 | msgstr "" | 4791 | msgstr "" | ||
n | 4870 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4792 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4871 | "classGtk_1_1AspectFrame.html\">Referens</link>" | 4793 | "classGtk_1_1AspectFrame.html\">Referens</link>" | ||
4872 | 4794 | ||||
4873 | #. (itstool) path: section/para | 4795 | #. (itstool) path: section/para | ||
4874 | #: C/index-in.docbook:1899 | 4796 | #: C/index-in.docbook:1899 | ||
4875 | msgid "" | 4797 | msgid "" | ||
4919 | "fullständig lista. Här är länkar till några exempelprogram som visar " | 4841 | "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." | 4842 | "behållare som inte nämns någon annanstans i denna handledning." | ||
4921 | 4843 | ||||
4922 | #. (itstool) path: section/para | 4844 | #. (itstool) path: section/para | ||
4923 | #: C/index-in.docbook:1926 | 4845 | #: C/index-in.docbook:1926 | ||
n | 4924 | #, fuzzy | n | ||
4925 | msgid "" | 4846 | msgid "" | ||
4926 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4847 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4927 | "master/examples/book/expander\">Source Code, Expander</link>" | 4848 | "master/examples/book/expander\">Source Code, Expander</link>" | ||
4928 | msgstr "" | 4849 | msgstr "" | ||
4929 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4850 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4930 | "master/examples/book/expander\">Källkod, Expander</link>" | 4851 | "master/examples/book/expander\">Källkod, Expander</link>" | ||
4931 | 4852 | ||||
4932 | #. (itstool) path: section/para | 4853 | #. (itstool) path: section/para | ||
4933 | #: C/index-in.docbook:1927 | 4854 | #: C/index-in.docbook:1927 | ||
n | 4934 | #, fuzzy | n | ||
4935 | msgid "" | 4855 | msgid "" | ||
4936 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4856 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4937 | "master/examples/book/popover\">Source Code, Popover</link>" | 4857 | "master/examples/book/popover\">Source Code, Popover</link>" | ||
4938 | msgstr "" | 4858 | msgstr "" | ||
4939 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4859 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4940 | "master/examples/book/popover\">Källkod, Popover</link>" | 4860 | "master/examples/book/popover\">Källkod, Popover</link>" | ||
4941 | 4861 | ||||
4942 | #. (itstool) path: section/title | 4862 | #. (itstool) path: section/title | ||
4943 | #: C/index-in.docbook:1934 | 4863 | #: C/index-in.docbook:1934 | ||
n | 4944 | #, fuzzy | n | ||
4945 | msgid "Multiple-item Containers" | 4864 | msgid "Multiple-item Containers" | ||
4946 | msgstr "Flerobjektsbehållare" | 4865 | msgstr "Flerobjektsbehållare" | ||
4947 | 4866 | ||||
4948 | #. (itstool) path: section/para | 4867 | #. (itstool) path: section/para | ||
4949 | #: C/index-in.docbook:1936 | 4868 | #: C/index-in.docbook:1936 | ||
4967 | "methodname> för flerobjektsbehållare tar ett argument som anger vilken " | 4886 | "methodname> för flerobjektsbehållare tar ett argument som anger vilken " | ||
4968 | "komponent som ska tas bort." | 4887 | "komponent som ska tas bort." | ||
4969 | 4888 | ||||
4970 | #. (itstool) path: section/title | 4889 | #. (itstool) path: section/title | ||
4971 | #: C/index-in.docbook:1946 | 4890 | #: C/index-in.docbook:1946 | ||
n | 4972 | #, fuzzy | n | ||
4973 | msgid "Packing" | 4891 | msgid "Packing" | ||
4974 | msgstr "Packning" | 4892 | msgstr "Packning" | ||
4975 | 4893 | ||||
4976 | #. (itstool) path: section/para | 4894 | #. (itstool) path: section/para | ||
4977 | #: C/index-in.docbook:1948 | 4895 | #: C/index-in.docbook:1948 | ||
4984 | "”elastiska” - de kan vanligen sträckas ut på många olika sätt. Det här är på " | 4902 | "”elastiska” - de kan vanligen sträckas ut på många olika sätt. Det här är på " | ||
4985 | "grund av systemet för <emphasis>komponentpackning</emphasis>." | 4903 | "grund av systemet för <emphasis>komponentpackning</emphasis>." | ||
4986 | 4904 | ||||
4987 | #. (itstool) path: section/para | 4905 | #. (itstool) path: section/para | ||
4988 | #: C/index-in.docbook:1953 | 4906 | #: C/index-in.docbook:1953 | ||
n | 4989 | #, fuzzy | n | ||
4990 | msgid "" | 4907 | msgid "" | ||
4991 | "Many GUI toolkits require you to precisely place widgets in a window, using " | 4908 | "Many GUI toolkits require you to precisely place widgets in a window, using " | ||
4992 | "absolute positioning, often using a visual editor. This leads to several " | 4909 | "absolute positioning, often using a visual editor. This leads to several " | ||
4993 | "problems:" | 4910 | "problems:" | ||
4994 | msgstr "" | 4911 | msgstr "" | ||
5003 | "widgets are hidden when the window is made smaller, and lots of useless " | 4920 | "widgets are hidden when the window is made smaller, and lots of useless " | ||
5004 | "space appears when the window is made larger." | 4921 | "space appears when the window is made larger." | ||
5005 | msgstr "" | 4922 | msgstr "" | ||
5006 | "Komponenterna arrangerar inte om sig själva när fönstrets storlek ändras. " | 4923 | "Komponenterna arrangerar inte om sig själva när fönstrets storlek ändras. " | ||
5007 | "Vissa komponenter döljs när fönstret görs mindre, och mycket onödigt utrymme " | 4924 | "Vissa komponenter döljs när fönstret görs mindre, och mycket onödigt utrymme " | ||
n | 5008 | "dyker upp när fönstret görs större." | n | 4925 | "uppstår när fönstret görs större." |
5009 | 4926 | ||||
5010 | #. (itstool) path: listitem/para | 4927 | #. (itstool) path: listitem/para | ||
5011 | #: C/index-in.docbook:1964 | 4928 | #: C/index-in.docbook:1964 | ||
5012 | msgid "" | 4929 | msgid "" | ||
5013 | "It's impossible to predict the amount of space necessary for text after it " | 4930 | "It's impossible to predict the amount of space necessary for text after it " | ||
5020 | "är det också omöjligt att förutse effekterna av varje tema och " | 4937 | "är det också omöjligt att förutse effekterna av varje tema och " | ||
5021 | "fönsterhanterare." | 4938 | "fönsterhanterare." | ||
5022 | 4939 | ||||
5023 | #. (itstool) path: listitem/para | 4940 | #. (itstool) path: listitem/para | ||
5024 | #: C/index-in.docbook:1968 | 4941 | #: C/index-in.docbook:1968 | ||
n | 5025 | #, fuzzy | n | ||
5026 | msgid "" | 4942 | msgid "" | ||
5027 | "Changing the layout of a window \"on the fly\", to make some extra widgets " | 4943 | "Changing the layout of a window \"on the fly\", to make some extra widgets " | ||
5028 | "appear, for instance, is complex. It requires tedious recalculation of every " | 4944 | "appear, for instance, is complex. It requires tedious recalculation of every " | ||
5029 | "widget's position." | 4945 | "widget's position." | ||
5030 | msgstr "" | 4946 | msgstr "" | ||
5031 | "Att ändra layouten för ett fönster ”i farten”, exempelvis för att få några " | 4947 | "Att ändra layouten för ett fönster ”i farten”, exempelvis för att få några " | ||
n | 5032 | "extra komponenter att dyka upp, är komplext. Det kräver tröttsam omräkning " | n | 4948 | "extra komponenter att visas, är komplext. Det kräver tröttsam omräkning av " |
5033 | "av varje komponents position." | 4949 | "varje komponents position." | ||
5034 | 4950 | ||||
5035 | #. (itstool) path: section/para | 4951 | #. (itstool) path: section/para | ||
5036 | #: C/index-in.docbook:1974 | 4952 | #: C/index-in.docbook:1974 | ||
5037 | #, fuzzy | 4953 | #, fuzzy | ||
5038 | msgid "" | 4954 | msgid "" | ||
5083 | "<application>gtkmm</application> är behållare med en underordnad, inklusive " | 4999 | "<application>gtkmm</application> är behållare med en underordnad, inklusive " | ||
5084 | "<classname>Gtk::Window</classname>." | 5000 | "<classname>Gtk::Window</classname>." | ||
5085 | 5001 | ||||
5086 | #. (itstool) path: section/para | 5002 | #. (itstool) path: section/para | ||
5087 | #: C/index-in.docbook:1992 | 5003 | #: C/index-in.docbook:1992 | ||
n | 5088 | #, fuzzy | n | ||
5089 | msgid "" | 5004 | msgid "" | ||
5090 | "Yes, that's correct: a Window can contain at most one widget. How, then, can " | 5005 | "Yes, that's correct: a Window can contain at most one widget. How, then, can " | ||
5091 | "we use a window for anything useful? By placing a multiple-child container " | 5006 | "we use a window for anything useful? By placing a multiple-child container " | ||
5092 | "in the window. The most useful container widgets are <classname>Gtk::Grid</" | 5007 | "in the window. The most useful container widgets are <classname>Gtk::Grid</" | ||
5093 | "classname> and <classname>Gtk::Box</classname>." | 5008 | "classname> and <classname>Gtk::Box</classname>." | ||
5094 | msgstr "" | 5009 | msgstr "" | ||
5095 | "Det stämmer: ett Window kan innehålla högst en komponent. Men hur kan vi då " | 5010 | "Det stämmer: ett Window kan innehålla högst en komponent. Men hur kan vi då " | ||
5096 | "använda ett fönster för något användbart? Genom att placera en " | 5011 | "använda ett fönster för något användbart? Genom att placera en " | ||
n | 5097 | "flerbarnsbehållare i fönster. De mest användbara behållarkomponenterna är " | n | 5012 | "flerobjektsbehållare i fönstret. De mest användbara behållarkomponenterna är " |
5098 | "<classname>Gtk::Grid</classname> och <classname>Gtk::Box</classname>." | 5013 | "<classname>Gtk::Grid</classname> och <classname>Gtk::Box</classname>." | ||
5099 | 5014 | ||||
5100 | #. (itstool) path: listitem/para | 5015 | #. (itstool) path: listitem/para | ||
5101 | #: C/index-in.docbook:2003 | 5016 | #: C/index-in.docbook:2003 | ||
5102 | msgid "" | 5017 | msgid "" | ||
5138 | "verktygslådor." | 5053 | "verktygslådor." | ||
5139 | 5054 | ||||
5140 | #. (itstool) path: section/title | 5055 | #. (itstool) path: section/title | ||
5141 | #: C/index-in.docbook:2033 | 5056 | #: C/index-in.docbook:2033 | ||
5142 | msgid "An improved Hello World" | 5057 | msgid "An improved Hello World" | ||
n | 5143 | msgstr "En förbättrad Hej världen" | n | 5058 | msgstr "Ett förbättrat Hej världen" |
5144 | 5059 | ||||
5145 | #. (itstool) path: section/para | 5060 | #. (itstool) path: section/para | ||
5146 | #: C/index-in.docbook:2035 | 5061 | #: C/index-in.docbook:2035 | ||
n | 5147 | #, fuzzy | n | ||
5148 | msgid "" | 5062 | msgid "" | ||
5149 | "Let's take a look at a slightly improved <literal>helloworld</literal>, " | 5063 | "Let's take a look at a slightly improved <literal>helloworld</literal>, " | ||
5150 | "showing what we've learnt." | 5064 | "showing what we've learnt." | ||
5151 | msgstr "" | 5065 | msgstr "" | ||
5152 | "Låt oss ta en titt på ett något förbättrat <literal>helloworld</literal> som " | 5066 | "Låt oss ta en titt på ett något förbättrat <literal>helloworld</literal> som " | ||
5194 | "Försök efter att ha byggt och kört detta program att ändra storlek på " | 5108 | "Försök efter att ha byggt och kört detta program att ändra storlek på " | ||
5195 | "fönstret för att se beteendet. Pröva även leka med <methodname>set_expand()</" | 5109 | "fönstret för att se beteendet. Pröva även leka med <methodname>set_expand()</" | ||
5196 | "methodname>, <methodname>set_hexpand()</methodname>, " | 5110 | "methodname>, <methodname>set_hexpand()</methodname>, " | ||
5197 | "<methodname>set_vexpand()</methodname>, <methodname>set_halign()</" | 5111 | "<methodname>set_vexpand()</methodname>, <methodname>set_halign()</" | ||
5198 | "methodname> och <methodname>set_valign()</methodname> medan du läser " | 5112 | "methodname> och <methodname>set_valign()</methodname> medan du läser " | ||
n | 5199 | "avsnittet <link linkend=\"sec-boxes\">Boxar</link> section." | n | 5113 | "avsnittet <link linkend=\"sec-boxes\">Boxar</link>." |
5200 | 5114 | ||||
5201 | #. (itstool) path: section/title | 5115 | #. (itstool) path: section/title | ||
5202 | #: C/index-in.docbook:2059 | 5116 | #: C/index-in.docbook:2059 | ||
5203 | #, fuzzy | 5117 | #, fuzzy | ||
5204 | msgid "Boxes" | 5118 | msgid "Boxes" | ||
5227 | msgid "Adding widgets" | 5141 | msgid "Adding widgets" | ||
5228 | msgstr "Lägga till komponenter" | 5142 | msgstr "Lägga till komponenter" | ||
5229 | 5143 | ||||
5230 | #. (itstool) path: section/title | 5144 | #. (itstool) path: section/title | ||
5231 | #: C/index-in.docbook:2073 | 5145 | #: C/index-in.docbook:2073 | ||
n | 5232 | #, fuzzy | n | ||
5233 | msgid "Per-child packing options" | 5146 | msgid "Per-child packing options" | ||
5234 | msgstr "Packningsalternativ per underordnad" | 5147 | msgstr "Packningsalternativ per underordnad" | ||
5235 | 5148 | ||||
5236 | #. (itstool) path: section/para | 5149 | #. (itstool) path: section/para | ||
5237 | #: C/index-in.docbook:2074 | 5150 | #: C/index-in.docbook:2074 | ||
5280 | "möjligt. Du kan till och med bestämma dig för att använda <classname>Gtk::" | 5193 | "möjligt. Du kan till och med bestämma dig för att använda <classname>Gtk::" | ||
5281 | "Builder</classname>-API:t för att läsa in ditt GUI vid körning." | 5194 | "Builder</classname>-API:t för att läsa in ditt GUI vid körning." | ||
5282 | 5195 | ||||
5283 | #. (itstool) path: section/para | 5196 | #. (itstool) path: section/para | ||
5284 | #: C/index-in.docbook:2095 | 5197 | #: C/index-in.docbook:2095 | ||
n | 5285 | #, fuzzy | n | ||
5286 | msgid "There are basically five different styles, as shown in this picture:" | 5198 | msgid "There are basically five different styles, as shown in this picture:" | ||
n | 5287 | msgstr "Det finns i princip fem olika stilar, som kan ses i denna bild:" | n | 5199 | msgstr "Det finns i grunden fem olika stilar som kan ses i denna bild:" |
5288 | 5200 | ||||
5289 | #. (itstool) path: figure/title | 5201 | #. (itstool) path: figure/title | ||
5290 | #: C/index-in.docbook:2101 | 5202 | #: C/index-in.docbook:2101 | ||
5291 | #, fuzzy | 5203 | #, fuzzy | ||
5292 | msgid "Box Packing 1" | 5204 | msgid "Box Packing 1" | ||
5318 | "<methodname>set_margin_start()</methodname> and " | 5230 | "<methodname>set_margin_start()</methodname> and " | ||
5319 | "<methodname>set_margin_end()</methodname> methods." | 5231 | "<methodname>set_margin_end()</methodname> methods." | ||
5320 | msgstr "" | 5232 | msgstr "" | ||
5321 | "Varje rad innehåller en horisontell <classname>Box</classname> med flera " | 5233 | "Varje rad innehåller en horisontell <classname>Box</classname> med flera " | ||
5322 | "knappar. Var och en av knapparna på en rad packas i <classname>Box</" | 5234 | "knappar. Var och en av knapparna på en rad packas i <classname>Box</" | ||
n | 5323 | "classname>en med samma argumen till metoderna <methodname>set_hexpand()</" | n | 5235 | "classname>en med samma argument till metoderna <methodname>set_hexpand()</" |
5324 | "methodname>, <methodname>set_halign()</methodname>, " | 5236 | "methodname>, <methodname>set_halign()</methodname>, " | ||
5325 | "<methodname>set_margin_start()</methodname> och " | 5237 | "<methodname>set_margin_start()</methodname> och " | ||
5326 | "<methodname>set_margin_end()</methodname> methods." | 5238 | "<methodname>set_margin_end()</methodname> methods." | ||
5327 | 5239 | ||||
5328 | #. (itstool) path: section/para | 5240 | #. (itstool) path: section/para | ||
5329 | #: C/index-in.docbook:2116 | 5241 | #: C/index-in.docbook:2116 | ||
n | 5330 | #, fuzzy | n | ||
5331 | #| msgid "" | ||||
5332 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5333 | #| "classGtk_1_1Box.html\">Reference</link>" | ||||
5334 | msgid "" | 5242 | msgid "" | ||
5335 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5243 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5336 | "classGtk_1_1Box.html\">Reference</link>" | 5244 | "classGtk_1_1Box.html\">Reference</link>" | ||
5337 | msgstr "" | 5245 | msgstr "" | ||
n | 5338 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Box." | n | 5246 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5339 | "html\">Referens</link>" | 5247 | "classGtk_1_1Box.html\">Referens</link>" | ||
5340 | 5248 | ||||
5341 | #. (itstool) path: section/title | 5249 | #. (itstool) path: section/title | ||
5342 | #: C/index-in.docbook:2121 | 5250 | #: C/index-in.docbook:2121 | ||
5343 | #, fuzzy | 5251 | #, fuzzy | ||
5344 | msgid "Per-container packing options" | 5252 | msgid "Per-container packing options" | ||
5461 | msgstr "" | 5369 | msgstr "" | ||
5462 | "Ge alla kommandoradsflaggor till <methodname>Gtk::Application::run()</" | 5370 | "Ge alla kommandoradsflaggor till <methodname>Gtk::Application::run()</" | ||
5463 | "methodname> och lägg till flaggan <literal>Gio::Application::Flags::" | 5371 | "methodname> och lägg till flaggan <literal>Gio::Application::Flags::" | ||
5464 | "HANDLES_COMMAND_LINE</literal> till <methodname>Gtk::Application::create()</" | 5372 | "HANDLES_COMMAND_LINE</literal> till <methodname>Gtk::Application::create()</" | ||
5465 | "methodname>. Anslut en signalhanterare till signalen <literal>command_line</" | 5373 | "methodname>. Anslut en signalhanterare till signalen <literal>command_line</" | ||
n | 5466 | "literal> signal, och hantera kommandoradsflaggorna i signalhanteraren." | n | 5374 | "literal>, och hantera kommandoradsflaggorna i signalhanteraren." |
5467 | 5375 | ||||
5468 | #. (itstool) path: listitem/para | 5376 | #. (itstool) path: listitem/para | ||
5469 | #: C/index-in.docbook:2175 | 5377 | #: C/index-in.docbook:2175 | ||
5470 | #, fuzzy | 5378 | #, fuzzy | ||
5471 | msgid "" | 5379 | msgid "" | ||
5493 | "When you run this example, provide a number between 1 and 3 as a command-" | 5401 | "When you run this example, provide a number between 1 and 3 as a command-" | ||
5494 | "line option, to see different packing options in use." | 5402 | "line option, to see different packing options in use." | ||
5495 | msgstr "" | 5403 | msgstr "" | ||
5496 | "Här är källkoden för exemplet som skapade skärmbilderna ovan. Skicka när du " | 5404 | "Här är källkoden för exemplet som skapade skärmbilderna ovan. Skicka när du " | ||
5497 | "kör detta exempel med ett tal mellan 1 och 3 som en kommandoradsflagga för " | 5405 | "kör detta exempel med ett tal mellan 1 och 3 som en kommandoradsflagga för " | ||
n | 5498 | "att se olika packningsalternativ under användning." | n | 5406 | "att se då olika packningsalternativ används." |
5499 | 5407 | ||||
5500 | #. (itstool) path: section/para | 5408 | #. (itstool) path: section/para | ||
5501 | #: C/index-in.docbook:2192 | 5409 | #: C/index-in.docbook:2192 | ||
5502 | msgid "" | 5410 | msgid "" | ||
5503 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5411 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5512 | msgid "Grid" | 5420 | msgid "Grid" | ||
5513 | msgstr "Grid" | 5421 | msgstr "Grid" | ||
5514 | 5422 | ||||
5515 | #. (itstool) path: section/para | 5423 | #. (itstool) path: section/para | ||
5516 | #: C/index-in.docbook:2200 | 5424 | #: C/index-in.docbook:2200 | ||
n | 5517 | #, fuzzy | n | ||
5518 | msgid "" | 5425 | msgid "" | ||
5519 | "A <classname>Grid</classname> dynamically lays out child widgets in rows and " | 5426 | "A <classname>Grid</classname> dynamically lays out child widgets in rows and " | ||
5520 | "columns. The dimensions of the grid do not need to be specified in the " | 5427 | "columns. The dimensions of the grid do not need to be specified in the " | ||
5521 | "constructor." | 5428 | "constructor." | ||
5522 | msgstr "" | 5429 | msgstr "" | ||
n | 5523 | "En <classname>Grid</classname> organiserar dynamiskt underordnade " | n | 5430 | "Ett <classname>Grid</classname> organiserar dynamiskt underordnade " |
5524 | "komponenter i rader och kolumner. Dimensionerna på rutnätet behöver inte " | 5431 | "komponenter i rader och kolumner. Dimensionerna på rutnätet behöver inte " | ||
5525 | "anges i konstruktorn." | 5432 | "anges i konstruktorn." | ||
5526 | 5433 | ||||
5527 | #. (itstool) path: section/para | 5434 | #. (itstool) path: section/para | ||
5528 | #: C/index-in.docbook:2205 | 5435 | #: C/index-in.docbook:2205 | ||
n | 5529 | #, fuzzy | n | ||
5530 | msgid "" | 5436 | msgid "" | ||
5531 | "Child widgets can span multiple rows or columns, using <methodname>attach()</" | 5437 | "Child widgets can span multiple rows or columns, using <methodname>attach()</" | ||
5532 | "methodname>, or added next to an existing widget inside the grid with " | 5438 | "methodname>, or added next to an existing widget inside the grid with " | ||
5533 | "<methodname>attach_next_to()</methodname>. Individual rows and columns of " | 5439 | "<methodname>attach_next_to()</methodname>. Individual rows and columns of " | ||
5534 | "the grid can be set to have uniform height or width with " | 5440 | "the grid can be set to have uniform height or width with " | ||
5548 | msgid "" | 5454 | msgid "" | ||
5549 | "You can set the <emphasis>margin</emphasis> and <emphasis>expand</emphasis> " | 5455 | "You can set the <emphasis>margin</emphasis> and <emphasis>expand</emphasis> " | ||
5550 | "properties of the child <classname>Widget</classname>s to control their " | 5456 | "properties of the child <classname>Widget</classname>s to control their " | ||
5551 | "spacing and their behavior when the Grid is resized." | 5457 | "spacing and their behavior when the Grid is resized." | ||
5552 | msgstr "" | 5458 | msgstr "" | ||
n | 5553 | "Du kan konfigurera egenskaperna för <emphasis>marginal</emphasis> och " | n | 5459 | "Du kan sätta egenskaperna för <emphasis>marginal</emphasis> och " |
5554 | "<emphasis>expansion</emphasis> för underordnade <classname>Widget</" | 5460 | "<emphasis>expansion</emphasis> för underordnade <classname>Widget</" | ||
5555 | "classname> för att styra deras utrymme och deras beteende när vår Grid får " | 5461 | "classname> för att styra deras utrymme och deras beteende när vår Grid får " | ||
5556 | "storleken ändrad." | 5462 | "storleken ändrad." | ||
5557 | 5463 | ||||
5558 | #. (itstool) path: section/para | 5464 | #. (itstool) path: section/para | ||
5559 | #: C/index-in.docbook:2216 | 5465 | #: C/index-in.docbook:2216 | ||
n | 5560 | #, fuzzy | n | ||
5561 | #| msgid "" | ||||
5562 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5563 | #| "classGtk_1_1Grid.html\">Reference</link>" | ||||
5564 | msgid "" | 5466 | msgid "" | ||
5565 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5467 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5566 | "classGtk_1_1Grid.html\">Reference</link>" | 5468 | "classGtk_1_1Grid.html\">Reference</link>" | ||
5567 | msgstr "" | 5469 | msgstr "" | ||
n | 5568 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5470 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5569 | "classGtk_1_1Grid.html\">Referens</link>" | 5471 | "classGtk_1_1Grid.html\">Referens</link>" | ||
5570 | 5472 | ||||
5571 | #. (itstool) path: section/para | 5473 | #. (itstool) path: section/para | ||
5572 | #: C/index-in.docbook:2220 | 5474 | #: C/index-in.docbook:2220 | ||
5573 | msgid "" | 5475 | msgid "" | ||
5659 | "Använd metoden <methodname>set_current_page()</methodname> för att " | 5561 | "Använd metoden <methodname>set_current_page()</methodname> för att " | ||
5660 | "programmatiskt ändra den valda sidan." | 5562 | "programmatiskt ändra den valda sidan." | ||
5661 | 5563 | ||||
5662 | #. (itstool) path: section/para | 5564 | #. (itstool) path: section/para | ||
5663 | #: C/index-in.docbook:2270 | 5565 | #: C/index-in.docbook:2270 | ||
n | 5664 | #, fuzzy | n | ||
5665 | #| msgid "" | ||||
5666 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5667 | #| "classGtk_1_1Notebook.html\">Reference</link>" | ||||
5668 | msgid "" | 5566 | msgid "" | ||
5669 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5567 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5670 | "classGtk_1_1Notebook.html\">Reference</link>" | 5568 | "classGtk_1_1Notebook.html\">Reference</link>" | ||
5671 | msgstr "" | 5569 | msgstr "" | ||
n | 5672 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5570 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5673 | "classGtk_1_1Notebook.html\">Referens</link>" | 5571 | "classGtk_1_1Notebook.html\">Referens</link>" | ||
5674 | 5572 | ||||
5675 | #. (itstool) path: imageobject/imagedata | 5573 | #. (itstool) path: imageobject/imagedata | ||
5676 | #. This is a reference to an external file such as an image or video. When | 5574 | #. This is a reference to an external file such as an image or video. When | ||
5677 | #. the file changes, the md5 hash will change to let you know you need to | 5575 | #. the file changes, the md5 hash will change to let you know you need to | ||
5707 | "<application>gtkmm</application> 4.10. There is no replacement in " | 5605 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
5708 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | 5606 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | ||
5709 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | 5607 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | ||
5710 | "classname> might be an acceptable replacement." | 5608 | "classname> might be an acceptable replacement." | ||
5711 | msgstr "" | 5609 | msgstr "" | ||
n | n | 5610 | "<classname>Gtk::Assistant</classname> är föråldrad sedan <application>gtkmm</" | ||
5611 | "application> 4.10. Det finns ingen ersättning i <application>gtkmm</" | ||||
5612 | "application>. libadwaita (ett C-bibliotek) har ersättningsdelar (som " | ||||
5613 | "AdwCarousel). I vissa fall kan en <classname>Gtk::Notebook</classname> vara " | ||||
5614 | "en acceptabel ersättning." | ||||
5712 | 5615 | ||||
5713 | #. (itstool) path: section/para | 5616 | #. (itstool) path: section/para | ||
5714 | #: C/index-in.docbook:2297 | 5617 | #: C/index-in.docbook:2297 | ||
5715 | #, fuzzy | 5618 | #, fuzzy | ||
5716 | msgid "" | 5619 | msgid "" | ||
5779 | "standardknapparna. Använd metoden <methodname>remove_action_widget()</" | 5682 | "standardknapparna. Använd metoden <methodname>remove_action_widget()</" | ||
5780 | "methodname> för att ta bort komponenter." | 5683 | "methodname> för att ta bort komponenter." | ||
5781 | 5684 | ||||
5782 | #. (itstool) path: section/para | 5685 | #. (itstool) path: section/para | ||
5783 | #: C/index-in.docbook:2317 | 5686 | #: C/index-in.docbook:2317 | ||
n | 5784 | #, fuzzy | n | ||
5785 | #| msgid "" | ||||
5786 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5787 | #| "classGtk_1_1Assistant.html\">Reference</link>" | ||||
5788 | msgid "" | 5687 | msgid "" | ||
5789 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5688 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5790 | "classGtk_1_1Assistant.html\">Reference</link>" | 5689 | "classGtk_1_1Assistant.html\">Reference</link>" | ||
5791 | msgstr "" | 5690 | msgstr "" | ||
n | 5792 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5691 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5793 | "classGtk_1_1Assistant.html\">Referens</link>" | 5692 | "classGtk_1_1Assistant.html\">Referens</link>" | ||
5794 | 5693 | ||||
5795 | #. (itstool) path: imageobject/imagedata | 5694 | #. (itstool) path: imageobject/imagedata | ||
5796 | #. This is a reference to an external file such as an image or video. When | 5695 | #. This is a reference to an external file such as an image or video. When | ||
5797 | #. the file changes, the md5 hash will change to let you know you need to | 5696 | #. the file changes, the md5 hash will change to let you know you need to | ||
5814 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5713 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5815 | "master/examples/book/assistant/\">Källkod</link>" | 5714 | "master/examples/book/assistant/\">Källkod</link>" | ||
5816 | 5715 | ||||
5817 | #. (itstool) path: section/title | 5716 | #. (itstool) path: section/title | ||
5818 | #: C/index-in.docbook:2336 | 5717 | #: C/index-in.docbook:2336 | ||
n | 5819 | #, fuzzy | n | ||
5820 | msgid "Other Multi-item Containers" | 5718 | msgid "Other Multi-item Containers" | ||
n | 5821 | msgstr "Andra flerobjektbehållare" | n | 5719 | msgstr "Andra flerobjektsbehållare" |
5822 | 5720 | ||||
5823 | #. (itstool) path: section/para | 5721 | #. (itstool) path: section/para | ||
5824 | #: C/index-in.docbook:2338 | 5722 | #: C/index-in.docbook:2338 | ||
n | 5825 | #, fuzzy | n | ||
5826 | msgid "" | 5723 | msgid "" | ||
5827 | "There are other multi-item containers. See the reference documentation for a " | 5724 | "There are other multi-item containers. See the reference documentation for a " | ||
5828 | "complete list. Here are links to some example programs that show containers, " | 5725 | "complete list. Here are links to some example programs that show containers, " | ||
5829 | "which are not mentioned elsewhere in this tutorial." | 5726 | "which are not mentioned elsewhere in this tutorial." | ||
5830 | msgstr "" | 5727 | msgstr "" | ||
n | 5831 | "Det finns andra flerobjektbehållare. Se referensdokumentationen för en " | n | 5728 | "Det finns andra flerobjektsbehållare. Se referensdokumentationen för en " |
5832 | "fullständig lista. Här är länkar till några exempelprogram som visar " | 5729 | "fullständig lista. Här är länkar till några exempelprogram som visar " | ||
5833 | "behållare som inte nämns någon annanstans i denna handledning." | 5730 | "behållare som inte nämns någon annanstans i denna handledning." | ||
5834 | 5731 | ||||
5835 | #. (itstool) path: section/para | 5732 | #. (itstool) path: section/para | ||
5836 | #: C/index-in.docbook:2344 | 5733 | #: C/index-in.docbook:2344 | ||
5841 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5738 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5842 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | 5739 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | ||
5843 | 5740 | ||||
5844 | #. (itstool) path: section/para | 5741 | #. (itstool) path: section/para | ||
5845 | #: C/index-in.docbook:2345 | 5742 | #: C/index-in.docbook:2345 | ||
n | 5846 | #, fuzzy | n | ||
5847 | #| msgid "" | ||||
5848 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
5849 | #| "tree/master/examples/book/flowbox\">Source Code, FlowBox</link>" | ||||
5850 | msgid "" | 5743 | msgid "" | ||
5851 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5744 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5852 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | 5745 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | ||
5853 | msgstr "" | 5746 | msgstr "" | ||
5854 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5747 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 5855 | "master/examples/book/flowbox\">Källkod, FlowBox</link>" | n | 5748 | "master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>" |
5856 | 5749 | ||||
5857 | #. (itstool) path: chapter/title | 5750 | #. (itstool) path: chapter/title | ||
5858 | #: C/index-in.docbook:2352 | 5751 | #: C/index-in.docbook:2352 | ||
5859 | msgid "ListView, GridView, ColumnView" | 5752 | msgid "ListView, GridView, ColumnView" | ||
5860 | msgstr "" | 5753 | msgstr "" | ||
5909 | "link> i <application>gtkmm-documentation</application>s exempel." | 5802 | "link> i <application>gtkmm-documentation</application>s exempel." | ||
5910 | 5803 | ||||
5911 | #. (itstool) path: section/title | 5804 | #. (itstool) path: section/title | ||
5912 | #: C/index-in.docbook:2377 | 5805 | #: C/index-in.docbook:2377 | ||
5913 | #, fuzzy | 5806 | #, fuzzy | ||
n | n | 5807 | #| msgid "The Model" | ||
5914 | msgid "The Data Model" | 5808 | msgid "The Data Model" | ||
5915 | msgstr "Modellen" | 5809 | msgstr "Modellen" | ||
5916 | 5810 | ||||
5917 | #. (itstool) path: section/para | 5811 | #. (itstool) path: section/para | ||
5918 | #: C/index-in.docbook:2379 | 5812 | #: C/index-in.docbook:2379 | ||
5926 | msgstr "" | 5820 | msgstr "" | ||
5927 | 5821 | ||||
5928 | #. (itstool) path: section/para | 5822 | #. (itstool) path: section/para | ||
5929 | #: C/index-in.docbook:2387 | 5823 | #: C/index-in.docbook:2387 | ||
5930 | #, fuzzy | 5824 | #, fuzzy | ||
n | 5931 | #| msgid "" | n | ||
5932 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
5933 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
5934 | #| "ComboBox class with one integer and one text column, like so:" | ||||
5935 | msgid "" | 5825 | msgid "" | ||
5936 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | 5826 | "The elements in a model are called <emphasis>items</emphasis>. All items are " | ||
5937 | "instances of a subclass of <classname>Glib::Object</classname>. For " | 5827 | "instances of a subclass of <classname>Glib::Object</classname>. For " | ||
5938 | "instance, you might have a <classname>ColumnView</classname> with one " | 5828 | "instance, you might have a <classname>ColumnView</classname> with one " | ||
5939 | "integer and one text column, like so:" | 5829 | "integer and one text column, like so:" | ||
5940 | msgstr "" | 5830 | msgstr "" | ||
n | 5941 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 5831 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
5942 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 5832 | "exakt som för en <classname>ListView</classname> eller en " | ||
5943 | "ett heltal och en textkolumn, så här:" | 5833 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
5834 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
5835 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
5944 | 5836 | ||||
5945 | #. (itstool) path: section/programlisting | 5837 | #. (itstool) path: section/programlisting | ||
5946 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | 5838 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | ||
n | 5947 | #, no-wrap | n | 5839 | #, fuzzy, no-wrap |
5840 | #| msgid "" | ||||
5841 | #| "class ModelColumns : public Glib::Object\n" | ||||
5842 | #| "{\n" | ||||
5843 | #| "public:\n" | ||||
5844 | #| " int m_col_id;\n" | ||||
5845 | #| " Glib::ustring m_col_name;\n" | ||||
5846 | #| "\n" | ||||
5847 | #| " static Glib::RefPtr<ModelColumns> create(\n" | ||||
5848 | #| " int col_id, const Glib::ustring& col_name)\n" | ||||
5849 | #| " {\n" | ||||
5850 | #| " return Glib::make_refptr_for_instance<ModelColumns>(\n" | ||||
5851 | #| " new ModelColumns(col_id, col_name));\n" | ||||
5852 | #| " }\n" | ||||
5853 | #| "\n" | ||||
5854 | #| "protected:\n" | ||||
5855 | #| " ModelColumns(int col_id, const Glib::ustring& col_name)\n" | ||||
5856 | #| " : m_col_id(col_id), m_col_name(col_name)\n" | ||||
5857 | #| " {}\n" | ||||
5858 | #| "};\n" | ||||
5859 | #| "\n" | ||||
5860 | #| "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||||
5948 | msgid "" | 5861 | msgid "" | ||
5949 | "<code>class ModelColumns : public Glib::Object\n" | 5862 | "<code>class ModelColumns : public Glib::Object\n" | ||
5950 | "{\n" | 5863 | "{\n" | ||
5951 | "public:\n" | 5864 | "public:\n" | ||
5952 | " int m_col_id;\n" | 5865 | " int m_col_id;\n" | ||
5966 | "};\n" | 5879 | "};\n" | ||
5967 | "\n" | 5880 | "\n" | ||
5968 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | 5881 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||
5969 | "</code>" | 5882 | "</code>" | ||
5970 | msgstr "" | 5883 | msgstr "" | ||
n | n | 5884 | "class ModelColumns : public Glib::Object\n" | ||
5885 | "{\n" | ||||
5886 | "public:\n" | ||||
5887 | " int m_col_id;\n" | ||||
5888 | " Glib::ustring m_col_name;\n" | ||||
5889 | "\n" | ||||
5890 | " static Glib::RefPtr<ModelColumns> create(\n" | ||||
5891 | " int col_id, const Glib::ustring& col_name)\n" | ||||
5892 | " {\n" | ||||
5893 | " return Glib::make_refptr_for_instance<ModelColumns>(\n" | ||||
5894 | " new ModelColumns(col_id, col_name));\n" | ||||
5895 | " }\n" | ||||
5896 | "\n" | ||||
5897 | "protected:\n" | ||||
5898 | " ModelColumns(int col_id, const Glib::ustring& col_name)\n" | ||||
5899 | " : m_col_id(col_id), m_col_name(col_name)\n" | ||||
5900 | " {}\n" | ||||
5901 | "};\n" | ||||
5902 | "\n" | ||||
5903 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||||
5971 | 5904 | ||||
5972 | #. (itstool) path: section/para | 5905 | #. (itstool) path: section/para | ||
5973 | #: C/index-in.docbook:2415 | 5906 | #: C/index-in.docbook:2415 | ||
5974 | msgid "" | 5907 | msgid "" | ||
5975 | "Every item in a model has a position which is the unsigned integer that " | 5908 | "Every item in a model has a position which is the unsigned integer that " | ||
5980 | 5913 | ||||
5981 | #. (itstool) path: section/para | 5914 | #. (itstool) path: section/para | ||
5982 | #: C/index-in.docbook:2421 | 5915 | #: C/index-in.docbook:2421 | ||
5983 | #, fuzzy | 5916 | #, fuzzy | ||
5984 | #| msgid "" | 5917 | #| msgid "" | ||
n | 5985 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 5918 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
5986 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | 5919 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||
5987 | msgid "" | 5920 | msgid "" | ||
5988 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 5921 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
5989 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | 5922 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | ||
5990 | msgstr "" | 5923 | msgstr "" | ||
n | 5991 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 5924 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
5992 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | 5925 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | ||
5993 | 5926 | ||||
5994 | #. (itstool) path: section/para | 5927 | #. (itstool) path: section/para | ||
5995 | #: C/index-in.docbook:2422 | 5928 | #: C/index-in.docbook:2422 | ||
5996 | #, fuzzy | 5929 | #, fuzzy | ||
5997 | #| msgid "" | 5930 | #| msgid "" | ||
n | 5998 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5931 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5999 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | 5932 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
6000 | msgid "" | 5933 | msgid "" | ||
6001 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5934 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6002 | "classGtk_1_1StringList.html\">StringList Reference</link>" | 5935 | "classGtk_1_1StringList.html\">StringList Reference</link>" | ||
6003 | msgstr "" | 5936 | msgstr "" | ||
n | 6004 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5937 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6005 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 5938 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6006 | 5939 | ||||
6007 | #. (itstool) path: section/para | 5940 | #. (itstool) path: section/para | ||
6008 | #: C/index-in.docbook:2423 | 5941 | #: C/index-in.docbook:2423 | ||
6009 | #, fuzzy | 5942 | #, fuzzy | ||
6010 | #| msgid "" | 5943 | #| msgid "" | ||
n | 6011 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5944 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6012 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | 5945 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
6013 | msgid "" | 5946 | msgid "" | ||
6014 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5947 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6015 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | 5948 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | ||
6016 | msgstr "" | 5949 | msgstr "" | ||
n | 6017 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5950 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6018 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 5951 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6019 | 5952 | ||||
6020 | #. (itstool) path: section/title | 5953 | #. (itstool) path: section/title | ||
6021 | #: C/index-in.docbook:2427 | 5954 | #: C/index-in.docbook:2427 | ||
6022 | #, fuzzy | 5955 | #, fuzzy | ||
6044 | 5977 | ||||
6045 | #. (itstool) path: section/para | 5978 | #. (itstool) path: section/para | ||
6046 | #: C/index-in.docbook:2434 | 5979 | #: C/index-in.docbook:2434 | ||
6047 | #, fuzzy | 5980 | #, fuzzy | ||
6048 | #| msgid "" | 5981 | #| msgid "" | ||
n | 6049 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5982 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6050 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | 5983 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||
6051 | msgid "" | 5984 | msgid "" | ||
6052 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5985 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6053 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | 5986 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | ||
6054 | msgstr "" | 5987 | msgstr "" | ||
n | 6055 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5988 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6056 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | 5989 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | ||
6057 | 5990 | ||||
6058 | #. (itstool) path: section/para | 5991 | #. (itstool) path: section/para | ||
6059 | #: C/index-in.docbook:2435 | 5992 | #: C/index-in.docbook:2435 | ||
6060 | #, fuzzy | 5993 | #, fuzzy | ||
6061 | #| msgid "" | 5994 | #| msgid "" | ||
n | 6062 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5995 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6063 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | 5996 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
6064 | msgid "" | 5997 | msgid "" | ||
6065 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5998 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6066 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | 5999 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | ||
6067 | msgstr "" | 6000 | msgstr "" | ||
n | 6068 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6001 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6069 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 6002 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6070 | 6003 | ||||
6071 | #. (itstool) path: section/para | 6004 | #. (itstool) path: section/para | ||
6072 | #: C/index-in.docbook:2436 | 6005 | #: C/index-in.docbook:2436 | ||
6073 | #, fuzzy | 6006 | #, fuzzy | ||
6074 | #| msgid "" | 6007 | #| msgid "" | ||
n | 6075 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6008 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6076 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | 6009 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||
6077 | msgid "" | 6010 | msgid "" | ||
6078 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6011 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6079 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | 6012 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | ||
6080 | msgstr "" | 6013 | msgstr "" | ||
n | 6081 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6014 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6082 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | 6015 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | ||
6083 | 6016 | ||||
6084 | #. (itstool) path: section/title | 6017 | #. (itstool) path: section/title | ||
6085 | #: C/index-in.docbook:2440 | 6018 | #: C/index-in.docbook:2440 | ||
6086 | #, fuzzy | 6019 | #, fuzzy | ||
6100 | 6033 | ||||
6101 | #. (itstool) path: section/para | 6034 | #. (itstool) path: section/para | ||
6102 | #: C/index-in.docbook:2448 | 6035 | #: C/index-in.docbook:2448 | ||
6103 | #, fuzzy | 6036 | #, fuzzy | ||
6104 | #| msgid "" | 6037 | #| msgid "" | ||
n | 6105 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6038 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6106 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | 6039 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
6107 | msgid "" | 6040 | msgid "" | ||
6108 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6041 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6109 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | 6042 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | ||
6110 | "link>" | 6043 | "link>" | ||
6111 | msgstr "" | 6044 | msgstr "" | ||
n | 6112 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6045 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6113 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 6046 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6114 | 6047 | ||||
6115 | #. (itstool) path: section/title | 6048 | #. (itstool) path: section/title | ||
6116 | #: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872 | 6049 | #: C/index-in.docbook:2452 C/index-in.docbook:2823 C/index-in.docbook:3872 | ||
6117 | #, fuzzy | 6050 | #, fuzzy | ||
6169 | 6102 | ||||
6170 | #. (itstool) path: section/para | 6103 | #. (itstool) path: section/para | ||
6171 | #: C/index-in.docbook:2478 | 6104 | #: C/index-in.docbook:2478 | ||
6172 | #, fuzzy | 6105 | #, fuzzy | ||
6173 | #| msgid "" | 6106 | #| msgid "" | ||
n | 6174 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6107 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6175 | #| "classGtk_1_1TextView.html\">Reference</link>" | 6108 | #| "classGtk_1_1TextView.html\">Reference</link>" | ||
6176 | msgid "" | 6109 | msgid "" | ||
6177 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6110 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6178 | "classGtk_1_1ListView.html\">Reference</link>" | 6111 | "classGtk_1_1ListView.html\">Reference</link>" | ||
6179 | msgstr "" | 6112 | msgstr "" | ||
n | 6180 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6113 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6181 | "classGtk_1_1TextView.html\">Referens</link>" | 6114 | "classGtk_1_1TextView.html\">Referens</link>" | ||
6182 | 6115 | ||||
6183 | #. (itstool) path: imageobject/imagedata | 6116 | #. (itstool) path: imageobject/imagedata | ||
6184 | #. This is a reference to an external file such as an image or video. When | 6117 | #. This is a reference to an external file such as an image or video. When | ||
6185 | #. the file changes, the md5 hash will change to let you know you need to | 6118 | #. the file changes, the md5 hash will change to let you know you need to | ||
6197 | #. (itstool) path: section/para | 6130 | #. (itstool) path: section/para | ||
6198 | #: C/index-in.docbook:2490 | 6131 | #: C/index-in.docbook:2490 | ||
6199 | #, fuzzy | 6132 | #, fuzzy | ||
6200 | #| msgid "" | 6133 | #| msgid "" | ||
6201 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6134 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6202 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | n | 6135 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6136 | #| "GridView</link>" | ||||
6203 | msgid "" | 6137 | msgid "" | ||
6204 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6138 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6205 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | 6139 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | ||
6206 | msgstr "" | 6140 | msgstr "" | ||
6207 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6141 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6208 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6142 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6209 | 6143 | ||||
6210 | #. (itstool) path: section/title | 6144 | #. (itstool) path: section/title | ||
6211 | #. (itstool) path: figure/title | 6145 | #. (itstool) path: figure/title | ||
6212 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | 6146 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | ||
6213 | #, fuzzy | 6147 | #, fuzzy | ||
6224 | 6158 | ||||
6225 | #. (itstool) path: section/para | 6159 | #. (itstool) path: section/para | ||
6226 | #: C/index-in.docbook:2502 | 6160 | #: C/index-in.docbook:2502 | ||
6227 | #, fuzzy | 6161 | #, fuzzy | ||
6228 | #| msgid "" | 6162 | #| msgid "" | ||
n | 6229 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6163 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6230 | #| "classGtk_1_1Grid.html\">Reference</link>" | 6164 | #| "classGtk_1_1Grid.html\">Reference</link>" | ||
6231 | msgid "" | 6165 | msgid "" | ||
6232 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6166 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6233 | "classGtk_1_1GridView.html\">Reference</link>" | 6167 | "classGtk_1_1GridView.html\">Reference</link>" | ||
6234 | msgstr "" | 6168 | msgstr "" | ||
n | 6235 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6169 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6236 | "classGtk_1_1Grid.html\">Referens</link>" | 6170 | "classGtk_1_1Grid.html\">Referens</link>" | ||
6237 | 6171 | ||||
6238 | #. (itstool) path: imageobject/imagedata | 6172 | #. (itstool) path: imageobject/imagedata | ||
6239 | #. This is a reference to an external file such as an image or video. When | 6173 | #. This is a reference to an external file such as an image or video. When | ||
6240 | #. the file changes, the md5 hash will change to let you know you need to | 6174 | #. the file changes, the md5 hash will change to let you know you need to | ||
6253 | #. (itstool) path: section/para | 6187 | #. (itstool) path: section/para | ||
6254 | #: C/index-in.docbook:2514 | 6188 | #: C/index-in.docbook:2514 | ||
6255 | #, fuzzy | 6189 | #, fuzzy | ||
6256 | #| msgid "" | 6190 | #| msgid "" | ||
6257 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6191 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6258 | #| "tree/master/examples/book/textview/\">Source Code</link>" | n | 6192 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6193 | #| "GridView</link>" | ||||
6259 | msgid "" | 6194 | msgid "" | ||
6260 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6195 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6261 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | 6196 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | ||
6262 | msgstr "" | 6197 | msgstr "" | ||
6263 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6198 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6264 | "master/examples/book/textview/\">Källkod</link>" | n | 6199 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6265 | 6200 | ||||
6266 | #. (itstool) path: section/title | 6201 | #. (itstool) path: section/title | ||
6267 | #. (itstool) path: figure/title | 6202 | #. (itstool) path: figure/title | ||
6268 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | 6203 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | ||
6269 | msgid "ColumnView" | 6204 | msgid "ColumnView" | ||
6284 | 6219 | ||||
6285 | #. (itstool) path: section/para | 6220 | #. (itstool) path: section/para | ||
6286 | #: C/index-in.docbook:2526 | 6221 | #: C/index-in.docbook:2526 | ||
6287 | #, fuzzy | 6222 | #, fuzzy | ||
6288 | #| msgid "" | 6223 | #| msgid "" | ||
n | 6289 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6224 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6290 | #| "classGtk_1_1TreeView.html\">Reference</link>" | 6225 | #| "classGtk_1_1TreeView.html\">Reference</link>" | ||
6291 | msgid "" | 6226 | msgid "" | ||
6292 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6227 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6293 | "classGtk_1_1ColumnView.html\">Reference</link>" | 6228 | "classGtk_1_1ColumnView.html\">Reference</link>" | ||
6294 | msgstr "" | 6229 | msgstr "" | ||
n | 6295 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6230 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6296 | "classGtk_1_1TreeView.html\">Referens</link>" | 6231 | "classGtk_1_1TreeView.html\">Referens</link>" | ||
6297 | 6232 | ||||
6298 | #. (itstool) path: imageobject/imagedata | 6233 | #. (itstool) path: imageobject/imagedata | ||
6299 | #. This is a reference to an external file such as an image or video. When | 6234 | #. This is a reference to an external file such as an image or video. When | ||
6300 | #. the file changes, the md5 hash will change to let you know you need to | 6235 | #. the file changes, the md5 hash will change to let you know you need to | ||
6312 | #. (itstool) path: section/para | 6247 | #. (itstool) path: section/para | ||
6313 | #: C/index-in.docbook:2538 | 6248 | #: C/index-in.docbook:2538 | ||
6314 | #, fuzzy | 6249 | #, fuzzy | ||
6315 | #| msgid "" | 6250 | #| msgid "" | ||
6316 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6251 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6317 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | n | 6252 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6253 | #| "GridView</link>" | ||||
6318 | msgid "" | 6254 | msgid "" | ||
6319 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6255 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6320 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | 6256 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | ||
6321 | msgstr "" | 6257 | msgstr "" | ||
6322 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6258 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6323 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6259 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6324 | 6260 | ||||
6325 | #. (itstool) path: section/title | 6261 | #. (itstool) path: section/title | ||
6326 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | 6262 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | ||
6327 | msgid "Sorting" | 6263 | msgid "Sorting" | ||
6328 | msgstr "Sortering" | 6264 | msgstr "Sortering" | ||
6362 | 6298 | ||||
6363 | #. (itstool) path: section/para | 6299 | #. (itstool) path: section/para | ||
6364 | #: C/index-in.docbook:2562 | 6300 | #: C/index-in.docbook:2562 | ||
6365 | #, fuzzy | 6301 | #, fuzzy | ||
6366 | #| msgid "" | 6302 | #| msgid "" | ||
n | 6367 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6303 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6368 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6304 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | ||
6369 | msgid "" | 6305 | msgid "" | ||
6370 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6306 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6371 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | 6307 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | ||
6372 | msgstr "" | 6308 | msgstr "" | ||
n | 6373 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6309 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6374 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6310 | "classGtk_1_1TreeModel.html\">Referens</link>" | ||
6375 | 6311 | ||||
6376 | #. (itstool) path: section/para | 6312 | #. (itstool) path: section/para | ||
6377 | #: C/index-in.docbook:2563 | 6313 | #: C/index-in.docbook:2563 | ||
6378 | #, fuzzy | 6314 | #, fuzzy | ||
6379 | #| msgid "" | 6315 | #| msgid "" | ||
n | 6380 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6316 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6381 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | 6317 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||
6382 | msgid "" | 6318 | msgid "" | ||
6383 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6319 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6384 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | 6320 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | ||
6385 | msgstr "" | 6321 | msgstr "" | ||
n | 6386 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6322 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6387 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | 6323 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | ||
6388 | 6324 | ||||
6389 | #. (itstool) path: section/para | 6325 | #. (itstool) path: section/para | ||
6390 | #: C/index-in.docbook:2564 | 6326 | #: C/index-in.docbook:2564 | ||
6391 | #, fuzzy | 6327 | #, fuzzy | ||
6392 | #| msgid "" | 6328 | #| msgid "" | ||
n | 6393 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6329 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6394 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | 6330 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||
6395 | msgid "" | 6331 | msgid "" | ||
6396 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6332 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6397 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | 6333 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | ||
6398 | msgstr "" | 6334 | msgstr "" | ||
n | 6399 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6335 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6400 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | 6336 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | ||
6401 | 6337 | ||||
6402 | #. (itstool) path: figure/title | 6338 | #. (itstool) path: figure/title | ||
6403 | #: C/index-in.docbook:2570 | 6339 | #: C/index-in.docbook:2570 | ||
6404 | msgid "SortListModel" | 6340 | msgid "SortListModel" | ||
6440 | msgstr "Filtrera filer" | 6376 | msgstr "Filtrera filer" | ||
6441 | 6377 | ||||
6442 | #. (itstool) path: section/para | 6378 | #. (itstool) path: section/para | ||
6443 | #: C/index-in.docbook:2584 | 6379 | #: C/index-in.docbook:2584 | ||
6444 | #, fuzzy | 6380 | #, fuzzy | ||
n | n | 6381 | #| msgid "" | ||
6382 | #| "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||||
6383 | #| "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||||
6384 | #| "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||||
6385 | #| "CssProvider</classname>." | ||||
6445 | msgid "" | 6386 | msgid "" | ||
6446 | "The list can be filtered by wrapping it in a <classname>FilterListModel</" | 6387 | "The list can be filtered by wrapping it in a <classname>FilterListModel</" | ||
6447 | "classname>. Set a <classname>Filter</classname> such as a " | 6388 | "classname>. Set a <classname>Filter</classname> such as a " | ||
6448 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | 6389 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | ||
6449 | "to the <classname>FilterListModel</classname>." | 6390 | "to the <classname>FilterListModel</classname>." | ||
6450 | msgstr "" | 6391 | msgstr "" | ||
6451 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 6392 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
6452 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 6393 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 6453 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 6394 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
6454 | "classname>." | 6395 | "CssProvider</classname>." | ||
6455 | 6396 | ||||
6456 | #. (itstool) path: section/para | 6397 | #. (itstool) path: section/para | ||
6457 | #: C/index-in.docbook:2590 | 6398 | #: C/index-in.docbook:2590 | ||
6458 | #, fuzzy | 6399 | #, fuzzy | ||
6459 | #| msgid "" | 6400 | #| msgid "" | ||
n | 6460 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6401 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6461 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6402 | #| "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||
6462 | msgid "" | 6403 | msgid "" | ||
6463 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6404 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6464 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | 6405 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | ||
6465 | msgstr "" | 6406 | msgstr "" | ||
n | 6466 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6407 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6467 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6408 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | ||
6468 | 6409 | ||||
6469 | #. (itstool) path: section/para | 6410 | #. (itstool) path: section/para | ||
6470 | #: C/index-in.docbook:2591 | 6411 | #: C/index-in.docbook:2591 | ||
6471 | #, fuzzy | 6412 | #, fuzzy | ||
6472 | #| msgid "" | 6413 | #| msgid "" | ||
n | 6473 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6414 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6474 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | 6415 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
6475 | msgid "" | 6416 | msgid "" | ||
6476 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6417 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6477 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | 6418 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | ||
6478 | msgstr "" | 6419 | msgstr "" | ||
n | 6479 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6420 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6480 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 6421 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6481 | 6422 | ||||
6482 | #. (itstool) path: section/para | 6423 | #. (itstool) path: section/para | ||
6483 | #: C/index-in.docbook:2592 | 6424 | #: C/index-in.docbook:2592 | ||
6484 | #, fuzzy | 6425 | #, fuzzy | ||
6485 | #| msgid "" | 6426 | #| msgid "" | ||
n | 6486 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6427 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6487 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | 6428 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||
6488 | msgid "" | 6429 | msgid "" | ||
6489 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6430 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6490 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | 6431 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | ||
6491 | msgstr "" | 6432 | msgstr "" | ||
n | 6492 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6433 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6493 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | 6434 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | ||
6494 | 6435 | ||||
6495 | #. (itstool) path: figure/title | 6436 | #. (itstool) path: figure/title | ||
6496 | #: C/index-in.docbook:2598 | 6437 | #: C/index-in.docbook:2598 | ||
6497 | msgid "FilterListModel" | 6438 | msgid "FilterListModel" | ||
6546 | 6487 | ||||
6547 | #. (itstool) path: section/para | 6488 | #. (itstool) path: section/para | ||
6548 | #: C/index-in.docbook:2622 | 6489 | #: C/index-in.docbook:2622 | ||
6549 | #, fuzzy | 6490 | #, fuzzy | ||
6550 | #| msgid "" | 6491 | #| msgid "" | ||
n | 6551 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6492 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6552 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6493 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||
6553 | msgid "" | 6494 | msgid "" | ||
6554 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6495 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6555 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | 6496 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | ||
6556 | msgstr "" | 6497 | msgstr "" | ||
n | 6557 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6498 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6558 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6499 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
6559 | 6500 | ||||
6560 | #. (itstool) path: section/para | 6501 | #. (itstool) path: section/para | ||
6561 | #: C/index-in.docbook:2623 | 6502 | #: C/index-in.docbook:2623 | ||
6562 | #, fuzzy | 6503 | #, fuzzy | ||
6563 | #| msgid "" | 6504 | #| msgid "" | ||
n | 6564 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6505 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6565 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6506 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||
6566 | msgid "" | 6507 | msgid "" | ||
6567 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6508 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6568 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | 6509 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | ||
6569 | msgstr "" | 6510 | msgstr "" | ||
n | 6570 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6511 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6571 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6512 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
6572 | 6513 | ||||
6573 | #. (itstool) path: figure/title | 6514 | #. (itstool) path: figure/title | ||
6574 | #: C/index-in.docbook:2629 | 6515 | #: C/index-in.docbook:2629 | ||
6575 | #, fuzzy | 6516 | #, fuzzy | ||
n | n | 6517 | #| msgid "The Model" | ||
6576 | msgid "TreeListModel" | 6518 | msgid "TreeListModel" | ||
6577 | msgstr "Modellen" | 6519 | msgstr "Modellen" | ||
6578 | 6520 | ||||
6579 | #. (itstool) path: imageobject/imagedata | 6521 | #. (itstool) path: imageobject/imagedata | ||
6580 | #. This is a reference to an external file such as an image or video. When | 6522 | #. This is a reference to an external file such as an image or video. When | ||
6593 | #. (itstool) path: section/para | 6535 | #. (itstool) path: section/para | ||
6594 | #: C/index-in.docbook:2635 | 6536 | #: C/index-in.docbook:2635 | ||
6595 | #, fuzzy | 6537 | #, fuzzy | ||
6596 | #| msgid "" | 6538 | #| msgid "" | ||
6597 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6539 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6598 | #| "tree/master/examples/book/treeview/tree/\">Source Code</link>" | n | 6540 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6541 | #| "GridView</link>" | ||||
6599 | msgid "" | 6542 | msgid "" | ||
6600 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6543 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6601 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | 6544 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | ||
6602 | msgstr "" | 6545 | msgstr "" | ||
6603 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6546 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6604 | "master/examples/book/treeview/tree/\">Källkod</link>" | n | 6547 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6605 | 6548 | ||||
6606 | #. (itstool) path: chapter/title | 6549 | #. (itstool) path: chapter/title | ||
6607 | #: C/index-in.docbook:2643 | 6550 | #: C/index-in.docbook:2643 | ||
6608 | msgid "The TreeView widget" | 6551 | msgid "The TreeView widget" | ||
6609 | msgstr "TreeView-komponenten" | 6552 | msgstr "TreeView-komponenten" | ||
6610 | 6553 | ||||
6611 | #. (itstool) path: note/para | 6554 | #. (itstool) path: note/para | ||
6612 | #: C/index-in.docbook:2645 | 6555 | #: C/index-in.docbook:2645 | ||
n | 6613 | #, fuzzy | n | ||
6614 | #| msgid "" | ||||
6615 | #| "<classname>Gdk::DragContext</classname> has been split into " | ||||
6616 | #| "<classname>Gdk::Drag</classname> and <classname>Gdk::Drop</classname>." | ||||
6617 | msgid "" | 6556 | msgid "" | ||
6618 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | 6557 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | ||
6619 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | 6558 | "application> 4.10. In new code, use <classname>Gtk::ListView</classname> for " | ||
6620 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | 6559 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | ||
6621 | msgstr "" | 6560 | msgstr "" | ||
n | 6622 | "<classname>Gdk::DragContext</classname> har delats upp i <classname>Gdk::" | n | 6561 | "<classname>Gtk::TreeView</classname> är föråldrad sedan <application>gtkmm</" |
6623 | "Drag</classname> och <classname>Gdk::Drop</classname>." | 6562 | "application> 4.10. Använd i ny kod <classname>Gtk::ListView</classname> för " | ||
6563 | "listor och <classname>Gtk::ColumnView</classname> för tabellistor." | ||||
6624 | 6564 | ||||
6625 | #. (itstool) path: chapter/para | 6565 | #. (itstool) path: chapter/para | ||
6626 | #: C/index-in.docbook:2650 | 6566 | #: C/index-in.docbook:2650 | ||
6627 | msgid "" | 6567 | msgid "" | ||
6628 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | 6568 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | ||
6631 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | 6571 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | ||
6632 | "träd med data i kolumner." | 6572 | "träd med data i kolumner." | ||
6633 | 6573 | ||||
6634 | #. (itstool) path: section/title | 6574 | #. (itstool) path: section/title | ||
6635 | #: C/index-in.docbook:2656 | 6575 | #: C/index-in.docbook:2656 | ||
n | 6636 | #, fuzzy | n | ||
6637 | msgid "The Model" | 6576 | msgid "The Model" | ||
6638 | msgstr "Modellen" | 6577 | msgstr "Modellen" | ||
6639 | 6578 | ||||
6640 | #. (itstool) path: section/para | 6579 | #. (itstool) path: section/para | ||
6641 | #: C/index-in.docbook:2658 | 6580 | #: C/index-in.docbook:2658 | ||
6671 | "använda antingen modellklasserna <classname>ListStore</classname> eller " | 6610 | "använda antingen modellklasserna <classname>ListStore</classname> eller " | ||
6672 | "<classname>TreeStore</classname>." | 6611 | "<classname>TreeStore</classname>." | ||
6673 | 6612 | ||||
6674 | #. (itstool) path: section/para | 6613 | #. (itstool) path: section/para | ||
6675 | #: C/index-in.docbook:2674 | 6614 | #: C/index-in.docbook:2674 | ||
n | 6676 | #, fuzzy | n | ||
6677 | #| msgid "" | ||||
6678 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
6679 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | ||||
6680 | msgid "" | 6615 | msgid "" | ||
6681 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6616 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6682 | "classGtk_1_1TreeModel.html\">Reference</link>" | 6617 | "classGtk_1_1TreeModel.html\">Reference</link>" | ||
6683 | msgstr "" | 6618 | msgstr "" | ||
n | 6684 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6619 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6685 | "classGtk_1_1TreeModel.html\">Referens</link>" | 6620 | "classGtk_1_1TreeModel.html\">Referens</link>" | ||
6686 | 6621 | ||||
6687 | #. (itstool) path: section/title | 6622 | #. (itstool) path: section/title | ||
6688 | #: C/index-in.docbook:2677 | 6623 | #: C/index-in.docbook:2677 | ||
6689 | msgid "ListStore, for rows" | 6624 | msgid "ListStore, for rows" | ||
6718 | "external ref='figures/treeview_list.png' " | 6653 | "external ref='figures/treeview_list.png' " | ||
6719 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6654 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | ||
6720 | 6655 | ||||
6721 | #. (itstool) path: section/para | 6656 | #. (itstool) path: section/para | ||
6722 | #: C/index-in.docbook:2691 | 6657 | #: C/index-in.docbook:2691 | ||
n | 6723 | #, fuzzy | n | ||
6724 | #| msgid "" | ||||
6725 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
6726 | #| "classGtk_1_1ListStore.html\">Reference</link>" | ||||
6727 | msgid "" | 6658 | msgid "" | ||
6728 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6659 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6729 | "classGtk_1_1ListStore.html\">Reference</link>" | 6660 | "classGtk_1_1ListStore.html\">Reference</link>" | ||
6730 | msgstr "" | 6661 | msgstr "" | ||
n | 6731 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6662 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6732 | "classGtk_1_1ListStore.html\">Referens</link>" | 6663 | "classGtk_1_1ListStore.html\">Referens</link>" | ||
6733 | 6664 | ||||
6734 | #. (itstool) path: section/title | 6665 | #. (itstool) path: section/title | ||
6735 | #: C/index-in.docbook:2696 | 6666 | #: C/index-in.docbook:2696 | ||
6736 | msgid "TreeStore, for a hierarchy" | 6667 | msgid "TreeStore, for a hierarchy" | ||
6765 | "external ref='figures/treeview_tree.png' " | 6696 | "external ref='figures/treeview_tree.png' " | ||
6766 | "md5='2270025659b23ebfc0e38d8b629289ef'" | 6697 | "md5='2270025659b23ebfc0e38d8b629289ef'" | ||
6767 | 6698 | ||||
6768 | #. (itstool) path: section/para | 6699 | #. (itstool) path: section/para | ||
6769 | #: C/index-in.docbook:2710 | 6700 | #: C/index-in.docbook:2710 | ||
n | 6770 | #, fuzzy | n | ||
6771 | #| msgid "" | ||||
6772 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
6773 | #| "classGtk_1_1TreeStore.html\">Reference</link>" | ||||
6774 | msgid "" | 6701 | msgid "" | ||
6775 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6702 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6776 | "classGtk_1_1TreeStore.html\">Reference</link>" | 6703 | "classGtk_1_1TreeStore.html\">Reference</link>" | ||
6777 | msgstr "" | 6704 | msgstr "" | ||
n | 6778 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6705 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6779 | "classGtk_1_1TreeStore.html\">Referens</link>" | 6706 | "classGtk_1_1TreeStore.html\">Referens</link>" | ||
6780 | 6707 | ||||
6781 | #. (itstool) path: section/title | 6708 | #. (itstool) path: section/title | ||
6782 | #: C/index-in.docbook:2715 | 6709 | #: C/index-in.docbook:2715 | ||
6783 | msgid "Model Columns" | 6710 | msgid "Model Columns" | ||
7009 | "auto strText = row[m_Columns.m_col_text];\n" | 6936 | "auto strText = row[m_Columns.m_col_text];\n" | ||
7010 | "auto number = row[m_Columns.m_col_number];" | 6937 | "auto number = row[m_Columns.m_col_number];" | ||
7011 | 6938 | ||||
7012 | #. (itstool) path: section/para | 6939 | #. (itstool) path: section/para | ||
7013 | #: C/index-in.docbook:2803 | 6940 | #: C/index-in.docbook:2803 | ||
n | 7014 | #, fuzzy | n | ||
7015 | msgid "" | 6941 | msgid "" | ||
7016 | "The compiler will complain if you use an inappropriate type. For instance, " | 6942 | "The compiler will complain if you use an inappropriate type. For instance, " | ||
7017 | "this would generate a compiler error:" | 6943 | "this would generate a compiler error:" | ||
7018 | msgstr "" | 6944 | msgstr "" | ||
n | 7019 | "Kompilatorn kommer klaga om du använder en opassande typ. Exempelvis skulle " | n | 6945 | "Kompilatorn kommer klaga om du använder en olämplig typ. Exempelvis skulle " |
7020 | "detta generera ett kompilatorfel:" | 6946 | "detta generera ett kompileringsfel:" | ||
7021 | 6947 | ||||
7022 | #. (itstool) path: section/programlisting | 6948 | #. (itstool) path: section/programlisting | ||
7023 | #: C/index-in.docbook:2807 | 6949 | #: C/index-in.docbook:2807 | ||
7024 | #, fuzzy, no-wrap | 6950 | #, fuzzy, no-wrap | ||
7025 | #| msgid "" | 6951 | #| msgid "" | ||
7027 | #| "int number = row[m_Columns.m_col_text];" | 6953 | #| "int number = row[m_Columns.m_col_text];" | ||
7028 | msgid "" | 6954 | msgid "" | ||
7029 | "<code>//compiler error - no conversion from ustring to int.\n" | 6955 | "<code>//compiler error - no conversion from ustring to int.\n" | ||
7030 | "int number = row[m_Columns.m_col_text];</code>" | 6956 | "int number = row[m_Columns.m_col_text];</code>" | ||
7031 | msgstr "" | 6957 | msgstr "" | ||
n | 7032 | "//kompilatorfel - ingen konvertering från ustring till int.\n" | n | 6958 | "//kompileringsfel - ingen konvertering från ustring till int.\n" |
7033 | "int number = row[m_Columns.m_col_text];" | 6959 | "int number = row[m_Columns.m_col_text];" | ||
7034 | 6960 | ||||
7035 | #. (itstool) path: section/title | 6961 | #. (itstool) path: section/title | ||
7036 | #: C/index-in.docbook:2812 | 6962 | #: C/index-in.docbook:2812 | ||
7037 | msgid "\"Hidden\" Columns" | 6963 | msgid "\"Hidden\" Columns" | ||
7061 | "användaren interagera med dem. Vyn kan visa alla modellens kolumner, eller " | 6987 | "användaren interagera med dem. Vyn kan visa alla modellens kolumner, eller " | ||
7062 | "bara några, och den kan visa dem på olika sätt." | 6988 | "bara några, och den kan visa dem på olika sätt." | ||
7063 | 6989 | ||||
7064 | #. (itstool) path: section/para | 6990 | #. (itstool) path: section/para | ||
7065 | #: C/index-in.docbook:2832 | 6991 | #: C/index-in.docbook:2832 | ||
n | 7066 | #, fuzzy | n | ||
7067 | #| msgid "" | ||||
7068 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
7069 | #| "classGtk_1_1TreeView.html\">Reference</link>" | ||||
7070 | msgid "" | 6992 | msgid "" | ||
7071 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6993 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
7072 | "classGtk_1_1TreeView.html\">Reference</link>" | 6994 | "classGtk_1_1TreeView.html\">Reference</link>" | ||
7073 | msgstr "" | 6995 | msgstr "" | ||
n | 7074 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6996 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
7075 | "classGtk_1_1TreeView.html\">Referens</link>" | 6997 | "classGtk_1_1TreeView.html\">Referens</link>" | ||
7076 | 6998 | ||||
7077 | #. (itstool) path: section/title | 6999 | #. (itstool) path: section/title | ||
7078 | #: C/index-in.docbook:2835 | 7000 | #: C/index-in.docbook:2835 | ||
7079 | #, fuzzy | 7001 | #, fuzzy | ||
7111 | "You can use the <methodname>append_column()</methodname> method to tell the " | 7033 | "You can use the <methodname>append_column()</methodname> method to tell the " | ||
7112 | "View that it should display certain Model columns, in a certain order, with " | 7034 | "View that it should display certain Model columns, in a certain order, with " | ||
7113 | "a certain column title." | 7035 | "a certain column title." | ||
7114 | msgstr "" | 7036 | msgstr "" | ||
7115 | "Du kan använda metoden <methodname>append_column()</methodname> för att säga " | 7037 | "Du kan använda metoden <methodname>append_column()</methodname> för att säga " | ||
n | 7116 | "till byn att den ska visa vissa modellkolumner i en viss ordning, med en " | n | 7038 | "till vyn att den ska visa vissa modellkolumner i en viss ordning, med en " |
7117 | "viss kolumntitel." | 7039 | "viss kolumntitel." | ||
7118 | 7040 | ||||
7119 | #. (itstool) path: section/programlisting | 7041 | #. (itstool) path: section/programlisting | ||
7120 | #: C/index-in.docbook:2853 | 7042 | #: C/index-in.docbook:2853 | ||
7121 | #, fuzzy, no-wrap | 7043 | #, fuzzy, no-wrap | ||
7136 | "<methodname>TreeViewColumn::set_cell_data_func()</methodname>, or derive a " | 7058 | "<methodname>TreeViewColumn::set_cell_data_func()</methodname>, or derive a " | ||
7137 | "custom <classname>CellRenderer</classname>. Note that (unsigned) short is " | 7059 | "custom <classname>CellRenderer</classname>. Note that (unsigned) short is " | ||
7138 | "not supported by default - You could use (unsigned) int or (unsigned) long " | 7060 | "not supported by default - You could use (unsigned) int or (unsigned) long " | ||
7139 | "as the column type instead." | 7061 | "as the column type instead." | ||
7140 | msgstr "" | 7062 | msgstr "" | ||
n | 7141 | "När denna enkla <methodname>append_column()</methodname>-överlagring använs " | n | 7063 | "När denna enkla <methodname>append_column()</methodname>-överlagring används " |
7142 | "kommer vår <classname>TreeView</classname> modelldata med en lämplig " | 7064 | "kommer vår <classname>TreeView</classname> modelldata med en lämplig " | ||
7143 | "<classname>CellRenderer</classname>. Strängar och tal visas exempelvis i en " | 7065 | "<classname>CellRenderer</classname>. Strängar och tal visas exempelvis i en " | ||
7144 | "enkel <classname>Gtk::Entry</classname>-komponent, och booleaner visas i en " | 7066 | "enkel <classname>Gtk::Entry</classname>-komponent, och booleaner visas i en " | ||
7145 | "<classname>Gtk::CheckButton</classname>. Det här är vanligen vad du behöver. " | 7067 | "<classname>Gtk::CheckButton</classname>. Det här är vanligen vad du behöver. " | ||
7146 | "För andra kolumntyper måste du antingen ansluta ett återanrop som " | 7068 | "För andra kolumntyper måste du antingen ansluta ett återanrop som " | ||
7186 | "vår <classname>TreeModelColumn</classname> från vilken den genererar en " | 7108 | "vår <classname>TreeModelColumn</classname> från vilken den genererar en " | ||
7187 | "lämplig <classname>Gtk::TreeView::Column</classname>-komponent." | 7109 | "lämplig <classname>Gtk::TreeView::Column</classname>-komponent." | ||
7188 | 7110 | ||||
7189 | #. (itstool) path: section/para | 7111 | #. (itstool) path: section/para | ||
7190 | #: C/index-in.docbook:2885 | 7112 | #: C/index-in.docbook:2885 | ||
n | 7191 | #, fuzzy | n | ||
7192 | msgid "" | 7113 | msgid "" | ||
7193 | "Here is some example code, which has a pixbuf icon and a text name in the " | 7114 | "Here is some example code, which has a pixbuf icon and a text name in the " | ||
7194 | "same column:" | 7115 | "same column:" | ||
7195 | msgstr "" | 7116 | msgstr "" | ||
7196 | "Här är lite exempelkod som har en pixbuf-ikon och ett textnamn i samma " | 7117 | "Här är lite exempelkod som har en pixbuf-ikon och ett textnamn i samma " | ||
7210 | "m_TreeView.append_column(*pColumn);</code>" | 7131 | "m_TreeView.append_column(*pColumn);</code>" | ||
7211 | msgstr "" | 7132 | msgstr "" | ||
7212 | "\n" | 7133 | "\n" | ||
7213 | "auto pColumn = Gtk::make_managed<Gtk::TreeView::Column>(\"Ikonnamn\");\n" | 7134 | "auto pColumn = Gtk::make_managed<Gtk::TreeView::Column>(\"Ikonnamn\");\n" | ||
7214 | "\n" | 7135 | "\n" | ||
n | 7215 | "// m_columns.icon and m_columns.iconname are columns in the model.\n" | n | 7136 | "// m_columns.icon och m_columns.iconname är kolumner i modellen.\n" |
7216 | "// pColumn is the column in the TreeView:\n" | 7137 | "// pColumn är kolumnen i vår TreeView:\n" | ||
7217 | "pColumn->pack_start(m_columns.icon, /* expand= */ false);\n" | 7138 | "pColumn->pack_start(m_columns.icon, /* expand= */ false);\n" | ||
7218 | "pColumn->pack_start(m_columns.iconname);\n" | 7139 | "pColumn->pack_start(m_columns.iconname);\n" | ||
7219 | "\n" | 7140 | "\n" | ||
7220 | "m_TreeView.append_column(*pColumn);" | 7141 | "m_TreeView.append_column(*pColumn);" | ||
7221 | 7142 | ||||
7373 | "till den specifika <classname>CellRenderer</classname> som du förväntar dig, " | 7294 | "till den specifika <classname>CellRenderer</classname> som du förväntar dig, " | ||
7374 | "så du kan använda specifikt API." | 7295 | "så du kan använda specifikt API." | ||
7375 | 7296 | ||||
7376 | #. (itstool) path: section/para | 7297 | #. (itstool) path: section/para | ||
7377 | #: C/index-in.docbook:2965 | 7298 | #: C/index-in.docbook:2965 | ||
n | 7378 | #, fuzzy | n | ||
7379 | msgid "" | 7299 | msgid "" | ||
7380 | "For instance, for a CellRendererText, you would set the cell's " | 7300 | "For instance, for a CellRendererText, you would set the cell's " | ||
7381 | "<emphasis>editable</emphasis> property to true, like so:" | 7301 | "<emphasis>editable</emphasis> property to true, like so:" | ||
7382 | msgstr "" | 7302 | msgstr "" | ||
7383 | "För en CellRendererText skulle du exempelvis ställa in cellens " | 7303 | "För en CellRendererText skulle du exempelvis ställa in cellens " | ||
7384 | "<emphasis>editable</emphasis>-egenskap till true, så här:" | 7304 | "<emphasis>editable</emphasis>-egenskap till true, så här:" | ||
7385 | 7305 | ||||
7386 | #. (itstool) path: section/programlisting | 7306 | #. (itstool) path: section/programlisting | ||
7387 | #: C/index-in.docbook:2968 | 7307 | #: C/index-in.docbook:2968 | ||
7388 | #, fuzzy, no-wrap | 7308 | #, fuzzy, no-wrap | ||
n | n | 7309 | #| msgid "cell->property_editable() = true;" | ||
7389 | msgid "<code>cell->property_editable() = true;</code>" | 7310 | msgid "<code>cell->property_editable() = true;</code>" | ||
7390 | msgstr "cell->property_editable() = true;" | 7311 | msgstr "cell->property_editable() = true;" | ||
7391 | 7312 | ||||
7392 | #. (itstool) path: section/para | 7313 | #. (itstool) path: section/para | ||
7393 | #: C/index-in.docbook:2969 | 7314 | #: C/index-in.docbook:2969 | ||
n | 7394 | #, fuzzy | n | ||
7395 | msgid "" | 7315 | msgid "" | ||
7396 | "For a CellRendererToggle, you would set the <emphasis>activatable</emphasis> " | 7316 | "For a CellRendererToggle, you would set the <emphasis>activatable</emphasis> " | ||
7397 | "property instead." | 7317 | "property instead." | ||
7398 | msgstr "" | 7318 | msgstr "" | ||
7399 | "För en CellRendererToggle skulle du i stället ställa in egenskapen " | 7319 | "För en CellRendererToggle skulle du i stället ställa in egenskapen " | ||
7768 | "classname> eller <classname>Gtk::TreeModel::Row</classname>, så här:" | 7688 | "classname> eller <classname>Gtk::TreeModel::Row</classname>, så här:" | ||
7769 | 7689 | ||||
7770 | #. (itstool) path: section/programlisting | 7690 | #. (itstool) path: section/programlisting | ||
7771 | #: C/index-in.docbook:3126 | 7691 | #: C/index-in.docbook:3126 | ||
7772 | #, fuzzy, no-wrap | 7692 | #, fuzzy, no-wrap | ||
n | n | 7693 | #| msgid "" | ||
7694 | #| "auto row = m_refModel->children()[5]; //The sixth row.\n" | ||||
7695 | #| "if(row)\n" | ||||
7696 | #| " refTreeSelection->select(row.get_iter());" | ||||
7773 | msgid "" | 7697 | msgid "" | ||
7774 | "<code>auto row = m_refModel->children()[5]; //The sixth row.\n" | 7698 | "<code>auto row = m_refModel->children()[5]; //The sixth row.\n" | ||
7775 | "if(row)\n" | 7699 | "if(row)\n" | ||
7776 | " refTreeSelection->select(row.get_iter());</code>" | 7700 | " refTreeSelection->select(row.get_iter());</code>" | ||
7777 | msgstr "" | 7701 | msgstr "" | ||
7819 | "<methodname>set_sort_func()</methodname> för att implementera en mer " | 7743 | "<methodname>set_sort_func()</methodname> för att implementera en mer " | ||
7820 | "komplicerad sorteringsalgoritm." | 7744 | "komplicerad sorteringsalgoritm." | ||
7821 | 7745 | ||||
7822 | #. (itstool) path: section/para | 7746 | #. (itstool) path: section/para | ||
7823 | #: C/index-in.docbook:3145 | 7747 | #: C/index-in.docbook:3145 | ||
n | 7824 | #, fuzzy | n | ||
7825 | #| msgid "" | ||||
7826 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
7827 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||||
7828 | msgid "" | 7748 | msgid "" | ||
7829 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 7749 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
7830 | "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | 7750 | "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||
7831 | msgstr "" | 7751 | msgstr "" | ||
n | 7832 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 7752 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
7833 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | 7753 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | ||
7834 | 7754 | ||||
7835 | #. (itstool) path: section/title | 7755 | #. (itstool) path: section/title | ||
7836 | #: C/index-in.docbook:3148 | 7756 | #: C/index-in.docbook:3148 | ||
7837 | msgid "Sorting by clicking on columns" | 7757 | msgid "Sorting by clicking on columns" | ||
7970 | " }\n" | 7890 | " }\n" | ||
7971 | "}" | 7891 | "}" | ||
7972 | 7892 | ||||
7973 | #. (itstool) path: section/para | 7893 | #. (itstool) path: section/para | ||
7974 | #: C/index-in.docbook:3189 | 7894 | #: C/index-in.docbook:3189 | ||
n | 7975 | #, fuzzy | n | ||
7976 | #| msgid "" | ||||
7977 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
7978 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||||
7979 | msgid "" | 7895 | msgid "" | ||
7980 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 7896 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
7981 | "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 7897 | "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||
7982 | msgstr "" | 7898 | msgstr "" | ||
n | 7983 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 7899 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
7984 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 7900 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
7985 | 7901 | ||||
7986 | #. (itstool) path: section/title | 7902 | #. (itstool) path: section/title | ||
7987 | #. (itstool) path: chapter/title | 7903 | #. (itstool) path: chapter/title | ||
7988 | #. (itstool) path: figure/title | 7904 | #. (itstool) path: figure/title | ||
8050 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | 7966 | "tillåta eller förbjuda dragning eller släppning genom att returnera " | ||
8051 | "<literal>true</literal> eller <literal>false</literal>." | 7967 | "<literal>true</literal> eller <literal>false</literal>." | ||
8052 | 7968 | ||||
8053 | #. (itstool) path: section/para | 7969 | #. (itstool) path: section/para | ||
8054 | #: C/index-in.docbook:3220 | 7970 | #: C/index-in.docbook:3220 | ||
n | 8055 | #, fuzzy | n | ||
8056 | msgid "This is demonstrated in the drag_and_drop example." | 7971 | msgid "This is demonstrated in the drag_and_drop example." | ||
8057 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | 7972 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | ||
8058 | 7973 | ||||
8059 | #. (itstool) path: section/title | 7974 | #. (itstool) path: section/title | ||
8060 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | 7975 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | ||
8084 | msgid "" | 7999 | msgid "" | ||
8085 | "This is demonstrated in the Popup Context Menu example. In that example a " | 8000 | "This is demonstrated in the Popup Context Menu example. In that example a " | ||
8086 | "derived <classname>TreeView</classname> is used, but that's not necessary." | 8001 | "derived <classname>TreeView</classname> is used, but that's not necessary." | ||
8087 | msgstr "" | 8002 | msgstr "" | ||
8088 | "Detta demonstreras i exemplet poppuppsnabbvalsmeny. I det exemplet används " | 8003 | "Detta demonstreras i exemplet poppuppsnabbvalsmeny. I det exemplet används " | ||
n | 8089 | "en hörledd <classname>TreeView</classname>, men det är inte nödvändigt." | n | 8004 | "en härledd <classname>TreeView</classname>, men det är inte nödvändigt." |
8090 | 8005 | ||||
8091 | #. (itstool) path: section/title | 8006 | #. (itstool) path: section/title | ||
8092 | #: C/index-in.docbook:3242 C/index-in.docbook:3943 C/index-in.docbook:4245 | 8007 | #: C/index-in.docbook:3242 C/index-in.docbook:3943 C/index-in.docbook:4245 | ||
8093 | #: C/index-in.docbook:5573 C/index-in.docbook:5965 | 8008 | #: C/index-in.docbook:5573 C/index-in.docbook:5965 | ||
8094 | msgid "Examples" | 8009 | msgid "Examples" | ||
8275 | "<link linkend=\"sec-treeview-contextmenu\">TreeView - Poppuppsnabbvalsmeny</" | 8190 | "<link linkend=\"sec-treeview-contextmenu\">TreeView - Poppuppsnabbvalsmeny</" | ||
8276 | "link>." | 8191 | "link>." | ||
8277 | 8192 | ||||
8278 | #. (itstool) path: figure/title | 8193 | #. (itstool) path: figure/title | ||
8279 | #: C/index-in.docbook:3346 | 8194 | #: C/index-in.docbook:3346 | ||
n | 8280 | #, fuzzy | n | ||
8281 | msgid "TreeView - Popup Context Menu" | 8195 | msgid "TreeView - Popup Context Menu" | ||
8282 | msgstr "TreeView - Poppuppsnabbvalsmeny" | 8196 | msgstr "TreeView - Poppuppsnabbvalsmeny" | ||
8283 | 8197 | ||||
8284 | #. (itstool) path: imageobject/imagedata | 8198 | #. (itstool) path: imageobject/imagedata | ||
8285 | #. This is a reference to an external file such as an image or video. When | 8199 | #. This is a reference to an external file such as an image or video. When | ||
8305 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8219 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8306 | "master/examples/book/treeview/popup/\">Källkod</link>" | 8220 | "master/examples/book/treeview/popup/\">Källkod</link>" | ||
8307 | 8221 | ||||
8308 | #. (itstool) path: chapter/title | 8222 | #. (itstool) path: chapter/title | ||
8309 | #: C/index-in.docbook:3359 | 8223 | #: C/index-in.docbook:3359 | ||
n | 8310 | #, fuzzy | n | ||
8311 | #| msgid "The DrawingArea Widget" | ||||
8312 | msgid "The DropDown Widget" | 8224 | msgid "The DropDown Widget" | ||
n | 8313 | msgstr "DrawingArea-komponenten" | n | 8225 | msgstr "DropDown-komponenten" |
8314 | 8226 | ||||
8315 | #. (itstool) path: chapter/para | 8227 | #. (itstool) path: chapter/para | ||
8316 | #: C/index-in.docbook:3361 | 8228 | #: C/index-in.docbook:3361 | ||
8317 | msgid "" | 8229 | msgid "" | ||
8318 | "The <classname>DropDown</classname> widget is an alternative to the " | 8230 | "The <classname>DropDown</classname> widget is an alternative to the " | ||
8319 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | 8231 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | ||
8320 | "tree models, and the content is displayed using widgets instead of cell " | 8232 | "tree models, and the content is displayed using widgets instead of cell " | ||
8321 | "renderers." | 8233 | "renderers." | ||
8322 | msgstr "" | 8234 | msgstr "" | ||
n | n | 8235 | "Komponenten <classname>DropDown</classname> är ett alternativ till den " | ||
8236 | "föråldrade <classname>ComboBox</classname>. Den använder listmodeller i " | ||||
8237 | "stället för trädmodeller, och innehållet visas med komponenter i stället för " | ||||
8238 | "cellrenderare." | ||||
8323 | 8239 | ||||
8324 | #. (itstool) path: chapter/para | 8240 | #. (itstool) path: chapter/para | ||
8325 | #: C/index-in.docbook:3366 | 8241 | #: C/index-in.docbook:3366 | ||
8326 | #, fuzzy | 8242 | #, fuzzy | ||
8327 | #| msgid "" | 8243 | #| msgid "" | ||
8337 | "dropdown menu. If appropriate, it can show extra information about each " | 8253 | "dropdown menu. If appropriate, it can show extra information about each " | ||
8338 | "item, such as text, a picture, or a check button. The <classname>DropDown</" | 8254 | "item, such as text, a picture, or a check button. The <classname>DropDown</" | ||
8339 | "classname> widget can optionally have an <classname>Entry</classname> in the " | 8255 | "classname> widget can optionally have an <classname>Entry</classname> in the " | ||
8340 | "dropdown menu, allowing the user to search in a long list." | 8256 | "dropdown menu, allowing the user to search in a long list." | ||
8341 | msgstr "" | 8257 | msgstr "" | ||
n | 8342 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller träd) " | n | 8258 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller ett " |
8343 | "av val i en rullgardinsmeny. Om lämpligt kan den visa extra information om " | 8259 | "träd) av val i en rullgardinsmeny. Om lämpligt kan den visa extra " | ||
8344 | "varje objekt, som text, en bild, en kryssruta eller en förloppsindikator. " | 8260 | "information om varje objekt, som text, en bild, en kryssruta eller en " | ||
8345 | "<classname>ComboBox</classname>-komponenten begränsar vanligen användaren " | 8261 | "förloppsindikator. <classname>ComboBox</classname>-komponenten begränsar " | ||
8346 | "till de tillgängliga valen, men den kan valfritt ha ett <classname>Entry</" | 8262 | "vanligen användaren till de tillgängliga valen, men den kan valfritt ha ett " | ||
8347 | "classname>, som låter användaren mata in godtycklig text om inget av de " | 8263 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | ||
8348 | "tillgängliga valen passar." | 8264 | "om inget av de tillgängliga valen passar." | ||
8349 | 8265 | ||||
8350 | #. (itstool) path: chapter/para | 8266 | #. (itstool) path: chapter/para | ||
8351 | #: C/index-in.docbook:3373 | 8267 | #: C/index-in.docbook:3373 | ||
8352 | #, fuzzy | 8268 | #, fuzzy | ||
8353 | msgid "" | 8269 | msgid "" | ||
8356 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | 8272 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | ||
8357 | "This provides flexibility, but the <classname>StringList</classname> class " | 8273 | "This provides flexibility, but the <classname>StringList</classname> class " | ||
8358 | "provides a simpler text-based specialization in case that flexibility is not " | 8274 | "provides a simpler text-based specialization in case that flexibility is not " | ||
8359 | "required." | 8275 | "required." | ||
8360 | msgstr "" | 8276 | msgstr "" | ||
n | 8361 | "Listan tillhandahålls via en <classname>TreeModel</classname>, och kolumner " | n | 8277 | "Listan tillhandahålls via en <classname>Gio::ListModel</classname>, och data " |
8362 | "från denna modell läggs till vyn för ComboBox-komponenten med metoden " | 8278 | "från denna modell läggs till vyn för <classname>DropDown</classname>-" | ||
8363 | "<methodname>ComboBox::pack_start()</methodname>. Detta tillhandahåller " | 8279 | "komponenten med signalhanterare anslutna till en " | ||
8364 | "flexibilitet och typsäkerhet under kompilering, men <classname>ComboBoxText</" | 8280 | "<classname>SignalListItemFactory</classname>. Detta tillhandahåller " | ||
8365 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8281 | "flexibilitet, men <classname>StringList</classname>-klassen tillhandahåller " | ||
8366 | "den flexibiliteten inte behövs." | 8282 | "en enklare textbaserad specialisering om den flexibiliteten inte behövs." | ||
8367 | 8283 | ||||
8368 | #. (itstool) path: chapter/para | 8284 | #. (itstool) path: chapter/para | ||
8369 | #: C/index-in.docbook:3380 | 8285 | #: C/index-in.docbook:3380 | ||
n | 8370 | #, fuzzy | n | ||
8371 | #| msgid "" | ||||
8372 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
8373 | #| "classGtk_1_1Box.html\">Reference</link>" | ||||
8374 | msgid "" | 8286 | msgid "" | ||
8375 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8287 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8376 | "classGtk_1_1DropDown.html\">Reference</link>" | 8288 | "classGtk_1_1DropDown.html\">Reference</link>" | ||
8377 | msgstr "" | 8289 | msgstr "" | ||
n | 8378 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Box." | n | 8290 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
8379 | "html\">Referens</link>" | 8291 | "classGtk_1_1DropDown.html\">Referens</link>" | ||
8380 | 8292 | ||||
8381 | #. (itstool) path: section/title | 8293 | #. (itstool) path: section/title | ||
8382 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | 8294 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | ||
n | 8383 | #, fuzzy | n | ||
8384 | msgid "The model" | 8295 | msgid "The model" | ||
8385 | msgstr "Modellen" | 8296 | msgstr "Modellen" | ||
8386 | 8297 | ||||
8387 | #. (itstool) path: section/para | 8298 | #. (itstool) path: section/para | ||
8388 | #: C/index-in.docbook:3385 | 8299 | #: C/index-in.docbook:3385 | ||
8389 | #, fuzzy | 8300 | #, fuzzy | ||
n | 8390 | #| msgid "" | n | ||
8391 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
8392 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
8393 | #| "ComboBox class with one integer and one text column, like so:" | ||||
8394 | msgid "" | 8301 | msgid "" | ||
8395 | "The model for a <classname>DropDown</classname> can be defined and filled " | 8302 | "The model for a <classname>DropDown</classname> can be defined and filled " | ||
8396 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | 8303 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | ||
8397 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | 8304 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | ||
8398 | "For instance, you might have a <classname>DropDown</classname> with one " | 8305 | "For instance, you might have a <classname>DropDown</classname> with one " | ||
8399 | "integer and one text column, like so:" | 8306 | "integer and one text column, like so:" | ||
8400 | msgstr "" | 8307 | msgstr "" | ||
n | 8401 | "Modellen för en ComboBox kan definieras och fyllas i exakt som för en " | n | 8308 | "Modellen för en <classname>DropDown</classname> kan definieras och fyllas i " |
8402 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 8309 | "exakt som för en <classname>ListView</classname> eller en " | ||
8403 | "ett heltal och en textkolumn, så här:" | 8310 | "<classname>ColumnView</classname>. Den måste vara en underklass till " | ||
8311 | "<classname>Glib::Object</classname>. Exempelvis kan du ha en " | ||||
8312 | "<classname>DropDown</classname> med ett heltal och en textkolumn, så här:" | ||||
8404 | 8313 | ||||
8405 | #. (itstool) path: section/para | 8314 | #. (itstool) path: section/para | ||
8406 | #: C/index-in.docbook:3413 | 8315 | #: C/index-in.docbook:3413 | ||
n | n | 8316 | #, fuzzy | ||
8407 | msgid "" | 8317 | msgid "" | ||
8408 | "After appending rows to this model, you should provide the model to the " | 8318 | "After appending rows to this model, you should provide the model to the " | ||
8409 | "<classname>DropDown</classname> with the <methodname>set_model()</" | 8319 | "<classname>DropDown</classname> with the <methodname>set_model()</" | ||
8410 | "methodname> method. Unless you use the <classname>StringList</classname> " | 8320 | "methodname> method. Unless you use the <classname>StringList</classname> " | ||
8411 | "model, you also need to set a <classname>ListItemFactory</classname> with " | 8321 | "model, you also need to set a <classname>ListItemFactory</classname> with " | ||
8413 | "dropdown menu to look different from the item in the <classname>DropDown</" | 8323 | "dropdown menu to look different from the item in the <classname>DropDown</" | ||
8414 | "classname> widget, you also need to set a separate " | 8324 | "classname> widget, you also need to set a separate " | ||
8415 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | 8325 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | ||
8416 | "methodname>." | 8326 | "methodname>." | ||
8417 | msgstr "" | 8327 | msgstr "" | ||
n | n | 8328 | "Efter att ha lagt till rader till denna modell bör du tillhandahålla " | ||
8329 | "modellen till vår <classname>DropDown</classname> med metoden " | ||||
8330 | "<methodname>set_model()</methodname>. Om du inte använder modellen " | ||||
8331 | "<classname>StringList</classname> så kommer du också behöva ställa in en " | ||||
8332 | "<classname>ListItemFactory</classname> med <methodname>set_factory()</" | ||||
8333 | "methodname>. Om du vill att objekten i rullgardinsmenyn ska se annorlunda " | ||||
8334 | "från objektet i <classname>DropDown</classname>-komponenten så behöver du " | ||||
8335 | "också ställa in en separat <classname>ListItemFactory</classname> med " | ||||
8336 | "<methodname>set_list_factory()</methodname>." | ||||
8418 | 8337 | ||||
8419 | #. (itstool) path: section/title | 8338 | #. (itstool) path: section/title | ||
8420 | #: C/index-in.docbook:3424 | 8339 | #: C/index-in.docbook:3424 | ||
n | 8421 | #, fuzzy | n | ||
8422 | msgid "The selected item" | 8340 | msgid "The selected item" | ||
n | 8423 | msgstr "De markerade raderna" | n | 8341 | msgstr "Det valda objektet" |
8424 | 8342 | ||||
8425 | #. (itstool) path: section/para | 8343 | #. (itstool) path: section/para | ||
8426 | #: C/index-in.docbook:3426 | 8344 | #: C/index-in.docbook:3426 | ||
8427 | #, fuzzy | 8345 | #, fuzzy | ||
8428 | msgid "" | 8346 | msgid "" | ||
8432 | "get the selected data from the model. For instance, you might read an " | 8350 | "get the selected data from the model. For instance, you might read an " | ||
8433 | "integer ID value from the model, even though you have chosen only to show " | 8351 | "integer ID value from the model, even though you have chosen only to show " | ||
8434 | "the human-readable description in the <classname>DropDown</classname>. For " | 8352 | "the human-readable description in the <classname>DropDown</classname>. For " | ||
8435 | "instance:" | 8353 | "instance:" | ||
8436 | msgstr "" | 8354 | msgstr "" | ||
n | 8437 | "För att upptäcka vilket objekt, om något, som användaren har valt från en " | n | 8355 | "För att upptäcka vilket objekt, om något, som användaren har valt från vår " |
8438 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | 8356 | "<classname>DropDown</classname>, anropa <methodname>DropDown::" | ||
8439 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8357 | "get_selected()</methodname>. Detta returnerar en <type>unsigned int</type> " | ||
8440 | "dereferera till en <classname>Row</classname> för att läsa värdena i dina " | 8358 | "som du kan använda för att få valda data från modellen. Exempelvis kanske du " | ||
8441 | "kolumner. Exempelvis kanske du läser ett heltals-ID-värde från modellen, " | 8359 | "läser ett heltals-ID-värde från modellen, även om du valt att bara visa den " | ||
8442 | "även om du valt att bara visa den mänskligt läsbara beskrivningen i vår " | 8360 | "mänskligt läsbara beskrivningen i vår <classname>DropDown</classname>. Till " | ||
8443 | "ComboBox. Till exempel:" | 8361 | "exempel:" | ||
8444 | 8362 | ||||
8445 | #. (itstool) path: section/programlisting | 8363 | #. (itstool) path: section/programlisting | ||
8446 | #: C/index-in.docbook:3433 | 8364 | #: C/index-in.docbook:3433 | ||
8447 | #, fuzzy, no-wrap | 8365 | #, fuzzy, no-wrap | ||
8448 | msgid "" | 8366 | msgid "" | ||
8455 | "}\n" | 8373 | "}\n" | ||
8456 | "else\n" | 8374 | "else\n" | ||
8457 | " set_nothing_chosen(); // Your own function.\n" | 8375 | " set_nothing_chosen(); // Your own function.\n" | ||
8458 | "</code>" | 8376 | "</code>" | ||
8459 | msgstr "" | 8377 | msgstr "" | ||
n | 8460 | "Gtk::TreeModel::iterator iter = m_Combo.get_active();\n" | n | 8378 | "unsigned int sel = m_DropDown.get_selected();\n" |
8461 | "if(iter)\n" | 8379 | "if (sel != GTK_INVALID_LIST_POSITION)\n" | ||
8462 | "{\n" | 8380 | "{\n" | ||
n | 8463 | " auto row = *iter;\n" | n | ||
8464 | "\n" | ||||
8465 | " //Få data för markerad rad, med vår kunskap\n" | 8381 | " // Få data för markerad rad, med vår kunskap om listmodellen:\n" | ||
8466 | " //om trädmodellen:\n" | 8382 | " auto id = m_ListStore->get_item(sel).m_col_id;\n" | ||
8467 | " auto id = row[m_Columns.m_col_id];\n" | ||||
8468 | " set_something_id_chosen(id); //Din egen funktion.\n" | 8383 | " set_some_id_chosen(id); // Din egen funktion.\n" | ||
8469 | "}\n" | 8384 | "}\n" | ||
8470 | "else\n" | 8385 | "else\n" | ||
n | 8471 | " set_nothing_chosen(); //Din egen funktion." | n | 8386 | " set_nothing_chosen(); // Din egen funktion.\n" |
8472 | 8387 | ||||
8473 | #. (itstool) path: section/title | 8388 | #. (itstool) path: section/title | ||
8474 | #: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658 | 8389 | #: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658 | ||
8475 | msgid "Responding to changes" | 8390 | msgid "Responding to changes" | ||
8476 | msgstr "Svara på ändringar" | 8391 | msgstr "Svara på ändringar" | ||
8482 | "You might need to react to every change of selection in the " | 8397 | "You might need to react to every change of selection in the " | ||
8483 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | 8398 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | ||
8484 | "so, you should connect to <methodname>property_selected().signal_changed()</" | 8399 | "so, you should connect to <methodname>property_selected().signal_changed()</" | ||
8485 | "methodname>. For instance:" | 8400 | "methodname>. For instance:" | ||
8486 | msgstr "" | 8401 | msgstr "" | ||
n | 8487 | "Du behöver reagera på varje ändring av val i vår ComboBox, till exempel för " | n | 8402 | "Du kan behöva reagera på varje ändring av val i vår <classname>DropDown</" |
8488 | "att uppdatera andra komponenter. För att göra så bör du hantera signalen " | 8403 | "classname>, till exempel för att uppdatera andra komponenter. För att göra " | ||
8489 | "<literal>changed</literal>. Till exempel:" | 8404 | "så bör du ansluta till <methodname>property_selected().signal_changed()</" | ||
8405 | "methodname>. Till exempel:" | ||||
8490 | 8406 | ||||
8491 | #. (itstool) path: section/programlisting | 8407 | #. (itstool) path: section/programlisting | ||
8492 | #: C/index-in.docbook:3452 | 8408 | #: C/index-in.docbook:3452 | ||
8493 | #, fuzzy, no-wrap | 8409 | #, fuzzy, no-wrap | ||
8494 | #| msgid "" | 8410 | #| msgid "" | ||
n | 8495 | #| "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8411 | #| "m_DropDown.property_selected().signal_changed().connect(\n" |
8496 | #| " &ExampleWindow::on_combo_changed) );" | 8412 | #| " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8497 | msgid "" | 8413 | msgid "" | ||
8498 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | 8414 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | ||
8499 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | 8415 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8500 | "</code>" | 8416 | "</code>" | ||
8501 | msgstr "" | 8417 | msgstr "" | ||
n | 8502 | "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8418 | "m_DropDown.property_selected().signal_changed().connect(\n" |
8503 | " &ExampleWindow::on_combo_changed) );" | 8419 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8504 | 8420 | ||||
8505 | #. (itstool) path: section/title | 8421 | #. (itstool) path: section/title | ||
8506 | #: C/index-in.docbook:3458 | 8422 | #: C/index-in.docbook:3458 | ||
n | 8507 | #, fuzzy | n | ||
8508 | msgid "Simple String Example" | 8423 | msgid "Simple String Example" | ||
n | 8509 | msgstr "Enkelt inmatningsexempel" | n | 8424 | msgstr "Enkelt strängexempel" |
8510 | 8425 | ||||
8511 | #. (itstool) path: figure/title | 8426 | #. (itstool) path: figure/title | ||
8512 | #: C/index-in.docbook:3461 | 8427 | #: C/index-in.docbook:3461 | ||
8513 | msgid "Simple DropDown" | 8428 | msgid "Simple DropDown" | ||
n | 8514 | msgstr "" | n | 8429 | msgstr "Enkel DropDown" |
8515 | 8430 | ||||
8516 | #. (itstool) path: imageobject/imagedata | 8431 | #. (itstool) path: imageobject/imagedata | ||
8517 | #. This is a reference to an external file such as an image or video. When | 8432 | #. This is a reference to an external file such as an image or video. When | ||
8518 | #. the file changes, the md5 hash will change to let you know you need to | 8433 | #. the file changes, the md5 hash will change to let you know you need to | ||
8519 | #. update your localized copy. The msgstr is not used at all. Set it to | 8434 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8523 | msgctxt "_" | 8438 | msgctxt "_" | ||
8524 | msgid "" | 8439 | msgid "" | ||
8525 | "external ref='figures/dropdown_string.png' " | 8440 | "external ref='figures/dropdown_string.png' " | ||
8526 | "md5='b1689605c645e1ada3040f6df3335c56'" | 8441 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||
8527 | msgstr "" | 8442 | msgstr "" | ||
n | 8528 | "external ref='figures/printing.png' md5='d4565328475ec89edf5f2230cb3fc5d0'" | n | 8443 | "external ref='figures/dropdown_string.png' " |
8444 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||||
8529 | 8445 | ||||
8530 | #. (itstool) path: section/para | 8446 | #. (itstool) path: section/para | ||
8531 | #: C/index-in.docbook:3467 | 8447 | #: C/index-in.docbook:3467 | ||
n | 8532 | #, fuzzy | n | ||
8533 | #| msgid "" | ||||
8534 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8535 | #| "tree/master/examples/book/entry/icon\">Source Code</link>" | ||||
8536 | msgid "" | 8448 | msgid "" | ||
8537 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8449 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8538 | "master/examples/book/dropdown/string\">Source Code</link>" | 8450 | "master/examples/book/dropdown/string\">Source Code</link>" | ||
8539 | msgstr "" | 8451 | msgstr "" | ||
8540 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8452 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8541 | "master/examples/book/entry/icon\">Källkod</link>" | n | 8453 | "master/examples/book/dropdown/string\">Källkod</link>" |
8542 | 8454 | ||||
8543 | #. (itstool) path: section/title | 8455 | #. (itstool) path: section/title | ||
8544 | #: C/index-in.docbook:3471 | 8456 | #: C/index-in.docbook:3471 | ||
8545 | msgid "Examples with a Search Entry" | 8457 | msgid "Examples with a Search Entry" | ||
n | 8546 | msgstr "" | n | 8458 | msgstr "Exempel med ett sökfält" |
8547 | 8459 | ||||
8548 | #. (itstool) path: section/para | 8460 | #. (itstool) path: section/para | ||
8549 | #: C/index-in.docbook:3473 | 8461 | #: C/index-in.docbook:3473 | ||
n | 8550 | #, fuzzy | n | ||
8551 | #| msgid "" | ||||
8552 | #| "<classname>Gtk::Grid</classname> arranges its child widgets in rows and " | ||||
8553 | #| "columns. Use <methodname>attach()</methodname> and " | ||||
8554 | #| "<methodname>attach_next_to()</methodname> to insert child widgets." | ||||
8555 | msgid "" | 8462 | msgid "" | ||
8556 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | 8463 | "The dropdown menu may contain an <classname>Entry</classname> that allows to " | ||
8557 | "search for items in the list. Call <methodname>set_enable_search()</" | 8464 | "search for items in the list. Call <methodname>set_enable_search()</" | ||
8558 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | 8465 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | ||
8559 | msgstr "" | 8466 | msgstr "" | ||
n | 8560 | "<classname>Gtk::Grid</classname> arrangerar sina underordnade komponenter i " | n | 8467 | "Rullgardinsmeny kan innehålla ett <classname>Entry</classname> som tillåter " |
8561 | "rader och kolumner. Använd <methodname>attach()</methodname> och " | 8468 | "sökning efter objekt i listan. Anropa <methodname>set_enable_search()</" | ||
8562 | "<methodname>attach_next_to()</methodname> för att infoga underordnade " | 8469 | "methodname> och <methodname>set_expression()</methodname>. Till exempel:" | ||
8563 | "komponenter." | ||||
8564 | 8470 | ||||
8565 | #. (itstool) path: section/programlisting | 8471 | #. (itstool) path: section/programlisting | ||
8566 | #: C/index-in.docbook:3477 | 8472 | #: C/index-in.docbook:3477 | ||
n | 8567 | #, no-wrap | n | 8473 | #, fuzzy, no-wrap |
8474 | #| msgid "" | ||||
8475 | #| "m_DropDown.set_enable_search(true);\n" | ||||
8476 | #| "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||||
8477 | #| " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||||
8478 | #| "m_DropDown.set_expression(expression);\n" | ||||
8479 | #| "\n" | ||||
8480 | #| "//-------\n" | ||||
8481 | #| "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr<Glib::Object | ||||
> | Base>& item)\n" | ||||
8482 | #| "{\n" | ||||
8483 | #| " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||||
8484 | #| " return col ? col->m_col_name : \"\";\n" | ||||
8485 | #| "}\n" | ||||
8568 | msgid "" | 8486 | msgid "" | ||
8569 | "<code>m_DropDown.set_enable_search(true);\n" | 8487 | "<code>m_DropDown.set_enable_search(true);\n" | ||
8570 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | 8488 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||
8571 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | 8489 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||
8572 | "m_DropDown.set_expression(expression);\n" | 8490 | "m_DropDown.set_expression(expression);\n" | ||
8577 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | 8495 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||
8578 | " return col ? col->m_col_name : \"\";\n" | 8496 | " return col ? col->m_col_name : \"\";\n" | ||
8579 | "}\n" | 8497 | "}\n" | ||
8580 | "</code>" | 8498 | "</code>" | ||
8581 | msgstr "" | 8499 | msgstr "" | ||
n | n | 8500 | "m_DropDown.set_enable_search(true);\n" | ||
8501 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||||
8502 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||||
8503 | "m_DropDown.set_expression(expression);\n" | ||||
8504 | "\n" | ||||
8505 | "//-------\n" | ||||
8506 | "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr<Glib::ObjectBas | ||||
> | e>& item)\n" | ||||
8507 | "{\n" | ||||
8508 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||||
8509 | " return col ? col->m_col_name : \"\";\n" | ||||
8510 | "}\n" | ||||
8582 | 8511 | ||||
8583 | #. (itstool) path: section/title | 8512 | #. (itstool) path: section/title | ||
8584 | #: C/index-in.docbook:3491 | 8513 | #: C/index-in.docbook:3491 | ||
n | 8585 | #, fuzzy | n | ||
8586 | #| msgid "Simple Example" | ||||
8587 | msgid "String Example" | 8514 | msgid "String Example" | ||
n | 8588 | msgstr "Enkelt exempel" | n | 8515 | msgstr "Strängexempel" |
8589 | 8516 | ||||
8590 | #. (itstool) path: figure/title | 8517 | #. (itstool) path: figure/title | ||
8591 | #: C/index-in.docbook:3494 | 8518 | #: C/index-in.docbook:3494 | ||
8592 | msgid "Search String" | 8519 | msgid "Search String" | ||
n | 8593 | msgstr "" | n | 8520 | msgstr "Sök sträng" |
8594 | 8521 | ||||
8595 | #. (itstool) path: imageobject/imagedata | 8522 | #. (itstool) path: imageobject/imagedata | ||
8596 | #. This is a reference to an external file such as an image or video. When | 8523 | #. This is a reference to an external file such as an image or video. When | ||
8597 | #. the file changes, the md5 hash will change to let you know you need to | 8524 | #. the file changes, the md5 hash will change to let you know you need to | ||
8598 | #. update your localized copy. The msgstr is not used at all. Set it to | 8525 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8606 | msgctxt "_" | 8533 | msgctxt "_" | ||
8607 | msgid "" | 8534 | msgid "" | ||
8608 | "external ref='figures/dropdown_search_string.png' " | 8535 | "external ref='figures/dropdown_search_string.png' " | ||
8609 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | 8536 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8610 | msgstr "" | 8537 | msgstr "" | ||
n | 8611 | "external ref='figures/drawingarea_arcs.png' " | n | 8538 | "external ref='figures/dropdown_search_string.png' " |
8612 | "md5='d94b40e33b9fab7ea9e2c870b97fcf0c'" | 8539 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8613 | 8540 | ||||
8614 | #. (itstool) path: section/para | 8541 | #. (itstool) path: section/para | ||
8615 | #: C/index-in.docbook:3500 | 8542 | #: C/index-in.docbook:3500 | ||
n | 8616 | #, fuzzy | n | ||
8617 | #| msgid "" | ||||
8618 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8619 | #| "tree/master/examples/book/drawingarea/arcs\">Source Code</link>" | ||||
8620 | msgid "" | 8543 | msgid "" | ||
8621 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8544 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8622 | "master/examples/book/dropdown/search_string\">Source Code</link>" | 8545 | "master/examples/book/dropdown/search_string\">Source Code</link>" | ||
8623 | msgstr "" | 8546 | msgstr "" | ||
8624 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8547 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8625 | "master/examples/book/drawingarea/arcs\">Källkod</link>" | n | 8548 | "master/examples/book/dropdown/search_string\">Källkod</link>" |
8626 | 8549 | ||||
8627 | #. (itstool) path: section/title | 8550 | #. (itstool) path: section/title | ||
8628 | #: C/index-in.docbook:3504 | 8551 | #: C/index-in.docbook:3504 | ||
n | 8629 | #, fuzzy | n | ||
8630 | #| msgid "Full Example" | ||||
8631 | msgid "Font Example" | 8552 | msgid "Font Example" | ||
n | 8632 | msgstr "Fullständigt exempel" | n | 8553 | msgstr "Typsnittsexempel" |
8633 | 8554 | ||||
8634 | #. (itstool) path: section/para | 8555 | #. (itstool) path: section/para | ||
8635 | #: C/index-in.docbook:3506 | 8556 | #: C/index-in.docbook:3506 | ||
n | 8636 | #, fuzzy | n | ||
8637 | #| msgid "" | ||||
8638 | #| "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</" | ||||
8639 | #| "classname>, <classname>Gtk::MenuItem</classname> and <classname>Gtk::" | ||||
8640 | #| "Switch</classname> implement the <classname>Gtk::Actionable</classname> " | ||||
8641 | #| "interface instead of the removed <classname>Gtk::Activatable</classname> " | ||||
8642 | #| "interface." | ||||
8643 | msgid "" | 8557 | msgid "" | ||
8644 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | 8558 | "This example uses a <classname>Pango::FontMap</classname> as its model. This " | ||
8645 | "is possible because <classname>Pango::FontMap</classname> implements the " | 8559 | "is possible because <classname>Pango::FontMap</classname> implements the " | ||
8646 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | 8560 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | ||
8647 | "<classname>FontDialogButton</classname> instead." | 8561 | "<classname>FontDialogButton</classname> instead." | ||
8648 | msgstr "" | 8562 | msgstr "" | ||
n | 8649 | "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</classname>, " | n | 8563 | "Detta exempel använder en <classname>Pango::FontMap</classname> som sin " |
8650 | "<classname>Gtk::MenuItem</classname> och <classname>Gtk::Switch</classname> " | 8564 | "modell. Detta är möjligt för att <classname>Pango::FontMap</classname> " | ||
8651 | "implementerar <classname>Gtk::Actionable</classname>-gränssnittet i stället " | 8565 | "implementerar <classname>Gio::ListModel</classname>-gränssnittet. Du kan " | ||
8652 | "för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet." | 8566 | "förstås använda en <classname>FontDialogButton</classname> i stället." | ||
8653 | 8567 | ||||
8654 | #. (itstool) path: figure/title | 8568 | #. (itstool) path: figure/title | ||
8655 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | 8569 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | ||
8656 | msgid "Search Font" | 8570 | msgid "Search Font" | ||
n | 8657 | msgstr "" | n | 8571 | msgstr "Sök typsnitt" |
8658 | 8572 | ||||
8659 | #. (itstool) path: imageobject/imagedata | 8573 | #. (itstool) path: imageobject/imagedata | ||
8660 | #. This is a reference to an external file such as an image or video. When | 8574 | #. This is a reference to an external file such as an image or video. When | ||
8661 | #. the file changes, the md5 hash will change to let you know you need to | 8575 | #. the file changes, the md5 hash will change to let you know you need to | ||
8662 | #. update your localized copy. The msgstr is not used at all. Set it to | 8576 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8666 | msgctxt "_" | 8580 | msgctxt "_" | ||
8667 | msgid "" | 8581 | msgid "" | ||
8668 | "external ref='figures/dropdown_search_font.png' " | 8582 | "external ref='figures/dropdown_search_font.png' " | ||
8669 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | 8583 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8670 | msgstr "" | 8584 | msgstr "" | ||
n | 8671 | "external ref='figures/drawingarea_pango_text.png' " | n | 8585 | "external ref='figures/dropdown_search_font.png' " |
8672 | "md5='07c39668c9dda2ac1f9455caf6e4d16a'" | 8586 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8673 | 8587 | ||||
8674 | #. (itstool) path: section/para | 8588 | #. (itstool) path: section/para | ||
8675 | #: C/index-in.docbook:3519 | 8589 | #: C/index-in.docbook:3519 | ||
n | 8676 | #, fuzzy | n | ||
8677 | #| msgid "" | ||||
8678 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8679 | #| "tree/master/examples/book/paned\">Source Code</link>" | ||||
8680 | msgid "" | 8590 | msgid "" | ||
8681 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8591 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8682 | "master/examples/book/dropdown/search_font\">Source Code</link>" | 8592 | "master/examples/book/dropdown/search_font\">Source Code</link>" | ||
8683 | msgstr "" | 8593 | msgstr "" | ||
8684 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8594 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8685 | "master/examples/book/paned\">Källkod</link>" | n | 8595 | "master/examples/book/dropdown/search_font\">Källkod</link>" |
8686 | 8596 | ||||
8687 | #. (itstool) path: section/title | 8597 | #. (itstool) path: section/title | ||
8688 | #: C/index-in.docbook:3524 | 8598 | #: C/index-in.docbook:3524 | ||
n | 8689 | #, fuzzy | n | ||
8690 | #| msgid "Simple Example" | ||||
8691 | msgid "Complex Example" | 8599 | msgid "Complex Example" | ||
n | 8692 | msgstr "Enkelt exempel" | n | 8600 | msgstr "Komplext exempel" |
8693 | 8601 | ||||
8694 | #. (itstool) path: section/para | 8602 | #. (itstool) path: section/para | ||
8695 | #: C/index-in.docbook:3526 | 8603 | #: C/index-in.docbook:3526 | ||
8696 | msgid "" | 8604 | msgid "" | ||
8697 | "This is a more complex example with two <classname>SignalListItemFactory</" | 8605 | "This is a more complex example with two <classname>SignalListItemFactory</" | ||
8698 | "classname> objects and their signal handlers. This example would be simpler " | 8606 | "classname> objects and their signal handlers. This example would be simpler " | ||
8699 | "without the checkmark in the dropdown menu." | 8607 | "without the checkmark in the dropdown menu." | ||
8700 | msgstr "" | 8608 | msgstr "" | ||
n | n | 8609 | "Detta är ett mer komplext exempel med två <classname>SignalListItemFactory</" | ||
8610 | "classname>-objekt och deras signalhanterare. Detta exempel skulle vara " | ||||
8611 | "enklare utan bocken i rullgardinsmenyn." | ||||
8701 | 8612 | ||||
8702 | #. (itstool) path: imageobject/imagedata | 8613 | #. (itstool) path: imageobject/imagedata | ||
8703 | #. This is a reference to an external file such as an image or video. When | 8614 | #. This is a reference to an external file such as an image or video. When | ||
8704 | #. the file changes, the md5 hash will change to let you know you need to | 8615 | #. the file changes, the md5 hash will change to let you know you need to | ||
8705 | #. update your localized copy. The msgstr is not used at all. Set it to | 8616 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
8709 | msgctxt "_" | 8620 | msgctxt "_" | ||
8710 | msgid "" | 8621 | msgid "" | ||
8711 | "external ref='figures/dropdown_complex.png' " | 8622 | "external ref='figures/dropdown_complex.png' " | ||
8712 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | 8623 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8713 | msgstr "" | 8624 | msgstr "" | ||
n | 8714 | "external ref='figures/combobox_complex.png' " | n | 8625 | "external ref='figures/dropdown_complex.png' " |
8715 | "md5='ec96e29fe85caef072868284443e413e'" | 8626 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8716 | 8627 | ||||
8717 | #. (itstool) path: section/para | 8628 | #. (itstool) path: section/para | ||
8718 | #: C/index-in.docbook:3538 | 8629 | #: C/index-in.docbook:3538 | ||
n | 8719 | #, fuzzy | n | ||
8720 | #| msgid "" | ||||
8721 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8722 | #| "tree/master/examples/book/combobox/complex\">Source Code</link>" | ||||
8723 | msgid "" | 8630 | msgid "" | ||
8724 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8631 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8725 | "master/examples/book/dropdown/complex\">Source Code</link>" | 8632 | "master/examples/book/dropdown/complex\">Source Code</link>" | ||
8726 | msgstr "" | 8633 | msgstr "" | ||
8727 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8634 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8728 | "master/examples/book/combobox/complex\">Källkod</link>" | n | 8635 | "master/examples/book/dropdown/complex\">Källkod</link>" |
8729 | 8636 | ||||
8730 | #. (itstool) path: chapter/title | 8637 | #. (itstool) path: chapter/title | ||
8731 | #: C/index-in.docbook:3543 | 8638 | #: C/index-in.docbook:3543 | ||
8732 | msgid "Combo Boxes" | 8639 | msgid "Combo Boxes" | ||
8733 | msgstr "Kombinationsrutor" | 8640 | msgstr "Kombinationsrutor" | ||
8734 | 8641 | ||||
8735 | #. (itstool) path: note/para | 8642 | #. (itstool) path: note/para | ||
8736 | #: C/index-in.docbook:3545 | 8643 | #: C/index-in.docbook:3545 | ||
n | 8737 | #, fuzzy | n | ||
8738 | #| msgid "" | ||||
8739 | #| "<classname>Gdk::DrawContext</classname> and <classname>Gdk::CairoContext</" | ||||
8740 | #| "classname> are new. <classname>Gdk::DrawingContext</classname> has been " | ||||
8741 | #| "removed." | ||||
8742 | msgid "" | 8644 | msgid "" | ||
8743 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | 8645 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | ||
8744 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | 8646 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | ||
8745 | "<classname>Gtk::DropDown</classname> in new code." | 8647 | "<classname>Gtk::DropDown</classname> in new code." | ||
8746 | msgstr "" | 8648 | msgstr "" | ||
n | 8747 | "<classname>Gdk::DrawContext</classname> och <classname>Gdk::CairoContext</" | n | 8649 | "<classname>Gtk::ComboBox</classname> och <classname>Gtk::ComboBoxText</" |
8748 | "classname> är nya. <classname>Gdk::DrawingContext</classname> har tagits " | 8650 | "classname> är föråldrade sedan <application>gtkmm</application> 4.10. Använd " | ||
8749 | "bort." | 8651 | "<classname>Gtk::DropDown</classname> i ny kod." | ||
8750 | 8652 | ||||
8751 | #. (itstool) path: chapter/para | 8653 | #. (itstool) path: chapter/para | ||
8752 | #: C/index-in.docbook:3549 | 8654 | #: C/index-in.docbook:3549 | ||
8753 | msgid "" | 8655 | msgid "" | ||
8754 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | 8656 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | ||
8757 | "The <classname>ComboBox</classname> widget usually restricts the user to the " | 8659 | "The <classname>ComboBox</classname> widget usually restricts the user to the " | ||
8758 | "available choices, but it can optionally have an <classname>Entry</" | 8660 | "available choices, but it can optionally have an <classname>Entry</" | ||
8759 | "classname>, allowing the user to enter arbitrary text if none of the " | 8661 | "classname>, allowing the user to enter arbitrary text if none of the " | ||
8760 | "available choices are suitable." | 8662 | "available choices are suitable." | ||
8761 | msgstr "" | 8663 | msgstr "" | ||
n | 8762 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller träd) " | n | 8664 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller ett " |
8763 | "av val i en rullgardinsmeny. Om lämpligt kan den visa extra information om " | 8665 | "träd) av val i en rullgardinsmeny. Om lämpligt kan den visa extra " | ||
8764 | "varje objekt, som text, en bild, en kryssruta eller en förloppsindikator. " | 8666 | "information om varje objekt, som text, en bild, en kryssruta eller en " | ||
8765 | "<classname>ComboBox</classname>-komponenten begränsar vanligen användaren " | 8667 | "förloppsindikator. <classname>ComboBox</classname>-komponenten begränsar " | ||
8766 | "till de tillgängliga valen, men den kan valfritt ha ett <classname>Entry</" | 8668 | "vanligen användaren till de tillgängliga valen, men den kan valfritt ha ett " | ||
8767 | "classname>, som låter användaren mata in godtycklig text om inget av de " | 8669 | "<classname>Entry</classname>, som låter användaren mata in godtycklig text " | ||
8768 | "tillgängliga valen passar." | 8670 | "om inget av de tillgängliga valen passar." | ||
8769 | 8671 | ||||
8770 | #. (itstool) path: chapter/para | 8672 | #. (itstool) path: chapter/para | ||
8771 | #: C/index-in.docbook:3552 | 8673 | #: C/index-in.docbook:3552 | ||
8772 | #, fuzzy | 8674 | #, fuzzy | ||
8773 | msgid "" | 8675 | msgid "" | ||
8785 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8687 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | ||
8786 | "den flexibiliteten inte behövs." | 8688 | "den flexibiliteten inte behövs." | ||
8787 | 8689 | ||||
8788 | #. (itstool) path: chapter/para | 8690 | #. (itstool) path: chapter/para | ||
8789 | #: C/index-in.docbook:3555 | 8691 | #: C/index-in.docbook:3555 | ||
n | 8790 | #, fuzzy | n | ||
8791 | #| msgid "" | ||||
8792 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
8793 | #| "classGtk_1_1ComboBox.html\">Reference</link>" | ||||
8794 | msgid "" | 8692 | msgid "" | ||
8795 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8693 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8796 | "classGtk_1_1ComboBox.html\">Reference</link>" | 8694 | "classGtk_1_1ComboBox.html\">Reference</link>" | ||
8797 | msgstr "" | 8695 | msgstr "" | ||
n | 8798 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 8696 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
8799 | "classGtk_1_1ComboBox.html\">Referens</link>" | 8697 | "classGtk_1_1ComboBox.html\">Referens</link>" | ||
8800 | 8698 | ||||
8801 | #. (itstool) path: section/para | 8699 | #. (itstool) path: section/para | ||
8802 | #: C/index-in.docbook:3560 | 8700 | #: C/index-in.docbook:3560 | ||
8803 | msgid "" | 8701 | msgid "" | ||
8856 | "Efter att ha lagt till rader till denna modell bör du tillhandahålla " | 8754 | "Efter att ha lagt till rader till denna modell bör du tillhandahålla " | ||
8857 | "modellen till <classname>ComboBox</classname>en med metoden " | 8755 | "modellen till <classname>ComboBox</classname>en med metoden " | ||
8858 | "<methodname>set_model()</methodname>. Använd sedan metoderna " | 8756 | "<methodname>set_model()</methodname>. Använd sedan metoderna " | ||
8859 | "<methodname>pack_start()</methodname> eller <methodname>pack_end()</" | 8757 | "<methodname>pack_start()</methodname> eller <methodname>pack_end()</" | ||
8860 | "methodname> för att ange vilka kolumner som kommer visas i vår ComboBox. Som " | 8758 | "methodname> för att ange vilka kolumner som kommer visas i vår ComboBox. Som " | ||
n | 8861 | "med TreeView kan du antingen använda standardcellrenderere genom att skicka " | n | 8759 | "med TreeView kan du antingen använda standardcellrenderare genom att skicka " |
8862 | "<classname>TreeModelColumn</classname> till packmetoderna, eller så kan du " | 8760 | "<classname>TreeModelColumn</classname> till packmetoderna, eller så kan du " | ||
8863 | "instansiera en specifik <classname>CellRenderer</classname> och ange en viss " | 8761 | "instansiera en specifik <classname>CellRenderer</classname> och ange en viss " | ||
8864 | "mappning med antingen <methodname>add_attribute()</methodname> eller " | 8762 | "mappning med antingen <methodname>add_attribute()</methodname> eller " | ||
8865 | "<methodname>set_cell_data_func()</methodname>. Observera att dessa metoder " | 8763 | "<methodname>set_cell_data_func()</methodname>. Observera att dessa metoder " | ||
8866 | "finns i basklassen <classname>CellLayout</classname>." | 8764 | "finns i basklassen <classname>CellLayout</classname>." | ||
9281 | "<classname>TextBuffer</classname>, som du kan komma åt genom metoden " | 9179 | "<classname>TextBuffer</classname>, som du kan komma åt genom metoden " | ||
9282 | "<methodname>get_buffer()</methodname>." | 9180 | "<methodname>get_buffer()</methodname>." | ||
9283 | 9181 | ||||
9284 | #. (itstool) path: section/para | 9182 | #. (itstool) path: section/para | ||
9285 | #: C/index-in.docbook:3752 | 9183 | #: C/index-in.docbook:3752 | ||
n | 9286 | #, fuzzy | n | ||
9287 | #| msgid "" | ||||
9288 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9289 | #| "classGtk_1_1TextBuffer.html\">Reference</link>" | ||||
9290 | msgid "" | 9184 | msgid "" | ||
9291 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9185 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9292 | "classGtk_1_1TextBuffer.html\">Reference</link>" | 9186 | "classGtk_1_1TextBuffer.html\">Reference</link>" | ||
9293 | msgstr "" | 9187 | msgstr "" | ||
n | 9294 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9188 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9295 | "classGtk_1_1TextBuffer.html\">Referens</link>" | 9189 | "classGtk_1_1TextBuffer.html\">Referens</link>" | ||
9296 | 9190 | ||||
9297 | #. (itstool) path: section/title | 9191 | #. (itstool) path: section/title | ||
9298 | #: C/index-in.docbook:3755 | 9192 | #: C/index-in.docbook:3755 | ||
9299 | msgid "Iterators" | 9193 | msgid "Iterators" | ||
9319 | "positioner genom buffertändringar. För att bevara en position, använd " | 9213 | "positioner genom buffertändringar. För att bevara en position, använd " | ||
9320 | "<classname>Gtk::TextBuffer::Mark</classname>." | 9214 | "<classname>Gtk::TextBuffer::Mark</classname>." | ||
9321 | 9215 | ||||
9322 | #. (itstool) path: section/para | 9216 | #. (itstool) path: section/para | ||
9323 | #: C/index-in.docbook:3764 | 9217 | #: C/index-in.docbook:3764 | ||
n | 9324 | #, fuzzy | n | ||
9325 | #| msgid "" | ||||
9326 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9327 | #| "classGtk_1_1TextIter.html\">Reference</link>" | ||||
9328 | msgid "" | 9218 | msgid "" | ||
9329 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9219 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9330 | "classGtk_1_1TextIter.html\">Reference</link>" | 9220 | "classGtk_1_1TextIter.html\">Reference</link>" | ||
9331 | msgstr "" | 9221 | msgstr "" | ||
n | 9332 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9222 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9333 | "classGtk_1_1TextIter.html\">Referens</link>" | 9223 | "classGtk_1_1TextIter.html\">Referens</link>" | ||
9334 | 9224 | ||||
9335 | #. (itstool) path: section/title | 9225 | #. (itstool) path: section/title | ||
9336 | #: C/index-in.docbook:3768 | 9226 | #: C/index-in.docbook:3768 | ||
9337 | msgid "Tags and Formatting" | 9227 | msgid "Tags and Formatting" | ||
9384 | msgid "The <classname>Tag</classname> class has many other properties." | 9274 | msgid "The <classname>Tag</classname> class has many other properties." | ||
9385 | msgstr "Klassen <classname>Tag</classname> har många andra egenskaper." | 9275 | msgstr "Klassen <classname>Tag</classname> har många andra egenskaper." | ||
9386 | 9276 | ||||
9387 | #. (itstool) path: section/para | 9277 | #. (itstool) path: section/para | ||
9388 | #: C/index-in.docbook:3787 | 9278 | #: C/index-in.docbook:3787 | ||
n | 9389 | #, fuzzy | n | ||
9390 | #| msgid "" | ||||
9391 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9392 | #| "classGtk_1_1TextTag.html\">Reference</link>" | ||||
9393 | msgid "" | 9279 | msgid "" | ||
9394 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9280 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9395 | "classGtk_1_1TextTag.html\">Reference</link>" | 9281 | "classGtk_1_1TextTag.html\">Reference</link>" | ||
9396 | msgstr "" | 9282 | msgstr "" | ||
n | 9397 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9283 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9398 | "classGtk_1_1TextTag.html\">Referens</link>" | 9284 | "classGtk_1_1TextTag.html\">Referens</link>" | ||
9399 | 9285 | ||||
9400 | #. (itstool) path: section/title | 9286 | #. (itstool) path: section/title | ||
9401 | #: C/index-in.docbook:3792 | 9287 | #: C/index-in.docbook:3792 | ||
9402 | msgid "TagTable" | 9288 | msgid "TagTable" | ||
9448 | "och kanske modifiera, <classname>TextBuffer</classname>tens " | 9334 | "och kanske modifiera, <classname>TextBuffer</classname>tens " | ||
9449 | "<classname>TagTable</classname> i stället för att skapa en explicit." | 9335 | "<classname>TagTable</classname> i stället för att skapa en explicit." | ||
9450 | 9336 | ||||
9451 | #. (itstool) path: section/para | 9337 | #. (itstool) path: section/para | ||
9452 | #: C/index-in.docbook:3814 | 9338 | #: C/index-in.docbook:3814 | ||
n | 9453 | #, fuzzy | n | ||
9454 | #| msgid "" | ||||
9455 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9456 | #| "classGtk_1_1TextTagTable.html\">Reference</link>" | ||||
9457 | msgid "" | 9339 | msgid "" | ||
9458 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9340 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9459 | "classGtk_1_1TextTagTable.html\">Reference</link>" | 9341 | "classGtk_1_1TextTagTable.html\">Reference</link>" | ||
9460 | msgstr "" | 9342 | msgstr "" | ||
n | 9461 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9343 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9462 | "classGtk_1_1TextTagTable.html\">Referens</link>" | 9344 | "classGtk_1_1TextTagTable.html\">Referens</link>" | ||
9463 | 9345 | ||||
9464 | #. (itstool) path: section/title | 9346 | #. (itstool) path: section/title | ||
9465 | #: C/index-in.docbook:3819 | 9347 | #: C/index-in.docbook:3819 | ||
9466 | msgid "Applying Tags" | 9348 | msgid "Applying Tags" | ||
9566 | "<classname>TextBuffer</classname>tens metoder <methodname>get_insert()</" | 9448 | "<classname>TextBuffer</classname>tens metoder <methodname>get_insert()</" | ||
9567 | "methodname> och <methodname>get_selection_bound()</methodname>." | 9449 | "methodname> och <methodname>get_selection_bound()</methodname>." | ||
9568 | 9450 | ||||
9569 | #. (itstool) path: section/para | 9451 | #. (itstool) path: section/para | ||
9570 | #: C/index-in.docbook:3867 | 9452 | #: C/index-in.docbook:3867 | ||
n | 9571 | #, fuzzy | n | ||
9572 | #| msgid "" | ||||
9573 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9574 | #| "classGtk_1_1TextMark.html\">Reference</link>" | ||||
9575 | msgid "" | 9453 | msgid "" | ||
9576 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9454 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9577 | "classGtk_1_1TextMark.html\">Reference</link>" | 9455 | "classGtk_1_1TextMark.html\">Reference</link>" | ||
9578 | msgstr "" | 9456 | msgstr "" | ||
n | 9579 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9457 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9580 | "classGtk_1_1TextMark.html\">Referens</link>" | 9458 | "classGtk_1_1TextMark.html\">Referens</link>" | ||
9581 | 9459 | ||||
9582 | #. (itstool) path: section/para | 9460 | #. (itstool) path: section/para | ||
9583 | #: C/index-in.docbook:3874 | 9461 | #: C/index-in.docbook:3874 | ||
9584 | msgid "" | 9462 | msgid "" | ||
9604 | "för att låta användaren se och gå runt i hela textområdet med " | 9482 | "för att låta användaren se och gå runt i hela textområdet med " | ||
9605 | "rullningslister." | 9483 | "rullningslister." | ||
9606 | 9484 | ||||
9607 | #. (itstool) path: section/para | 9485 | #. (itstool) path: section/para | ||
9608 | #: C/index-in.docbook:3888 | 9486 | #: C/index-in.docbook:3888 | ||
n | 9609 | #, fuzzy | n | ||
9610 | #| msgid "" | ||||
9611 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9612 | #| "classGtk_1_1TextView.html\">Reference</link>" | ||||
9613 | msgid "" | 9487 | msgid "" | ||
9614 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9488 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9615 | "classGtk_1_1TextView.html\">Reference</link>" | 9489 | "classGtk_1_1TextView.html\">Reference</link>" | ||
9616 | msgstr "" | 9490 | msgstr "" | ||
n | 9617 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9491 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9618 | "classGtk_1_1TextView.html\">Referens</link>" | 9492 | "classGtk_1_1TextView.html\">Referens</link>" | ||
9619 | 9493 | ||||
9620 | #. (itstool) path: section/title | 9494 | #. (itstool) path: section/title | ||
9621 | #: C/index-in.docbook:3891 | 9495 | #: C/index-in.docbook:3891 | ||
9622 | msgid "Default formatting" | 9496 | msgid "Default formatting" | ||
9706 | msgid "<code>m_TextView.add_child_at_anchor(m_Button, refAnchor);</code>" | 9580 | msgid "<code>m_TextView.add_child_at_anchor(m_Button, refAnchor);</code>" | ||
9707 | msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);" | 9581 | msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);" | ||
9708 | 9582 | ||||
9709 | #. (itstool) path: section/para | 9583 | #. (itstool) path: section/para | ||
9710 | #: C/index-in.docbook:3938 | 9584 | #: C/index-in.docbook:3938 | ||
n | 9711 | #, fuzzy | n | ||
9712 | #| msgid "" | ||||
9713 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9714 | #| "classGtk_1_1TextChildAnchor.html\">Reference</link>" | ||||
9715 | msgid "" | 9585 | msgid "" | ||
9716 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9586 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9717 | "classGtk_1_1TextChildAnchor.html\">Reference</link>" | 9587 | "classGtk_1_1TextChildAnchor.html\">Reference</link>" | ||
9718 | msgstr "" | 9588 | msgstr "" | ||
n | 9719 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9589 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9720 | "classGtk_1_1TextChildAnchor.html\">Referens</link>" | 9590 | "classGtk_1_1TextChildAnchor.html\">Referens</link>" | ||
9721 | 9591 | ||||
9722 | #. (itstool) path: imageobject/imagedata | 9592 | #. (itstool) path: imageobject/imagedata | ||
9723 | #. This is a reference to an external file such as an image or video. When | 9593 | #. This is a reference to an external file such as an image or video. When | ||
9724 | #. the file changes, the md5 hash will change to let you know you need to | 9594 | #. the file changes, the md5 hash will change to let you know you need to | ||
9779 | msgid "Menus and Toolbars" | 9649 | msgid "Menus and Toolbars" | ||
9780 | msgstr "Menyer och verktygsfält" | 9650 | msgstr "Menyer och verktygsfält" | ||
9781 | 9651 | ||||
9782 | #. (itstool) path: chapter/para | 9652 | #. (itstool) path: chapter/para | ||
9783 | #: C/index-in.docbook:3975 | 9653 | #: C/index-in.docbook:3975 | ||
n | 9784 | #, fuzzy | n | ||
9785 | msgid "" | 9654 | msgid "" | ||
9786 | "There are specific APIs for menus and toolbars, but you should usually deal " | 9655 | "There are specific APIs for menus and toolbars, but you should usually deal " | ||
9787 | "with them together, creating <classname>Gio::SimpleAction</classname>s that " | 9656 | "with them together, creating <classname>Gio::SimpleAction</classname>s that " | ||
9788 | "you can refer to in both menus and toolbars. In this way you can handle " | 9657 | "you can refer to in both menus and toolbars. In this way you can handle " | ||
9789 | "activation of the action instead of responding to the menu and toolbar items " | 9658 | "activation of the action instead of responding to the menu and toolbar items " | ||
9799 | "inaktivera både menyns och verktygsfältets objekt via åtgärden. " | 9668 | "inaktivera både menyns och verktygsfältets objekt via åtgärden. " | ||
9800 | "<classname>Gtk::Builder</classname> kan skapa menyer och verktygsfält." | 9669 | "<classname>Gtk::Builder</classname> kan skapa menyer och verktygsfält." | ||
9801 | 9670 | ||||
9802 | #. (itstool) path: chapter/para | 9671 | #. (itstool) path: chapter/para | ||
9803 | #: C/index-in.docbook:3983 | 9672 | #: C/index-in.docbook:3983 | ||
n | 9804 | #, fuzzy | n | ||
9805 | msgid "" | 9673 | msgid "" | ||
9806 | "This involves the use of the <classname>Gio::SimpleActionGroup</classname>, " | 9674 | "This involves the use of the <classname>Gio::SimpleActionGroup</classname>, " | ||
9807 | "<classname>Gio::SimpleAction</classname> and <classname>Gtk::Builder</" | 9675 | "<classname>Gio::SimpleAction</classname> and <classname>Gtk::Builder</" | ||
9808 | "classname> classes, all of which should be instantiated via their " | 9676 | "classname> classes, all of which should be instantiated via their " | ||
9809 | "<methodname>create()</methodname> methods, which return <classname>RefPtr</" | 9677 | "<methodname>create()</methodname> methods, which return <classname>RefPtr</" | ||
9815 | "<methodname>create()</methodname>-metoder, vilka returnerar " | 9683 | "<methodname>create()</methodname>-metoder, vilka returnerar " | ||
9816 | "<classname>RefPtr</classname>-pekare." | 9684 | "<classname>RefPtr</classname>-pekare." | ||
9817 | 9685 | ||||
9818 | #. (itstool) path: section/title | 9686 | #. (itstool) path: section/title | ||
9819 | #: C/index-in.docbook:3991 | 9687 | #: C/index-in.docbook:3991 | ||
n | 9820 | #, fuzzy | n | ||
9821 | msgid "Actions" | 9688 | msgid "Actions" | ||
9822 | msgstr "Åtgärder" | 9689 | msgstr "Åtgärder" | ||
9823 | 9690 | ||||
9824 | #. (itstool) path: section/para | 9691 | #. (itstool) path: section/para | ||
9825 | #: C/index-in.docbook:3993 | 9692 | #: C/index-in.docbook:3993 | ||
n | 9826 | #, fuzzy | n | ||
9827 | msgid "" | 9693 | msgid "" | ||
9828 | "First create the <classname>Gio::SimpleAction</classname>s and add them to a " | 9694 | "First create the <classname>Gio::SimpleAction</classname>s and add them to a " | ||
9829 | "<classname>Gio::SimpleActionGroup</classname>, with <methodname>Gio::" | 9695 | "<classname>Gio::SimpleActionGroup</classname>, with <methodname>Gio::" | ||
9830 | "ActionMap::add_action()</methodname>. (<classname>Gio::ActionMap</classname> " | 9696 | "ActionMap::add_action()</methodname>. (<classname>Gio::ActionMap</classname> " | ||
9831 | "is a base class of <classname>Gio::SimpleActionGroup</classname>.) Then add " | 9697 | "is a base class of <classname>Gio::SimpleActionGroup</classname>.) Then add " | ||
9832 | "the action group to your window with <methodname>Gtk::Widget::" | 9698 | "the action group to your window with <methodname>Gtk::Widget::" | ||
9833 | "insert_action_group()</methodname>." | 9699 | "insert_action_group()</methodname>." | ||
9834 | msgstr "" | 9700 | msgstr "" | ||
9835 | "Skapa först <classname>Gio::SimpleAction</classname>-åtgärder och lägg till " | 9701 | "Skapa först <classname>Gio::SimpleAction</classname>-åtgärder och lägg till " | ||
n | 9836 | "dem till en <classname>Gio::SimpleActionGroup</classname>, med " | n | 9702 | "dem till en <classname>Gio::SimpleActionGroup</classname> med " |
9837 | "<methodname>Gio::ActionMap::add_action()</methodname>. (<classname>Gio::" | 9703 | "<methodname>Gio::ActionMap::add_action()</methodname>. (<classname>Gio::" | ||
9838 | "ActionMap</classname> är en basklass för <classname>Gio::SimpleActionGroup</" | 9704 | "ActionMap</classname> är en basklass för <classname>Gio::SimpleActionGroup</" | ||
9839 | "classname>.) Lägg sedan till åtgärdsgruppen till ditt fönster med " | 9705 | "classname>.) Lägg sedan till åtgärdsgruppen till ditt fönster med " | ||
9840 | "<methodname>Gtk::Widget::insert_action_group()</methodname>." | 9706 | "<methodname>Gtk::Widget::insert_action_group()</methodname>." | ||
9841 | 9707 | ||||
9899 | msgid "Menubar and Toolbar" | 9765 | msgid "Menubar and Toolbar" | ||
9900 | msgstr "Menyrad och verktygsfält" | 9766 | msgstr "Menyrad och verktygsfält" | ||
9901 | 9767 | ||||
9902 | #. (itstool) path: section/para | 9768 | #. (itstool) path: section/para | ||
9903 | #: C/index-in.docbook:4033 | 9769 | #: C/index-in.docbook:4033 | ||
n | 9904 | #, fuzzy | n | ||
9905 | msgid "" | 9770 | msgid "" | ||
9906 | "Next you should create a <classname>Gtk::Builder</classname>. At this point " | 9771 | "Next you should create a <classname>Gtk::Builder</classname>. At this point " | ||
9907 | "is also a good idea to tell the application to respond to keyboard " | 9772 | "is also a good idea to tell the application to respond to keyboard " | ||
9908 | "shortcuts, by using <methodname>Gtk::Application::set_accel_for_action()</" | 9773 | "shortcuts, by using <methodname>Gtk::Application::set_accel_for_action()</" | ||
9909 | "methodname>." | 9774 | "methodname>." | ||
9910 | msgstr "" | 9775 | msgstr "" | ||
n | 9911 | "Härnäst bör du skapa en <classname>Gtk::Builder</classname>. Vid detta " | n | 9776 | "Härnäst ska du skapa en <classname>Gtk::Builder</classname>. Vid detta " |
9912 | "tillfälle är det också en bra idé att säga till programmet att svara på " | 9777 | "tillfälle är det också en bra idé att säga till programmet att svara på " | ||
9913 | "tangentbordsgenvägar genom att använda <methodname>Gtk::Application::" | 9778 | "tangentbordsgenvägar genom att använda <methodname>Gtk::Application::" | ||
9914 | "set_accel_for_action()</methodname>." | 9779 | "set_accel_for_action()</methodname>." | ||
9915 | 9780 | ||||
9916 | #. (itstool) path: section/para | 9781 | #. (itstool) path: section/para | ||
10034 | msgid "" | 9899 | msgid "" | ||
10035 | "This is where we specify the names of the menu items as they will be seen by " | 9900 | "This is where we specify the names of the menu items as they will be seen by " | ||
10036 | "users in the menu. Therefore, this is where you should make strings " | 9901 | "users in the menu. Therefore, this is where you should make strings " | ||
10037 | "translatable, by adding <literal>translatable='yes'</literal>." | 9902 | "translatable, by adding <literal>translatable='yes'</literal>." | ||
10038 | msgstr "" | 9903 | msgstr "" | ||
n | 10039 | "Här är var vi anger namnen för menyobjekten som de kommer ses av användare i " | n | 9904 | "Här anger vi namnen för menyobjekten som de kommer ses av användare i menyn. " |
10040 | "menyn. Det är därför här som du ska göra strängar översättbara genom att " | 9905 | "Det är därför här som du ska göra strängar översättbara genom att lägga till " | ||
10041 | "lägga till <literal>translatable='yes'</literal>." | 9906 | "<literal>translatable='yes'</literal>." | ||
10042 | 9907 | ||||
10043 | #. (itstool) path: section/para | 9908 | #. (itstool) path: section/para | ||
10044 | #: C/index-in.docbook:4105 | 9909 | #: C/index-in.docbook:4105 | ||
10045 | #, fuzzy | 9910 | #, fuzzy | ||
10046 | msgid "" | 9911 | msgid "" | ||
10163 | "To show the popup menu, use a <classname>Gtk::GestureClick</classname> and " | 10028 | "To show the popup menu, use a <classname>Gtk::GestureClick</classname> and " | ||
10164 | "connect to its <literal>pressed</literal> signal. In the signal handler, use " | 10029 | "connect to its <literal>pressed</literal> signal. In the signal handler, use " | ||
10165 | "<classname>Gtk::PopoverMenu</classname>'s <methodname>popup()</methodname> " | 10030 | "<classname>Gtk::PopoverMenu</classname>'s <methodname>popup()</methodname> " | ||
10166 | "method. For instance:" | 10031 | "method. For instance:" | ||
10167 | msgstr "" | 10032 | msgstr "" | ||
n | 10168 | "För att visa poppuppmenyn, använd en <classname>Gtk::EventControllerClick</" | n | 10033 | "Använd för att visa poppuppmenyn en <classname>Gtk::EventControllerClick</" |
10169 | "classname> och anslut till dess <literal>pressed</literal>-signal. Använd i " | 10034 | "classname> och anslut till dess <literal>pressed</literal>-signal. Använd i " | ||
10170 | "signalhanteraren <classname>Gtk::PopoverMenu</classname>s " | 10035 | "signalhanteraren <classname>Gtk::PopoverMenu</classname>s " | ||
10171 | "<methodname>popup()</methodname>-metod. Till exempel:" | 10036 | "<methodname>popup()</methodname>-metod. Till exempel:" | ||
10172 | 10037 | ||||
10173 | #. (itstool) path: section/programlisting | 10038 | #. (itstool) path: section/programlisting | ||
10174 | #: C/index-in.docbook:4166 | 10039 | #: C/index-in.docbook:4166 | ||
10175 | #, fuzzy, no-wrap | 10040 | #, fuzzy, no-wrap | ||
n | n | 10041 | #| msgid "" | ||
10042 | #| "\n" | ||||
10043 | #| "void ExampleWindow::on_label_pressed(int /* n_press */, double x, double y)\ | ||||
> | n" | ||||
10044 | #| "{\n" | ||||
10045 | #| " const Gdk::Rectangle rect(x, y, 1, 1);\n" | ||||
10046 | #| " m_MenuPopup.set_pointing_to(rect);\n" | ||||
10047 | #| " m_MenuPopup.popup();\n" | ||||
10048 | #| "}" | ||||
10176 | msgid "" | 10049 | msgid "" | ||
10177 | "<code>void ExampleWindow::on_label_pressed(int /* n_press */, double x, double | 10050 | "<code>void ExampleWindow::on_label_pressed(int /* n_press */, double x, double | ||
> | y)\n" | > | y)\n" | ||
10178 | "{\n" | 10051 | "{\n" | ||
10179 | " const Gdk::Rectangle rect(x, y, 1, 1);\n" | 10052 | " const Gdk::Rectangle rect(x, y, 1, 1);\n" | ||
10180 | " m_MenuPopup.set_pointing_to(rect);\n" | 10053 | " m_MenuPopup.set_pointing_to(rect);\n" | ||
10239 | "det också lättare att skapa flyttbara program." | 10112 | "det också lättare att skapa flyttbara program." | ||
10240 | 10113 | ||||
10241 | #. (itstool) path: section/para | 10114 | #. (itstool) path: section/para | ||
10242 | #: C/index-in.docbook:4198 | 10115 | #: C/index-in.docbook:4198 | ||
10243 | #, fuzzy | 10116 | #, fuzzy | ||
n | n | 10117 | #| msgid "" | ||
10118 | #| "Resource bundles are created by the <link xlink:href=\"https://developer-" | ||||
10119 | #| "old.gnome.org/gio/stable/glib-compile-resources.html\">glib-compile-" | ||||
10120 | #| "resources</link> program which takes an xml file that describes the " | ||||
10121 | #| "bundle, and a set of files that the xml references. These are combined " | ||||
10122 | #| "into a binary resource bundle." | ||||
10244 | msgid "" | 10123 | msgid "" | ||
10245 | "Resource bundles are created by the <application>glib-compile-resources</" | 10124 | "Resource bundles are created by the <application>glib-compile-resources</" | ||
10246 | "application> program which takes an xml file that describes the bundle, and " | 10125 | "application> program which takes an xml file that describes the bundle, and " | ||
10247 | "a set of files that the xml references. These are combined into a binary " | 10126 | "a set of files that the xml references. These are combined into a binary " | ||
10248 | "resource bundle." | 10127 | "resource bundle." | ||
10252 | "link> som tar en xml-fil som beskriver bunten, och en uppsättning filer som " | 10131 | "link> som tar en xml-fil som beskriver bunten, och en uppsättning filer som " | ||
10253 | "xml-filen refererar till. Dessa kombineras till en binär resursbunt." | 10132 | "xml-filen refererar till. Dessa kombineras till en binär resursbunt." | ||
10254 | 10133 | ||||
10255 | #. (itstool) path: section/para | 10134 | #. (itstool) path: section/para | ||
10256 | #: C/index-in.docbook:4203 | 10135 | #: C/index-in.docbook:4203 | ||
n | 10257 | #, fuzzy | n | ||
10258 | #| msgid "" | ||||
10259 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
10260 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||||
10261 | msgid "" | 10136 | msgid "" | ||
10262 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 10137 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
10263 | "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | 10138 | "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||
10264 | msgstr "" | 10139 | msgstr "" | ||
n | 10265 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 10140 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
10266 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | 10141 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | ||
10267 | 10142 | ||||
10268 | #. (itstool) path: section/para | 10143 | #. (itstool) path: section/para | ||
10269 | #: C/index-in.docbook:4204 | 10144 | #: C/index-in.docbook:4204 | ||
10270 | #, fuzzy | 10145 | #, fuzzy | ||
10392 | "Klasser härleds från <classname>Gtk::Application</classname> och " | 10267 | "Klasser härleds från <classname>Gtk::Application</classname> och " | ||
10393 | "<classname>Gtk::ApplicationWindow</classname>." | 10268 | "<classname>Gtk::ApplicationWindow</classname>." | ||
10394 | 10269 | ||||
10395 | #. (itstool) path: figure/title | 10270 | #. (itstool) path: figure/title | ||
10396 | #: C/index-in.docbook:4256 | 10271 | #: C/index-in.docbook:4256 | ||
n | 10397 | #, fuzzy | n | ||
10398 | msgid "App and Main Menu" | 10272 | msgid "App and Main Menu" | ||
10399 | msgstr "Program- och huvudmeny" | 10273 | msgstr "Program- och huvudmeny" | ||
10400 | 10274 | ||||
10401 | #. (itstool) path: imageobject/imagedata | 10275 | #. (itstool) path: imageobject/imagedata | ||
10402 | #. This is a reference to an external file such as an image or video. When | 10276 | #. This is a reference to an external file such as an image or video. When | ||
10425 | msgid "Main Menu example" | 10299 | msgid "Main Menu example" | ||
10426 | msgstr "Exempel på huvudmeny" | 10300 | msgstr "Exempel på huvudmeny" | ||
10427 | 10301 | ||||
10428 | #. (itstool) path: section/para | 10302 | #. (itstool) path: section/para | ||
10429 | #: C/index-in.docbook:4268 | 10303 | #: C/index-in.docbook:4268 | ||
n | 10430 | #, fuzzy | n | ||
10431 | msgid "" | 10304 | msgid "" | ||
10432 | "This program contains a menubar and a toolbar. A class is derived from " | 10305 | "This program contains a menubar and a toolbar. A class is derived from " | ||
10433 | "<classname>Gtk::Window</classname>." | 10306 | "<classname>Gtk::Window</classname>." | ||
10434 | msgstr "" | 10307 | msgstr "" | ||
n | 10435 | "Detta program innehåller en menyrad och ett verktygsfält. En klass är " | n | 10308 | "Detta program innehåller en menyrad och ett verktygsfält. En klass härleds " |
10436 | "härledd från <classname>Gtk::Window</classname>." | 10309 | "från <classname>Gtk::Window</classname>." | ||
10437 | 10310 | ||||
10438 | #. (itstool) path: figure/title | 10311 | #. (itstool) path: figure/title | ||
10439 | #: C/index-in.docbook:4274 | 10312 | #: C/index-in.docbook:4274 | ||
10440 | msgid "Main Menu" | 10313 | msgid "Main Menu" | ||
10441 | msgstr "Huvudmeny" | 10314 | msgstr "Huvudmeny" | ||
10513 | "display some adjustable part of a larger area, such as the " | 10386 | "display some adjustable part of a larger area, such as the " | ||
10514 | "<classname>Viewport</classname> widget. These widgets have <classname>Gtk::" | 10387 | "<classname>Viewport</classname> widget. These widgets have <classname>Gtk::" | ||
10515 | "Adjustment</classname> objects that express this common part of their API." | 10388 | "Adjustment</classname> objects that express this common part of their API." | ||
10516 | msgstr "" | 10389 | msgstr "" | ||
10517 | "<application>gtkmm</application> har olika komponenter som kan visuellt " | 10390 | "<application>gtkmm</application> har olika komponenter som kan visuellt " | ||
n | 10518 | "justeras med musern eller tangentbordet, som <classname>Range</classname>-" | n | 10391 | "justeras med musen eller tangentbordet, som <classname>Range</classname>-" |
10519 | "komponenterna (beskrivna i avsnittet <link linkend=\"chapter-range-" | 10392 | "komponenterna (beskrivna i avsnittet <link linkend=\"chapter-range-" | ||
10520 | "widgets\">Range-komponenter</link>). Det finns också några komponenter som " | 10393 | "widgets\">Range-komponenter</link>). Det finns också några komponenter som " | ||
10521 | "visar en justerbar del av ett större område, som <classname>Viewport</" | 10394 | "visar en justerbar del av ett större område, som <classname>Viewport</" | ||
10522 | "classname>-komponenten. Dessa komponenter har <classname>Gtk::Adjustment</" | 10395 | "classname>-komponenten. Dessa komponenter har <classname>Gtk::Adjustment</" | ||
10523 | "classname>-objekt som uttrycker denna gemensamma del av deras API." | 10396 | "classname>-objekt som uttrycker denna gemensamma del av deras API." | ||
10601 | "<parameter>upper</parameter> anger det möjliga värdeintervallet som " | 10474 | "<parameter>upper</parameter> anger det möjliga värdeintervallet som " | ||
10602 | "justeringen kan hålla. Argumentet <parameter>step_increment</parameter> " | 10475 | "justeringen kan hålla. Argumentet <parameter>step_increment</parameter> " | ||
10603 | "anger den mindre av de två ökningar som användaren kan ändra värdet med, " | 10476 | "anger den mindre av de två ökningar som användaren kan ändra värdet med, " | ||
10604 | "medan <parameter>page_increment</parameter> är den större. Argumentet " | 10477 | "medan <parameter>page_increment</parameter> är den större. Argumentet " | ||
10605 | "<parameter>page_size</parameter> motsvarar vanligen på något vis det synliga " | 10478 | "<parameter>page_size</parameter> motsvarar vanligen på något vis det synliga " | ||
n | 10606 | "området för en panoreringskomponen. Argumentet <parameter>upper</parameter> " | n | 10479 | "området för en panoreringskomponent. Argumentet <parameter>upper</parameter> " |
10607 | "används för att representera koordinaten längst ner eller till höger i en " | 10480 | "används för att representera koordinaten längst ner eller till höger i en " | ||
10608 | "panoreringskomponents underordnade." | 10481 | "panoreringskomponents underordnade." | ||
10609 | 10482 | ||||
10610 | #. (itstool) path: section/title | 10483 | #. (itstool) path: section/title | ||
10611 | #: C/index-in.docbook:4355 | 10484 | #: C/index-in.docbook:4355 | ||
10620 | "The adjustable widgets can be roughly divided into those which use and " | 10493 | "The adjustable widgets can be roughly divided into those which use and " | ||
10621 | "require specific units for these values, and those which treat them as " | 10494 | "require specific units for these values, and those which treat them as " | ||
10622 | "arbitrary numbers." | 10495 | "arbitrary numbers." | ||
10623 | msgstr "" | 10496 | msgstr "" | ||
10624 | "De justerbara komponenterna kan i stort delas upp i de som använder och " | 10497 | "De justerbara komponenterna kan i stort delas upp i de som använder och " | ||
n | 10625 | "kräver specifila enheter för dessa värden, och de som behandlar dem som " | n | 10498 | "kräver specifika enheter för dessa värden, och de som behandlar dem som " |
10626 | "godtyckliga tal." | 10499 | "godtyckliga tal." | ||
10627 | 10500 | ||||
10628 | #. (itstool) path: section/para | 10501 | #. (itstool) path: section/para | ||
10629 | #: C/index-in.docbook:4362 | 10502 | #: C/index-in.docbook:4362 | ||
10630 | #, fuzzy | 10503 | #, fuzzy | ||
10710 | "and <methodname>set_value()</methodname> methods:" | 10583 | "and <methodname>set_value()</methodname> methods:" | ||
10711 | msgstr "" | 10584 | msgstr "" | ||
10712 | "OK, då säger du att det var väl fint, men om jag vill skapa mina egna " | 10585 | "OK, då säger du att det var väl fint, men om jag vill skapa mina egna " | ||
10713 | "hanterare för att svara när användaren justerar en <classname>Range</" | 10586 | "hanterare för att svara när användaren justerar en <classname>Range</" | ||
10714 | "classname>-komponent eller en <classname>SpinButton</classname> då? För att " | 10587 | "classname>-komponent eller en <classname>SpinButton</classname> då? För att " | ||
n | 10715 | "komma åt värdet på en <classname>Gtk::Adjustment</classname>, kan du använda " | n | 10588 | "komma åt värdet på en <classname>Gtk::Adjustment</classname> kan du använda " |
10716 | "metoderna <methodname>get_value()</methodname> och <methodname>set_value()</" | 10589 | "metoderna <methodname>get_value()</methodname> och <methodname>set_value()</" | ||
10717 | "methodname>:" | 10590 | "methodname>:" | ||
10718 | 10591 | ||||
10719 | #. (itstool) path: section/para | 10592 | #. (itstool) path: section/para | ||
10720 | #: C/index-in.docbook:4406 | 10593 | #: C/index-in.docbook:4406 | ||
10836 | "used in <application>gtkmm</application>4 applications, provided " | 10709 | "used in <application>gtkmm</application>4 applications, provided " | ||
10837 | "GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some " | 10710 | "GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some " | ||
10838 | "of the dialog classes are replaced by classes that are available since " | 10711 | "of the dialog classes are replaced by classes that are available since " | ||
10839 | "<application>gtkmm</application> 4.10." | 10712 | "<application>gtkmm</application> 4.10." | ||
10840 | msgstr "" | 10713 | msgstr "" | ||
n | n | 10714 | "<classname>Gtk::Dialog</classname> och klasserna som härleds från den är " | ||
10715 | "föråldrade sedan <application>gtkmm</application> 4.10. De kan fortfarande " | ||||
10716 | "användas i <application>gtkmm</application>4-program, förutsatt att " | ||||
10717 | "GTKMM_DISABLE_DEPRECATED och GDKMM_DISABLE_DEPRECATED inte har definierats. " | ||||
10718 | "Några av dialogklasserna ersätts av klasser som finns tillgängliga sedan " | ||||
10719 | "<application>gtkmm</application> 4.10." | ||||
10841 | 10720 | ||||
10842 | #. (itstool) path: note/para | 10721 | #. (itstool) path: note/para | ||
10843 | #: C/index-in.docbook:4464 | 10722 | #: C/index-in.docbook:4464 | ||
10844 | msgid "" | 10723 | msgid "" | ||
10845 | "The examples in this chapter use classes that are available since " | 10724 | "The examples in this chapter use classes that are available since " | ||
10846 | "<application>gtkmm</application> 4.10. Similar examples with the deprecated " | 10725 | "<application>gtkmm</application> 4.10. Similar examples with the deprecated " | ||
10847 | "classes are available in the <link xlink:href=\"https://gitlab.gnome.org/" | 10726 | "classes are available in the <link xlink:href=\"https://gitlab.gnome.org/" | ||
10848 | "GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> gtkmm-4-0 " | 10727 | "GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> gtkmm-4-0 " | ||
10849 | "branch</link> in the git repository." | 10728 | "branch</link> in the git repository." | ||
10850 | msgstr "" | 10729 | msgstr "" | ||
n | n | 10730 | "Exemplen i detta kapitel använder klasser som finns tillgängliga sedan " | ||
10731 | "<application>gtkmm</application> 4.10. Liknande exempel med de föråldrade " | ||||
10732 | "klasserna finns tillgängliga i <link xlink:href=\"https://gitlab.gnome.org/" | ||||
10733 | "GNOME/gtkmm-documentation/tree/gtkmm-4-0/examples/book/dialogs/\"> grenen " | ||||
10734 | "gtkmm-4-0</link> i git-arkivet." | ||||
10851 | 10735 | ||||
10852 | #. (itstool) path: chapter/para | 10736 | #. (itstool) path: chapter/para | ||
10853 | #: C/index-in.docbook:4470 | 10737 | #: C/index-in.docbook:4470 | ||
10854 | #, fuzzy | 10738 | #, fuzzy | ||
10855 | msgid "" | 10739 | msgid "" | ||
10909 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | 10793 | "kunde det vara det anpassade svarsvärdet som du angivit när du använt " | ||
10910 | "<methodname>add_button()</methodname>." | 10794 | "<methodname>add_button()</methodname>." | ||
10911 | 10795 | ||||
10912 | #. (itstool) path: chapter/para | 10796 | #. (itstool) path: chapter/para | ||
10913 | #: C/index-in.docbook:4499 | 10797 | #: C/index-in.docbook:4499 | ||
n | 10914 | #, fuzzy | n | ||
10915 | msgid "" | 10798 | msgid "" | ||
10916 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | 10799 | "To show the dialog, call <methodname>set_visible(true)</methodname>. If the " | ||
10917 | "same dialog instance will be shown several times, you must also call " | 10800 | "same dialog instance will be shown several times, you must also call " | ||
10918 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | 10801 | "<methodname>set_hide_on_close()</methodname>, or else the dialog will be " | ||
10919 | "destroyed when it's closed. Connect to the <literal>response</literal> " | 10802 | "destroyed when it's closed. Connect to the <literal>response</literal> " | ||
10920 | "signal, if you want to know which button was pressed. The <literal>response</" | 10803 | "signal, if you want to know which button was pressed. The <literal>response</" | ||
10921 | "literal> signal handler is also where you should hide the dialog." | 10804 | "literal> signal handler is also where you should hide the dialog." | ||
10922 | msgstr "" | 10805 | msgstr "" | ||
n | 10923 | "För att visa dialogrutan, anropa <methodname>show()</methodname>. Om samma " | n | 10806 | "För att visa dialogrutan, anropa <methodname>set_visible(true)</methodname>. " |
10924 | "dialoginstans kommer visas flera gånger måste du också anropa " | 10807 | "Om samma dialoginstans kommer visas flera gånger måste du också anropa " | ||
10925 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | 10808 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | ||
10926 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | 10809 | "förstöras då den stängs. Anslut till <literal>response</literal>-signalen om " | ||
10927 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | 10810 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | ||
10928 | "signalhanteraren är också var du ska dölja dialogrutan." | 10811 | "signalhanteraren är också var du ska dölja dialogrutan." | ||
10929 | 10812 | ||||
10930 | #. (itstool) path: chapter/para | 10813 | #. (itstool) path: chapter/para | ||
10931 | #: C/index-in.docbook:4508 | 10814 | #: C/index-in.docbook:4508 | ||
n | 10932 | #, fuzzy | n | ||
10933 | #| msgid "" | ||||
10934 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
10935 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
10936 | msgid "" | 10815 | msgid "" | ||
10937 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10816 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10938 | "classGtk_1_1Dialog.html\">Reference</link>" | 10817 | "classGtk_1_1Dialog.html\">Reference</link>" | ||
10939 | msgstr "" | 10818 | msgstr "" | ||
n | 10940 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10819 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
10941 | "classGtk_1_1Dialog.html\">Referens</link>" | 10820 | "classGtk_1_1Dialog.html\">Referens</link>" | ||
10942 | 10821 | ||||
10943 | #. (itstool) path: section/title | 10822 | #. (itstool) path: section/title | ||
10944 | #: C/index-in.docbook:4511 | 10823 | #: C/index-in.docbook:4511 | ||
n | 10945 | #, fuzzy | n | ||
10946 | #| msgid "MessageDialog" | ||||
10947 | msgid "AlertDialog and MessageDialog" | 10824 | msgid "AlertDialog and MessageDialog" | ||
n | 10948 | msgstr "MessageDialog" | n | 10825 | msgstr "AlertDialog och MessageDialog" |
10949 | 10826 | ||||
10950 | #. (itstool) path: section/para | 10827 | #. (itstool) path: section/para | ||
10951 | #: C/index-in.docbook:4512 | 10828 | #: C/index-in.docbook:4512 | ||
10952 | msgid "" | 10829 | msgid "" | ||
10953 | "<classname>MessageDialog</classname> (deprecated since <application>gtkmm</" | 10830 | "<classname>MessageDialog</classname> (deprecated since <application>gtkmm</" | ||
10954 | "application> 4.10) and <classname>AlertDialog</classname> (available since " | 10831 | "application> 4.10) and <classname>AlertDialog</classname> (available since " | ||
10955 | "<application>gtkmm</application> 4.10) are convenience classes, used to " | 10832 | "<application>gtkmm</application> 4.10) are convenience classes, used to " | ||
10956 | "create simple, standard message dialogs, with a message and buttons for user " | 10833 | "create simple, standard message dialogs, with a message and buttons for user " | ||
10957 | "response." | 10834 | "response." | ||
10958 | msgstr "" | 10835 | msgstr "" | ||
n | n | 10836 | "<classname>MessageDialog</classname> (föråldrad sedan <application>gtkmm</" | ||
10837 | "application> 4.10) och <classname>AlertDialog</classname> (tillgänglig sedan " | ||||
10838 | "<application>gtkmm</application> 4.10) är bekvämlighetsklasser som används " | ||||
10839 | "för att skapa enkla standardmeddelandedialoger, med ett meddelande och " | ||||
10840 | "knappar för användarsvar." | ||||
10959 | 10841 | ||||
10960 | #. (itstool) path: section/para | 10842 | #. (itstool) path: section/para | ||
10961 | #: C/index-in.docbook:4519 | 10843 | #: C/index-in.docbook:4519 | ||
n | 10962 | #, fuzzy | n | ||
10963 | #| msgid "" | ||||
10964 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
10965 | #| "classGtk_1_1AboutDialog.html\">Reference</link>" | ||||
10966 | msgid "" | 10844 | msgid "" | ||
10967 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10845 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10968 | "classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>" | 10846 | "classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>" | ||
10969 | msgstr "" | 10847 | msgstr "" | ||
n | 10970 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10848 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
10971 | "classGtk_1_1AboutDialog.html\">Referens</link>" | 10849 | "classGtk_1_1AlertDialog.html\">AlertDialog-referens</link>" | ||
10972 | 10850 | ||||
10973 | #. (itstool) path: section/para | 10851 | #. (itstool) path: section/para | ||
10974 | #: C/index-in.docbook:4520 | 10852 | #: C/index-in.docbook:4520 | ||
n | 10975 | #, fuzzy | n | ||
10976 | #| msgid "" | ||||
10977 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
10978 | #| "classGtk_1_1MessageDialog.html\">Reference</link>" | ||||
10979 | msgid "" | 10853 | msgid "" | ||
10980 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10854 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10981 | "classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>" | 10855 | "classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>" | ||
10982 | msgstr "" | 10856 | msgstr "" | ||
n | 10983 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10857 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
10984 | "classGtk_1_1MessageDialog.html\">Referens</link>" | 10858 | "classGtk_1_1MessageDialog.html\">MessageDialog-referens</link>" | ||
10985 | 10859 | ||||
10986 | #. (itstool) path: figure/title | 10860 | #. (itstool) path: figure/title | ||
10987 | #: C/index-in.docbook:4526 | 10861 | #: C/index-in.docbook:4526 | ||
n | 10988 | #, fuzzy | n | ||
10989 | #| msgid "AboutDialog" | ||||
10990 | msgid "AlertDialog" | 10862 | msgid "AlertDialog" | ||
n | 10991 | msgstr "AboutDialog" | n | 10863 | msgstr "AlertDialog" |
10992 | 10864 | ||||
10993 | #. (itstool) path: imageobject/imagedata | 10865 | #. (itstool) path: imageobject/imagedata | ||
10994 | #. This is a reference to an external file such as an image or video. When | 10866 | #. This is a reference to an external file such as an image or video. When | ||
10995 | #. the file changes, the md5 hash will change to let you know you need to | 10867 | #. the file changes, the md5 hash will change to let you know you need to | ||
10996 | #. update your localized copy. The msgstr is not used at all. Set it to | 10868 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11000 | msgctxt "_" | 10872 | msgctxt "_" | ||
11001 | msgid "" | 10873 | msgid "" | ||
11002 | "external ref='figures/dialogs_alertdialog.png' " | 10874 | "external ref='figures/dialogs_alertdialog.png' " | ||
11003 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | 10875 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
11004 | msgstr "" | 10876 | msgstr "" | ||
n | 11005 | "external ref='figures/dialogs_messagedialog.png' " | n | 10877 | "external ref='figures/dialogs_alertdialog.png' " |
11006 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 10878 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
11007 | 10879 | ||||
11008 | #. (itstool) path: section/para | 10880 | #. (itstool) path: section/para | ||
11009 | #: C/index-in.docbook:4532 | 10881 | #: C/index-in.docbook:4532 | ||
n | 11010 | #, fuzzy | n | ||
11011 | #| msgid "" | ||||
11012 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11013 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11014 | msgid "" | 10882 | msgid "" | ||
11015 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10883 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11016 | "master/examples/book/dialogs/alertdialog\">Source Code</link>" | 10884 | "master/examples/book/dialogs/alertdialog\">Source Code</link>" | ||
11017 | msgstr "" | 10885 | msgstr "" | ||
11018 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10886 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11019 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 10887 | "master/examples/book/dialogs/alertdialog\">Källkod</link>" |
11020 | 10888 | ||||
11021 | #. (itstool) path: section/title | 10889 | #. (itstool) path: section/title | ||
11022 | #: C/index-in.docbook:4537 | 10890 | #: C/index-in.docbook:4537 | ||
n | 11023 | #, fuzzy | n | ||
11024 | #| msgid "FileChooserDialog" | ||||
11025 | msgid "FileDialog and FileChooserDialog" | 10891 | msgid "FileDialog and FileChooserDialog" | ||
n | 11026 | msgstr "FileChooserDialog" | n | 10892 | msgstr "FileDialog och FileChooserDialog" |
11027 | 10893 | ||||
11028 | #. (itstool) path: section/para | 10894 | #. (itstool) path: section/para | ||
11029 | #: C/index-in.docbook:4538 | 10895 | #: C/index-in.docbook:4538 | ||
11030 | msgid "" | 10896 | msgid "" | ||
11031 | "The <classname>FileChooserDialog</classname> (deprecated since " | 10897 | "The <classname>FileChooserDialog</classname> (deprecated since " | ||
11032 | "<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> " | 10898 | "<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> " | ||
11033 | "(available since <application>gtkmm</application> 4.10) are suitable for use " | 10899 | "(available since <application>gtkmm</application> 4.10) are suitable for use " | ||
11034 | "with \"Open\" or \"Save\" menu items." | 10900 | "with \"Open\" or \"Save\" menu items." | ||
11035 | msgstr "" | 10901 | msgstr "" | ||
n | n | 10902 | "<classname>FileChooserDialog</classname> (föråldrad sedan " | ||
10903 | "<application>gtkmm</application> 4.10) och <classname>FileDialog</classname> " | ||||
10904 | "(tillgänglig sedan <application>gtkmm</application> 4.10) är lämpliga för " | ||||
10905 | "användning med menyobjekten ”Öppna” eller ”Spara”." | ||||
11036 | 10906 | ||||
11037 | #. (itstool) path: section/para | 10907 | #. (itstool) path: section/para | ||
11038 | #: C/index-in.docbook:4543 | 10908 | #: C/index-in.docbook:4543 | ||
n | 11039 | #, fuzzy | n | ||
11040 | #| msgid "" | ||||
11041 | #| "Most of the useful member methods for this class are actually in the " | ||||
11042 | #| "<classname>Gtk::FileChooser</classname> base class." | ||||
11043 | msgid "" | 10909 | msgid "" | ||
11044 | "Most of the useful member methods for <classname>FileChooserDialog</" | 10910 | "Most of the useful member methods for <classname>FileChooserDialog</" | ||
11045 | "classname> are actually in the <classname>Gtk::FileChooser</classname> base " | 10911 | "classname> are actually in the <classname>Gtk::FileChooser</classname> base " | ||
11046 | "class." | 10912 | "class." | ||
11047 | msgstr "" | 10913 | msgstr "" | ||
n | 11048 | "De flesta av de användbara medlemsmetoderna för denna klass är faktiskt i " | n | 10914 | "De flesta av de användbara medlemsmetoderna för " |
10915 | "<classname>FileChooserDialog</classname> finns faktiskt i basklassen " | ||||
11049 | "basklassen <classname>Gtk::FileChooser</classname>." | 10916 | "<classname>Gtk::FileChooser</classname>." | ||
11050 | 10917 | ||||
11051 | #. (itstool) path: section/para | 10918 | #. (itstool) path: section/para | ||
11052 | #: C/index-in.docbook:4548 | 10919 | #: C/index-in.docbook:4548 | ||
n | 11053 | #, fuzzy | n | ||
11054 | #| msgid "" | ||||
11055 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11056 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
11057 | msgid "" | 10920 | msgid "" | ||
11058 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10921 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11059 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | 10922 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||
11060 | msgstr "" | 10923 | msgstr "" | ||
n | 11061 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10924 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11062 | "classGtk_1_1Dialog.html\">Referens</link>" | 10925 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | ||
11063 | 10926 | ||||
n | n | 10927 | # TODO: FileChooseDialog Reference | ||
11064 | #. (itstool) path: section/para | 10928 | #. (itstool) path: section/para | ||
11065 | #: C/index-in.docbook:4549 | 10929 | #: C/index-in.docbook:4549 | ||
11066 | #, fuzzy | 10930 | #, fuzzy | ||
11067 | #| msgid "" | 10931 | #| msgid "" | ||
n | 11068 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10932 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11069 | #| "classGtk_1_1FileChooserDialog.html\">Reference</link>" | 10933 | #| "classGtk_1_1FileChooserDialog.html\">FileChooserDialogReference</link>" | ||
11070 | msgid "" | 10934 | msgid "" | ||
11071 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10935 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11072 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | 10936 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | ||
11073 | msgstr "" | 10937 | msgstr "" | ||
n | 11074 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10938 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11075 | "classGtk_1_1FileChooserDialog.html\">Referens</link>" | 10939 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog-referens</link>" | ||
11076 | 10940 | ||||
11077 | #. (itstool) path: figure/title | 10941 | #. (itstool) path: figure/title | ||
11078 | #: C/index-in.docbook:4555 | 10942 | #: C/index-in.docbook:4555 | ||
n | 11079 | #, fuzzy | n | ||
11080 | #| msgid "FileChooserDialog" | ||||
11081 | msgid "FileDialog" | 10943 | msgid "FileDialog" | ||
n | 11082 | msgstr "FileChooserDialog" | n | 10944 | msgstr "FileDialog" |
11083 | 10945 | ||||
11084 | #. (itstool) path: imageobject/imagedata | 10946 | #. (itstool) path: imageobject/imagedata | ||
11085 | #. This is a reference to an external file such as an image or video. When | 10947 | #. This is a reference to an external file such as an image or video. When | ||
11086 | #. the file changes, the md5 hash will change to let you know you need to | 10948 | #. the file changes, the md5 hash will change to let you know you need to | ||
11087 | #. update your localized copy. The msgstr is not used at all. Set it to | 10949 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11091 | msgctxt "_" | 10953 | msgctxt "_" | ||
11092 | msgid "" | 10954 | msgid "" | ||
11093 | "external ref='figures/dialogs_filedialog.png' " | 10955 | "external ref='figures/dialogs_filedialog.png' " | ||
11094 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10956 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
11095 | msgstr "" | 10957 | msgstr "" | ||
n | 11096 | "external ref='figures/dialogs_filechooser.png' " | n | 10958 | "external ref='figures/dialogs_filedialog.png' " |
11097 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10959 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
11098 | 10960 | ||||
11099 | #. (itstool) path: section/para | 10961 | #. (itstool) path: section/para | ||
11100 | #: C/index-in.docbook:4561 | 10962 | #: C/index-in.docbook:4561 | ||
n | 11101 | #, fuzzy | n | ||
11102 | #| msgid "" | ||||
11103 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11104 | #| "tree/master/examples/book/dialogs/filechooserdialog\">Source Code</link>" | ||||
11105 | msgid "" | 10963 | msgid "" | ||
11106 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10964 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11107 | "master/examples/book/dialogs/filedialog\">Source Code</link>" | 10965 | "master/examples/book/dialogs/filedialog\">Source Code</link>" | ||
11108 | msgstr "" | 10966 | msgstr "" | ||
11109 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10967 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11110 | "master/examples/book/dialogs/filechooserdialog\">Källkod</link>" | n | 10968 | "master/examples/book/dialogs/filedialog\">Källkod</link>" |
11111 | 10969 | ||||
11112 | #. (itstool) path: section/title | 10970 | #. (itstool) path: section/title | ||
11113 | #: C/index-in.docbook:4566 | 10971 | #: C/index-in.docbook:4566 | ||
n | 11114 | #, fuzzy | n | ||
11115 | #| msgid "ColorChooserDialog" | ||||
11116 | msgid "ColorDialog and ColorChooserDialog" | 10972 | msgid "ColorDialog and ColorChooserDialog" | ||
n | 11117 | msgstr "ColorChooserDialog" | n | 10973 | msgstr "ColorDialog och ColorChooserDialog" |
11118 | 10974 | ||||
11119 | #. (itstool) path: section/para | 10975 | #. (itstool) path: section/para | ||
11120 | #: C/index-in.docbook:4567 | 10976 | #: C/index-in.docbook:4567 | ||
11121 | msgid "" | 10977 | msgid "" | ||
11122 | "The <classname>ColorChooserDialog</classname> (deprecated since " | 10978 | "The <classname>ColorChooserDialog</classname> (deprecated since " | ||
11126 | "since <application>gtkmm</application> 4.10) and " | 10982 | "since <application>gtkmm</application> 4.10) and " | ||
11127 | "<classname>ColorDialogButton</classname> (available since " | 10983 | "<classname>ColorDialogButton</classname> (available since " | ||
11128 | "<application>gtkmm</application> 4.10) open a color selection dialog when it " | 10984 | "<application>gtkmm</application> 4.10) open a color selection dialog when it " | ||
11129 | "is clicked." | 10985 | "is clicked." | ||
11130 | msgstr "" | 10986 | msgstr "" | ||
n | n | 10987 | "<classname>ColorChooserDialog</classname> (föråldrad sedan " | ||
10988 | "<application>gtkmm</application> 4.10) och <classname>ColorDialog</" | ||||
10989 | "classname> (tillgänglig sedan <application>gtkmm</application> 4.10) låter " | ||||
10990 | "användaren välja en färg. <classname>ColorButton</classname> (föråldrad " | ||||
10991 | "sedan <application>gtkmm</application> 4.10) och " | ||||
10992 | "<classname>ColorDialogButton</classname> (tillgänglig sedan " | ||||
10993 | "<application>gtkmm</application> 4.10) öppnar en färgvalsdialog när de " | ||||
10994 | "klickas på." | ||||
11131 | 10995 | ||||
11132 | #. (itstool) path: section/para | 10996 | #. (itstool) path: section/para | ||
11133 | #: C/index-in.docbook:4575 | 10997 | #: C/index-in.docbook:4575 | ||
n | 11134 | #, fuzzy | n | ||
11135 | #| msgid "" | ||||
11136 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11137 | #| "classGtk_1_1ColorChooserDialog.html\">Reference</link>" | ||||
11138 | msgid "" | 10998 | msgid "" | ||
11139 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10999 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11140 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | 11000 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | ||
11141 | msgstr "" | 11001 | msgstr "" | ||
n | 11142 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11002 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11143 | "classGtk_1_1ColorChooserDialog.html\">Referens</link>" | 11003 | "classGtk_1_1ColorDialog.html\">ColorDialog-referens</link>" | ||
11144 | 11004 | ||||
11145 | #. (itstool) path: section/para | 11005 | #. (itstool) path: section/para | ||
11146 | #: C/index-in.docbook:4576 | 11006 | #: C/index-in.docbook:4576 | ||
n | 11147 | #, fuzzy | n | ||
11148 | #| msgid "" | ||||
11149 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11150 | #| "classGtk_1_1ColorChooserDialog.html\">Reference</link>" | ||||
11151 | msgid "" | 11007 | msgid "" | ||
11152 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11008 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11153 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | 11009 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | ||
11154 | msgstr "" | 11010 | msgstr "" | ||
n | 11155 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11011 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11156 | "classGtk_1_1ColorChooserDialog.html\">Referens</link>" | 11012 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog-referens</link>" | ||
11157 | 11013 | ||||
11158 | #. (itstool) path: figure/title | 11014 | #. (itstool) path: figure/title | ||
11159 | #: C/index-in.docbook:4582 | 11015 | #: C/index-in.docbook:4582 | ||
n | 11160 | #, fuzzy | n | ||
11161 | #| msgid "ColorChooserDialog" | ||||
11162 | msgid "ColorDialog" | 11016 | msgid "ColorDialog" | ||
n | 11163 | msgstr "ColorChooserDialog" | n | 11017 | msgstr "ColorDialog" |
11164 | 11018 | ||||
11165 | #. (itstool) path: imageobject/imagedata | 11019 | #. (itstool) path: imageobject/imagedata | ||
11166 | #. This is a reference to an external file such as an image or video. When | 11020 | #. This is a reference to an external file such as an image or video. When | ||
11167 | #. the file changes, the md5 hash will change to let you know you need to | 11021 | #. the file changes, the md5 hash will change to let you know you need to | ||
11168 | #. update your localized copy. The msgstr is not used at all. Set it to | 11022 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11172 | msgctxt "_" | 11026 | msgctxt "_" | ||
11173 | msgid "" | 11027 | msgid "" | ||
11174 | "external ref='figures/dialogs_colordialog.png' " | 11028 | "external ref='figures/dialogs_colordialog.png' " | ||
11175 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 11029 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
11176 | msgstr "" | 11030 | msgstr "" | ||
n | 11177 | "external ref='figures/dialogs_colorchooserdialog.png' " | n | 11031 | "external ref='figures/dialogs_colordialog.png' " |
11178 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 11032 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
11179 | 11033 | ||||
11180 | #. (itstool) path: section/para | 11034 | #. (itstool) path: section/para | ||
11181 | #: C/index-in.docbook:4588 | 11035 | #: C/index-in.docbook:4588 | ||
n | 11182 | #, fuzzy | n | ||
11183 | #| msgid "" | ||||
11184 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11185 | #| "tree/master/examples/book/dialogs/colorchooserdialog\">Source Code</link>" | ||||
11186 | msgid "" | 11036 | msgid "" | ||
11187 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11037 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11188 | "master/examples/book/dialogs/colordialog\">Source Code</link>" | 11038 | "master/examples/book/dialogs/colordialog\">Source Code</link>" | ||
11189 | msgstr "" | 11039 | msgstr "" | ||
11190 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11040 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11191 | "master/examples/book/dialogs/colorchooserdialog\">Källkod</link>" | n | 11041 | "master/examples/book/dialogs/colordialog\">Källkod</link>" |
11192 | 11042 | ||||
11193 | #. (itstool) path: section/title | 11043 | #. (itstool) path: section/title | ||
11194 | #: C/index-in.docbook:4593 | 11044 | #: C/index-in.docbook:4593 | ||
n | 11195 | #, fuzzy | n | ||
11196 | #| msgid "FontChooserDialog" | ||||
11197 | msgid "FontDialog and FontChooserDialog" | 11045 | msgid "FontDialog and FontChooserDialog" | ||
n | 11198 | msgstr "FontChooserDialog" | n | 11046 | msgstr "FontDialog och FontChooserDialog" |
11199 | 11047 | ||||
11200 | #. (itstool) path: section/para | 11048 | #. (itstool) path: section/para | ||
11201 | #: C/index-in.docbook:4594 | 11049 | #: C/index-in.docbook:4594 | ||
11202 | msgid "" | 11050 | msgid "" | ||
11203 | "The <classname>FontChooserDialog</classname> (deprecated since " | 11051 | "The <classname>FontChooserDialog</classname> (deprecated since " | ||
11206 | "choose a font. The <classname>FontButton</classname> (deprecated since " | 11054 | "choose a font. The <classname>FontButton</classname> (deprecated since " | ||
11207 | "<application>gtkmm</application> 4.10) and <classname>FontDialogButton</" | 11055 | "<application>gtkmm</application> 4.10) and <classname>FontDialogButton</" | ||
11208 | "classname> (available since <application>gtkmm</application> 4.10) open a " | 11056 | "classname> (available since <application>gtkmm</application> 4.10) open a " | ||
11209 | "font chooser dialog when it is clicked." | 11057 | "font chooser dialog when it is clicked." | ||
11210 | msgstr "" | 11058 | msgstr "" | ||
n | n | 11059 | "<classname>FontChooserDialog</classname> (föråldrad sedan " | ||
11060 | "<application>gtkmm</application> 4.10) och <classname>FontDialog</classname> " | ||||
11061 | "(tillgänglig sedan <application>gtkmm</application> 4.10) låter användaren " | ||||
11062 | "välja ett typsnitt. <classname>FontButton</classname> (föråldrad sedan " | ||||
11063 | "<application>gtkmm</application> 4.10) och <classname>FontDialogButton</" | ||||
11064 | "classname> (tillgänglig sedan <application>gtkmm</application> 4.10) öppnar " | ||||
11065 | "en typsnittvalsdialog när de klickas på." | ||||
11211 | 11066 | ||||
11212 | #. (itstool) path: section/para | 11067 | #. (itstool) path: section/para | ||
11213 | #: C/index-in.docbook:4602 | 11068 | #: C/index-in.docbook:4602 | ||
n | 11214 | #, fuzzy | n | ||
11215 | #| msgid "" | ||||
11216 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11217 | #| "classGtk_1_1AboutDialog.html\">Reference</link>" | ||||
11218 | msgid "" | 11069 | msgid "" | ||
11219 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11070 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11220 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | 11071 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | ||
11221 | msgstr "" | 11072 | msgstr "" | ||
n | 11222 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11073 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11223 | "classGtk_1_1AboutDialog.html\">Referens</link>" | 11074 | "classGtk_1_1FontDialog.html\">FontDialog-referens</link>" | ||
11224 | 11075 | ||||
11225 | #. (itstool) path: section/para | 11076 | #. (itstool) path: section/para | ||
11226 | #: C/index-in.docbook:4603 | 11077 | #: C/index-in.docbook:4603 | ||
n | 11227 | #, fuzzy | n | ||
11228 | #| msgid "" | ||||
11229 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11230 | #| "classGtk_1_1FontChooserDialog.html\">Reference</link>" | ||||
11231 | msgid "" | 11078 | msgid "" | ||
11232 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11079 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11233 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | 11080 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | ||
11234 | msgstr "" | 11081 | msgstr "" | ||
n | 11235 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11082 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11236 | "classGtk_1_1FontChooserDialog.html\">Referens</link>" | 11083 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog-referens</link>" | ||
11237 | 11084 | ||||
11238 | #. (itstool) path: figure/title | 11085 | #. (itstool) path: figure/title | ||
11239 | #: C/index-in.docbook:4609 | 11086 | #: C/index-in.docbook:4609 | ||
n | 11240 | #, fuzzy | n | ||
11241 | #| msgid "AboutDialog" | ||||
11242 | msgid "FontDialog" | 11087 | msgid "FontDialog" | ||
n | 11243 | msgstr "AboutDialog" | n | 11088 | msgstr "FontDialog" |
11244 | 11089 | ||||
11245 | #. (itstool) path: imageobject/imagedata | 11090 | #. (itstool) path: imageobject/imagedata | ||
11246 | #. This is a reference to an external file such as an image or video. When | 11091 | #. This is a reference to an external file such as an image or video. When | ||
11247 | #. the file changes, the md5 hash will change to let you know you need to | 11092 | #. the file changes, the md5 hash will change to let you know you need to | ||
11248 | #. update your localized copy. The msgstr is not used at all. Set it to | 11093 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11252 | msgctxt "_" | 11097 | msgctxt "_" | ||
11253 | msgid "" | 11098 | msgid "" | ||
11254 | "external ref='figures/dialogs_fontdialog.png' " | 11099 | "external ref='figures/dialogs_fontdialog.png' " | ||
11255 | "md5='e35e05429468fa8823416b8a0deff342'" | 11100 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11256 | msgstr "" | 11101 | msgstr "" | ||
n | 11257 | "external ref='figures/dialogs_fontchooserdialog.png' " | n | 11102 | "external ref='figures/dialogs_fontdialog.png' " |
11258 | "md5='e35e05429468fa8823416b8a0deff342'" | 11103 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11259 | 11104 | ||||
11260 | #. (itstool) path: section/para | 11105 | #. (itstool) path: section/para | ||
11261 | #: C/index-in.docbook:4615 | 11106 | #: C/index-in.docbook:4615 | ||
n | 11262 | #, fuzzy | n | ||
11263 | #| msgid "" | ||||
11264 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11265 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11266 | msgid "" | 11107 | msgid "" | ||
11267 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11108 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11268 | "master/examples/book/dialogs/fontdialog\">Source Code</link>" | 11109 | "master/examples/book/dialogs/fontdialog\">Source Code</link>" | ||
11269 | msgstr "" | 11110 | msgstr "" | ||
11270 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11111 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11271 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 11112 | "master/examples/book/dialogs/fontdialog\">Källkod</link>" |
11272 | 11113 | ||||
11273 | #. (itstool) path: section/title | 11114 | #. (itstool) path: section/title | ||
11274 | #: C/index-in.docbook:4620 | 11115 | #: C/index-in.docbook:4620 | ||
11275 | #, fuzzy | 11116 | #, fuzzy | ||
11276 | msgid "Non-modal AboutDialog" | 11117 | msgid "Non-modal AboutDialog" | ||
11307 | "icke-modala dialogrutor kan vara användbara i andra fall. Exempelvis är " | 11148 | "icke-modala dialogrutor kan vara användbara i andra fall. Exempelvis är " | ||
11308 | "<application>gedit</application>s sök-och-ersättdialog icke-modal." | 11149 | "<application>gedit</application>s sök-och-ersättdialog icke-modal." | ||
11309 | 11150 | ||||
11310 | #. (itstool) path: section/para | 11151 | #. (itstool) path: section/para | ||
11311 | #: C/index-in.docbook:4635 | 11152 | #: C/index-in.docbook:4635 | ||
n | 11312 | #, fuzzy | n | ||
11313 | #| msgid "" | ||||
11314 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11315 | #| "classGtk_1_1AboutDialog.html\">Reference</link>" | ||||
11316 | msgid "" | 11153 | msgid "" | ||
11317 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11154 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11318 | "classGtk_1_1AboutDialog.html\">Reference</link>" | 11155 | "classGtk_1_1AboutDialog.html\">Reference</link>" | ||
11319 | msgstr "" | 11156 | msgstr "" | ||
n | 11320 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11157 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11321 | "classGtk_1_1AboutDialog.html\">Referens</link>" | 11158 | "classGtk_1_1AboutDialog.html\">Referens</link>" | ||
11322 | 11159 | ||||
11323 | #. (itstool) path: figure/title | 11160 | #. (itstool) path: figure/title | ||
11324 | #: C/index-in.docbook:4641 | 11161 | #: C/index-in.docbook:4641 | ||
11325 | msgid "AboutDialog" | 11162 | msgid "AboutDialog" | ||
11350 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | 11187 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | ||
11351 | 11188 | ||||
11352 | #. (itstool) path: section/title | 11189 | #. (itstool) path: section/title | ||
11353 | #: C/index-in.docbook:4652 | 11190 | #: C/index-in.docbook:4652 | ||
11354 | #, fuzzy | 11191 | #, fuzzy | ||
n | 11355 | #| msgid "Custom Widget" | n | ||
11356 | msgid "Custom Dialog" | 11192 | msgid "Custom Dialog" | ||
n | 11357 | msgstr "Anpassad komponent" | n | 11193 | msgstr "Anpassad dialogruta" |
11358 | 11194 | ||||
11359 | #. (itstool) path: section/para | 11195 | #. (itstool) path: section/para | ||
11360 | #: C/index-in.docbook:4653 | 11196 | #: C/index-in.docbook:4653 | ||
n | n | 11197 | #, fuzzy | ||
11361 | msgid "" | 11198 | msgid "" | ||
11362 | "When none of the predefined dialog classes suit your needs, you can make " | 11199 | "When none of the predefined dialog classes suit your needs, you can make " | ||
11363 | "your own dialog by deriving a class from <classname>Window</classname> and " | 11200 | "your own dialog by deriving a class from <classname>Window</classname> and " | ||
11364 | "fill it with the widgets you need." | 11201 | "fill it with the widgets you need." | ||
11365 | msgstr "" | 11202 | msgstr "" | ||
n | n | 11203 | "Om ingen av de fördefinierade dialogklasserna passar för dina behov kan du " | ||
11204 | "skapa din egen dialogruta genom att härleda en klass från <classname>Window</" | ||||
11205 | "classname> och fylla den med komponenterna som du behöver." | ||||
11366 | 11206 | ||||
11367 | #. (itstool) path: section/para | 11207 | #. (itstool) path: section/para | ||
11368 | #: C/index-in.docbook:4659 | 11208 | #: C/index-in.docbook:4659 | ||
n | 11369 | #, fuzzy | n | ||
11370 | #| msgid "" | ||||
11371 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11372 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
11373 | msgid "" | 11209 | msgid "" | ||
11374 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11210 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11375 | "classGtk_1_1Window.html\">Window Reference</link>" | 11211 | "classGtk_1_1Window.html\">Window Reference</link>" | ||
11376 | msgstr "" | 11212 | msgstr "" | ||
n | 11377 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11213 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11378 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 11214 | "classGtk_1_1Window.html\">Window-referens</link>" | ||
11379 | 11215 | ||||
11380 | #. (itstool) path: figure/title | 11216 | #. (itstool) path: figure/title | ||
11381 | #: C/index-in.docbook:4665 | 11217 | #: C/index-in.docbook:4665 | ||
11382 | #, fuzzy | 11218 | #, fuzzy | ||
n | 11383 | #| msgid "Dialogs" | n | ||
11384 | msgid "Window Dialog" | 11219 | msgid "Window Dialog" | ||
n | 11385 | msgstr "Dialogrutor" | n | 11220 | msgstr "Fönsterdialog" |
11386 | 11221 | ||||
11387 | #. (itstool) path: imageobject/imagedata | 11222 | #. (itstool) path: imageobject/imagedata | ||
11388 | #. This is a reference to an external file such as an image or video. When | 11223 | #. This is a reference to an external file such as an image or video. When | ||
11389 | #. the file changes, the md5 hash will change to let you know you need to | 11224 | #. the file changes, the md5 hash will change to let you know you need to | ||
11390 | #. update your localized copy. The msgstr is not used at all. Set it to | 11225 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
11394 | msgctxt "_" | 11229 | msgctxt "_" | ||
11395 | msgid "" | 11230 | msgid "" | ||
11396 | "external ref='figures/dialogs_windowdialog.png' " | 11231 | "external ref='figures/dialogs_windowdialog.png' " | ||
11397 | "md5='53deb18153f6903fe45d015fc06ccef3'" | 11232 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11398 | msgstr "" | 11233 | msgstr "" | ||
n | 11399 | "external ref='figures/dialogs_messagedialog.png' " | n | 11234 | "external ref='figures/dialogs_windowdialog.png' " |
11400 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 11235 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11401 | 11236 | ||||
11402 | #. (itstool) path: section/para | 11237 | #. (itstool) path: section/para | ||
11403 | #: C/index-in.docbook:4671 | 11238 | #: C/index-in.docbook:4671 | ||
n | 11404 | #, fuzzy | n | ||
11405 | #| msgid "" | ||||
11406 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11407 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11408 | msgid "" | 11239 | msgid "" | ||
11409 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11240 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11410 | "master/examples/book/dialogs/windowdialog\">Source Code</link>" | 11241 | "master/examples/book/dialogs/windowdialog\">Source Code</link>" | ||
11411 | msgstr "" | 11242 | msgstr "" | ||
11412 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11243 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11413 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 11244 | "master/examples/book/dialogs/windowdialog\">Källkod</link>" |
11414 | 11245 | ||||
11415 | #. (itstool) path: chapter/title | 11246 | #. (itstool) path: chapter/title | ||
11416 | #: C/index-in.docbook:4678 | 11247 | #: C/index-in.docbook:4678 | ||
11417 | msgid "The DrawingArea Widget" | 11248 | msgid "The DrawingArea Widget" | ||
11418 | msgstr "DrawingArea-komponenten" | 11249 | msgstr "DrawingArea-komponenten" | ||
11485 | msgid "Cairo and Pango" | 11316 | msgid "Cairo and Pango" | ||
11486 | msgstr "Cairo och Pango" | 11317 | msgstr "Cairo och Pango" | ||
11487 | 11318 | ||||
11488 | #. (itstool) path: note/para | 11319 | #. (itstool) path: note/para | ||
11489 | #: C/index-in.docbook:4707 | 11320 | #: C/index-in.docbook:4707 | ||
n | 11490 | #, fuzzy | n | ||
11491 | msgid "" | 11321 | msgid "" | ||
11492 | "Although Cairo can render text, it's not meant to be a replacement for " | 11322 | "Although Cairo can render text, it's not meant to be a replacement for " | ||
11493 | "Pango. Pango is a better choice if you need to perform more advanced text " | 11323 | "Pango. Pango is a better choice if you need to perform more advanced text " | ||
11494 | "rendering such as wrapping or ellipsizing text. Drawing text with Cairo " | 11324 | "rendering such as wrapping or ellipsizing text. Drawing text with Cairo " | ||
11495 | "should only be done if the text is part of a graphic." | 11325 | "should only be done if the text is part of a graphic." | ||
11622 | "för att skapa ett <classname>Cairo::Context</classname>-objekt. De sista två " | 11452 | "för att skapa ett <classname>Cairo::Context</classname>-objekt. De sista två " | ||
11623 | "radera ändrar kontextens grafiktillstånd." | 11453 | "radera ändrar kontextens grafiktillstånd." | ||
11624 | 11454 | ||||
11625 | #. (itstool) path: section/para | 11455 | #. (itstool) path: section/para | ||
11626 | #: C/index-in.docbook:4761 | 11456 | #: C/index-in.docbook:4761 | ||
n | 11627 | #, fuzzy | n | ||
11628 | msgid "" | 11457 | msgid "" | ||
11629 | "There are a number of graphics state variables that can be set for a Cairo " | 11458 | "There are a number of graphics state variables that can be set for a Cairo " | ||
11630 | "context. The most common context attributes are color (using " | 11459 | "context. The most common context attributes are color (using " | ||
11631 | "<methodname>set_source_rgb()</methodname> or <methodname>set_source_rgba()</" | 11460 | "<methodname>set_source_rgb()</methodname> or <methodname>set_source_rgba()</" | ||
11632 | "methodname> for translucent colors), line width (using " | 11461 | "methodname> for translucent colors), line width (using " | ||
11641 | "cairographics.org/cairomm/\">cairomm</link> API documentation." | 11470 | "cairographics.org/cairomm/\">cairomm</link> API documentation." | ||
11642 | msgstr "" | 11471 | msgstr "" | ||
11643 | "Det finns ett antal grafiktillståndsvariabler som kan ställas in för en " | 11472 | "Det finns ett antal grafiktillståndsvariabler som kan ställas in för en " | ||
11644 | "Cairo-kontext. De vanligaste kontextattributen är färg (med " | 11473 | "Cairo-kontext. De vanligaste kontextattributen är färg (med " | ||
11645 | "<methodname>set_source_rgb()</methodname> eller " | 11474 | "<methodname>set_source_rgb()</methodname> eller " | ||
n | 11646 | "<methodname>set_source_rgba()</methodname> för genomskinliga färge), " | n | 11475 | "<methodname>set_source_rgba()</methodname> för genomskinliga färger), " |
11647 | "linjebredd (med <methodname>set_line_width()</methodname>), " | 11476 | "linjebredd (med <methodname>set_line_width()</methodname>), " | ||
11648 | "linjestreckningsmönster (med <methodname>set_dash()</methodname>), stil på " | 11477 | "linjestreckningsmönster (med <methodname>set_dash()</methodname>), stil på " | ||
11649 | "linjeände (med <methodname>set_line_cap()</methodname>), " | 11478 | "linjeände (med <methodname>set_line_cap()</methodname>), " | ||
11650 | "linjesammankopplingsstil (med <methodname>set_line_join()</methodname>) och " | 11479 | "linjesammankopplingsstil (med <methodname>set_line_join()</methodname>) och " | ||
11651 | "typsnittsstilar (med <methodname>set_font_size()</methodname>, " | 11480 | "typsnittsstilar (med <methodname>set_font_size()</methodname>, " | ||
11652 | "<methodname>set_font_face()</methodname> med flera). Det finns även många " | 11481 | "<methodname>set_font_face()</methodname> med flera). Det finns även många " | ||
11653 | "andra inställningar, såsom transformationsmatriser, fyllnadsregler, huruvida " | 11482 | "andra inställningar, såsom transformationsmatriser, fyllnadsregler, huruvida " | ||
11654 | "kantutjämning ska utföras med mera. För vidare information kan du se API-" | 11483 | "kantutjämning ska utföras med mera. För vidare information kan du se API-" | ||
n | 11655 | "documentationen för <link xlink:href=\"http://www.cairographics.org/cairomm/" | n | 11484 | "dokumentationen för <link xlink:href=\"http://www.cairographics.org/cairomm/" |
11656 | "\">cairomm</link>." | 11485 | "\">cairomm</link>." | ||
11657 | 11486 | ||||
11658 | #. (itstool) path: tip/para | 11487 | #. (itstool) path: tip/para | ||
11659 | #: C/index-in.docbook:4793 | 11488 | #: C/index-in.docbook:4793 | ||
n | 11660 | #, fuzzy | n | ||
11661 | msgid "" | 11489 | msgid "" | ||
11662 | "It is good practice to put all modifications to the graphics state between " | 11490 | "It is good practice to put all modifications to the graphics state between " | ||
11663 | "<methodname>save()</methodname>/<methodname>restore()</methodname> function " | 11491 | "<methodname>save()</methodname>/<methodname>restore()</methodname> function " | ||
11664 | "calls. For example, if you have a function that takes a <classname>Cairo::" | 11492 | "calls. For example, if you have a function that takes a <classname>Cairo::" | ||
11665 | "Context</classname> reference as an argument, you might implement it as " | 11493 | "Context</classname> reference as an argument, you might implement it as " | ||
11667 | msgstr "" | 11495 | msgstr "" | ||
11668 | "Det är god sed att stoppa alla ändringar till grafiktillståndet mellan " | 11496 | "Det är god sed att stoppa alla ändringar till grafiktillståndet mellan " | ||
11669 | "<methodname>save()</methodname>/<methodname>restore()</methodname>-" | 11497 | "<methodname>save()</methodname>/<methodname>restore()</methodname>-" | ||
11670 | "funktionsanrop. Om du exempelvis har en funktion som tar en " | 11498 | "funktionsanrop. Om du exempelvis har en funktion som tar en " | ||
11671 | "<classname>Cairo::Context</classname>-referens som ett argument kanske du " | 11499 | "<classname>Cairo::Context</classname>-referens som ett argument kanske du " | ||
n | 11672 | "implementerar den som följande:" | n | 11500 | "implementerar den enligt följande:" |
11673 | 11501 | ||||
11674 | #. (itstool) path: tip/programlisting | 11502 | #. (itstool) path: tip/programlisting | ||
11675 | #: C/index-in.docbook:4799 | 11503 | #: C/index-in.docbook:4799 | ||
11676 | #, fuzzy, no-wrap | 11504 | #, fuzzy, no-wrap | ||
n | n | 11505 | #| msgid "" | ||
11506 | #| "void doSomething(const Cairo::RefPtr<Cairo::Context>& context, int | ||||
> | x)\n" | ||||
11507 | #| "{\n" | ||||
11508 | #| " context->save();\n" | ||||
11509 | #| " // change graphics state\n" | ||||
11510 | #| " // perform drawing operations\n" | ||||
11511 | #| " context->restore();\n" | ||||
11512 | #| "}" | ||||
11677 | msgid "" | 11513 | msgid "" | ||
11678 | "<code>void doSomething(const Cairo::RefPtr<Cairo::Context>& context, | 11514 | "<code>void doSomething(const Cairo::RefPtr<Cairo::Context>& context, | ||
> | int x)\n" | > | int x)\n" | ||
11679 | "{\n" | 11515 | "{\n" | ||
11680 | " context->save();\n" | 11516 | " context->save();\n" | ||
11681 | " // change graphics state\n" | 11517 | " // change graphics state\n" | ||
11712 | "Aktuellt tillstånd för en <classname>Cairo::Context</classname> kan sparas " | 11548 | "Aktuellt tillstånd för en <classname>Cairo::Context</classname> kan sparas " | ||
11713 | "till en intern stack med sparade tillstånd och sedan återställas till " | 11549 | "till en intern stack med sparade tillstånd och sedan återställas till " | ||
11714 | "tillståndet den var i när du sparade den. För att göra detta använder du " | 11550 | "tillståndet den var i när du sparade den. För att göra detta använder du " | ||
11715 | "metoderna <methodname>save()</methodname> och <methodname>restore()</" | 11551 | "metoderna <methodname>save()</methodname> och <methodname>restore()</" | ||
11716 | "methodname>. Detta kan vara användbart om du tillfälligt behöver ändra " | 11552 | "methodname>. Detta kan vara användbart om du tillfälligt behöver ändra " | ||
n | 11717 | "linjebredden och färgen (eller någonn annan grafikinställning) för att rita " | n | 11553 | "linjebredden och färgen (eller någon annan grafikinställning) för att rita " |
11718 | "något och sedan återgå till de tidigare inställningarna. I denna situation " | 11554 | "något och sedan återgå till de tidigare inställningarna. I denna situation " | ||
11719 | "bör du anropa <methodname>Cairo::Context::save()</methodname>, ändra " | 11555 | "bör du anropa <methodname>Cairo::Context::save()</methodname>, ändra " | ||
11720 | "grafikinställningarna, rita linjerna, och sedan anropa <methodname>Cairo::" | 11556 | "grafikinställningarna, rita linjerna, och sedan anropa <methodname>Cairo::" | ||
11721 | "Context::restore()</methodname> för att återställa det ursprungliga " | 11557 | "Context::restore()</methodname> för att återställa det ursprungliga " | ||
11722 | "grafiktillståndet. Flera anrop till <methodname>save()</methodname> och " | 11558 | "grafiktillståndet. Flera anrop till <methodname>save()</methodname> och " | ||
11724 | "<methodname>restore()</methodname> återställer tillståndet från den " | 11560 | "<methodname>restore()</methodname> återställer tillståndet från den " | ||
11725 | "matchande <methodname>save()</methodname> i paret. <_:tip-1/>" | 11561 | "matchande <methodname>save()</methodname> i paret. <_:tip-1/>" | ||
11726 | 11562 | ||||
11727 | #. (itstool) path: section/para | 11563 | #. (itstool) path: section/para | ||
11728 | #: C/index-in.docbook:4808 | 11564 | #: C/index-in.docbook:4808 | ||
n | 11729 | #, fuzzy | n | ||
11730 | msgid "" | 11565 | msgid "" | ||
11731 | "The draw function that you set with a call to <methodname>set_draw_func()</" | 11566 | "The draw function that you set with a call to <methodname>set_draw_func()</" | ||
11732 | "methodname> is called with a Cairo context that you shall use for drawing in " | 11567 | "methodname> is called with a Cairo context that you shall use for drawing in " | ||
11733 | "the <classname>Gtk::DrawingArea</classname> widget. It is not necessary to " | 11568 | "the <classname>Gtk::DrawingArea</classname> widget. It is not necessary to " | ||
11734 | "save and restore this Cairo context in the draw function." | 11569 | "save and restore this Cairo context in the draw function." | ||
11758 | "or some other mapping that works for your application. This can be done with " | 11593 | "or some other mapping that works for your application. This can be done with " | ||
11759 | "the <methodname>Cairo::Context::scale()</methodname> function." | 11594 | "the <methodname>Cairo::Context::scale()</methodname> function." | ||
11760 | msgstr "" | 11595 | msgstr "" | ||
11761 | "Eftersom Cairo-grafikbiblioteket skrivits med stöd för flera utmatningsmål " | 11596 | "Eftersom Cairo-grafikbiblioteket skrivits med stöd för flera utmatningsmål " | ||
11762 | "(X-fönstersystemet, PNG-bilder, OpenGL o.s.v.), så görs skillnad mellan " | 11597 | "(X-fönstersystemet, PNG-bilder, OpenGL o.s.v.), så görs skillnad mellan " | ||
n | 11763 | "koordinater i användar- och enhetsrymedn. Mappningen mellan dessa två " | n | 11598 | "koordinater i användar- och enhetsrymden. Mappningen mellan dessa två " |
11764 | "koordinatsystem är som standard ett-till-ett så att heltalsvärden grovt " | 11599 | "koordinatsystem är som standard ett-till-ett så att heltalsvärden grovt " | ||
11765 | "motsvarar bildpunkter på skärmen, men denna inställning kan justeras om så " | 11600 | "motsvarar bildpunkter på skärmen, men denna inställning kan justeras om så " | ||
11766 | "önskas. Ibland kan det vara användbart att skala koordinaterna så att hela " | 11601 | "önskas. Ibland kan det vara användbart att skala koordinaterna så att hela " | ||
11767 | "bredden och höjden för ett fönster båda har intervallet 0 till 1 " | 11602 | "bredden och höjden för ett fönster båda har intervallet 0 till 1 " | ||
11768 | "(”enhetskvadraten”) eller någon annan mappning som fungerar för ditt " | 11603 | "(”enhetskvadraten”) eller någon annan mappning som fungerar för ditt " | ||
11769 | "program. Detta kan göras med funktionen <methodname>Cairo::Context::scale()</" | 11604 | "program. Detta kan göras med funktionen <methodname>Cairo::Context::scale()</" | ||
11770 | "methodname>." | 11605 | "methodname>." | ||
11771 | 11606 | ||||
11772 | #. (itstool) path: section/para | 11607 | #. (itstool) path: section/para | ||
11773 | #: C/index-in.docbook:4817 | 11608 | #: C/index-in.docbook:4817 | ||
n | 11774 | #, fuzzy | n | ||
11775 | msgid "" | 11609 | msgid "" | ||
11776 | "Now that we understand the basics of the Cairo graphics library, we're " | 11610 | "Now that we understand the basics of the Cairo graphics library, we're " | ||
11777 | "almost ready to start drawing. We'll start with the simplest of drawing " | 11611 | "almost ready to start drawing. We'll start with the simplest of drawing " | ||
11778 | "elements: the straight line. But first you need to know a little bit about " | 11612 | "elements: the straight line. But first you need to know a little bit about " | ||
11779 | "Cairo's coordinate system. The origin of the Cairo coordinate system is " | 11613 | "Cairo's coordinate system. The origin of the Cairo coordinate system is " | ||
11780 | "located in the upper-left corner of the window with positive x values to the " | 11614 | "located in the upper-left corner of the window with positive x values to the " | ||
11781 | "right and positive y values going down. <_:tip-1/>" | 11615 | "right and positive y values going down. <_:tip-1/>" | ||
11782 | msgstr "" | 11616 | msgstr "" | ||
11783 | "Nu då vi förstå grunderna hos Cairo-grafikbiblioteket är vi nästan klara att " | 11617 | "Nu då vi förstå grunderna hos Cairo-grafikbiblioteket är vi nästan klara att " | ||
11784 | "börja rita. Vi börjar med det enklaste av ritelement: den raka linjen. Men " | 11618 | "börja rita. Vi börjar med det enklaste av ritelement: den raka linjen. Men " | ||
n | 11785 | "först behöver de veta lite om Cairos koordinatsystem. Origo för Cairos " | n | 11619 | "först behöver du känna till lite om Cairos koordinatsystem. Origo för Cairos " |
11786 | "koordinatsystem finns i fönstrets övre vänstra hörn med positiva x-värden " | 11620 | "koordinatsystem finns i fönstrets övre vänstra hörn med positiva x-värden " | ||
n | 11787 | "till höger och positive y-värden nedåt. <_:tip-1/>" | n | 11621 | "till höger och positiva y-värden nedåt. <_:tip-1/>" |
11788 | 11622 | ||||
11789 | #. (itstool) path: section/para | 11623 | #. (itstool) path: section/para | ||
11790 | #: C/index-in.docbook:4841 | 11624 | #: C/index-in.docbook:4841 | ||
11791 | #, fuzzy | 11625 | #, fuzzy | ||
11792 | msgid "" | 11626 | msgid "" | ||
11819 | "<methodname>stroke()</methodname> which will stroke the current path with " | 11653 | "<methodname>stroke()</methodname> which will stroke the current path with " | ||
11820 | "the line width and style specified in your <classname>Cairo::Context</" | 11654 | "the line width and style specified in your <classname>Cairo::Context</" | ||
11821 | "classname> object. After stroking, the current path will be cleared so that " | 11655 | "classname> object. After stroking, the current path will be cleared so that " | ||
11822 | "you can start on your next path." | 11656 | "you can start on your next path." | ||
11823 | msgstr "" | 11657 | msgstr "" | ||
n | 11824 | "Efter du slutat skapa din bana har du fortfarande inte ritat något som är " | n | 11658 | "Efter att du slutat skapa din bana har du fortfarande inte ritat något som " |
11825 | "synligt. För att göra banan synlig måste du använda banan " | 11659 | "är synligt. För att göra banan synlig måste du använda funktionen " | ||
11826 | "<methodname>stroke()</methodname> som kommer stryka den aktuella banan med " | 11660 | "<methodname>stroke()</methodname> som kommer stryka den aktuella banan med " | ||
11827 | "linjebredden och stilen som angivits i ditt <classname>Cairo::Context</" | 11661 | "linjebredden och stilen som angivits i ditt <classname>Cairo::Context</" | ||
11828 | "classname>-objekt. Efter att hu strukit kommer den aktuella banan rensas så " | 11662 | "classname>-objekt. Efter att hu strukit kommer den aktuella banan rensas så " | ||
11829 | "du kan börja på din nästa bana." | 11663 | "du kan börja på din nästa bana." | ||
11830 | 11664 | ||||
11893 | "functions <methodname>move_to()</methodname> and <methodname>line_to()</" | 11727 | "functions <methodname>move_to()</methodname> and <methodname>line_to()</" | ||
11894 | "methodname>, and then stroked this path with <methodname>stroke()</" | 11728 | "methodname>, and then stroked this path with <methodname>stroke()</" | ||
11895 | "methodname>." | 11729 | "methodname>." | ||
11896 | msgstr "" | 11730 | msgstr "" | ||
11897 | "Detta program innehåller en ensam klass, <classname>MyArea</classname>, som " | 11731 | "Detta program innehåller en ensam klass, <classname>MyArea</classname>, som " | ||
n | 11898 | "är en underkalss till <classname>Gtk::DrawingArea</classname> och innehåller " | n | 11732 | "är en underklass till <classname>Gtk::DrawingArea</classname> och innehåller " |
11899 | "en <methodname>on_draw()</methodname>-medlemsfunktion. Denna funktion blir " | 11733 | "en <methodname>on_draw()</methodname>-medlemsfunktion. Denna funktion blir " | ||
11900 | "ritfunktionen av ett anrop till <methodname>set_draw_func()</methodname> i " | 11734 | "ritfunktionen av ett anrop till <methodname>set_draw_func()</methodname> i " | ||
11901 | "<classname>MyArea</classname>s konstruktor. <methodname>on_draw()</" | 11735 | "<classname>MyArea</classname>s konstruktor. <methodname>on_draw()</" | ||
11902 | "methodname> anropas sedan närhelst bilden i ritytan behöver ritas om. Den " | 11736 | "methodname> anropas sedan närhelst bilden i ritytan behöver ritas om. Den " | ||
11903 | "skickas en <classname>Cairo::RefPtr</classname>-pekare till en " | 11737 | "skickas en <classname>Cairo::RefPtr</classname>-pekare till en " | ||
11904 | "<classname>Cairo::Context</classname> som vi använder för ritandet. Koden " | 11738 | "<classname>Cairo::Context</classname> som vi använder för ritandet. Koden " | ||
11905 | "som faktiskt ritar ställer in färgen vi vill använda för ritandet genom att " | 11739 | "som faktiskt ritar ställer in färgen vi vill använda för ritandet genom att " | ||
11906 | "använda <methodname>set_source_rgb()</methodname> vilken tar argument som " | 11740 | "använda <methodname>set_source_rgb()</methodname> vilken tar argument som " | ||
n | 11907 | "definierar komponenterna Red, Green, and Blue för den önskade färgen " | n | 11741 | "definierar komponenterna Red, Green och Blue för den önskade färgen (giltiga " |
11908 | "(giltiga värden är mellan 0 och 1). Efter att färgen ställts in skapade vi " | 11742 | "värden är mellan 0 och 1). Efter att färgen ställts in skapade vi en ny bana " | ||
11909 | "en ny bana med funktionerna <methodname>move_to()</methodname> och " | 11743 | "med funktionerna <methodname>move_to()</methodname> och " | ||
11910 | "<methodname>line_to()</methodname>, och strök sedan denna bana med " | 11744 | "<methodname>line_to()</methodname>, och strök sedan denna bana med " | ||
11911 | "<methodname>stroke()</methodname>." | 11745 | "<methodname>stroke()</methodname>." | ||
11912 | 11746 | ||||
11913 | #. (itstool) path: tip/title | 11747 | #. (itstool) path: tip/title | ||
11914 | #: C/index-in.docbook:4899 | 11748 | #: C/index-in.docbook:4899 | ||
11937 | "In addition to drawing basic straight lines, there are a number of things " | 11771 | "In addition to drawing basic straight lines, there are a number of things " | ||
11938 | "that you can customize about a line. You've already seen examples of setting " | 11772 | "that you can customize about a line. You've already seen examples of setting " | ||
11939 | "a line's color and width, but there are others as well." | 11773 | "a line's color and width, but there are others as well." | ||
11940 | msgstr "" | 11774 | msgstr "" | ||
11941 | "Utöver att rita enkla raka linjer så finns det ett antal saker som du kan " | 11775 | "Utöver att rita enkla raka linjer så finns det ett antal saker som du kan " | ||
n | 11942 | "anpassa med en linje. Du har redan sett exempel på att ställa in en linje " | n | 11776 | "anpassa med en linje. Du har redan sett exempel på att ställa in en linjes " |
11943 | "färg och bredd, men det finns även annat." | 11777 | "färg och bredd, men det finns även annat." | ||
11944 | 11778 | ||||
n | n | 11779 | # TODO: are show*n* | ||
11945 | #. (itstool) path: section/para | 11780 | #. (itstool) path: section/para | ||
11946 | #: C/index-in.docbook:4914 | 11781 | #: C/index-in.docbook:4914 | ||
11947 | #, fuzzy | 11782 | #, fuzzy | ||
11948 | msgid "" | 11783 | msgid "" | ||
11949 | "If you've drawn a series of lines that form a path, you may want them to " | 11784 | "If you've drawn a series of lines that form a path, you may want them to " | ||
11954 | "dem på ett visst sätt. Cairo erbjuder tre olika sätt att koppla samman " | 11789 | "dem på ett visst sätt. Cairo erbjuder tre olika sätt att koppla samman " | ||
11955 | "linjer: Miter, Bevel, och Round. Dessa visas nedan:" | 11790 | "linjer: Miter, Bevel, och Round. Dessa visas nedan:" | ||
11956 | 11791 | ||||
11957 | #. (itstool) path: figure/title | 11792 | #. (itstool) path: figure/title | ||
11958 | #: C/index-in.docbook:4921 | 11793 | #: C/index-in.docbook:4921 | ||
n | 11959 | #, fuzzy | n | ||
11960 | msgid "Different join types in Cairo" | 11794 | msgid "Different join types in Cairo" | ||
11961 | msgstr "Olika sammankopplingstyper i Cairo" | 11795 | msgstr "Olika sammankopplingstyper i Cairo" | ||
11962 | 11796 | ||||
11963 | #. (itstool) path: imageobject/imagedata | 11797 | #. (itstool) path: imageobject/imagedata | ||
11964 | #. This is a reference to an external file such as an image or video. When | 11798 | #. This is a reference to an external file such as an image or video. When | ||
11972 | msgstr "" | 11806 | msgstr "" | ||
11973 | "external ref='figures/cairo_joins.png' md5='1b1e2a28e976039f1e4a0aa523ac40fb'" | 11807 | "external ref='figures/cairo_joins.png' md5='1b1e2a28e976039f1e4a0aa523ac40fb'" | ||
11974 | 11808 | ||||
11975 | #. (itstool) path: section/para | 11809 | #. (itstool) path: section/para | ||
11976 | #: C/index-in.docbook:4926 | 11810 | #: C/index-in.docbook:4926 | ||
n | 11977 | #, fuzzy | n | ||
11978 | msgid "" | 11811 | msgid "" | ||
11979 | "The line join style is set using the function <methodname>Cairo::Context::" | 11812 | "The line join style is set using the function <methodname>Cairo::Context::" | ||
11980 | "set_line_join()</methodname>." | 11813 | "set_line_join()</methodname>." | ||
11981 | msgstr "" | 11814 | msgstr "" | ||
11982 | "Linjesammankopplingsstilen ställs in med funktionen <methodname>Cairo::" | 11815 | "Linjesammankopplingsstilen ställs in med funktionen <methodname>Cairo::" | ||
12099 | "best explained using an example, so let's dive in." | 11932 | "best explained using an example, so let's dive in." | ||
12100 | msgstr "" | 11933 | msgstr "" | ||
12101 | "Utöver att rita raka linjer låter Cairo dig lätt rita krökta linjer " | 11934 | "Utöver att rita raka linjer låter Cairo dig lätt rita krökta linjer " | ||
12102 | "(tekniskt sett en kubisk Bézier-spline) med funktionerna <methodname>Cairo::" | 11935 | "(tekniskt sett en kubisk Bézier-spline) med funktionerna <methodname>Cairo::" | ||
12103 | "Context::curve_to()</methodname> och <methodname>Cairo::Context::" | 11936 | "Context::curve_to()</methodname> och <methodname>Cairo::Context::" | ||
n | 12104 | "rel_curve_to()</methodname>. Dessa funktioner tar koordinates för en " | n | 11937 | "rel_curve_to()</methodname>. Dessa funktioner tar koordinater för en " |
12105 | "målpunkt såväl som koordinater för två ”kontroll”-punkter. Detta förklaras " | 11938 | "målpunkt såväl som koordinater för två ”kontroll”-punkter. Detta förklaras " | ||
12106 | "bäst med ett exempel, så nu kör vi." | 11939 | "bäst med ett exempel, så nu kör vi." | ||
12107 | 11940 | ||||
12108 | #. (itstool) path: section/para | 11941 | #. (itstool) path: section/para | ||
12109 | #: C/index-in.docbook:4992 | 11942 | #: C/index-in.docbook:4992 | ||
12110 | #, fuzzy | 11943 | #, fuzzy | ||
12111 | msgid "" | 11944 | msgid "" | ||
12112 | "This simple application draws a curve with Cairo and displays the control " | 11945 | "This simple application draws a curve with Cairo and displays the control " | ||
12113 | "points for each end of the curve." | 11946 | "points for each end of the curve." | ||
12114 | msgstr "" | 11947 | msgstr "" | ||
n | 12115 | "Detta enkla program ritar en kurva med Cairo och visa kontrollpunkterna var " | n | 11948 | "Detta enkla program ritar en kurva med Cairo och visar kontrollpunkterna för " |
12116 | "varje ände av kurvan." | 11949 | "varje ände av kurvan." | ||
12117 | 11950 | ||||
12118 | #. (itstool) path: figure/title | 11951 | #. (itstool) path: figure/title | ||
12119 | #: C/index-in.docbook:4997 | 11952 | #: C/index-in.docbook:4997 | ||
12120 | #, fuzzy | 11953 | #, fuzzy | ||
12150 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11983 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
12151 | "master/examples/book/drawingarea/curve\">Källkod</link>" | 11984 | "master/examples/book/drawingarea/curve\">Källkod</link>" | ||
12152 | 11985 | ||||
12153 | #. (itstool) path: section/para | 11986 | #. (itstool) path: section/para | ||
12154 | #: C/index-in.docbook:5004 | 11987 | #: C/index-in.docbook:5004 | ||
n | 12155 | #, fuzzy | n | ||
12156 | msgid "" | 11988 | msgid "" | ||
12157 | "The only difference between this example and the straight line example is in " | 11989 | "The only difference between this example and the straight line example is in " | ||
12158 | "the <methodname>on_draw()</methodname> function, but there are a few new " | 11990 | "the <methodname>on_draw()</methodname> function, but there are a few new " | ||
12159 | "concepts and functions introduced here, so let's examine them briefly." | 11991 | "concepts and functions introduced here, so let's examine them briefly." | ||
12160 | msgstr "" | 11992 | msgstr "" | ||
12386 | "exactly the same as <methodname>Cairo::Context::arc()</methodname> but the " | 12218 | "exactly the same as <methodname>Cairo::Context::arc()</methodname> but the " | ||
12387 | "angles go the opposite direction." | 12219 | "angles go the opposite direction." | ||
12388 | msgstr "" | 12220 | msgstr "" | ||
12389 | "Funktionen <methodname>Cairo::Context::arc_negative()</methodname> är exakt " | 12221 | "Funktionen <methodname>Cairo::Context::arc_negative()</methodname> är exakt " | ||
12390 | "densamma som <methodname>Cairo::Context::arc()</methodname> men vinklarna " | 12222 | "densamma som <methodname>Cairo::Context::arc()</methodname> men vinklarna " | ||
n | 12391 | "går i motsatt rikning." | n | 12223 | "går i motsatt riktning." |
12392 | 12224 | ||||
12393 | #. (itstool) path: section/title | 12225 | #. (itstool) path: section/title | ||
12394 | #: C/index-in.docbook:5129 | 12226 | #: C/index-in.docbook:5129 | ||
12395 | msgid "Drawing Text" | 12227 | msgid "Drawing Text" | ||
12396 | msgstr "Rita text" | 12228 | msgstr "Rita text" | ||
12413 | msgstr "" | 12245 | msgstr "" | ||
12414 | "Texten ritas via Pango-layouter. Det lättaste sättet att skapa en " | 12246 | "Texten ritas via Pango-layouter. Det lättaste sättet att skapa en " | ||
12415 | "<classname>Pango::Layout</classname> är att använda <methodname>Gtk::Widget::" | 12247 | "<classname>Pango::Layout</classname> är att använda <methodname>Gtk::Widget::" | ||
12416 | "create_pango_layout()</methodname>. När den skapats kan layouten manipuleras " | 12248 | "create_pango_layout()</methodname>. När den skapats kan layouten manipuleras " | ||
12417 | "på olika sätt, inklusive att ändra texten, typsnittet o.s.v. Slutligen kan " | 12249 | "på olika sätt, inklusive att ändra texten, typsnittet o.s.v. Slutligen kan " | ||
n | 12418 | "layouten rendereras med metoden <methodname>Pango::Layout::" | n | 12250 | "layouten renderas med metoden <methodname>Pango::Layout::" |
12419 | "show_in_cairo_context()</methodname>." | 12251 | "show_in_cairo_context()</methodname>." | ||
12420 | 12252 | ||||
12421 | #. (itstool) path: section/para | 12253 | #. (itstool) path: section/para | ||
12422 | #: C/index-in.docbook:5146 | 12254 | #: C/index-in.docbook:5146 | ||
12423 | #, fuzzy | 12255 | #, fuzzy | ||
12551 | " cr->fill();\n" | 12383 | " cr->fill();\n" | ||
12552 | "}" | 12384 | "}" | ||
12553 | 12385 | ||||
12554 | #. (itstool) path: para/screen | 12386 | #. (itstool) path: para/screen | ||
12555 | #: C/index-in.docbook:5219 | 12387 | #: C/index-in.docbook:5219 | ||
n | 12556 | #, fuzzy, no-wrap | n | 12388 | #, no-wrap |
12557 | msgid "$ glib-compile-resources --target=resources.c --generate-source image.gre | 12389 | msgid "$ glib-compile-resources --target=resources.c --generate-source image.gre | ||
> | source.xml" | > | source.xml" | ||
12558 | msgstr "$ glib-compile-resources --target=resources.c --generate-source image.gr | 12390 | msgstr "$ glib-compile-resources --target=resources.c --generate-source image.gr | ||
> | esource.xml" | > | esource.xml" | ||
12559 | 12391 | ||||
12560 | #. (itstool) path: section/para | 12392 | #. (itstool) path: section/para | ||
12561 | #: C/index-in.docbook:5213 | 12393 | #: C/index-in.docbook:5213 | ||
12608 | msgid "Example Application: Creating a Clock with Cairo" | 12440 | msgid "Example Application: Creating a Clock with Cairo" | ||
12609 | msgstr "Exempelprogram: Skapa en klocka med Cairo" | 12441 | msgstr "Exempelprogram: Skapa en klocka med Cairo" | ||
12610 | 12442 | ||||
12611 | #. (itstool) path: section/para | 12443 | #. (itstool) path: section/para | ||
12612 | #: C/index-in.docbook:5244 | 12444 | #: C/index-in.docbook:5244 | ||
n | 12613 | #, fuzzy | n | ||
12614 | msgid "" | 12445 | msgid "" | ||
12615 | "Now that we've covered the basics of drawing with Cairo, let's try to put it " | 12446 | "Now that we've covered the basics of drawing with Cairo, let's try to put it " | ||
12616 | "all together and create a simple application that actually does something. " | 12447 | "all together and create a simple application that actually does something. " | ||
12617 | "The following example uses Cairo to create a custom <classname>Clock</" | 12448 | "The following example uses Cairo to create a custom <classname>Clock</" | ||
12618 | "classname> widget. The clock has a second hand, a minute hand, and an hour " | 12449 | "classname> widget. The clock has a second hand, a minute hand, and an hour " | ||
12620 | msgstr "" | 12451 | msgstr "" | ||
12621 | "Nu då vi täckt grunderna med att rita i Cairo kan vi försöka sätta ihop " | 12452 | "Nu då vi täckt grunderna med att rita i Cairo kan vi försöka sätta ihop " | ||
12622 | "allting och skapa ett enkelt program som faktiskt gör något. Följande " | 12453 | "allting och skapa ett enkelt program som faktiskt gör något. Följande " | ||
12623 | "exempel använder Cairo för att skapa en anpassad komponent <classname>Clock</" | 12454 | "exempel använder Cairo för att skapa en anpassad komponent <classname>Clock</" | ||
12624 | "classname>. Klockan har en sekundvisare, en minutvisare och en timvisare, " | 12455 | "classname>. Klockan har en sekundvisare, en minutvisare och en timvisare, " | ||
n | 12625 | "och uppdatear sig själv varje sekund." | n | 12456 | "och uppdaterar sig själv varje sekund." |
12626 | 12457 | ||||
12627 | #. (itstool) path: imageobject/imagedata | 12458 | #. (itstool) path: imageobject/imagedata | ||
12628 | #. This is a reference to an external file such as an image or video. When | 12459 | #. This is a reference to an external file such as an image or video. When | ||
12629 | #. the file changes, the md5 hash will change to let you know you need to | 12460 | #. the file changes, the md5 hash will change to let you know you need to | ||
12630 | #. update your localized copy. The msgstr is not used at all. Set it to | 12461 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
12668 | "Denna funktions enda ansvar är att invalidera fönstret så att " | 12499 | "Denna funktions enda ansvar är att invalidera fönstret så att " | ||
12669 | "<application>gtkmm</application> kommer tvingas rita om det." | 12500 | "<application>gtkmm</application> kommer tvingas rita om det." | ||
12670 | 12501 | ||||
12671 | #. (itstool) path: section/para | 12502 | #. (itstool) path: section/para | ||
12672 | #: C/index-in.docbook:5266 | 12503 | #: C/index-in.docbook:5266 | ||
n | 12673 | #, fuzzy | n | ||
12674 | msgid "" | 12504 | msgid "" | ||
12675 | "Now let's take a look at the code that performs the actual drawing. The " | 12505 | "Now let's take a look at the code that performs the actual drawing. The " | ||
12676 | "first section of <methodname>on_draw()</methodname> should be pretty " | 12506 | "first section of <methodname>on_draw()</methodname> should be pretty " | ||
12677 | "familiar by now. This example again scales the coordinate system to be a " | 12507 | "familiar by now. This example again scales the coordinate system to be a " | ||
12678 | "unit square so that it's easier to draw the clock as a percentage of window " | 12508 | "unit square so that it's easier to draw the clock as a percentage of window " | ||
12681 | "0) coordinate is in the very center of the window." | 12511 | "0) coordinate is in the very center of the window." | ||
12682 | msgstr "" | 12512 | msgstr "" | ||
12683 | "Låt oss nu ta en titt på koden som utför det faktiska ritandet. Den första " | 12513 | "Låt oss nu ta en titt på koden som utför det faktiska ritandet. Den första " | ||
12684 | "delen av <methodname>on_draw()</methodname> bör vara ganska bekant nu. Detta " | 12514 | "delen av <methodname>on_draw()</methodname> bör vara ganska bekant nu. Detta " | ||
12685 | "exempel skalar igen koordinatsystemet till en enhetskvadrat så att det är " | 12515 | "exempel skalar igen koordinatsystemet till en enhetskvadrat så att det är " | ||
n | 12686 | "lättare att rita klockan som en procentsats av fönsterstorleken så att den " | n | 12516 | "lättare att rita klockan som en procentsats av fönsterstorleken, så att den " |
12687 | "automatiskt kommer skalas ner när fönsterstorleken justeras. Vidare skalas " | 12517 | "automatiskt kommer skalas när fönsterstorleken justeras. Vidare skalas och " | ||
12688 | "koordinatesystemet över och ner så att koordinaten (0, 0) är i mitten av " | 12518 | "flyttas koordinatsystemet så att koordinaten (0, 0) är i mitten av fönstret." | ||
12689 | "fönstret." | ||||
12690 | 12519 | ||||
12691 | #. (itstool) path: section/para | 12520 | #. (itstool) path: section/para | ||
12692 | #: C/index-in.docbook:5276 | 12521 | #: C/index-in.docbook:5276 | ||
12693 | #, fuzzy | 12522 | #, fuzzy | ||
12694 | msgid "" | 12523 | msgid "" | ||
12712 | "sedan klipps denna bana för att säkerställa att våra nästa linjer inte går " | 12541 | "sedan klipps denna bana för att säkerställa att våra nästa linjer inte går " | ||
12713 | "utanför klockans kontur." | 12542 | "utanför klockans kontur." | ||
12714 | 12543 | ||||
12715 | #. (itstool) path: section/para | 12544 | #. (itstool) path: section/para | ||
12716 | #: C/index-in.docbook:5288 | 12545 | #: C/index-in.docbook:5288 | ||
n | 12717 | #, fuzzy | n | ||
12718 | msgid "" | 12546 | msgid "" | ||
12719 | "After drawing the outline, we go around the clock and draw ticks for every " | 12547 | "After drawing the outline, we go around the clock and draw ticks for every " | ||
12720 | "hour, with a larger tick at 12, 3, 6, and 9. Now we're finally ready to " | 12548 | "hour, with a larger tick at 12, 3, 6, and 9. Now we're finally ready to " | ||
12721 | "implement the time-keeping functionality of the clock, which simply involves " | 12549 | "implement the time-keeping functionality of the clock, which simply involves " | ||
12722 | "getting the current values for hours, minutes and seconds, and drawing the " | 12550 | "getting the current values for hours, minutes and seconds, and drawing the " | ||
12723 | "hands at the correct angles." | 12551 | "hands at the correct angles." | ||
12724 | msgstr "" | 12552 | msgstr "" | ||
12725 | "Efter att ha ritat konturen går vi runt klockan och ritar streck för varje " | 12553 | "Efter att ha ritat konturen går vi runt klockan och ritar streck för varje " | ||
n | 12726 | "timme, med ett större sträck vid 12, 3, 6 och 9. Slutligen är vi redo att " | n | 12554 | "timme, med ett större streck vid 12, 3, 6 och 9. Slutligen är vi redo att " |
12727 | "implementera klockans tidtagande, vilket helt enkelt innefattar att få de " | 12555 | "implementera klockans tidtagande, vilket helt enkelt innefattar att få de " | ||
12728 | "aktuella värdena för timmar, minuter och sekunder, och rita visarna på rätt " | 12556 | "aktuella värdena för timmar, minuter och sekunder, och rita visarna på rätt " | ||
12729 | "vinklar." | 12557 | "vinklar." | ||
12730 | 12558 | ||||
12731 | #. (itstool) path: chapter/para | 12559 | #. (itstool) path: chapter/para | ||
12765 | "Lämpliga signaler kommer sedan sändas ut, som säger till signalhanterarna " | 12593 | "Lämpliga signaler kommer sedan sändas ut, som säger till signalhanterarna " | ||
12766 | "vilket format som användes." | 12594 | "vilket format som användes." | ||
12767 | 12595 | ||||
12768 | #. (itstool) path: section/para | 12596 | #. (itstool) path: section/para | ||
12769 | #: C/index-in.docbook:5315 | 12597 | #: C/index-in.docbook:5315 | ||
n | 12770 | #, fuzzy | n | ||
12771 | msgid "" | 12598 | msgid "" | ||
12772 | "<classname>Gdk::ContentFormats</classname> objects contain information about " | 12599 | "<classname>Gdk::ContentFormats</classname> objects contain information about " | ||
12773 | "available <type>GType</type>s and mime types (media types)." | 12600 | "available <type>GType</type>s and mime types (media types)." | ||
12774 | msgstr "" | 12601 | msgstr "" | ||
12775 | "<classname>Gdk::ContentFormats</classname>-objekt innehåller information om " | 12602 | "<classname>Gdk::ContentFormats</classname>-objekt innehåller information om " | ||
12782 | "<classname>Widget</classname>s can be identified as sources or targets using " | 12609 | "<classname>Widget</classname>s can be identified as sources or targets using " | ||
12783 | "<classname>Gtk::DragSource</classname> and <classname>Gtk::DropTarget</" | 12610 | "<classname>Gtk::DragSource</classname> and <classname>Gtk::DropTarget</" | ||
12784 | "classname> event controllers." | 12611 | "classname> event controllers." | ||
12785 | msgstr "" | 12612 | msgstr "" | ||
12786 | "<classname>Widget</classname>-komponenter kan identifieras som källor eller " | 12613 | "<classname>Widget</classname>-komponenter kan identifieras som källor eller " | ||
n | 12787 | "mål med hänsdelsekontrollerna <classname>Gtk::DragSource</classname> och " | n | 12614 | "mål med händelsekontrollerna <classname>Gtk::DragSource</classname> och " |
12788 | "<classname>Gtk::DropTarget</classname>." | 12615 | "<classname>Gtk::DropTarget</classname>." | ||
12789 | 12616 | ||||
12790 | #. (itstool) path: section/programlisting | 12617 | #. (itstool) path: section/programlisting | ||
12791 | #: C/index-in.docbook:5330 | 12618 | #: C/index-in.docbook:5330 | ||
12792 | #, fuzzy, no-wrap | 12619 | #, fuzzy, no-wrap | ||
12800 | "auto source = Gtk::DragSource::create();\n" | 12627 | "auto source = Gtk::DragSource::create();\n" | ||
12801 | "m_source_widget.add_controller(source);" | 12628 | "m_source_widget.add_controller(source);" | ||
12802 | 12629 | ||||
12803 | #. (itstool) path: listitem/para | 12630 | #. (itstool) path: listitem/para | ||
12804 | #: C/index-in.docbook:5337 | 12631 | #: C/index-in.docbook:5337 | ||
n | 12805 | #, fuzzy | n | ||
12806 | msgid "" | 12632 | msgid "" | ||
12807 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | 12633 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | ||
12808 | "& content)</literal>: Sets a content provider on the drag source." | 12634 | "& content)</literal>: Sets a content provider on the drag source." | ||
12809 | msgstr "" | 12635 | msgstr "" | ||
12810 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | 12636 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | ||
12811 | "& content)</literal>: Ställer in en innehållstillhandahållare på " | 12637 | "& content)</literal>: Ställer in en innehållstillhandahållare på " | ||
12812 | "dragkällan." | 12638 | "dragkällan." | ||
12813 | 12639 | ||||
12814 | #. (itstool) path: listitem/para | 12640 | #. (itstool) path: listitem/para | ||
12815 | #: C/index-in.docbook:5343 | 12641 | #: C/index-in.docbook:5343 | ||
n | 12816 | #, fuzzy | n | ||
12817 | msgid "" | 12642 | msgid "" | ||
12818 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | 12643 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | ||
12819 | "actions on the drag source. For instance <literal>Gdk::DragAction::COPY | " | 12644 | "actions on the drag source. For instance <literal>Gdk::DragAction::COPY | " | ||
12820 | "Gdk::DragAction::MOVE</literal>." | 12645 | "Gdk::DragAction::MOVE</literal>." | ||
12821 | msgstr "" | 12646 | msgstr "" | ||
n | 12822 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Ställer in en " | n | 12647 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Ställer in " |
12823 | "åtgärderna på dragkällan. Till exempel <literal>Gdk::DragAction::COPY | Gdk::" | 12648 | "åtgärderna på dragkällan. Till exempel <literal>Gdk::DragAction::COPY | Gdk::" | ||
12824 | "DragAction::MOVE</literal>." | 12649 | "DragAction::MOVE</literal>." | ||
12825 | 12650 | ||||
12826 | #. (itstool) path: listitem/para | 12651 | #. (itstool) path: listitem/para | ||
12827 | #: C/index-in.docbook:5350 | 12652 | #: C/index-in.docbook:5350 | ||
n | 12828 | #, fuzzy | n | ||
12829 | msgid "" | 12653 | msgid "" | ||
12830 | "<literal>void set_icon(const Glib::RefPtr<const Gdk::Paintable>& " | 12654 | "<literal>void set_icon(const Glib::RefPtr<const Gdk::Paintable>& " | ||
12831 | "paintable, int hot_x, int hot_y)</literal>: Sets a paintable to use as icon " | 12655 | "paintable, int hot_x, int hot_y)</literal>: Sets a paintable to use as icon " | ||
12832 | "during DND operations." | 12656 | "during DND operations." | ||
12833 | msgstr "" | 12657 | msgstr "" | ||
12850 | "auto target = Gtk::DropTarget::create(gtype, actions);\n" | 12674 | "auto target = Gtk::DropTarget::create(gtype, actions);\n" | ||
12851 | "m_target_widget.add_controller(target);" | 12675 | "m_target_widget.add_controller(target);" | ||
12852 | 12676 | ||||
12853 | #. (itstool) path: listitem/para | 12677 | #. (itstool) path: listitem/para | ||
12854 | #: C/index-in.docbook:5365 | 12678 | #: C/index-in.docbook:5365 | ||
n | 12855 | #, fuzzy | n | ||
12856 | msgid "" | 12679 | msgid "" | ||
12857 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | 12680 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | ||
12858 | "literal>: Sets the supported types for this drop target." | 12681 | "literal>: Sets the supported types for this drop target." | ||
12859 | msgstr "" | 12682 | msgstr "" | ||
12860 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | 12683 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | ||
12861 | "literal>: Ställer in typerna som stöds för detta släppmål." | 12684 | "literal>: Ställer in typerna som stöds för detta släppmål." | ||
12862 | 12685 | ||||
12863 | #. (itstool) path: listitem/para | 12686 | #. (itstool) path: listitem/para | ||
12864 | #: C/index-in.docbook:5371 | 12687 | #: C/index-in.docbook:5371 | ||
n | 12865 | #, fuzzy | n | ||
12866 | msgid "" | 12688 | msgid "" | ||
12867 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | 12689 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | ||
12868 | "actions that this drop target supports." | 12690 | "actions that this drop target supports." | ||
12869 | msgstr "" | 12691 | msgstr "" | ||
12870 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Ställer in " | 12692 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Ställer in " | ||
12871 | "åtgärderna som detta släppmål stöder." | 12693 | "åtgärderna som detta släppmål stöder." | ||
12872 | 12694 | ||||
12873 | #. (itstool) path: listitem/para | 12695 | #. (itstool) path: listitem/para | ||
12874 | #: C/index-in.docbook:5377 | 12696 | #: C/index-in.docbook:5377 | ||
n | 12875 | #, fuzzy | n | ||
12876 | msgid "" | 12697 | msgid "" | ||
12877 | "<literal>Glib::ValueBase get_value() const</literal>: Gets the current drop " | 12698 | "<literal>Glib::ValueBase get_value() const</literal>: Gets the current drop " | ||
12878 | "data, as a <classname>Glib::Value</classname>." | 12699 | "data, as a <classname>Glib::Value</classname>." | ||
12879 | msgstr "" | 12700 | msgstr "" | ||
12880 | "<literal>Glib::ValueBase get_value() const</literal>: Erhåller aktuella " | 12701 | "<literal>Glib::ValueBase get_value() const</literal>: Erhåller aktuella " | ||
12881 | "släppdata, som ett <classname>Glib::Value</classname>." | 12702 | "släppdata, som ett <classname>Glib::Value</classname>." | ||
12882 | 12703 | ||||
12883 | #. (itstool) path: listitem/para | 12704 | #. (itstool) path: listitem/para | ||
12884 | #: C/index-in.docbook:5383 | 12705 | #: C/index-in.docbook:5383 | ||
n | 12885 | #, fuzzy | n | ||
12886 | msgid "" | 12706 | msgid "" | ||
12887 | "<literal>void reject()</literal>: Rejects the ongoing drop operation. This " | 12707 | "<literal>void reject()</literal>: Rejects the ongoing drop operation. This " | ||
12888 | "function should be used when delaying the decision on whether to accept a " | 12708 | "function should be used when delaying the decision on whether to accept a " | ||
12889 | "drag or not until after reading the data." | 12709 | "drag or not until after reading the data." | ||
12890 | msgstr "" | 12710 | msgstr "" | ||
12925 | "<literal>drag_begin</literal>: Tillhandahåller en <classname>Gdk::Drag</" | 12745 | "<literal>drag_begin</literal>: Tillhandahåller en <classname>Gdk::Drag</" | ||
12926 | "classname>." | 12746 | "classname>." | ||
12927 | 12747 | ||||
12928 | #. (itstool) path: listitem/para | 12748 | #. (itstool) path: listitem/para | ||
12929 | #: C/index-in.docbook:5411 | 12749 | #: C/index-in.docbook:5411 | ||
n | 12930 | #, fuzzy | n | ||
12931 | msgid "" | 12750 | msgid "" | ||
12932 | "<literal>prepare</literal>: Shall return a <classname>Gdk::ContentProvider</" | 12751 | "<literal>prepare</literal>: Shall return a <classname>Gdk::ContentProvider</" | ||
12933 | "classname>, with the data to use for the drag that is about to start." | 12752 | "classname>, with the data to use for the drag that is about to start." | ||
12934 | msgstr "" | 12753 | msgstr "" | ||
12935 | "<literal>prepare</literal>: Ska returnera en <classname>Gdk::" | 12754 | "<literal>prepare</literal>: Ska returnera en <classname>Gdk::" | ||
12948 | "classname>, och en <type>bool</type> som berättar om dragningen utförde ett " | 12767 | "classname>, och en <type>bool</type> som berättar om dragningen utförde ett " | ||
12949 | "<literal>move</literal> och att data ska tas bort." | 12768 | "<literal>move</literal> och att data ska tas bort." | ||
12950 | 12769 | ||||
12951 | #. (itstool) path: listitem/para | 12770 | #. (itstool) path: listitem/para | ||
12952 | #: C/index-in.docbook:5416 | 12771 | #: C/index-in.docbook:5416 | ||
n | 12953 | #, fuzzy | n | ||
12954 | msgid "" | 12772 | msgid "" | ||
12955 | "<literal>drag_cancel</literal>: Emitted on the drag source when a drag has " | 12773 | "<literal>drag_cancel</literal>: Emitted on the drag source when a drag has " | ||
12956 | "failed." | 12774 | "failed." | ||
12957 | msgstr "" | 12775 | msgstr "" | ||
n | 12958 | "<literal>drag_cancel</literal>: sänds ut på dragkällan när en dragning har " | n | 12776 | "<literal>drag_cancel</literal>: Sänds ut på dragkällan när en dragning har " |
12959 | "misslyckats." | 12777 | "misslyckats." | ||
12960 | 12778 | ||||
12961 | #. (itstool) path: section/para | 12779 | #. (itstool) path: section/para | ||
12962 | #: C/index-in.docbook:5407 | 12780 | #: C/index-in.docbook:5407 | ||
12963 | msgid "" | 12781 | msgid "" | ||
12986 | "<literal>motion</literal>: Tillhandahåller koordinater. Ska returnera " | 12804 | "<literal>motion</literal>: Tillhandahåller koordinater. Ska returnera " | ||
12987 | "föredragen <type>Gdk::DragAction</type>." | 12805 | "föredragen <type>Gdk::DragAction</type>." | ||
12988 | 12806 | ||||
12989 | #. (itstool) path: listitem/para | 12807 | #. (itstool) path: listitem/para | ||
12990 | #: C/index-in.docbook:5426 | 12808 | #: C/index-in.docbook:5426 | ||
n | 12991 | #, fuzzy | n | ||
12992 | msgid "" | 12809 | msgid "" | ||
12993 | "<literal>leave</literal>: Emitted on the drop site when the pointer leaves " | 12810 | "<literal>leave</literal>: Emitted on the drop site when the pointer leaves " | ||
12994 | "the widget." | 12811 | "the widget." | ||
12995 | msgstr "" | 12812 | msgstr "" | ||
12996 | "<literal>leave</literal>: Sänds ut på släpplatsen när pekaren lämnar " | 12813 | "<literal>leave</literal>: Sänds ut på släpplatsen när pekaren lämnar " | ||
13008 | "denna <classname>Gdk::Drop</classname> för att indikera vilka åtgärder som " | 12825 | "denna <classname>Gdk::Drop</classname> för att indikera vilka åtgärder som " | ||
13009 | "kommer accepteras." | 12826 | "kommer accepteras." | ||
13010 | 12827 | ||||
13011 | #. (itstool) path: listitem/para | 12828 | #. (itstool) path: listitem/para | ||
13012 | #: C/index-in.docbook:5431 | 12829 | #: C/index-in.docbook:5431 | ||
n | 13013 | #, fuzzy | n | ||
13014 | msgid "" | 12830 | msgid "" | ||
13015 | "<literal>drop</literal>: Provides the data being dropped and coordinates. " | 12831 | "<literal>drop</literal>: Provides the data being dropped and coordinates. " | ||
13016 | "Shall return a <type>bool</type> indicating whether the drop was accepted." | 12832 | "Shall return a <type>bool</type> indicating whether the drop was accepted." | ||
13017 | msgstr "" | 12833 | msgstr "" | ||
13018 | "<literal>drop</literal>: Tillhandahåller de data som släpps och koordinater. " | 12834 | "<literal>drop</literal>: Tillhandahåller de data som släpps och koordinater. " | ||
13053 | msgid "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | 12869 | msgid "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | ||
13054 | msgstr "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | 12870 | msgstr "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | ||
13055 | 12871 | ||||
13056 | #. (itstool) path: section/para | 12872 | #. (itstool) path: section/para | ||
13057 | #: C/index-in.docbook:5435 | 12873 | #: C/index-in.docbook:5435 | ||
n | 13058 | #, fuzzy | n | ||
13059 | msgid "" | 12874 | msgid "" | ||
13060 | "The following signals call only one signal handler when emitted. When you " | 12875 | "The following signals call only one signal handler when emitted. When you " | ||
13061 | "connect a handler to such a signal, your signal handler must be called " | 12876 | "connect a handler to such a signal, your signal handler must be called " | ||
13062 | "before (instead of) the default handler, otherwise it won't be called. Set " | 12877 | "before (instead of) the default handler, otherwise it won't be called. Set " | ||
13063 | "the <literal>after</literal> parameter in <methodname>connect()</methodname> " | 12878 | "the <literal>after</literal> parameter in <methodname>connect()</methodname> " | ||
13064 | "to <literal>false</literal>. <_:itemizedlist-1/>" | 12879 | "to <literal>false</literal>. <_:itemizedlist-1/>" | ||
13065 | msgstr "" | 12880 | msgstr "" | ||
13066 | "Följande signaler anropar endast en signalhanterare när de sänds ut. När du " | 12881 | "Följande signaler anropar endast en signalhanterare när de sänds ut. När du " | ||
13067 | "ansluter en hanterare till en sådan signal måste din signalhanterare anropas " | 12882 | "ansluter en hanterare till en sådan signal måste din signalhanterare anropas " | ||
n | 13068 | "för (i stället för) standardhanteraren, annars kommer den inte anropas. " | n | 12883 | "före (i stället för) standardhanteraren, annars kommer den inte anropas. " |
13069 | "Ställ in parametern <literal>after</literal> i <methodname>connect()</" | 12884 | "Ställ in parametern <literal>after</literal> i <methodname>connect()</" | ||
13070 | "methodname> till <literal>false</literal>. <_:itemizedlist-1/>" | 12885 | "methodname> till <literal>false</literal>. <_:itemizedlist-1/>" | ||
13071 | 12886 | ||||
13072 | #. (itstool) path: section/para | 12887 | #. (itstool) path: section/para | ||
13073 | #: C/index-in.docbook:5454 | 12888 | #: C/index-in.docbook:5454 | ||
13114 | msgid "The Clipboard" | 12929 | msgid "The Clipboard" | ||
13115 | msgstr "Urklipp" | 12930 | msgstr "Urklipp" | ||
13116 | 12931 | ||||
13117 | #. (itstool) path: chapter/para | 12932 | #. (itstool) path: chapter/para | ||
13118 | #: C/index-in.docbook:5476 | 12933 | #: C/index-in.docbook:5476 | ||
n | 13119 | #, fuzzy | n | ||
13120 | msgid "" | 12934 | msgid "" | ||
13121 | "Simple text copy-paste functionality is provided for free by widgets such as " | 12935 | "Simple text copy-paste functionality is provided for free by widgets such as " | ||
13122 | "<classname>Gtk::Entry</classname> and <classname>Gtk::TextView</classname>, " | 12936 | "<classname>Gtk::Entry</classname> and <classname>Gtk::TextView</classname>, " | ||
13123 | "but you might need special code to deal with your own data formats. For " | 12937 | "but you might need special code to deal with your own data formats. For " | ||
13124 | "instance, a drawing program would need special code to allow copy and paste " | 12938 | "instance, a drawing program would need special code to allow copy and paste " | ||
13125 | "within a view, or between documents." | 12939 | "within a view, or between documents." | ||
13126 | msgstr "" | 12940 | msgstr "" | ||
n | 13127 | "Enkel kopiera/klistra in-funktionalitet tillhandahålls på köpet av " | n | 12941 | "Enkel kopiera/klistra in-funktionalitet för text tillhandahålls på köpet av " |
13128 | "komponenter som <classname>Gtk::Entry</classname> och <classname>Gtk::" | 12942 | "komponenter som <classname>Gtk::Entry</classname> och <classname>Gtk::" | ||
n | 13129 | "TextView</classname>, men du kanb behöva specialkod för att hantera dina " | n | 12943 | "TextView</classname>, men du kan behöva specialkod för att hantera dina egna " |
13130 | "egna dataformat. Exempelvis skulle ett ritprogram behöva specialkod för att " | 12944 | "dataformat. Exempelvis skulle ett ritprogram behöva specialkod för att " | ||
13131 | "tillåta kopiering och inklistring i en vy, eller mellan dokument." | 12945 | "tillåta kopiering och inklistring i en vy, eller mellan dokument." | ||
13132 | 12946 | ||||
13133 | #. (itstool) path: chapter/para | 12947 | #. (itstool) path: chapter/para | ||
13134 | #: C/index-in.docbook:5482 | 12948 | #: C/index-in.docbook:5482 | ||
13135 | #, fuzzy | 12949 | #, fuzzy | ||
13159 | "classname> är redo kommer det anropa dessa metoder, och tillhandahålla " | 12973 | "classname> är redo kommer det anropa dessa metoder, och tillhandahålla " | ||
13160 | "begärda data." | 12974 | "begärda data." | ||
13161 | 12975 | ||||
13162 | #. (itstool) path: chapter/para | 12976 | #. (itstool) path: chapter/para | ||
13163 | #: C/index-in.docbook:5495 | 12977 | #: C/index-in.docbook:5495 | ||
n | 13164 | #, fuzzy | n | ||
13165 | #| msgid "" | ||||
13166 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
13167 | #| "classGdk_1_1Clipboard.html\">Reference</link>" | ||||
13168 | msgid "" | 12978 | msgid "" | ||
13169 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 12979 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
13170 | "classGdk_1_1Clipboard.html\">Reference</link>" | 12980 | "classGdk_1_1Clipboard.html\">Reference</link>" | ||
13171 | msgstr "" | 12981 | msgstr "" | ||
n | 13172 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 12982 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
13173 | "classGdk_1_1Clipboard.html\">Referens</link>" | 12983 | "classGdk_1_1Clipboard.html\">Referens</link>" | ||
13174 | 12984 | ||||
13175 | #. (itstool) path: section/title | 12985 | #. (itstool) path: section/title | ||
13176 | #: C/index-in.docbook:5498 | 12986 | #: C/index-in.docbook:5498 | ||
13177 | msgid "Formats" | 12987 | msgid "Formats" | ||
13397 | msgid "Ideal" | 13207 | msgid "Ideal" | ||
13398 | msgstr "Idealiskt" | 13208 | msgstr "Idealiskt" | ||
13399 | 13209 | ||||
13400 | #. (itstool) path: listitem/simpara | 13210 | #. (itstool) path: listitem/simpara | ||
13401 | #: C/index-in.docbook:5599 | 13211 | #: C/index-in.docbook:5599 | ||
n | 13402 | #, fuzzy | n | ||
13403 | msgid "Defines a custom clipboard target, though the format is still text." | 13212 | msgid "Defines a custom clipboard target, though the format is still text." | ||
13404 | msgstr "Definierar ett anpassat urklippsmål, men formatet är fortfarande text." | 13213 | msgstr "Definierar ett anpassat urklippsmål, men formatet är fortfarande text." | ||
13405 | 13214 | ||||
13406 | #. (itstool) path: listitem/simpara | 13215 | #. (itstool) path: listitem/simpara | ||
13407 | #: C/index-in.docbook:5600 | 13216 | #: C/index-in.docbook:5600 | ||
13614 | "Metoden <methodname>PrintOperation::run()</methodname> startar " | 13423 | "Metoden <methodname>PrintOperation::run()</methodname> startar " | ||
13615 | "utskriftsslingan, under vilken olika signaler sänds ut: <_:itemizedlist-1/>" | 13424 | "utskriftsslingan, under vilken olika signaler sänds ut: <_:itemizedlist-1/>" | ||
13616 | 13425 | ||||
13617 | #. (itstool) path: section/para | 13426 | #. (itstool) path: section/para | ||
13618 | #: C/index-in.docbook:5727 | 13427 | #: C/index-in.docbook:5727 | ||
n | 13619 | #, fuzzy | n | ||
13620 | #| msgid "" | ||||
13621 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
13622 | #| "classGtk_1_1PrintOperation.html\">Reference</link>" | ||||
13623 | msgid "" | 13428 | msgid "" | ||
13624 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 13429 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
13625 | "classGtk_1_1PrintOperation.html\">Reference</link>" | 13430 | "classGtk_1_1PrintOperation.html\">Reference</link>" | ||
13626 | msgstr "" | 13431 | msgstr "" | ||
n | 13627 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 13432 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
13628 | "classGtk_1_1PrintOperation.html\">Referens</link>" | 13433 | "classGtk_1_1PrintOperation.html\">Referens</link>" | ||
13629 | 13434 | ||||
13630 | #. (itstool) path: section/title | 13435 | #. (itstool) path: section/title | ||
13631 | #: C/index-in.docbook:5736 | 13436 | #: C/index-in.docbook:5736 | ||
13632 | msgid "Page setup" | 13437 | msgid "Page setup" | ||
13655 | "att komma åt vald <classname>Gtk::PaperSize</classname>, <literal>Gtk::" | 13460 | "att komma åt vald <classname>Gtk::PaperSize</classname>, <literal>Gtk::" | ||
13656 | "PageOrientation</literal> och skrivarspecifika marginaler." | 13461 | "PageOrientation</literal> och skrivarspecifika marginaler." | ||
13657 | 13462 | ||||
13658 | #. (itstool) path: section/para | 13463 | #. (itstool) path: section/para | ||
13659 | #: C/index-in.docbook:5748 | 13464 | #: C/index-in.docbook:5748 | ||
n | 13660 | #, fuzzy | n | ||
13661 | msgid "" | 13465 | msgid "" | ||
13662 | "You should save the chosen <classname>Gtk::PageSetup</classname> so you can " | 13466 | "You should save the chosen <classname>Gtk::PageSetup</classname> so you can " | ||
13663 | "use it again if the page setup dialog is shown again." | 13467 | "use it again if the page setup dialog is shown again." | ||
13664 | msgstr "" | 13468 | msgstr "" | ||
13665 | "Du bör spara vald <classname>Gtk::PageSetup</classname> så du kan använda " | 13469 | "Du bör spara vald <classname>Gtk::PageSetup</classname> så du kan använda " | ||
13687 | "auto new_page_setup = Gtk::run_page_setup_dialog(*this, m_refPageSetup, m_refSe | 13491 | "auto new_page_setup = Gtk::run_page_setup_dialog(*this, m_refPageSetup, m_refSe | ||
> | ttings);\n" | > | ttings);\n" | ||
13688 | "m_refPageSetup = new_page_setup;\n" | 13492 | "m_refPageSetup = new_page_setup;\n" | ||
13689 | 13493 | ||||
13690 | #. (itstool) path: section/para | 13494 | #. (itstool) path: section/para | ||
13691 | #: C/index-in.docbook:5758 | 13495 | #: C/index-in.docbook:5758 | ||
n | 13692 | #, fuzzy | n | ||
13693 | #| msgid "" | ||||
13694 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
13695 | #| "classGtk_1_1PageSetup.html\">Reference</link>" | ||||
13696 | msgid "" | 13496 | msgid "" | ||
13697 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 13497 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
13698 | "classGtk_1_1PageSetup.html\">Reference</link>" | 13498 | "classGtk_1_1PageSetup.html\">Reference</link>" | ||
13699 | msgstr "" | 13499 | msgstr "" | ||
n | 13700 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 13500 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
13701 | "classGtk_1_1PageSetup.html\">Referens</link>" | 13501 | "classGtk_1_1PageSetup.html\">Referens</link>" | ||
13702 | 13502 | ||||
13703 | #. (itstool) path: section/para | 13503 | #. (itstool) path: section/para | ||
13704 | #: C/index-in.docbook:5762 | 13504 | #: C/index-in.docbook:5762 | ||
13705 | #, fuzzy | 13505 | #, fuzzy | ||
13786 | "stöds på alla plattformar, men signalen <literal>done</literal> kommer " | 13586 | "stöds på alla plattformar, men signalen <literal>done</literal> kommer " | ||
13787 | "fortfarande sändas ut." | 13587 | "fortfarande sändas ut." | ||
13788 | 13588 | ||||
13789 | #. (itstool) path: section/para | 13589 | #. (itstool) path: section/para | ||
13790 | #: C/index-in.docbook:5808 | 13590 | #: C/index-in.docbook:5808 | ||
n | 13791 | #, fuzzy | n | ||
13792 | msgid "" | 13591 | msgid "" | ||
13793 | "<methodname>run()</methodname> may return <literal>PrintOperation::Result::" | 13592 | "<methodname>run()</methodname> may return <literal>PrintOperation::Result::" | ||
13794 | "IN_PROGRESS</literal>. To track status and handle the result or error you " | 13593 | "IN_PROGRESS</literal>. To track status and handle the result or error you " | ||
13795 | "need to implement signal handlers for the <literal>done</literal> and " | 13594 | "need to implement signal handlers for the <literal>done</literal> and " | ||
13796 | "<literal>status_changed</literal> signals:" | 13595 | "<literal>status_changed</literal> signals:" | ||
13797 | msgstr "" | 13596 | msgstr "" | ||
13798 | "<methodname>run()</methodname> kan returnera <literal>PrintOperation::" | 13597 | "<methodname>run()</methodname> kan returnera <literal>PrintOperation::" | ||
13799 | "Result::IN_PROGRESS</literal>. För att övervaka status och hantera " | 13598 | "Result::IN_PROGRESS</literal>. För att övervaka status och hantera " | ||
n | 13800 | "resultatet eller fel behöver du implementera signalhandterare för signalerna " | n | 13599 | "resultatet eller fel behöver du implementera signalhanterare för signalerna " |
13801 | "<literal>done</literal> och <literal>status_changed</literal>:" | 13600 | "<literal>done</literal> och <literal>status_changed</literal>:" | ||
13802 | 13601 | ||||
13803 | #. (itstool) path: section/programlisting | 13602 | #. (itstool) path: section/programlisting | ||
13804 | #: C/index-in.docbook:5816 | 13603 | #: C/index-in.docbook:5816 | ||
13805 | #, fuzzy, no-wrap | 13604 | #, fuzzy, no-wrap | ||
13820 | " *this, &ExampleWindow::on_printoperation_done), op));\n" | 13619 | " *this, &ExampleWindow::on_printoperation_done), op));\n" | ||
13821 | "// kör op\n" | 13620 | "// kör op\n" | ||
13822 | 13621 | ||||
13823 | #. (itstool) path: section/para | 13622 | #. (itstool) path: section/para | ||
13824 | #: C/index-in.docbook:5824 | 13623 | #: C/index-in.docbook:5824 | ||
n | 13825 | #, fuzzy | n | ||
13826 | msgid "" | 13624 | msgid "" | ||
13827 | "Second, check for an error and connect to the <literal>status_changed</" | 13625 | "Second, check for an error and connect to the <literal>status_changed</" | ||
13828 | "literal> signal. For instance:" | 13626 | "literal> signal. For instance:" | ||
13829 | msgstr "" | 13627 | msgstr "" | ||
n | 13830 | "Kontrollera sedan för ett fel och anslut till signalen " | n | 13628 | "Kontrollera sedan för fel och anslut till signalen <literal>status_changed</" |
13831 | "<literal>status_changed</literal>. Till exempel:" | 13629 | "literal>. Till exempel:" | ||
13832 | 13630 | ||||
13833 | #. (itstool) path: section/programlisting | 13631 | #. (itstool) path: section/programlisting | ||
13834 | #: C/index-in.docbook:5826 | 13632 | #: C/index-in.docbook:5826 | ||
13835 | #, fuzzy, no-wrap | 13633 | #, fuzzy, no-wrap | ||
n | n | 13634 | #| msgid "" | ||
13635 | #| "\n" | ||||
13636 | #| "void ExampleWindow::on_printoperation_done(Gtk::PrintOperation::Result resul | ||||
> | t,\n" | ||||
13637 | #| " const Glib::RefPtr<PrintOperation>& op)\n" | ||||
13638 | #| "{\n" | ||||
13639 | #| " if (result == Gtk::PrintOperation::Result::ERROR)\n" | ||||
13640 | #| " //notify user\n" | ||||
13641 | #| " else if (result == Gtk::PrintOperation::Result::APPLY)\n" | ||||
13642 | #| " //Update PrintSettings with the ones used in this PrintOperation\n" | ||||
13643 | #| "\n" | ||||
13644 | #| " if (! op->is_finished())\n" | ||||
13645 | #| " op->signal_status_changed().connect(sigc::bind(sigc::mem_fun(\n" | ||||
13646 | #| " *this, &ExampleWindow::on_printoperation_status_changed), op));\n" | ||||
13647 | #| "}\n" | ||||
13836 | msgid "" | 13648 | msgid "" | ||
13837 | "<code>void ExampleWindow::on_printoperation_done(Gtk::PrintOperation::Result re | 13649 | "<code>void ExampleWindow::on_printoperation_done(Gtk::PrintOperation::Result re | ||
> | sult,\n" | > | sult,\n" | ||
13838 | " const Glib::RefPtr<PrintOperation>& op)\n" | 13650 | " const Glib::RefPtr<PrintOperation>& op)\n" | ||
13839 | "{\n" | 13651 | "{\n" | ||
13840 | " if (result == Gtk::PrintOperation::Result::ERROR)\n" | 13652 | " if (result == Gtk::PrintOperation::Result::ERROR)\n" | ||
14097 | "advanced." | 13909 | "advanced." | ||
14098 | 13910 | ||||
14099 | #. (itstool) path: section/title | 13911 | #. (itstool) path: section/title | ||
14100 | #: C/index-in.docbook:5952 C/index-in.docbook:5989 | 13912 | #: C/index-in.docbook:5952 C/index-in.docbook:5989 | ||
14101 | #, fuzzy | 13913 | #, fuzzy | ||
n | 14102 | #| msgid "Printing" | n | 13914 | #| msgid "FontDialog" |
14103 | msgid "PrintDialog" | 13915 | msgid "PrintDialog" | ||
n | 14104 | msgstr "Utskrift" | n | 13916 | msgstr "FontDialog" |
14105 | 13917 | ||||
14106 | #. (itstool) path: section/para | 13918 | #. (itstool) path: section/para | ||
14107 | #: C/index-in.docbook:5954 | 13919 | #: C/index-in.docbook:5954 | ||
14108 | msgid "" | 13920 | msgid "" | ||
14109 | "Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</" | 13921 | "Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</" | ||
14544 | "methodname> påverkar inte de faktiska filerna som URI:erna hänvisar till, de " | 14356 | "methodname> påverkar inte de faktiska filerna som URI:erna hänvisar till, de " | ||
14545 | "ändrar bara listan över senaste filer." | 14357 | "ändrar bara listan över senaste filer." | ||
14546 | 14358 | ||||
14547 | #. (itstool) path: section/title | 14359 | #. (itstool) path: section/title | ||
14548 | #: C/index-in.docbook:6167 | 14360 | #: C/index-in.docbook:6167 | ||
n | 14549 | #, fuzzy | n | ||
14550 | #| msgid "FileChooserDialog" | ||||
14551 | msgid "FileChooser and FileDialog" | 14361 | msgid "FileChooser and FileDialog" | ||
n | 14552 | msgstr "FileChooserDialog" | n | 14362 | msgstr "FileChooser och FileDialog" |
14553 | 14363 | ||||
14554 | #. (itstool) path: section/para | 14364 | #. (itstool) path: section/para | ||
14555 | #: C/index-in.docbook:6169 | 14365 | #: C/index-in.docbook:6169 | ||
14556 | msgid "" | 14366 | msgid "" | ||
14557 | "<classname>FileChooser</classname> is an interface that can be implemented " | 14367 | "<classname>FileChooser</classname> is an interface that can be implemented " | ||
14576 | "list of recently used files or other files. <classname>FileChooserWidget</" | 14386 | "list of recently used files or other files. <classname>FileChooserWidget</" | ||
14577 | "classname> is the basic building block for <classname>FileChooserDialog</" | 14387 | "classname> is the basic building block for <classname>FileChooserDialog</" | ||
14578 | "classname>, but you can embed it into your user interface if you want to." | 14388 | "classname>, but you can embed it into your user interface if you want to." | ||
14579 | msgstr "" | 14389 | msgstr "" | ||
14580 | "<classname>FileChooserWidget</classname> är ett enkelt gränssnitt för att " | 14390 | "<classname>FileChooserWidget</classname> är ett enkelt gränssnitt för att " | ||
n | 14581 | "visa en lista med senast använda filereller andra filer. " | n | 14391 | "visa en lista med senast använda filer eller andra filer. " |
14582 | "<classname>FileChooserWidget</classname> är grundblocket för " | 14392 | "<classname>FileChooserWidget</classname> är grundblocket för " | ||
14583 | "<classname>FileChooserDialog</classname>, men du kan bädda in den i ditt " | 14393 | "<classname>FileChooserDialog</classname>, men du kan bädda in den i ditt " | ||
14584 | "användargränssnitt om du vill." | 14394 | "användargränssnitt om du vill." | ||
14585 | 14395 | ||||
14586 | #. (itstool) path: note/para | 14396 | #. (itstool) path: note/para | ||
14589 | "<classname>FileChooser</classname> and the classes that implement it are " | 14399 | "<classname>FileChooser</classname> and the classes that implement it are " | ||
14590 | "deprecated since <application>gtkmm</application> 4.10. They have been " | 14400 | "deprecated since <application>gtkmm</application> 4.10. They have been " | ||
14591 | "replaced by <classname>FileDialog</classname>, which is available since " | 14401 | "replaced by <classname>FileDialog</classname>, which is available since " | ||
14592 | "<application>gtkmm</application> 4.10." | 14402 | "<application>gtkmm</application> 4.10." | ||
14593 | msgstr "" | 14403 | msgstr "" | ||
n | n | 14404 | "<classname>FileChooser</classname> och klasserna som implementerar den är " | ||
14405 | "föråldrade sedan <application>gtkmm</application> 4.10. De har ersatts av " | ||||
14406 | "<classname>FileDialog</classname>, vilken finns tillgänglig sedan " | ||||
14407 | "<application>gtkmm</application> 4.10." | ||||
14594 | 14408 | ||||
14595 | #. (itstool) path: section/title | 14409 | #. (itstool) path: section/title | ||
14596 | #: C/index-in.docbook:6191 | 14410 | #: C/index-in.docbook:6191 | ||
n | 14597 | #, fuzzy | n | ||
14598 | #| msgid "Simple FileChooserDialog example" | ||||
14599 | msgid "Simple FileDialog example" | 14411 | msgid "Simple FileDialog example" | ||
n | 14600 | msgstr "Enkelt FileChooserDialog-exempel" | n | 14412 | msgstr "Enkelt FileDialog-exempel" |
14601 | 14413 | ||||
14602 | #. (itstool) path: section/para | 14414 | #. (itstool) path: section/para | ||
14603 | #: C/index-in.docbook:6193 | 14415 | #: C/index-in.docbook:6193 | ||
14604 | #, fuzzy | 14416 | #, fuzzy | ||
14605 | msgid "" | 14417 | msgid "" | ||
14613 | "Nedan visas ett enkelt exempel på hur du använder " | 14425 | "Nedan visas ett enkelt exempel på hur du använder " | ||
14614 | "<classname>FileChooserDialog</classname>-klassen i ett program. Detta enkla " | 14426 | "<classname>FileChooserDialog</classname>-klassen i ett program. Detta enkla " | ||
14615 | "program har en menyrad med ett menyobjekt <guimenuitem>File Chooser Dialog</" | 14427 | "program har en menyrad med ett menyobjekt <guimenuitem>File Chooser Dialog</" | ||
14616 | "guimenuitem>. När du väljer detta menyobjekt poppar en dialogruta upp som " | 14428 | "guimenuitem>. När du väljer detta menyobjekt poppar en dialogruta upp som " | ||
14617 | "visar en fillista. Om du väljer <guimenuitem>Recent</guimenuitem> i " | 14429 | "visar en fillista. Om du väljer <guimenuitem>Recent</guimenuitem> i " | ||
n | 14618 | "sidopenelen visas listan över senast använda filer." | n | 14430 | "sidopanelen visas listan över senast använda filer." |
14619 | 14431 | ||||
14620 | #. (itstool) path: note/para | 14432 | #. (itstool) path: note/para | ||
14621 | #: C/index-in.docbook:6203 | 14433 | #: C/index-in.docbook:6203 | ||
14622 | #, fuzzy | 14434 | #, fuzzy | ||
14623 | msgid "" | 14435 | msgid "" | ||
14995 | "underordnade, etiketten med tangentbordsfokus. I målfasen går händelsen " | 14807 | "underordnade, etiketten med tangentbordsfokus. I målfasen går händelsen " | ||
14996 | "endast till komponenten med tangentbordsfokus (etiketten). I bubbelfasen går " | 14808 | "endast till komponenten med tangentbordsfokus (etiketten). I bubbelfasen går " | ||
14997 | "händelsen först till komponenten med tangentbordsfokus (etiketten), sedan " | 14809 | "händelsen först till komponenten med tangentbordsfokus (etiketten), sedan " | ||
14998 | "till dess överordnade (boxen). sedan till boxens överordnade (fönstret). Om " | 14810 | "till dess överordnade (boxen). sedan till boxens överordnade (fönstret). Om " | ||
14999 | "händelsen sprids hela vägen till etiketten och sedan upp till fönstret utan " | 14811 | "händelsen sprids hela vägen till etiketten och sedan upp till fönstret utan " | ||
n | 15000 | "att stopaas kommer texten du skriver dyka upp i den <classname>Label</" | n | 14812 | "att stoppas kommer texten du skriver dyka upp i den <classname>Label</" |
15001 | "classname> som är ovanför den <classname>Label</classname> du skriver i." | 14813 | "classname> som är ovanför den <classname>Label</classname> du skriver i." | ||
15002 | 14814 | ||||
15003 | #. (itstool) path: figure/title | 14815 | #. (itstool) path: figure/title | ||
15004 | #: C/index-in.docbook:6376 | 14816 | #: C/index-in.docbook:6376 | ||
15005 | #, fuzzy | 14817 | #, fuzzy | ||
15096 | 14908 | ||||
15097 | #. (itstool) path: section/para | 14909 | #. (itstool) path: section/para | ||
15098 | #: C/index-in.docbook:6411 | 14910 | #: C/index-in.docbook:6411 | ||
15099 | #, fuzzy | 14911 | #, fuzzy | ||
15100 | #| msgid "" | 14912 | #| msgid "" | ||
n | 15101 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 14913 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
15102 | #| "classGtk_1_1Entry.html\">Reference</link>" | 14914 | #| "classGtk_1_1Entry.html\">Reference</link>" | ||
15103 | msgid "" | 14915 | msgid "" | ||
15104 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 14916 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
15105 | "classGtk_1_1EventController.html\">Reference</link>" | 14917 | "classGtk_1_1EventController.html\">Reference</link>" | ||
15106 | msgstr "" | 14918 | msgstr "" | ||
n | 15107 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 14919 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
15108 | "classGtk_1_1Entry.html\">Referens</link>" | 14920 | "classGtk_1_1Entry.html\">Referens</link>" | ||
15109 | 14921 | ||||
15110 | #. (itstool) path: section/para | 14922 | #. (itstool) path: section/para | ||
15111 | #: C/index-in.docbook:6415 | 14923 | #: C/index-in.docbook:6415 | ||
15112 | msgid "This is an expanded version of the simple keyboard events example." | 14924 | msgid "This is an expanded version of the simple keyboard events example." | ||
15146 | msgid "Timeouts, I/O and Idle Functions" | 14958 | msgid "Timeouts, I/O and Idle Functions" | ||
15147 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | 14959 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | ||
15148 | 14960 | ||||
15149 | #. (itstool) path: section/title | 14961 | #. (itstool) path: section/title | ||
15150 | #: C/index-in.docbook:6435 | 14962 | #: C/index-in.docbook:6435 | ||
n | 15151 | #, fuzzy | n | ||
15152 | msgid "Timeouts" | 14963 | msgid "Timeouts" | ||
15153 | msgstr "Timeout" | 14964 | msgstr "Timeout" | ||
15154 | 14965 | ||||
15155 | #. (itstool) path: section/para | 14966 | #. (itstool) path: section/para | ||
15156 | #: C/index-in.docbook:6437 | 14967 | #: C/index-in.docbook:6437 | ||
15653 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | 15464 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | ||
15654 | 15465 | ||||
15655 | #. (itstool) path: section/programlisting | 15466 | #. (itstool) path: section/programlisting | ||
15656 | #: C/index-in.docbook:6672 | 15467 | #: C/index-in.docbook:6672 | ||
15657 | #, fuzzy, no-wrap | 15468 | #, fuzzy, no-wrap | ||
n | n | 15469 | #| msgid "" | ||
15470 | #| "\n" | ||||
15471 | #| "{\n" | ||||
15472 | #| " Gtk::Button aButton;\n" | ||||
15473 | #| " aButton.set_visible(true);\n" | ||||
15474 | #| " ...\n" | ||||
15475 | #| " app->run();\n" | ||||
15476 | #| "}\n" | ||||
15658 | msgid "" | 15477 | msgid "" | ||
15659 | "<code>{\n" | 15478 | "<code>{\n" | ||
15660 | " Gtk::Button aButton;\n" | 15479 | " Gtk::Button aButton;\n" | ||
15661 | " aButton.set_visible(true);\n" | 15480 | " aButton.set_visible(true);\n" | ||
15662 | " ...\n" | 15481 | " ...\n" | ||
15665 | "</code>" | 15484 | "</code>" | ||
15666 | msgstr "" | 15485 | msgstr "" | ||
15667 | "\n" | 15486 | "\n" | ||
15668 | "{\n" | 15487 | "{\n" | ||
15669 | " Gtk::Button aButton;\n" | 15488 | " Gtk::Button aButton;\n" | ||
n | 15670 | " aButton.show();\n" | n | 15489 | " aButton.set_visible(true);\n" |
15671 | " ...\n" | 15490 | " ...\n" | ||
15672 | " app->run();\n" | 15491 | " app->run();\n" | ||
15673 | "}\n" | 15492 | "}\n" | ||
15674 | 15493 | ||||
15675 | #. (itstool) path: section/para | 15494 | #. (itstool) path: section/para | ||
15712 | "make_managed()</function> (se nedan). Detta är inte strikt nödvändigt då " | 15531 | "make_managed()</function> (se nedan). Detta är inte strikt nödvändigt då " | ||
15713 | "operatorerna <literal>new</literal> och <literal>delete</literal> också kan " | 15532 | "operatorerna <literal>new</literal> och <literal>delete</literal> också kan " | ||
15714 | "användas, men modern C++-stil avråder från dessa till förmån för säkrare " | 15533 | "användas, men modern C++-stil avråder från dessa till förmån för säkrare " | ||
15715 | "minneshanteringsmodeller, så det är bättre att skapa komponenter med " | 15534 | "minneshanteringsmodeller, så det är bättre att skapa komponenter med " | ||
15716 | "<function>Gtk::make_managed()</function> och låta deras överordnade förstöra " | 15535 | "<function>Gtk::make_managed()</function> och låta deras överordnade förstöra " | ||
n | 15717 | "dem äna tt manuellt utföra dynamisk allokering. <_:programlisting-1/> Här " | n | 15536 | "dem än att manuellt utföra dynamisk allokering. <_:programlisting-1/> Här " |
15718 | "tar programmeraren bort <varname>pButton</varname> för att förhindra en " | 15537 | "tar programmeraren bort <varname>pButton</varname> för att förhindra en " | ||
15719 | "minnesläcka." | 15538 | "minnesläcka." | ||
15720 | 15539 | ||||
15721 | #. (itstool) path: section/programlisting | 15540 | #. (itstool) path: section/programlisting | ||
15722 | #: C/index-in.docbook:6699 | 15541 | #: C/index-in.docbook:6699 | ||
15748 | "leak." | 15567 | "leak." | ||
15749 | msgstr "" | 15568 | msgstr "" | ||
15750 | 15569 | ||||
15751 | #. (itstool) path: section/title | 15570 | #. (itstool) path: section/title | ||
15752 | #: C/index-in.docbook:6710 | 15571 | #: C/index-in.docbook:6710 | ||
n | 15753 | #, fuzzy | n | ||
15754 | msgid "Managed Widgets" | 15572 | msgid "Managed Widgets" | ||
15755 | msgstr "Hanterade komponenter" | 15573 | msgstr "Hanterade komponenter" | ||
15756 | 15574 | ||||
15757 | #. (itstool) path: section/para | 15575 | #. (itstool) path: section/para | ||
15758 | #: C/index-in.docbook:6712 | 15576 | #: C/index-in.docbook:6712 | ||
15835 | "överordnade behållare ska vara ansvarig för att förstöra den. Vidare avråder " | 15653 | "överordnade behållare ska vara ansvarig för att förstöra den. Vidare avråder " | ||
15836 | "modern C++-stil från användning av <literal>new</literal>-operatorn, vilken " | 15654 | "modern C++-stil från användning av <literal>new</literal>-operatorn, vilken " | ||
15837 | "krävdes då en nyss skapad komponent skickades till <function>manage()</" | 15655 | "krävdes då en nyss skapad komponent skickades till <function>manage()</" | ||
15838 | "function>. <application>gtkmm</application> har därför lagt till " | 15656 | "function>. <application>gtkmm</application> har därför lagt till " | ||
15839 | "<function>make_managed()</function> som kombinerar skapande och markerande " | 15657 | "<function>make_managed()</function> som kombinerar skapande och markerande " | ||
n | 15840 | "med <function>manage()</function> till ett enda steg. Detta undvikar att du " | n | 15658 | "med <function>manage()</function> till ett enda steg. Detta undviker att du " |
15841 | "behöver skriva <literal>new</literal>, vilket avrådes från i modern C++-" | 15659 | "behöver skriva <literal>new</literal>, vilket avrådes från i modern C++-" | ||
15842 | "stil, och mer tydligt uttrycker avsikten att skapa en hanterad komponent." | 15660 | "stil, och mer tydligt uttrycker avsikten att skapa en hanterad komponent." | ||
15843 | 15661 | ||||
15844 | #. (itstool) path: section/programlisting | 15662 | #. (itstool) path: section/programlisting | ||
15845 | #: C/index-in.docbook:6751 | 15663 | #: C/index-in.docbook:6751 | ||
15950 | msgid "" | 15768 | msgid "" | ||
15951 | "<code>auto pixbuf = Gdk::Pixbuf::create_from_file(filename);\n" | 15769 | "<code>auto pixbuf = Gdk::Pixbuf::create_from_file(filename);\n" | ||
15952 | "</code>" | 15770 | "</code>" | ||
15953 | msgstr "" | 15771 | msgstr "" | ||
15954 | "\n" | 15772 | "\n" | ||
n | 15955 | "auto pixbuf = Gdk::Pixbuf::create_from_file(filnamm);\n" | n | 15773 | "auto pixbuf = Gdk::Pixbuf::create_from_file(filnamn);\n" |
15956 | 15774 | ||||
15957 | #. (itstool) path: section/para | 15775 | #. (itstool) path: section/para | ||
15958 | #: C/index-in.docbook:6802 | 15776 | #: C/index-in.docbook:6802 | ||
15959 | #, fuzzy | 15777 | #, fuzzy | ||
15960 | msgid "" | 15778 | msgid "" | ||
16054 | "Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad " | 15872 | "Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad " | ||
16055 | "information om RefPtr." | 15873 | "information om RefPtr." | ||
16056 | 15874 | ||||
16057 | #. (itstool) path: listitem/para | 15875 | #. (itstool) path: listitem/para | ||
16058 | #: C/index-in.docbook:6834 | 15876 | #: C/index-in.docbook:6834 | ||
n | 16059 | #, fuzzy | n | ||
16060 | #| msgid "" | ||||
16061 | #| "Bjarne Stroustrup, \"The C++ Programming Language\" Forth Edition - " | ||||
16062 | #| "section 34.3" | ||||
16063 | msgid "" | 15877 | msgid "" | ||
16064 | "Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section " | 15878 | "Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section " | ||
16065 | "34.3" | 15879 | "34.3" | ||
16066 | msgstr "" | 15880 | msgstr "" | ||
16067 | "Bjarne Stroustrup, ”The C++ Programming Language”, 4:e utgåvan - avsnitt 34.3" | 15881 | "Bjarne Stroustrup, ”The C++ Programming Language”, 4:e utgåvan - avsnitt 34.3" | ||
16071 | msgid "Nicolai M. Josuttis, \"The C++ Standard Library\" - section 4.2" | 15885 | msgid "Nicolai M. Josuttis, \"The C++ Standard Library\" - section 4.2" | ||
16072 | msgstr "Nicolai M. Josuttis, ”The C++ Standard Library” - avsnitt 4.2" | 15886 | msgstr "Nicolai M. Josuttis, ”The C++ Standard Library” - avsnitt 4.2" | ||
16073 | 15887 | ||||
16074 | #. (itstool) path: section/para | 15888 | #. (itstool) path: section/para | ||
16075 | #: C/index-in.docbook:6830 | 15889 | #: C/index-in.docbook:6830 | ||
n | 16076 | #, fuzzy | n | ||
16077 | msgid "" | 15890 | msgid "" | ||
16078 | "If you wish to learn more about smartpointers, you might look in these " | 15891 | "If you wish to learn more about smartpointers, you might look in these " | ||
16079 | "books: <_:itemizedlist-1/>" | 15892 | "books: <_:itemizedlist-1/>" | ||
16080 | msgstr "" | 15893 | msgstr "" | ||
16081 | "Om du vill lära dig mer om smartpekare kan du titta i dessa böcker: <_:" | 15894 | "Om du vill lära dig mer om smartpekare kan du titta i dessa böcker: <_:" | ||
16207 | #: C/index-in.docbook:6893 | 16020 | #: C/index-in.docbook:6893 | ||
16208 | msgid "" | 16021 | msgid "" | ||
16209 | "To instantiate just one window, or just one of the child widgets, you can " | 16022 | "To instantiate just one window, or just one of the child widgets, you can " | ||
16210 | "specify the name of a widget as the second parameter. For instance," | 16023 | "specify the name of a widget as the second parameter. For instance," | ||
16211 | msgstr "" | 16024 | msgstr "" | ||
n | 16212 | "För att instansiera bara ett fönster, eller bara en av de underordnade " | n | 16025 | "För att bara instansiera ett fönster, eller bara en av de underordnade " |
16213 | "komponenterna, kan du ange namnet på en komponent som den andra parametern. " | 16026 | "komponenterna, kan du ange namnet på en komponent som den andra parametern. " | ||
16214 | "Till exempel," | 16027 | "Till exempel," | ||
16215 | 16028 | ||||
16216 | #. (itstool) path: section/programlisting | 16029 | #. (itstool) path: section/programlisting | ||
16217 | #: C/index-in.docbook:6895 | 16030 | #: C/index-in.docbook:6895 | ||
16236 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | 16049 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | ||
16237 | "This name should be specified in the <application>Cambalache</application> " | 16050 | "This name should be specified in the <application>Cambalache</application> " | ||
16238 | "window. If the widget could not be found, or is of the wrong type, then the " | 16051 | "window. If the widget could not be found, or is of the wrong type, then the " | ||
16239 | "pointer will be set to <literal>nullptr</literal>." | 16052 | "pointer will be set to <literal>nullptr</literal>." | ||
16240 | msgstr "" | 16053 | msgstr "" | ||
n | 16241 | "För att komma åt en komponent, exempelvis för att visa en dialogruta med " | n | 16054 | "För att komma åt en komponent, exempelvis för att visa en dialogruta, " |
16242 | "<methodname>show()</methodname>, använder du metoden " | 16055 | "använder du metoden <methodname>get_widget()</methodname> och " | ||
16243 | "<methodname>get_widget()</methodname> och tillhandahåller komponentens namn. " | 16056 | "tillhandahåller komponentens namn. Detta namn bör anges i " | ||
16244 | "Detta namn bör anges i <application>Glade</application>s egenskapsfönster. " | 16057 | "<application>Glade</application>s egenskapsfönster. Om komponenten inte " | ||
16245 | "Om komponenten inte kunde hittas eller är av fel typ så kommer pekaren " | 16058 | "kunde hittas eller är av fel typ så kommer pekaren sättas till nullptr." | ||
16246 | "sättas till nullptr." | ||||
16247 | 16059 | ||||
16248 | #. (itstool) path: section/para | 16060 | #. (itstool) path: section/para | ||
16249 | #: C/index-in.docbook:6910 | 16061 | #: C/index-in.docbook:6910 | ||
n | 16250 | #, fuzzy | n | ||
16251 | msgid "" | 16062 | msgid "" | ||
16252 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | 16063 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | ||
16253 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | 16064 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | ||
16254 | "<application>gtkmm</application> 4.10." | 16065 | "<application>gtkmm</application> 4.10." | ||
16255 | msgstr "" | 16066 | msgstr "" | ||
n | 16256 | "I detta steg använder vi en <classname>Gtk::Builder</classname>-instans för " | n | 16067 | "Dialogrutorna i detta kapitel härleds från <classname>Gtk::Window</" |
16257 | "att associera en <classname>Gtk::Builder</classname>-ui-fil med vår " | 16068 | "classname> eftersom <classname>Gtk::Dialog</classname> är föråldrat sedan " | ||
16258 | "programfönsterklass." | 16069 | "<application>gtkmm</application> 4.10." | ||
16259 | 16070 | ||||
16260 | #. (itstool) path: section/programlisting | 16071 | #. (itstool) path: section/programlisting | ||
16261 | #: C/index-in.docbook:6914 | 16072 | #: C/index-in.docbook:6914 | ||
16262 | #, fuzzy, no-wrap | 16073 | #, fuzzy, no-wrap | ||
16263 | msgid "" | 16074 | msgid "" | ||
16273 | msgid "" | 16084 | msgid "" | ||
16274 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | 16085 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | ||
16275 | "that the widget is of the expected type, and will show warnings on the " | 16086 | "that the widget is of the expected type, and will show warnings on the " | ||
16276 | "command line about these." | 16087 | "command line about these." | ||
16277 | msgstr "" | 16088 | msgstr "" | ||
n | 16278 | "<application>Gtk::Builder</application> tittar efter en null-pekare, och " | n | 16089 | "<classname>Gtk::Builder</classname> tittar efter en null-pekare, och " |
16279 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | 16090 | "kontrollerar att komponenten är av förväntad typ, och kommer visa varningar " | ||
16280 | "på kommandoraden om dessa." | 16091 | "på kommandoraden om dessa." | ||
16281 | 16092 | ||||
16282 | #. (itstool) path: section/para | 16093 | #. (itstool) path: section/para | ||
16283 | #: C/index-in.docbook:6923 | 16094 | #: C/index-in.docbook:6923 | ||
16320 | "<classname>Gtk::Builder</classname> har mer att säga om minneshanteringen " | 16131 | "<classname>Gtk::Builder</classname> har mer att säga om minneshanteringen " | ||
16321 | "för olika sorters objekt." | 16132 | "för olika sorters objekt." | ||
16322 | 16133 | ||||
16323 | #. (itstool) path: section/para | 16134 | #. (itstool) path: section/para | ||
16324 | #: C/index-in.docbook:6942 | 16135 | #: C/index-in.docbook:6942 | ||
n | 16325 | #, fuzzy | n | ||
16326 | #| msgid "" | ||||
16327 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
16328 | #| "classGtk_1_1Builder.html\">Reference</link>" | ||||
16329 | msgid "" | 16136 | msgid "" | ||
16330 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 16137 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
16331 | "classGtk_1_1Builder.html\">Reference</link>" | 16138 | "classGtk_1_1Builder.html\">Reference</link>" | ||
16332 | msgstr "" | 16139 | msgstr "" | ||
n | 16333 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 16140 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
16334 | "classGtk_1_1Builder.html\">Referens</link>" | 16141 | "classGtk_1_1Builder.html\">Referens</link>" | ||
16335 | 16142 | ||||
16336 | #. (itstool) path: section/para | 16143 | #. (itstool) path: section/para | ||
16337 | #: C/index-in.docbook:6947 | 16144 | #: C/index-in.docbook:6947 | ||
16338 | #, fuzzy | 16145 | #, fuzzy | ||
16489 | "}\n" | 16296 | "}\n" | ||
16490 | 16297 | ||||
16491 | #. (itstool) path: section/para | 16298 | #. (itstool) path: section/para | ||
16492 | #: C/index-in.docbook:7009 | 16299 | #: C/index-in.docbook:7009 | ||
16493 | #, fuzzy | 16300 | #, fuzzy | ||
n | n | 16301 | #| msgid "" | ||
16302 | #| "It's possible to pass additional arguments from " | ||||
16303 | #| "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||||
16304 | #| "derived widget. For instance, this call to " | ||||
16305 | #| "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> can " | ||||
16306 | #| "invoke this constructor" | ||||
16494 | msgid "" | 16307 | msgid "" | ||
16495 | "It's possible to pass additional arguments from " | 16308 | "It's possible to pass additional arguments from " | ||
16496 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | 16309 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||
16497 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | 16310 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | ||
16498 | "methodname>" | 16311 | "methodname>" | ||
16499 | msgstr "" | 16312 | msgstr "" | ||
16500 | "Det är möjligt att skicka ytterligare argument från " | 16313 | "Det är möjligt att skicka ytterligare argument från " | ||
16501 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | 16314 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | ||
16502 | "härledda komponenten. Exempelvis kan detta anrop till " | 16315 | "härledda komponenten. Exempelvis kan detta anrop till " | ||
16503 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | 16316 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | ||
n | 16504 | "denna konstruktor <_:programlisting-2/>" | n | 16317 | "denna konstruktor" |
16505 | 16318 | ||||
16506 | #. (itstool) path: section/programlisting | 16319 | #. (itstool) path: section/programlisting | ||
16507 | #: C/index-in.docbook:7014 | 16320 | #: C/index-in.docbook:7014 | ||
16508 | #, fuzzy, no-wrap | 16321 | #, fuzzy, no-wrap | ||
16509 | msgid "" | 16322 | msgid "" | ||
16855 | "<literal>LINGUAS</literal> innehåller en alfabetiskt sorterad lista med " | 16668 | "<literal>LINGUAS</literal> innehåller en alfabetiskt sorterad lista med " | ||
16856 | "koder som identifierar språken som ditt program översatts till " | 16669 | "koder som identifierar språken som ditt program översatts till " | ||
16857 | "(kommentarsrader startar med <literal>#</literal> och ignoreras). Varje " | 16670 | "(kommentarsrader startar med <literal>#</literal> och ignoreras). Varje " | ||
16858 | "språkkod som listas i <literal>LINGUAS</literal>-filen måste ha en " | 16671 | "språkkod som listas i <literal>LINGUAS</literal>-filen måste ha en " | ||
16859 | "motsvarande <literal>.po</literal>-fil. Så om ditt program har tyska och " | 16672 | "motsvarande <literal>.po</literal>-fil. Så om ditt program har tyska och " | ||
n | 16860 | "japanska översättnmingar så skulle din <literal>LINGUAS</literal>-fil se ut " | n | 16673 | "japanska översättningar så skulle din <literal>LINGUAS</literal>-fil se ut " |
16861 | "så här:" | 16674 | "så här:" | ||
16862 | 16675 | ||||
16863 | #. (itstool) path: section/programlisting | 16676 | #. (itstool) path: section/programlisting | ||
16864 | #: C/index-in.docbook:7179 | 16677 | #: C/index-in.docbook:7179 | ||
16865 | #, fuzzy, no-wrap | 16678 | #, fuzzy, no-wrap | ||
17089 | #| "code such as <_:programlisting-1/>" | 16902 | #| "code such as <_:programlisting-1/>" | ||
17090 | msgid "" | 16903 | msgid "" | ||
17091 | "Depending on the types of files that contain translatable strings, add code " | 16904 | "Depending on the types of files that contain translatable strings, add code " | ||
17092 | "such as" | 16905 | "such as" | ||
17093 | msgstr "" | 16906 | msgstr "" | ||
n | 17094 | "Beroende på typerna av filer som innehåller översättningsbara strängar " | n | 16907 | "Beroende på typerna av filer som innehåller översättbara strängar lägger du " |
17095 | "lägger du till kod som <_:programlisting-1/>" | 16908 | "till kod som <_:programlisting-1/>" | ||
17096 | 16909 | ||||
17097 | #. (itstool) path: listitem/programlisting | 16910 | #. (itstool) path: listitem/programlisting | ||
17098 | #: C/index-in.docbook:7282 | 16911 | #: C/index-in.docbook:7282 | ||
17099 | #, fuzzy, no-wrap | 16912 | #, fuzzy, no-wrap | ||
17100 | msgid "" | 16913 | msgid "" | ||
17151 | "String literals should be typed in the source code in English, but they " | 16964 | "String literals should be typed in the source code in English, but they " | ||
17152 | "should be surrounded by a call to the <function>gettext()</function> " | 16965 | "should be surrounded by a call to the <function>gettext()</function> " | ||
17153 | "function. These strings will be extracted for translation and the " | 16966 | "function. These strings will be extracted for translation and the " | ||
17154 | "translations may be used at runtime instead of the original English strings." | 16967 | "translations may be used at runtime instead of the original English strings." | ||
17155 | msgstr "" | 16968 | msgstr "" | ||
n | 17156 | "Stränglitterarel bör typas i källkoden på engelska, men de bör omgärdas av " | n | 16969 | "Stränglitterarer bör typas i källkoden på engelska, men de bör omgärdas av " |
17157 | "ett anrop till <function>gettext()</function>-funktionen. Dessa strängar " | 16970 | "ett anrop till <function>gettext()</function>-funktionen. Dessa strängar " | ||
17158 | "kommer extraheras för översättning och översättningarna kan användas vid " | 16971 | "kommer extraheras för översättning och översättningarna kan användas vid " | ||
17159 | "körning i stället för de ursprungliga engelska strängarna." | 16972 | "körning i stället för de ursprungliga engelska strängarna." | ||
17160 | 16973 | ||||
17161 | #. (itstool) path: section/para | 16974 | #. (itstool) path: section/para | ||
17824 | "underkatalogen <filename>po/</filename> (<command>intltool-update -m</" | 17637 | "underkatalogen <filename>po/</filename> (<command>intltool-update -m</" | ||
17825 | "command> kan hjälpa dig med detta) så att översättarna alltid kommer åt " | 17638 | "command> kan hjälpa dig med detta) så att översättarna alltid kommer åt " | ||
17826 | "uppdaterade <filename>mittprogram.pot</filename>-filer, och fryser helt " | 17639 | "uppdaterade <filename>mittprogram.pot</filename>-filer, och fryser helt " | ||
17827 | "enkelt strängarna åtminstone några dagar innan du släpper en ny utgåva, och " | 17640 | "enkelt strängarna åtminstone några dagar innan du släpper en ny utgåva, och " | ||
17828 | "meddelar det på gnome-i18n. Beroende på antalet strängar ditt program " | 17641 | "meddelar det på gnome-i18n. Beroende på antalet strängar ditt program " | ||
n | 17829 | "innehåller och på hur populärt det är komer sedan översättningarna börja " | n | 17642 | "innehåller och på hur populärt det är kommer sedan översättningarna börja " |
17830 | "rassla in som <filename>språknamn.po</filename>-filer." | 17643 | "rassla in som <filename>språknamn.po</filename>-filer." | ||
17831 | 17644 | ||||
17832 | #. (itstool) path: section/para | 17645 | #. (itstool) path: section/para | ||
17833 | #: C/index-in.docbook:7621 | 17646 | #: C/index-in.docbook:7621 | ||
17834 | msgid "" | 17647 | msgid "" | ||
18222 | "your custom class from that class. The <link linkend=\"custom-css-name-" | 18035 | "your custom class from that class. The <link linkend=\"custom-css-name-" | ||
18223 | "example\">custom CSS name example</link> shows how that's done." | 18036 | "example\">custom CSS name example</link> shows how that's done." | ||
18224 | msgstr "" | 18037 | msgstr "" | ||
18225 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | 18038 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | ||
18226 | "huvud taget, anropas från klassens init-funktion. Några andra " | 18039 | "huvud taget, anropas från klassens init-funktion. Några andra " | ||
n | 18227 | "<application>GTK</application>-funktioner måste, om de anropas , anropas " | n | 18040 | "<application>GTK</application>-funktioner måste, om de anropas, anropas från " |
18228 | "från instansens init-funktion. Om din anpassade komponent måste anropa någon " | 18041 | "instansens init-funktion. Om din anpassade komponent måste anropa någon av " | ||
18229 | "av dessa funktioner kan du härleda en klass från <classname>Glib::" | 18042 | "dessa funktioner kan du härleda en klass från <classname>Glib::" | ||
18230 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | 18043 | "ExtraClassInit</classname> och härleda din anpassade klass från den klassen. " | ||
n | n | 18044 | "Exemplet för <link linkend=\"custom-css-name-example\">anpassat CSS-namn</" | ||
18231 | "Följande exempel visar hur detta görs." | 18045 | "link> visar hur detta görs." | ||
18232 | 18046 | ||||
18233 | #. (itstool) path: section/para | 18047 | #. (itstool) path: section/para | ||
18234 | #: C/index-in.docbook:7780 | 18048 | #: C/index-in.docbook:7780 | ||
18235 | msgid "This example implements a widget which draws Penrose triangles." | 18049 | msgid "This example implements a widget which draws Penrose triangles." | ||
18236 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | 18050 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | ||
18264 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18078 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18265 | "master/examples/book/custom/custom_widget/\">Källkod</link>" | 18079 | "master/examples/book/custom/custom_widget/\">Källkod</link>" | ||
18266 | 18080 | ||||
18267 | #. (itstool) path: section/title | 18081 | #. (itstool) path: section/title | ||
18268 | #: C/index-in.docbook:7794 | 18082 | #: C/index-in.docbook:7794 | ||
n | 18269 | #, fuzzy | n | ||
18270 | #| msgid "Custom Containers" | ||||
18271 | msgid "Custom CSS Names" | 18083 | msgid "Custom CSS Names" | ||
n | 18272 | msgstr "Anpassade behållare" | n | 18084 | msgstr "Anpassade CSS-namn" |
18273 | 18085 | ||||
n | n | 18086 | # TODO: controlled | ||
18274 | #. (itstool) path: section/para | 18087 | #. (itstool) path: section/para | ||
18275 | #: C/index-in.docbook:7796 | 18088 | #: C/index-in.docbook:7796 | ||
n | n | 18089 | #, fuzzy | ||
18276 | msgid "" | 18090 | msgid "" | ||
18277 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | 18091 | "Many aspects of the look of widgets are controlled by CSS (Cascading Style " | ||
18278 | "Sheet) files. With CSS files you can choose color, font, line thickness, " | 18092 | "Sheet) files. With CSS files you can choose color, font, line thickness, " | ||
18279 | "etc. If you give some widgets their own names or their own CSS classes, you " | 18093 | "etc. If you give some widgets their own names or their own CSS classes, you " | ||
18280 | "can define CSS rules that apply only to those widgets, for instance certain " | 18094 | "can define CSS rules that apply only to those widgets, for instance certain " | ||
18281 | "buttons, without affecting other similar widgets." | 18095 | "buttons, without affecting other similar widgets." | ||
18282 | msgstr "" | 18096 | msgstr "" | ||
n | n | 18097 | "Många aspekter hos komponenters utseende styrs av CSS-filer (Cascading Style " | ||
18098 | "Sheet). Med CSS-filer kan du välja färg, typsnitt, radtjocklek och så " | ||||
18099 | "vidare. Om du ger några komponenter egna namn så kan du definiera CSS-regler " | ||||
18100 | "som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan " | ||||
18101 | "att påverka andra liknande komponenter." | ||||
18283 | 18102 | ||||
18284 | #. (itstool) path: section/title | 18103 | #. (itstool) path: section/title | ||
18285 | #: C/index-in.docbook:7803 | 18104 | #: C/index-in.docbook:7803 | ||
18286 | msgid "CSS Node Name, Widget Name, CSS Class Name" | 18105 | msgid "CSS Node Name, Widget Name, CSS Class Name" | ||
n | 18287 | msgstr "" | n | 18106 | msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn" |
18288 | 18107 | ||||
18289 | #. (itstool) path: listitem/para | 18108 | #. (itstool) path: listitem/para | ||
18290 | #: C/index-in.docbook:7807 | 18109 | #: C/index-in.docbook:7807 | ||
n | n | 18110 | #, fuzzy | ||
18291 | msgid "" | 18111 | msgid "" | ||
18292 | "<methodname>gtk_widget_class_set_css_name()</methodname> can only be called " | 18112 | "<methodname>gtk_widget_class_set_css_name()</methodname> can only be called " | ||
18293 | "from the class init function. It sets the CSS node name of all instances of " | 18113 | "from the class init function. It sets the CSS node name of all instances of " | ||
18294 | "a class (a GType). See the <link linkend=\"custom-init-functions\"> Class " | 18114 | "a class (a GType). See the <link linkend=\"custom-init-functions\"> Class " | ||
18295 | "Init and Instance Init Functions</link> section." | 18115 | "Init and Instance Init Functions</link> section." | ||
18296 | msgstr "" | 18116 | msgstr "" | ||
n | n | 18117 | "<methodname>gtk_widget_class_set_css_name()</methodname> kan endast anropas " | ||
18118 | "från klassens init-funktion. Den ställer in CSS-nodnamnet för alla instanser " | ||||
18119 | "av en klass (en GType). Se avsnittet <link linkend=\"custom-init-" | ||||
18120 | "functions\"> Initieringsfunktioner för klasser och instanser</link>." | ||||
18297 | 18121 | ||||
18298 | #. (itstool) path: listitem/para | 18122 | #. (itstool) path: listitem/para | ||
18299 | #: C/index-in.docbook:7811 | 18123 | #: C/index-in.docbook:7811 | ||
n | n | 18124 | #, fuzzy | ||
18125 | #| msgid "" | ||||
18126 | #| "<methodname>Gtk::Widget::set_name()</methodname> can be called from a C++ " | ||||
18127 | #| "constructor. It sets the name of a widget instance." | ||||
18300 | msgid "" | 18128 | msgid "" | ||
18301 | "<methodname>Gtk::Widget::set_name()</methodname> can be called from a " | 18129 | "<methodname>Gtk::Widget::set_name()</methodname> can be called from a " | ||
18302 | "<phrase role=\"nowrap\">C++</phrase> constructor. It sets the name of a " | 18130 | "<phrase role=\"nowrap\">C++</phrase> constructor. It sets the name of a " | ||
18303 | "widget instance." | 18131 | "widget instance." | ||
18304 | msgstr "" | 18132 | msgstr "" | ||
n | n | 18133 | "<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-" | ||
18134 | "konstruktor. Den ställer in namnet för en komponentinstans." | ||||
18305 | 18135 | ||||
18306 | #. (itstool) path: listitem/para | 18136 | #. (itstool) path: listitem/para | ||
18307 | #: C/index-in.docbook:7814 | 18137 | #: C/index-in.docbook:7814 | ||
n | n | 18138 | #, fuzzy | ||
18139 | #| msgid "" | ||||
18140 | #| "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from " | ||||
18141 | #| "a C++ constructor. It adds the name of a CSS class, used by a widget " | ||||
18142 | #| "instance." | ||||
18308 | msgid "" | 18143 | msgid "" | ||
18309 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | 18144 | "<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a " | ||
18310 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | 18145 | "<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS " | ||
18311 | "class, used by a widget instance." | 18146 | "class, used by a widget instance." | ||
18312 | msgstr "" | 18147 | msgstr "" | ||
n | n | 18148 | "<methodname>Gtk::Widget::add_class_name()</methodname> kan anropas från en C+" | ||
18149 | "+-konstruktor. Den lägger till namnet för en CSS-klass, använd av en " | ||||
18150 | "komponentinstans." | ||||
18313 | 18151 | ||||
18314 | #. (itstool) path: section/para | 18152 | #. (itstool) path: section/para | ||
18315 | #: C/index-in.docbook:7805 | 18153 | #: C/index-in.docbook:7805 | ||
n | n | 18154 | #, fuzzy | ||
18316 | msgid "" | 18155 | msgid "" | ||
18317 | "There are three ways of referring from a widget to data in a CSS file: <_:" | 18156 | "There are three ways of referring from a widget to data in a CSS file: <_:" | ||
18318 | "itemizedlist-1/> The following example shows a button with its own CSS node " | 18157 | "itemizedlist-1/> The following example shows a button with its own CSS node " | ||
18319 | "name, a label with a widget name and a label that uses its own CSS class." | 18158 | "name, a label with a widget name and a label that uses its own CSS class." | ||
18320 | msgstr "" | 18159 | msgstr "" | ||
n | n | 18160 | "Det finns tre sätt att referera från en komponent till data i en CSS-fil: <_:" | ||
18161 | "itemizedlist-1/> Följande exempel visar en knapp med eget CSS-nodnamn, en " | ||||
18162 | "etikett med ett komponentnamn och en etikett som använder sin egen CSS-klass." | ||||
18321 | 18163 | ||||
18322 | #. (itstool) path: section/title | 18164 | #. (itstool) path: section/title | ||
18323 | #: C/index-in.docbook:7823 | 18165 | #: C/index-in.docbook:7823 | ||
18324 | msgid "Custom Style Information" | 18166 | msgid "Custom Style Information" | ||
18325 | msgstr "Anpassad stilinformation" | 18167 | msgstr "Anpassad stilinformation" | ||
18334 | "StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::" | 18176 | "StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::" | ||
18335 | "StyleContext</classname> also contains methods to read some style " | 18177 | "StyleContext</classname> also contains methods to read some style " | ||
18336 | "information, but this class is deprecated since <application>gtkmm</" | 18178 | "information, but this class is deprecated since <application>gtkmm</" | ||
18337 | "application> 4.10." | 18179 | "application> 4.10." | ||
18338 | msgstr "" | 18180 | msgstr "" | ||
n | n | 18181 | "För att lägga till en stilmall till ett program använder du en av " | ||
18182 | "<methodname>Gtk::CssProvider::load_from_*()</methodname>-metoderna. Lägg " | ||||
18183 | "sedan till den med <methodname>Gtk::StyleProvider::" | ||||
18184 | "add_provider_for_display()</methodname> (tillgänglig sedan " | ||||
18185 | "<application>gtkmm</application> 4.10) eller <methodname>Gtk::StyleContext::" | ||||
18186 | "add_provider_for_display()</methodname>. <classname>Gtk::StyleContext</" | ||||
18187 | "classname> innehåller också metoder för att läsa viss stilinformation, men " | ||||
18188 | "denna klass är föråldrad sedan <application>gtkmm</application> 4.10." | ||||
18339 | 18189 | ||||
18340 | #. (itstool) path: section/para | 18190 | #. (itstool) path: section/para | ||
18341 | #: C/index-in.docbook:7832 | 18191 | #: C/index-in.docbook:7832 | ||
18342 | msgid "CSS files are described in the documentation of GTK." | 18192 | msgid "CSS files are described in the documentation of GTK." | ||
n | 18343 | msgstr "" | n | 18193 | msgstr "CSS-filer beskrivs i dokumentationen för GTK." |
18344 | 18194 | ||||
18345 | #. (itstool) path: section/para | 18195 | #. (itstool) path: section/para | ||
18346 | #: C/index-in.docbook:7838 | 18196 | #: C/index-in.docbook:7838 | ||
18347 | msgid "" | 18197 | msgid "" | ||
18348 | "This example implements a button and two labels with custom style " | 18198 | "This example implements a button and two labels with custom style " | ||
18349 | "information." | 18199 | "information." | ||
18350 | msgstr "" | 18200 | msgstr "" | ||
n | n | 18201 | "Detta exempel implementerar en knapp och två etiketter med anpassad " | ||
18202 | "stilinformation." | ||||
18351 | 18203 | ||||
18352 | #. (itstool) path: figure/title | 18204 | #. (itstool) path: figure/title | ||
18353 | #: C/index-in.docbook:7841 | 18205 | #: C/index-in.docbook:7841 | ||
18354 | #, fuzzy | 18206 | #, fuzzy | ||
n | 18355 | #| msgid "Custom Container" | n | ||
18356 | msgid "Custom CSS Name" | 18207 | msgid "Custom CSS Name" | ||
n | 18357 | msgstr "Anpassad behållare" | n | 18208 | msgstr "Anpassat CSS-namn" |
18358 | 18209 | ||||
18359 | #. (itstool) path: imageobject/imagedata | 18210 | #. (itstool) path: imageobject/imagedata | ||
18360 | #. This is a reference to an external file such as an image or video. When | 18211 | #. This is a reference to an external file such as an image or video. When | ||
18361 | #. the file changes, the md5 hash will change to let you know you need to | 18212 | #. the file changes, the md5 hash will change to let you know you need to | ||
18362 | #. update your localized copy. The msgstr is not used at all. Set it to | 18213 | #. update your localized copy. The msgstr is not used at all. Set it to | ||
18366 | msgctxt "_" | 18217 | msgctxt "_" | ||
18367 | msgid "" | 18218 | msgid "" | ||
18368 | "external ref='figures/custom_css_name.png' " | 18219 | "external ref='figures/custom_css_name.png' " | ||
18369 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | 18220 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18370 | msgstr "" | 18221 | msgstr "" | ||
n | 18371 | "external ref='figures/custom_container.png' " | n | 18222 | "external ref='figures/custom_css_name.png' " |
18372 | "md5='5b4ae318725b6efbf5c6e1f7c94e6e04'" | 18223 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18373 | 18224 | ||||
18374 | #. (itstool) path: section/para | 18225 | #. (itstool) path: section/para | ||
18375 | #: C/index-in.docbook:7847 | 18226 | #: C/index-in.docbook:7847 | ||
n | 18376 | #, fuzzy | n | ||
18377 | #| msgid "" | ||||
18378 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
18379 | #| "tree/master/examples/book/custom/custom_container/\">Source Code</link>" | ||||
18380 | msgid "" | 18227 | msgid "" | ||
18381 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18228 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18382 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | 18229 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | ||
18383 | msgstr "" | 18230 | msgstr "" | ||
18384 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18231 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 18385 | "master/examples/book/custom/custom_container/\">Källkod</link>" | n | 18232 | "master/examples/book/custom/custom_css_name/\">Källkod</link>" |
18386 | 18233 | ||||
18387 | #. (itstool) path: chapter/title | 18234 | #. (itstool) path: chapter/title | ||
18388 | #: C/index-in.docbook:7854 | 18235 | #: C/index-in.docbook:7854 | ||
18389 | msgid "Multi-threaded programs" | 18236 | msgid "Multi-threaded programs" | ||
18390 | msgstr "Flertrådade program" | 18237 | msgstr "Flertrådade program" | ||
18719 | msgstr "" | 18566 | msgstr "" | ||
18720 | "Ett <classname>Glib::Dispatcher</classname>-objekt kan sändas ut av " | 18567 | "Ett <classname>Glib::Dispatcher</classname>-objekt kan sändas ut av " | ||
18721 | "mottagartråden såväl som av en arbetartråd, även om detta ska göras inom " | 18568 | "mottagartråden såväl som av en arbetartråd, även om detta ska göras inom " | ||
18722 | "rimliga gränser. På unix-liknande system delar <classname>Glib::Dispatcher</" | 18569 | "rimliga gränser. På unix-liknande system delar <classname>Glib::Dispatcher</" | ||
18723 | "classname>-objekt ett gemensamt rör, vilket i alla fall i teorin skulle " | 18570 | "classname>-objekt ett gemensamt rör, vilket i alla fall i teorin skulle " | ||
n | 18724 | "kunna bli fullt på ett system under världig tung belastning som kör ett " | n | 18571 | "kunna bli fullt på ett system under väldigt tung belastning som kör ett " |
18725 | "program med ett väldigt stort antal <classname>Dispatcher</classname>-objekt " | 18572 | "program med ett väldigt stort antal <classname>Dispatcher</classname>-objekt " | ||
18726 | "som används. Om röret skulle fyllas innan mottagartrådens huvudslinga har " | 18573 | "som används. Om röret skulle fyllas innan mottagartrådens huvudslinga har " | ||
18727 | "haft en chans att läsa från det för att tömma det, och mottagartråden " | 18574 | "haft en chans att läsa från det för att tömma det, och mottagartråden " | ||
18728 | "försöker att sända ut och skriva till det när det är i det tillståndet, så " | 18575 | "försöker att sända ut och skriva till det när det är i det tillståndet, så " | ||
18729 | "skulle mottagartråden blockera på skrivningen, vilket ger ett dödläge. Där " | 18576 | "skulle mottagartråden blockera på skrivningen, vilket ger ett dödläge. Där " | ||
18830 | "each other, and generates <filename>build.ninja</filename> or an equivalent " | 18677 | "each other, and generates <filename>build.ninja</filename> or an equivalent " | ||
18831 | "file so the files can be compiled in the correct order. <application>Meson</" | 18678 | "file so the files can be compiled in the correct order. <application>Meson</" | ||
18832 | "application> permits automatic configuration of software installation, " | 18679 | "application> permits automatic configuration of software installation, " | ||
18833 | "handling a large number of system quirks to increase portability." | 18680 | "handling a large number of system quirks to increase portability." | ||
18834 | msgstr "" | 18681 | msgstr "" | ||
n | 18835 | "Använd<application>Meson</application>! Det är din vän :) Det undersäker C- " | n | 18682 | "Använd<application>Meson</application>! Det är din vän :) Det undersöker C- " |
18836 | "och C++-filer, avgör hur de beror på varandra, och genererar <filename>build." | 18683 | "och C++-filer, avgör hur de beror på varandra, och genererar <filename>build." | ||
18837 | "ninja</filename> eller en motsvarande fil så att filerna kan kompileras i " | 18684 | "ninja</filename> eller en motsvarande fil så att filerna kan kompileras i " | ||
n | 18838 | "riktig ordning. <application>Meson</application> tillåter automatisk " | n | 18685 | "rätt ordning. <application>Meson</application> tillåter automatisk " |
18839 | "konfiguration av programvaruinstallation, och hanterar ett stort antal " | 18686 | "konfiguration av programvaruinstallation, och hanterar ett stort antal " | ||
18840 | "systemabrovinkar för att öka portabilitet." | 18687 | "systemabrovinkar för att öka portabilitet." | ||
18841 | 18688 | ||||
18842 | #. (itstool) path: chapter/para | 18689 | #. (itstool) path: chapter/para | ||
18843 | #: C/index-in.docbook:8115 | 18690 | #: C/index-in.docbook:8115 | ||
18896 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | 18743 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | ||
18897 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | 18744 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | ||
18898 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | 18745 | "args)</methodname>. Det skapar och visar ett fönster. När fönstret är dolt " | ||
18899 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | 18746 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | ||
18900 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | 18747 | "returnerar till anroparen. Detta kan hända när användaren stänger fönstret, " | ||
n | 18901 | "eller när din kod bestämmer sig för att köra <methodname>hide()</methodname> " | n | 18748 | "eller när din kod bestämmer sig för att dölja fönstret med " |
18902 | "på fönstret. Du kan förhindra användaren från att stränga fönstret " | 18749 | "<methodname>set_visible(false)</methodname>. Du kan förhindra användaren " | ||
18903 | "(exempelvis om det finns osparade ändringar) genom att åsidosätta " | 18750 | "från att stränga fönstret (exempelvis om det finns osparade ändringar) genom " | ||
18904 | "<methodname>Gtk::Window::on_close_request()</methodname>." | 18751 | "att åsidosätta <methodname>Gtk::Window::on_close_request()</methodname>." | ||
18905 | 18752 | ||||
18906 | #. (itstool) path: section/para | 18753 | #. (itstool) path: section/para | ||
18907 | #: C/index-in.docbook:8139 | 18754 | #: C/index-in.docbook:8139 | ||
18908 | msgid "Most of our examples use this technique." | 18755 | msgid "Most of our examples use this technique." | ||
18909 | msgstr "De flesta av våra exempel använder denna teknik." | 18756 | msgstr "De flesta av våra exempel använder denna teknik." | ||
18964 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | 18811 | "Packa komponenten i en behållare med lämpligt anrop, t.ex. <methodname>Gtk::" | ||
18965 | "Box::append()</methodname>." | 18812 | "Box::append()</methodname>." | ||
18966 | 18813 | ||||
18967 | #. (itstool) path: section/para | 18814 | #. (itstool) path: section/para | ||
18968 | #: C/index-in.docbook:8187 | 18815 | #: C/index-in.docbook:8187 | ||
n | 18969 | #, fuzzy | n | ||
18970 | msgid "" | 18816 | msgid "" | ||
18971 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | 18817 | "If you don't want all widgets to be shown, call <methodname>Gtk::Widget::" | ||
18972 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | 18818 | "set_visible(false)</methodname> on the widgets that you don't want to show. " | ||
18973 | "If a container widget is hidden, all of its child widgets are also hidden, " | 18819 | "If a container widget is hidden, all of its child widgets are also hidden, " | ||
18974 | "even if <methodname>set_visible(false)</methodname> is not called on the " | 18820 | "even if <methodname>set_visible(false)</methodname> is not called on the " | ||
18975 | "child widgets." | 18821 | "child widgets." | ||
18976 | msgstr "" | 18822 | msgstr "" | ||
18977 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | 18823 | "Om du inte vill att alla komponenter ska visas anropar du <methodname>Gtk::" | ||
n | 18978 | "Widget::hide()</methodname> på komponenterna som du inte vill ska visas. Om " | n | 18824 | "Widget::set_visible(false)</methodname> på komponenterna som du inte vill " |
18979 | "en behållarkomponent är dold så är även alla dess underordnade komponenter " | 18825 | "ska visas. Om en behållarkomponent är dold så är även alla dess underordnade " | ||
18980 | "dolda, även om <methodname>hide()</methodname> inte anropas på de " | 18826 | "komponenter dolda, även om <methodname>set_visible(false)</methodname> inte " | ||
18981 | "underordnade komponenterna." | 18827 | "anropas på de underordnade komponenterna." | ||
18982 | 18828 | ||||
18983 | #. (itstool) path: chapter/title | 18829 | #. (itstool) path: chapter/title | ||
18984 | #: C/index-in.docbook:8198 | 18830 | #: C/index-in.docbook:8198 | ||
18985 | msgid "Building applications" | 18831 | msgid "Building applications" | ||
18986 | msgstr "Bygga program" | 18832 | msgstr "Bygga program" | ||
19187 | "kommandoradsargument, och <methodname>signal_open()</methodname>:s " | 19033 | "kommandoradsargument, och <methodname>signal_open()</methodname>:s " | ||
19188 | "standardhanterare, som anropas när programmet körs med kommandoradsargument." | 19034 | "standardhanterare, som anropas när programmet körs med kommandoradsargument." | ||
19189 | 19035 | ||||
19190 | #. (itstool) path: section/para | 19036 | #. (itstool) path: section/para | ||
19191 | #: C/index-in.docbook:8286 | 19037 | #: C/index-in.docbook:8286 | ||
n | 19192 | #, fuzzy | n | ||
19193 | #| msgid "" | ||||
19194 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
19195 | #| "classGio_1_1Application.html\">Gio::Application Reference</link>" | ||||
19196 | msgid "" | 19038 | msgid "" | ||
19197 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 19039 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
19198 | "classGio_1_1Application.html\">Gio::Application Reference</link>" | 19040 | "classGio_1_1Application.html\">Gio::Application Reference</link>" | ||
19199 | msgstr "" | 19041 | msgstr "" | ||
n | 19200 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 19042 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
19201 | "classGio_1_1Application.html\">Referens för Gio::Application</link>" | 19043 | "classGio_1_1Application.html\">Referens för Gio::Application</link>" | ||
19202 | 19044 | ||||
19203 | #. (itstool) path: section/para | 19045 | #. (itstool) path: section/para | ||
19204 | #: C/index-in.docbook:8287 | 19046 | #: C/index-in.docbook:8287 | ||
n | 19205 | #, fuzzy | n | ||
19206 | #| msgid "" | ||||
19207 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
19208 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||||
19209 | msgid "" | 19047 | msgid "" | ||
19210 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 19048 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
19211 | "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | 19049 | "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||
19212 | msgstr "" | 19050 | msgstr "" | ||
n | 19213 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 19051 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
19214 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | 19052 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | ||
19215 | 19053 | ||||
19216 | #. (itstool) path: section/para | 19054 | #. (itstool) path: section/para | ||
19217 | #: C/index-in.docbook:8289 | 19055 | #: C/index-in.docbook:8289 | ||
19218 | #, fuzzy | 19056 | #, fuzzy | ||
19305 | #, fuzzy | 19143 | #, fuzzy | ||
19306 | msgid "" | 19144 | msgid "" | ||
19307 | "Our simple ui file gives the window a title, and puts a <classname>Gtk::" | 19145 | "Our simple ui file gives the window a title, and puts a <classname>Gtk::" | ||
19308 | "Stack</classname> widget as the main content." | 19146 | "Stack</classname> widget as the main content." | ||
19309 | msgstr "" | 19147 | msgstr "" | ||
n | 19310 | "Vår enkla ui-fil ger fönstret en tilel och sätter en <classname>Gtk::Stack</" | n | 19148 | "Vår enkla ui-fil ger fönstret en titel och sätter en <classname>Gtk::Stack</" |
19311 | "classname>-komponent som huvudinnehållet." | 19149 | "classname>-komponent som huvudinnehållet." | ||
19312 | 19150 | ||||
19313 | #. (itstool) path: section/para | 19151 | #. (itstool) path: section/para | ||
19314 | #: C/index-in.docbook:8334 | 19152 | #: C/index-in.docbook:8334 | ||
19315 | #, fuzzy | 19153 | #, fuzzy | ||
19632 | "module.html\">GNOME module</link>." | 19470 | "module.html\">GNOME module</link>." | ||
19633 | msgstr "" | 19471 | msgstr "" | ||
19634 | "Innan vi kan använda detta schema i vårt program behöver vi kompilera det " | 19472 | "Innan vi kan använda detta schema i vårt program behöver vi kompilera det " | ||
19635 | "till den binärform som <classname>Gio::Settings</classname> förväntar sig. " | 19473 | "till den binärform som <classname>Gio::Settings</classname> förväntar sig. " | ||
19636 | "GIO tillhandahåller makron för att göra detta i autotools-baserade projekt. " | 19474 | "GIO tillhandahåller makron för att göra detta i autotools-baserade projekt. " | ||
n | 19637 | "Se beskrivningne av <link xlink:href=\"https://docs.gtk.org/gio/class." | n | 19475 | "Se beskrivningen av <link xlink:href=\"https://docs.gtk.org/gio/class." |
19638 | "Settings.html\">GSettings</link>. Meson tillhandahåller funktionen " | 19476 | "Settings.html\">GSettings</link>. Meson tillhandahåller funktionen " | ||
19639 | "<function>compile_schemas()</function> i <link xlink:href=\"https://" | 19477 | "<function>compile_schemas()</function> i <link xlink:href=\"https://" | ||
19640 | "mesonbuild.com/Gnome-module.html\">GNOME-modulen</link>." | 19478 | "mesonbuild.com/Gnome-module.html\">GNOME-modulen</link>." | ||
19641 | 19479 | ||||
19642 | #. (itstool) path: section/para | 19480 | #. (itstool) path: section/para | ||
19710 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | 19548 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | ||
19711 | "preference dialog. The types of the properties in these classes can't be " | 19549 | "preference dialog. The types of the properties in these classes can't be " | ||
19712 | "automatically converted to the string type that <classname>Gio::Settings</" | 19550 | "automatically converted to the string type that <classname>Gio::Settings</" | ||
19713 | "classname> requires." | 19551 | "classname> requires." | ||
19714 | msgstr "" | 19552 | msgstr "" | ||
n | 19715 | "Vi denna punkt kommer programmet redan reagera om du ändrar en av " | n | 19553 | "Vid denna punkt kommer programmet redan reagera om du ändrar en av " |
19716 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | 19554 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | ||
19717 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | 19555 | "<command>gsettings</command>. Vi förväntar oss förstås att programmet " | ||
19718 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | 19556 | "tillhandahåller en inställningsdialog för dessa. Så låt oss göra så nu. Vår " | ||
19719 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | 19557 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | ||
19720 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | 19558 | "classname>, och vi kommer använda samma tekniker som vi redan sett i " | ||
19721 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | 19559 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | ||
n | 19722 | "classname>-ui-fil och inställningsbindningar." | n | 19560 | "classname>-ui-fil och inställningsbindningar. I detta fall är dock " |
19561 | "bindningarna mer avancerade. Vi använder <classname>Gtk::FontDialogButton</" | ||||
19562 | "classname> och <classname>Gtk::DropDown</classname> i inställningsdialogen. " | ||||
19563 | "Typerna för egenskaperna i dessa klasser kan inte automatiskt konverteras " | ||||
19564 | "till den strängtyp som <classname>Gio::Settings</classname> kräver." | ||||
19723 | 19565 | ||||
19724 | #. (itstool) path: section/para | 19566 | #. (itstool) path: section/para | ||
19725 | #: C/index-in.docbook:8525 | 19567 | #: C/index-in.docbook:8525 | ||
19726 | #, fuzzy | 19568 | #, fuzzy | ||
19727 | msgid "" | 19569 | msgid "" | ||
19731 | "in our application class, and make it open a new preference dialog." | 19573 | "in our application class, and make it open a new preference dialog." | ||
19732 | msgstr "" | 19574 | msgstr "" | ||
19733 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | 19575 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | ||
19734 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | 19576 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | ||
19735 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | 19577 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | ||
n | 19736 | "programklass, och får den öppna en ny inställningsdialog." | n | 19578 | "programklass, och får den att öppna en ny inställningsdialog." |
19737 | 19579 | ||||
19738 | #. (itstool) path: section/programlisting | 19580 | #. (itstool) path: section/programlisting | ||
19739 | #: C/index-in.docbook:8530 | 19581 | #: C/index-in.docbook:8530 | ||
19740 | #, fuzzy, no-wrap | 19582 | #, fuzzy, no-wrap | ||
19741 | #| msgid "" | 19583 | #| msgid "" | ||
20268 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | 20110 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | ||
20269 | "i GNOME git." | 20111 | "i GNOME git." | ||
20270 | 20112 | ||||
20271 | #. (itstool) path: chapter/para | 20113 | #. (itstool) path: chapter/para | ||
20272 | #: C/index-in.docbook:8760 | 20114 | #: C/index-in.docbook:8760 | ||
n | 20273 | #, fuzzy | n | ||
20274 | msgid "" | 20115 | msgid "" | ||
20275 | "If you do decide to contribute, please post your contribution as an issue or " | 20116 | "If you do decide to contribute, please post your contribution as an issue or " | ||
20276 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | 20117 | "merge request to <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-" | ||
20277 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | 20118 | "documentation\">GitLab</link>. You can also discuss your ideas on GNOME's " | ||
20278 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | 20119 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | ||
20282 | "document is free, and any addition you provide must also be free. That is, " | 20123 | "document is free, and any addition you provide must also be free. That is, " | ||
20283 | "people must be able to use any portion of your examples in their programs, " | 20124 | "people must be able to use any portion of your examples in their programs, " | ||
20284 | "and copies of this document (including your contribution) may be distributed " | 20125 | "and copies of this document (including your contribution) may be distributed " | ||
20285 | "freely." | 20126 | "freely." | ||
20286 | msgstr "" | 20127 | msgstr "" | ||
n | 20287 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag till sändlistan " | n | 20128 | "Om du bestämmer dig för att bidra kan du skicka ditt bidrag som ett ärende " |
20288 | "för <application>gtkmm</application> på <link xlink:href=\"mailto:gtkmm-" | ||||
20289 | "list@gnome.org\"><gtkmm-list@gnome.org></link> eller som ett ärende " | ||||
20290 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | 20129 | "eller en merge-förfrågan till <link xlink:href=\"https://gitlab.gnome.org/" | ||
n | 20291 | "GNOME/gtkmm-documentation\">GitLab</link>. Var också medveten om att hela " | n | 20130 | "GNOME/gtkmm-documentation\">GitLab</link>. Du kan också diskutera dina idéer " |
20131 | "på GNOMEs <link xlink:href=\"https://discourse.gnome.org\">Discourse</link>-" | ||||
20132 | "instans, under kategorin <link xlink:href=\"https://discourse.gnome.org/c/" | ||||
20133 | "platform/language-bindings\"> Platform/Language bindings</link> med en " | ||||
20134 | "<literal>cplusplus</literal>-tagg. Var också medveten om att hela detta " | ||||
20292 | "detta dokument är fritt, och alla tillägg du gör också måste vara fria. Det " | 20135 | "dokument är fritt, och alla tillägg du gör också måste vara fria. Det vill " | ||
20293 | "vill säga att personer måste kunna använda alla delar av dina exempel i sina " | 20136 | "säga att personer måste kunna använda alla delar av dina exempel i sina " | ||
20294 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | 20137 | "program, och kopior av detta dokument (med ditt bidrag) måste kunna spridas " | ||
20295 | "fritt." | 20138 | "fritt." | ||
20296 | 20139 | ||||
20297 | #. (itstool) path: appendix/title | 20140 | #. (itstool) path: appendix/title | ||
20298 | #: C/index-in.docbook:8775 | 20141 | #: C/index-in.docbook:8775 | ||
n | 20299 | #, fuzzy | n | ||
20300 | msgid "The RefPtr smartpointer" | 20142 | msgid "The RefPtr smartpointer" | ||
20301 | msgstr "RefPtr-smartpekaren" | 20143 | msgstr "RefPtr-smartpekaren" | ||
20302 | 20144 | ||||
20303 | #. (itstool) path: appendix/para | 20145 | #. (itstool) path: appendix/para | ||
20304 | #: C/index-in.docbook:8777 | 20146 | #: C/index-in.docbook:8777 | ||
20352 | "methods." | 20194 | "methods." | ||
20353 | msgstr "" | 20195 | msgstr "" | ||
20354 | 20196 | ||||
20355 | #. (itstool) path: appendix/para | 20197 | #. (itstool) path: appendix/para | ||
20356 | #: C/index-in.docbook:8802 | 20198 | #: C/index-in.docbook:8802 | ||
n | 20357 | #, fuzzy | n | ||
20358 | #| msgid "" | ||||
20359 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
20360 | #| "classGlib_1_1RefPtr.html\">Reference</link>" | ||||
20361 | msgid "" | 20199 | msgid "" | ||
20362 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr." | 20200 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr." | ||
20363 | "html\">Reference</link>" | 20201 | "html\">Reference</link>" | ||
20364 | msgstr "" | 20202 | msgstr "" | ||
n | 20365 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 20203 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr." |
20366 | "classGlib_1_1RefPtr.html\">Referens</link>" | 20204 | "html\">Referens</link>" | ||
20367 | 20205 | ||||
20368 | #. (itstool) path: appendix/para | 20206 | #. (itstool) path: appendix/para | ||
20369 | #: C/index-in.docbook:8804 | 20207 | #: C/index-in.docbook:8804 | ||
n | 20370 | #, fuzzy | n | ||
20371 | msgid "" | 20208 | msgid "" | ||
20372 | "A smartpointer acts much like a normal pointer. Here are a few examples." | 20209 | "A smartpointer acts much like a normal pointer. Here are a few examples." | ||
20373 | msgstr "" | 20210 | msgstr "" | ||
20374 | "En smartpekare agerar i stort sett som en vanlig pekare. Här är några " | 20211 | "En smartpekare agerar i stort sett som en vanlig pekare. Här är några " | ||
20375 | "exempel." | 20212 | "exempel." | ||
20803 | "generates a slot for a member method of a particular instance." | 20640 | "generates a slot for a member method of a particular instance." | ||
20804 | msgstr "" | 20641 | msgstr "" | ||
20805 | "<function>sigc::ptr_fun()</function> genererar en <classname>sigc::slot</" | 20642 | "<function>sigc::ptr_fun()</function> genererar en <classname>sigc::slot</" | ||
20806 | "classname>. Ett fack är ett objekt som ser ut och känns som en funktion, men " | 20643 | "classname>. Ett fack är ett objekt som ser ut och känns som en funktion, men " | ||
20807 | "faktiskt är ett objekt. Dessa är också kända som funktionsobjekt, eller " | 20644 | "faktiskt är ett objekt. Dessa är också kända som funktionsobjekt, eller " | ||
n | 20808 | "funktorer. <function>sigc::ptr_fun()</function> genererar ett fack flr en " | n | 20645 | "funktorer. <function>sigc::ptr_fun()</function> genererar ett fack för en " |
20809 | "fristående funktion eller statisk metod. <function>sigc::mem_fun()</" | 20646 | "fristående funktion eller statisk metod. <function>sigc::mem_fun()</" | ||
20810 | "function> genererar ett fack för en medlemsmetod för en specifik instans." | 20647 | "function> genererar ett fack för en medlemsmetod för en specifik instans." | ||
20811 | 20648 | ||||
20812 | #. (itstool) path: section/para | 20649 | #. (itstool) path: section/para | ||
20813 | #: C/index-in.docbook:9003 | 20650 | #: C/index-in.docbook:9003 | ||
21240 | "Om du använder en signalhanterare för att fånga samma signal från flera " | 21077 | "Om du använder en signalhanterare för att fånga samma signal från flera " | ||
21241 | "komponenter kan du vilja att den signalhanteraren erhåller lite extra " | 21078 | "komponenter kan du vilja att den signalhanteraren erhåller lite extra " | ||
21242 | "information. Till exempel kan du vilja veta vilken knapp som klickades på. " | 21079 | "information. Till exempel kan du vilja veta vilken knapp som klickades på. " | ||
21243 | "Du kan göra detta med <function>sigc::bind()</function>. Här är lite kod " | 21080 | "Du kan göra detta med <function>sigc::bind()</function>. Här är lite kod " | ||
21244 | "från <link linkend=\"sec-helloworld2\">helloworld2</link>-exemplet. <_:" | 21081 | "från <link linkend=\"sec-helloworld2\">helloworld2</link>-exemplet. <_:" | ||
n | 21245 | "programlisting-1/> Detta sägare att vi vill att signalen ska skicka ett " | n | 21082 | "programlisting-1/> Detta säger att vi vill att signalen ska skicka ett extra " |
21246 | "extra <classname>Glib::ustring</classname>-argument till signalhanteraren, " | 21083 | "<classname>Glib::ustring</classname>-argument till signalhanteraren, och att " | ||
21247 | "och att värdet på det argumentet ska vara ”button 1”. Vi kommer givetvis " | 21084 | "värdet på det argumentet ska vara ”button 1”. Vi kommer givetvis behöva " | ||
21248 | "behöva lägga till det extra argumentet till deklarationen för vår " | 21085 | "lägga till det extra argumentet till deklarationen för vår signalhanterare: " | ||
21249 | "signalhanterare: <_:programlisting-2/> En vanlig ”clicked”-signalhanterare " | 21086 | "<_:programlisting-2/> En vanlig ”clicked”-signalhanterare skulle förstås " | ||
21250 | "skulle förstås inte ha några argument." | 21087 | "inte ha några argument." | ||
21251 | 21088 | ||||
21252 | #. (itstool) path: section/programlisting | 21089 | #. (itstool) path: section/programlisting | ||
21253 | #: C/index-in.docbook:9206 | 21090 | #: C/index-in.docbook:9206 | ||
21254 | #, fuzzy, no-wrap | 21091 | #, fuzzy, no-wrap | ||
21255 | msgid "" | 21092 | msgid "" | ||
21662 | "}\n" | 21499 | "}\n" | ||
21663 | 21500 | ||||
21664 | #. (itstool) path: section/para | 21501 | #. (itstool) path: section/para | ||
21665 | #: C/index-in.docbook:9383 | 21502 | #: C/index-in.docbook:9383 | ||
21666 | #, fuzzy | 21503 | #, fuzzy | ||
n | 21667 | #| msgid "Using the git version of <application>gtkmm</application>" | n | 21504 | #| msgid "Deprecations in <application>gtkmm</application> 4.10" |
21668 | msgid "And here's an excerpt from a <application>gdb</application> session." | 21505 | msgid "And here's an excerpt from a <application>gdb</application> session." | ||
n | 21669 | msgstr "Använda git-versionen av <application>gtkmm</application>" | n | 21506 | msgstr "Föråldringar i <application>gtkmm</application> 4.10" |
21670 | 21507 | ||||
21671 | #. (itstool) path: section/programlisting | 21508 | #. (itstool) path: section/programlisting | ||
21672 | #: C/index-in.docbook:9386 | 21509 | #: C/index-in.docbook:9386 | ||
21673 | #, fuzzy, no-wrap | 21510 | #, fuzzy, no-wrap | ||
21674 | msgid "" | 21511 | msgid "" | ||
21774 | "<application>gdb</application> commands." | 21611 | "<application>gdb</application> commands." | ||
21775 | msgstr "" | 21612 | msgstr "" | ||
21776 | "Om det finns många fångade undantag innan det intressanta ofångade så kan " | 21613 | "Om det finns många fångade undantag innan det intressanta ofångade så kan " | ||
21777 | "denna metod vara långrandig. Den kan automatiseras med följande " | 21614 | "denna metod vara långrandig. Den kan automatiseras med följande " | ||
21778 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | 21615 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | ||
n | 21779 | "kommandin kommer skriva ut ett bakåtspår från varje <code>throw</code> och " | n | 21616 | "kommandon kommer skriva ut ett bakåtspår från varje <code>throw</code> och " |
21780 | "fortsätta. Bakåtspåret från den sista (eller möjligen den näst sista) " | 21617 | "fortsätta. Bakåtspåret från den sista (eller möjligen den näst sista) " | ||
21781 | "<code>throw</code> innan programmet stoppar är den som är intressant." | 21618 | "<code>throw</code> innan programmet stoppar är den som är intressant." | ||
21782 | 21619 | ||||
21783 | #. (itstool) path: section/programlisting | 21620 | #. (itstool) path: section/programlisting | ||
21784 | #: C/index-in.docbook:9429 | 21621 | #: C/index-in.docbook:9429 | ||
21811 | "<code>throw</code> before the program stops, is the interesting one." | 21648 | "<code>throw</code> before the program stops, is the interesting one." | ||
21812 | msgstr "" | 21649 | msgstr "" | ||
21813 | "Om det finns många fångade undantag innan det intressanta ofångade så kan " | 21650 | "Om det finns många fångade undantag innan det intressanta ofångade så kan " | ||
21814 | "denna metod vara långrandig. Den kan automatiseras med följande " | 21651 | "denna metod vara långrandig. Den kan automatiseras med följande " | ||
21815 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | 21652 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | ||
n | 21816 | "kommandin kommer skriva ut ett bakåtspår från varje <code>throw</code> och " | n | 21653 | "kommandon kommer skriva ut ett bakåtspår från varje <code>throw</code> och " |
21817 | "fortsätta. Bakåtspåret från den sista (eller möjligen den näst sista) " | 21654 | "fortsätta. Bakåtspåret från den sista (eller möjligen den näst sista) " | ||
21818 | "<code>throw</code> innan programmet stoppar är den som är intressant." | 21655 | "<code>throw</code> innan programmet stoppar är den som är intressant." | ||
21819 | 21656 | ||||
21820 | #. (itstool) path: appendix/title | 21657 | #. (itstool) path: appendix/title | ||
21821 | #: C/index-in.docbook:9446 | 21658 | #: C/index-in.docbook:9446 | ||
21852 | "application>-signalsystemet, men för nya, icke-GTK-signaler kan du skapa " | 21689 | "application>-signalsystemet, men för nya, icke-GTK-signaler kan du skapa " | ||
21853 | "rena C++-signaler med mallen <classname>sigc::signal<></classname>." | 21690 | "rena C++-signaler med mallen <classname>sigc::signal<></classname>." | ||
21854 | 21691 | ||||
21855 | #. (itstool) path: appendix/para | 21692 | #. (itstool) path: appendix/para | ||
21856 | #: C/index-in.docbook:9461 | 21693 | #: C/index-in.docbook:9461 | ||
n | 21857 | #, fuzzy | n | ||
21858 | msgid "" | 21694 | msgid "" | ||
21859 | "For instance, to create a signal that sends 2 parameters, a <type>bool</" | 21695 | "For instance, to create a signal that sends 2 parameters, a <type>bool</" | ||
21860 | "type> and an <type>int</type>, just declare a <classname>sigc::signal</" | 21696 | "type> and an <type>int</type>, just declare a <classname>sigc::signal</" | ||
21861 | "classname>, like so:" | 21697 | "classname>, like so:" | ||
21862 | msgstr "" | 21698 | msgstr "" | ||
21863 | "För att exempelvis skapa en signal som skickar 2 parametrar, en <type>bool</" | 21699 | "För att exempelvis skapa en signal som skickar 2 parametrar, en <type>bool</" | ||
n | 21864 | "type> och en <type>int</type>, deklarererar du bara en <classname>sigc::" | n | 21700 | "type> och en <type>int</type>, deklarerar du bara en <classname>sigc::" |
21865 | "signal</classname>, så här:" | 21701 | "signal</classname>, så här:" | ||
21866 | 21702 | ||||
21867 | #. (itstool) path: appendix/programlisting | 21703 | #. (itstool) path: appendix/programlisting | ||
21868 | #: C/index-in.docbook:9466 | 21704 | #: C/index-in.docbook:9466 | ||
21869 | #, fuzzy, no-wrap | 21705 | #, fuzzy, no-wrap | ||
22160 | msgstr "" | 21996 | msgstr "" | ||
22161 | "Se <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm/tree/master/" | 21997 | "Se <link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm/tree/master/" | ||
22162 | "README.win32\">README.win32</link> såväl som <link xlink:href=\"https://" | 21998 | "README.win32\">README.win32</link> såväl som <link xlink:href=\"https://" | ||
22163 | "gitlab.gnome.org/GNOME/gtkmm/tree/master/MSVC_NMake/README\">README</link>-" | 21999 | "gitlab.gnome.org/GNOME/gtkmm/tree/master/MSVC_NMake/README\">README</link>-" | ||
22164 | "filerna i <application>gtkmm</application>, pangomm och glibmm för " | 22000 | "filerna i <application>gtkmm</application>, pangomm och glibmm för " | ||
n | 22165 | "instruktioner om du bygger <application>gtkmm</application> på Windows." | n | 22001 | "instruktioner om hur du bygger <application>gtkmm</application> på Windows." |
22166 | 22002 | ||||
22167 | #. (itstool) path: appendix/title | 22003 | #. (itstool) path: appendix/title | ||
22168 | #: C/index-in.docbook:9597 | 22004 | #: C/index-in.docbook:9597 | ||
22169 | msgid "Working with gtkmm's Source Code" | 22005 | msgid "Working with gtkmm's Source Code" | ||
22170 | msgstr "Arbeta med gtkmm:s källkod" | 22006 | msgstr "Arbeta med gtkmm:s källkod" | ||
22257 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22093 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22258 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22094 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22259 | 22095 | ||||
22260 | #. (itstool) path: section/para | 22096 | #. (itstool) path: section/para | ||
22261 | #: C/index-in.docbook:9632 | 22097 | #: C/index-in.docbook:9632 | ||
n | 22262 | #, fuzzy | n | ||
22263 | msgid "" | 22098 | msgid "" | ||
22264 | "To set up <application>jhbuild</application>, follow the basic installation " | 22099 | "To set up <application>jhbuild</application>, follow the basic installation " | ||
22265 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | 22100 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | ||
22266 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | 22101 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | ||
22267 | "<application>jhbuild</application>, you should copy the sample " | 22102 | "<application>jhbuild</application>, you should copy the sample " | ||
22268 | "<application>jhbuild</application> configuration file into your home " | 22103 | "<application>jhbuild</application> configuration file into your home " | ||
22269 | "directory by executing the following command from the <application>jhbuild</" | 22104 | "directory by executing the following command from the <application>jhbuild</" | ||
22270 | "application> directory: <_:screen-1/>" | 22105 | "application> directory: <_:screen-1/>" | ||
22271 | msgstr "" | 22106 | msgstr "" | ||
22272 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | 22107 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | ||
n | 22273 | "href=\"http://developer-old.gnome.org/jhbuild/unstable/\">handboken för " | n | 22108 | "href=\"https://gnome.pages.gitlab.gnome.org/jhbuild/\">handboken för " |
22274 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | 22109 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | ||
22275 | "att du har installerat <application>jhbuild</application> bör du kopiera " | 22110 | "att du har installerat <application>jhbuild</application> bör du kopiera " | ||
22276 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | 22111 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | ||
22277 | "hemkatalog genom att exekvera följande kommando från katalogen " | 22112 | "hemkatalog genom att exekvera följande kommando från katalogen " | ||
22278 | "<application>jhbuild</application>: <_:screen-1/>" | 22113 | "<application>jhbuild</application>: <_:screen-1/>" | ||
22516 | "hitta de nya biblioteken. Turligt nog erbjuder <application>jhbuild</" | 22351 | "hitta de nya biblioteken. Turligt nog erbjuder <application>jhbuild</" | ||
22517 | "application> en lätt lösning på detta problem. Att exekvera kommandot " | 22352 | "application> en lätt lösning på detta problem. Att exekvera kommandot " | ||
22518 | "<command>jhbuild shell</command> kommer starta ett nytt skal med alla " | 22353 | "<command>jhbuild shell</command> kommer starta ett nytt skal med alla " | ||
22519 | "miljövariabler rätt inställda. Om du nu konfigurerar om och bygger ditt " | 22354 | "miljövariabler rätt inställda. Om du nu konfigurerar om och bygger ditt " | ||
22520 | "projekt som du brukar göra, så ska det helt enkelt länka mot de nyss " | 22355 | "projekt som du brukar göra, så ska det helt enkelt länka mot de nyss " | ||
n | 22521 | "installrade biblioteken. För att returnera till din tidigare miljö stänger " | n | 22356 | "installerade biblioteken. För att returnera till din tidigare miljö stänger " |
22522 | "du helt enkelt <application>jhbuild</application>-skalet." | 22357 | "du helt enkelt <application>jhbuild</application>-skalet." | ||
22523 | 22358 | ||||
22524 | #. (itstool) path: section/para | 22359 | #. (itstool) path: section/para | ||
22525 | #: C/index-in.docbook:9747 | 22360 | #: C/index-in.docbook:9747 | ||
22526 | #, fuzzy | 22361 | #, fuzzy | ||
22544 | "kommer kommandot köras med rätt miljövariabler inställda, men kommer " | 22379 | "kommer kommandot köras med rätt miljövariabler inställda, men kommer " | ||
22545 | "returnera till din föregående miljö efter programmet avslutas." | 22380 | "returnera till din föregående miljö efter programmet avslutas." | ||
22546 | 22381 | ||||
22547 | #. (itstool) path: appendix/title | 22382 | #. (itstool) path: appendix/title | ||
22548 | #: C/index-in.docbook:9764 | 22383 | #: C/index-in.docbook:9764 | ||
n | 22549 | #, fuzzy | n | ||
22550 | msgid "Wrapping C Libraries with gmmproc" | 22384 | msgid "Wrapping C Libraries with gmmproc" | ||
22551 | msgstr "Omsluta C-bibliotek med gmmproc" | 22385 | msgstr "Omsluta C-bibliotek med gmmproc" | ||
22552 | 22386 | ||||
22553 | #. (itstool) path: appendix/para | 22387 | #. (itstool) path: appendix/para | ||
22554 | #: C/index-in.docbook:9766 | 22388 | #: C/index-in.docbook:9766 | ||
22596 | "av verktyg som <command>gmmproc</command> och <filename>generate_wrap_init." | 22430 | "av verktyg som <command>gmmproc</command> och <filename>generate_wrap_init." | ||
22597 | "pl</filename> som är inkluderade i <application>glibmm</application>. I " | 22431 | "pl</filename> som är inkluderade i <application>glibmm</application>. I " | ||
22598 | "teorin skulle du kunna skriva dina egna byggfiler för att lämpligt använda " | 22432 | "teorin skulle du kunna skriva dina egna byggfiler för att lämpligt använda " | ||
22599 | "dessa, men ett mycket bättre alternativ är att använda bygginfrastrukturen " | 22433 | "dessa, men ett mycket bättre alternativ är att använda bygginfrastrukturen " | ||
22600 | "som tillhandahålls av modulen <application>mm-common</application>. För att " | 22434 | "som tillhandahålls av modulen <application>mm-common</application>. För att " | ||
n | 22601 | "komma igånh hjälper det mycket att välja en befintlig bindningsmodul som ett " | n | 22435 | "komma igång hjälper det mycket att välja en befintlig bindningsmodul som ett " |
22602 | "exempel att titta på." | 22436 | "exempel att titta på." | ||
22603 | 22437 | ||||
22604 | #. (itstool) path: section/para | 22438 | #. (itstool) path: section/para | ||
22605 | #: C/index-in.docbook:9786 | 22439 | #: C/index-in.docbook:9786 | ||
22606 | #, fuzzy | 22440 | #, fuzzy | ||
23104 | "glibmm:s <filename>tools/defs_gen</filename>-katalog. Till exempel," | 22938 | "glibmm:s <filename>tools/defs_gen</filename>-katalog. Till exempel," | ||
23105 | 22939 | ||||
23106 | #. (itstool) path: section/programlisting | 22940 | #. (itstool) path: section/programlisting | ||
23107 | #: C/index-in.docbook:9968 | 22941 | #: C/index-in.docbook:9968 | ||
23108 | #, fuzzy, no-wrap | 22942 | #, fuzzy, no-wrap | ||
n | n | 22943 | #| msgid "" | ||
22944 | #| "\n" | ||||
22945 | #| "$ ./h2def.py /usr/include/gtk-4.0/gtk/*.h > gtk_methods.defs\n" | ||||
23109 | msgid "" | 22946 | msgid "" | ||
23110 | "<code>$ ./h2def.py /usr/include/gtk-4.0/gtk/*.h > gtk_methods.defs\n" | 22947 | "<code>$ ./h2def.py /usr/include/gtk-4.0/gtk/*.h > gtk_methods.defs\n" | ||
23111 | "</code>" | 22948 | "</code>" | ||
23112 | msgstr "" | 22949 | msgstr "" | ||
23113 | "\n" | 22950 | "\n" | ||
23134 | "filename>-katalog. Till exempel," | 22971 | "filename>-katalog. Till exempel," | ||
23135 | 22972 | ||||
23136 | #. (itstool) path: section/programlisting | 22973 | #. (itstool) path: section/programlisting | ||
23137 | #: C/index-in.docbook:9979 | 22974 | #: C/index-in.docbook:9979 | ||
23138 | #, fuzzy, no-wrap | 22975 | #, fuzzy, no-wrap | ||
n | n | 22976 | #| msgid "" | ||
22977 | #| "\n" | ||||
22978 | #| "$ ./enumextract.py /usr/include/gtk-4.0/gtk/*.h > gtk_enums.defs\n" | ||||
23139 | msgid "" | 22979 | msgid "" | ||
23140 | "<code>$ ./enumextract.py /usr/include/gtk-4.0/gtk/*.h > gtk_enums.defs\n" | 22980 | "<code>$ ./enumextract.py /usr/include/gtk-4.0/gtk/*.h > gtk_enums.defs\n" | ||
23141 | "</code>" | 22981 | "</code>" | ||
23142 | msgstr "" | 22982 | msgstr "" | ||
23143 | "\n" | 22983 | "\n" | ||
23164 | "extra_defs_gen/</filename>. Till exempel" | 23004 | "extra_defs_gen/</filename>. Till exempel" | ||
23165 | 23005 | ||||
23166 | #. (itstool) path: section/programlisting | 23006 | #. (itstool) path: section/programlisting | ||
23167 | #: C/index-in.docbook:9991 | 23007 | #: C/index-in.docbook:9991 | ||
23168 | #, fuzzy, no-wrap | 23008 | #, fuzzy, no-wrap | ||
n | n | 23009 | #| msgid "" | ||
23010 | #| "\n" | ||||
23011 | #| "$ cd tools/extra_defs_gen\n" | ||||
23012 | #| "$ ./generate_extra_defs > gtk_signals.defs\n" | ||||
23169 | msgid "" | 23013 | msgid "" | ||
23170 | "<code>$ cd tools/extra_defs_gen\n" | 23014 | "<code>$ cd tools/extra_defs_gen\n" | ||
23171 | "$ ./generate_extra_defs > gtk_signals.defs\n" | 23015 | "$ ./generate_extra_defs > gtk_signals.defs\n" | ||
23172 | "</code>" | 23016 | "</code>" | ||
23173 | msgstr "" | 23017 | msgstr "" | ||
23190 | msgstr "" | 23034 | msgstr "" | ||
23191 | "Du måste redigera källkoden för ditt eget <filename>generate_extra_defs</" | 23035 | "Du måste redigera källkoden för ditt eget <filename>generate_extra_defs</" | ||
23192 | "filename>-verktyg för att generera <filename>.defs</filename>-filen för " | 23036 | "filename>-verktyg för att generera <filename>.defs</filename>-filen för " | ||
23193 | "GObject C-typerna som du vill omsluta. I skelettkällkodsträdet har källfilen " | 23037 | "GObject C-typerna som du vill omsluta. I skelettkällkodsträdet har källfilen " | ||
23194 | "namnet <filename>tools/extra_defs_gen/generate_defs_skeleton.cc</filename>. " | 23038 | "namnet <filename>tools/extra_defs_gen/generate_defs_skeleton.cc</filename>. " | ||
n | 23195 | "Om så inte redan gjorts ska filens namn bytas, så att basenamnet för din nya " | n | 23039 | "Om så inte redan gjorts ska filens namn bytas, så att basnamnet för din nya " |
23196 | "bindning ersätter platshållaren <varname>skeleton</varname>. Filen " | 23040 | "bindning ersätter platshållaren <varname>skeleton</varname>. Filen " | ||
23197 | "<filename>tools/extra_defs_gen/meson.build</filename> ska också nämna det " | 23041 | "<filename>tools/extra_defs_gen/meson.build</filename> ska också nämna det " | ||
23198 | "nya källfilnamnet." | 23042 | "nya källfilnamnet." | ||
23199 | 23043 | ||||
23200 | #. (itstool) path: section/para | 23044 | #. (itstool) path: section/para | ||
23208 | "exempel kan din <function>main()</function>-funktion se ut så här:" | 23052 | "exempel kan din <function>main()</function>-funktion se ut så här:" | ||
23209 | 23053 | ||||
23210 | #. (itstool) path: section/programlisting | 23054 | #. (itstool) path: section/programlisting | ||
23211 | #: C/index-in.docbook:10004 | 23055 | #: C/index-in.docbook:10004 | ||
23212 | #, fuzzy, no-wrap | 23056 | #, fuzzy, no-wrap | ||
n | n | 23057 | #| msgid "" | ||
23058 | #| "\n" | ||||
23059 | #| "#include <glibmm_generate_extra_defs/generate_extra_defs.h>\n" | ||||
23060 | #| "#include <libsomething.h>\n" | ||||
23061 | #| "#include <iostream>\n" | ||||
23062 | #| "\n" | ||||
23063 | #| "int main(int, char**)\n" | ||||
23064 | #| "{\n" | ||||
23065 | #| " something_init();\n" | ||||
23066 | #| "\n" | ||||
23067 | #| " std::cout << get_defs(SOME_TYPE_WIDGET)\n" | ||||
23068 | #| " << get_defs(SOME_TYPE_STUFF);\n" | ||||
23069 | #| " return 0;\n" | ||||
23070 | #| "}\n" | ||||
23213 | msgid "" | 23071 | msgid "" | ||
23214 | "<code>#include <glibmm_generate_extra_defs/generate_extra_defs.h>\n" | 23072 | "<code>#include <glibmm_generate_extra_defs/generate_extra_defs.h>\n" | ||
23215 | "#include <libsomething.h>\n" | 23073 | "#include <libsomething.h>\n" | ||
23216 | "#include <iostream>\n" | 23074 | "#include <iostream>\n" | ||
23217 | "\n" | 23075 | "\n" | ||
23267 | msgstr ".hg- och .ccg-filerna" | 23125 | msgstr ".hg- och .ccg-filerna" | ||
23268 | 23126 | ||||
23269 | #. (itstool) path: section/para | 23127 | #. (itstool) path: section/para | ||
23270 | #: C/index-in.docbook:10034 | 23128 | #: C/index-in.docbook:10034 | ||
23271 | #, fuzzy | 23129 | #, fuzzy | ||
n | n | 23130 | #| msgid "" | ||
23131 | #| "The .hg and .ccg source files are very much like .h and .cc C++ source " | ||||
23132 | #| "files, but they contain extra macros, such as <function>_CLASS_GOBJECT()</" | ||||
23133 | #| "function> and <function>_WRAP_METHOD()</function>, from which " | ||||
23134 | #| "<command>gmmproc</command> generates appropriate C++ source code, usually " | ||||
23135 | #| "at the same position in the header. Any additional C++ source code will " | ||||
23136 | #| "be copied verbatim into the corresponding .h or .cc file." | ||||
23272 | msgid "" | 23137 | msgid "" | ||
23273 | "The .hg and .ccg source files are very much like .h and .cc <phrase " | 23138 | "The .hg and .ccg source files are very much like .h and .cc <phrase " | ||
23274 | "role=\"nowrap\">C++</phrase> source files, but they contain extra macros, " | 23139 | "role=\"nowrap\">C++</phrase> source files, but they contain extra macros, " | ||
23275 | "such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</" | 23140 | "such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</" | ||
23276 | "function>, from which <command>gmmproc</command> generates appropriate " | 23141 | "function>, from which <command>gmmproc</command> generates appropriate " | ||
23277 | "<phrase role=\"nowrap\">C++</phrase> source code, usually at the same " | 23142 | "<phrase role=\"nowrap\">C++</phrase> source code, usually at the same " | ||
23278 | "position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> " | 23143 | "position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> " | ||
23279 | "source code will be copied verbatim into the corresponding .h or .cc file." | 23144 | "source code will be copied verbatim into the corresponding .h or .cc file." | ||
23280 | msgstr "" | 23145 | msgstr "" | ||
n | 23281 | ".hg- och .ccg-källfilerna är mycket som .h and .cc-källfiler i C++, men de " | n | 23146 | ".hg- och .ccg-källfilerna är mycket som .h- och .cc-källfiler i C++, men de " |
23282 | "innehåller extra makron som <function>_CLASS_GOBJECT()</function> och " | 23147 | "innehåller extra makron som <function>_CLASS_GOBJECT()</function> och " | ||
23283 | "<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> " | 23148 | "<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> " | ||
23284 | "genererar lämplig C++-källkod, vanligen på samma plats i huvudet. All " | 23149 | "genererar lämplig C++-källkod, vanligen på samma plats i huvudet. All " | ||
23285 | "ytterligare C++-källkod kommer kopieras som den är i motsvarande .h- eller ." | 23150 | "ytterligare C++-källkod kommer kopieras som den är i motsvarande .h- eller ." | ||
23286 | "cc-fil." | 23151 | "cc-fil." | ||
23714 | "<varname>gobject_</varname>, typedefs, the <function>gobj()</function> " | 23579 | "<varname>gobject_</varname>, typedefs, the <function>gobj()</function> " | ||
23715 | "accessors, type registration, and the <function>Glib::wrap()</function> " | 23580 | "accessors, type registration, and the <function>Glib::wrap()</function> " | ||
23716 | "method, among other things." | 23581 | "method, among other things." | ||
23717 | msgstr "" | 23582 | msgstr "" | ||
23718 | "Klassmakrot deklarerar själva klassen och dess relation med den " | 23583 | "Klassmakrot deklarerar själva klassen och dess relation med den " | ||
n | 23719 | "inderliggande C-typen. Det genererar några interna konstruktorer, " | n | 23584 | "underliggande C-typen. Det genererar några interna konstruktorer, " |
23720 | "medlemmarnas <varname>gobject_</varname>, typedef, <function>gobj()</" | 23585 | "medlemmarnas <varname>gobject_</varname>, typedef, <function>gobj()</" | ||
23721 | "function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</" | 23586 | "function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</" | ||
23722 | "function> med mera." | 23587 | "function> med mera." | ||
23723 | 23588 | ||||
23724 | #. (itstool) path: section/para | 23589 | #. (itstool) path: section/para | ||
23725 | #: C/index-in.docbook:10193 | 23590 | #: C/index-in.docbook:10193 | ||
n | 23726 | #, fuzzy | n | ||
23727 | msgid "" | 23591 | msgid "" | ||
23728 | "Other macros, such as <function>_WRAP_METHOD()</function> and " | 23592 | "Other macros, such as <function>_WRAP_METHOD()</function> and " | ||
23729 | "<function>_WRAP_SIGNAL()</function> may only be used after a call to a " | 23593 | "<function>_WRAP_SIGNAL()</function> may only be used after a call to a " | ||
23730 | "<function>_CLASS_*</function> macro." | 23594 | "<function>_CLASS_*</function> macro." | ||
23731 | msgstr "" | 23595 | msgstr "" | ||
n | 23732 | "Andra makron, som <function>_WRAP_METHOD()</function> and " | n | 23596 | "Andra makron, som <function>_WRAP_METHOD()</function> och " |
23733 | "<function>_WRAP_SIGNAL()</function> kan endast användas efter ett anrop till " | 23597 | "<function>_WRAP_SIGNAL()</function> kan endast användas efter ett anrop till " | ||
23734 | "ett <function>_CLASS_*</function>-makro." | 23598 | "ett <function>_CLASS_*</function>-makro." | ||
23735 | 23599 | ||||
23736 | #. (itstool) path: section/para | 23600 | #. (itstool) path: section/para | ||
23737 | #: C/index-in.docbook:10196 | 23601 | #: C/index-in.docbook:10196 | ||
23797 | msgid "_CLASS_GTKOBJECT" | 23661 | msgid "_CLASS_GTKOBJECT" | ||
23798 | msgstr "_CLASS_GTKOBJECT" | 23662 | msgstr "_CLASS_GTKOBJECT" | ||
23799 | 23663 | ||||
23800 | #. (itstool) path: section/para | 23664 | #. (itstool) path: section/para | ||
23801 | #: C/index-in.docbook:10218 | 23665 | #: C/index-in.docbook:10218 | ||
n | 23802 | #, fuzzy | n | ||
23803 | msgid "" | 23666 | msgid "" | ||
23804 | "This macro declares a wrapper for a type whose wrapper is derived from " | 23667 | "This macro declares a wrapper for a type whose wrapper is derived from " | ||
23805 | "<classname>Gtk::Object</classname>, such as a widget or dialog." | 23668 | "<classname>Gtk::Object</classname>, such as a widget or dialog." | ||
23806 | msgstr "" | 23669 | msgstr "" | ||
23807 | "Detta makro deklarerar ett omslag för en typ vars omslag härleds från " | 23670 | "Detta makro deklarerar ett omslag för en typ vars omslag härleds från " | ||
23808 | "<classname>Gtk::Object</classname>, som en komponent eller dialogruta." | 23671 | "<classname>Gtk::Object</classname>, som en komponent eller dialogruta." | ||
23809 | 23672 | ||||
23810 | #. (itstool) path: section/para | 23673 | #. (itstool) path: section/para | ||
23811 | #: C/index-in.docbook:10220 | 23674 | #: C/index-in.docbook:10220 | ||
23812 | #, fuzzy | 23675 | #, fuzzy | ||
n | n | 23676 | #| msgid "" | ||
23677 | #| "<function>_CLASS_GTKOBJECT( C++ class, C class, C casting macro, C++ base " | ||||
23678 | #| "class, C base class )</function>" | ||||
23813 | msgid "" | 23679 | msgid "" | ||
23814 | "<function>_CLASS_GTKOBJECT( C++ class, C class, C casting macro, C++ base " | 23680 | "<function>_CLASS_GTKOBJECT( C++ class, C class, C casting macro, C++ base " | ||
23815 | "class, C base class, real C class, real C base class, declaration prefix )</" | 23681 | "class, C base class, real C class, real C base class, declaration prefix )</" | ||
23816 | "function>" | 23682 | "function>" | ||
23817 | msgstr "" | 23683 | msgstr "" | ||
23848 | "wrapping a GTK Widget, because <classname>Gtk::Widget</classname> derives " | 23714 | "wrapping a GTK Widget, because <classname>Gtk::Widget</classname> derives " | ||
23849 | "from <classname>Gtk::Object</classname>." | 23715 | "from <classname>Gtk::Object</classname>." | ||
23850 | msgstr "" | 23716 | msgstr "" | ||
23851 | "Du kommer typiskt använda detta makro när klassen redan härleds från " | 23717 | "Du kommer typiskt använda detta makro när klassen redan härleds från " | ||
23852 | "<classname>Gtk::Object</classname>. Du kommer exempelvis använda det när du " | 23718 | "<classname>Gtk::Object</classname>. Du kommer exempelvis använda det när du " | ||
n | 23853 | "omsluter en GTK-komponentent, för <classname>Gtk::Widget</classname> härleds " | n | 23719 | "omsluter en GTK-komponent, för <classname>Gtk::Widget</classname> härleds " |
23854 | "från <classname>Gtk::Object</classname>." | 23720 | "från <classname>Gtk::Object</classname>." | ||
23855 | 23721 | ||||
23856 | #. (itstool) path: section/para | 23722 | #. (itstool) path: section/para | ||
23857 | #: C/index-in.docbook:10230 | 23723 | #: C/index-in.docbook:10230 | ||
23858 | #, fuzzy | 23724 | #, fuzzy | ||
23973 | "functions. The new, copy and free functions will be used to instantiate the " | 23839 | "functions. The new, copy and free functions will be used to instantiate the " | ||
23974 | "default constructor, copy constructor and destructor." | 23840 | "default constructor, copy constructor and destructor." | ||
23975 | msgstr "" | 23841 | msgstr "" | ||
23976 | "Detta makro deklarerar ett omslag för en ogenomskinlig struct som har copy- " | 23842 | "Detta makro deklarerar ett omslag för en ogenomskinlig struct som har copy- " | ||
23977 | "och free-funktioner. New-, copy- och free-funktionerna kommer användas för " | 23843 | "och free-funktioner. New-, copy- och free-funktionerna kommer användas för " | ||
n | 23978 | "att instansiera standardkonstruktorn, konstructor och destruktor för copy." | n | 23844 | "att instansiera standardkonstruktorn, konstruktor och destruktor för copy." |
23979 | 23845 | ||||
23980 | #. (itstool) path: section/para | 23846 | #. (itstool) path: section/para | ||
23981 | #: C/index-in.docbook:10271 | 23847 | #: C/index-in.docbook:10271 | ||
23982 | #, fuzzy | 23848 | #, fuzzy | ||
23983 | msgid "" | 23849 | msgid "" | ||
24265 | "constructor with the same argument types. It takes a <phrase " | 24131 | "constructor with the same argument types. It takes a <phrase " | ||
24266 | "role=\"nowrap\">C++</phrase> constructor signature, and a C function name." | 24132 | "role=\"nowrap\">C++</phrase> constructor signature, and a C function name." | ||
24267 | msgstr "" | 24133 | msgstr "" | ||
24268 | "Detta makro skapar en konstruktor med argument, motsvarande en " | 24134 | "Detta makro skapar en konstruktor med argument, motsvarande en " | ||
24269 | "<function>*_new()</function>-funktion i C. Den kommer inte faktiskt anropa " | 24135 | "<function>*_new()</function>-funktion i C. Den kommer inte faktiskt anropa " | ||
n | 24270 | "<function>*_new()</function>-funktionen, utan kommer helt skapa en " | n | 24136 | "<function>*_new()</function>-funktionen, utan kommer helt enkelt skapa en " |
24271 | "motsvarande konstruktor med samma argumenttyper. Den tar en C++-" | 24137 | "motsvarande konstruktor med samma argumenttyper. Den tar en C++-" | ||
24272 | "konstruktorsignatur och ett C-funktionsnamn." | 24138 | "konstruktorsignatur och ett C-funktionsnamn." | ||
24273 | 24139 | ||||
24274 | #. (itstool) path: varlistentry/term | 24140 | #. (itstool) path: varlistentry/term | ||
24275 | #: C/index-in.docbook:10376 C/index-in.docbook:10887 | 24141 | #: C/index-in.docbook:10376 C/index-in.docbook:10887 | ||
24287 | "Detta säger till <command>gmmproc</command> att <function>*_new()</function> " | 24153 | "Detta säger till <command>gmmproc</command> att <function>*_new()</function> " | ||
24288 | "i C har en slutgiltig <type>GError**</type>-parameter som ska ignoreras." | 24154 | "i C har en slutgiltig <type>GError**</type>-parameter som ska ignoreras." | ||
24289 | 24155 | ||||
24290 | #. (itstool) path: section/para | 24156 | #. (itstool) path: section/para | ||
24291 | #: C/index-in.docbook:10373 | 24157 | #: C/index-in.docbook:10373 | ||
n | 24292 | #, fuzzy | n | ||
24293 | msgid "It also takes an optional extra argument: <_:variablelist-1/>" | 24158 | msgid "It also takes an optional extra argument: <_:variablelist-1/>" | ||
n | 24294 | msgstr "Den tar också ett valfritt extra argument: <_:variablelist-1/>" | n | 24159 | msgstr "Det tar också ett valfritt extra argument: <_:variablelist-1/>" |
24295 | 24160 | ||||
24296 | #. (itstool) path: section/title | 24161 | #. (itstool) path: section/title | ||
24297 | #: C/index-in.docbook:10387 | 24162 | #: C/index-in.docbook:10387 | ||
24298 | msgid "Hand-coding constructors" | 24163 | msgid "Hand-coding constructors" | ||
24299 | msgstr "Koda konstruktorer för hand" | 24164 | msgstr "Koda konstruktorer för hand" | ||
24311 | "property names and values. For instance, from <filename>button.ccg</" | 24176 | "property names and values. For instance, from <filename>button.ccg</" | ||
24312 | "filename>:" | 24177 | "filename>:" | ||
24313 | msgstr "" | 24178 | msgstr "" | ||
24314 | "När en konstruktor måste skrivas delvis för hand eftersom, exempelvis, " | 24179 | "När en konstruktor måste skrivas delvis för hand eftersom, exempelvis, " | ||
24315 | "<function>*_new()</function>-funktionens parametrar i C inte direkt " | 24180 | "<function>*_new()</function>-funktionens parametrar i C inte direkt " | ||
n | 24316 | "motsvarar objektegenskaper, eller flr att because the <function>*_new()</" | n | 24181 | "motsvarar objektegenskaper, eller för att <function>*_new()</function>-" |
24317 | "function>-funktionen i C gör mer än att anropa <function>g_object_new()</" | 24182 | "funktionen i C gör mer än att anropa <function>g_object_new()</function>, så " | ||
24318 | "function>, så kan makrot <function>_CONSTRUCT()</function> användas i .ccg-" | 24183 | "kan makrot <function>_CONSTRUCT()</function> användas i .ccg-filen för att " | ||
24319 | "filen för att spara lite arbete. Makrot <function>_CONSTRUCT</function> tar " | 24184 | "spara lite arbete. Makrot <function>_CONSTRUCT</function> tar en serie " | ||
24320 | "en serie egenskapsnamn och värden. Till exempel, från <filename>button.ccg</" | 24185 | "egenskapsnamn och värden. Till exempel, från <filename>button.ccg</filename>:" | ||
24321 | "filename>:" | ||||
24322 | 24186 | ||||
24323 | #. (itstool) path: section/programlisting | 24187 | #. (itstool) path: section/programlisting | ||
24324 | #: C/index-in.docbook:10397 | 24188 | #: C/index-in.docbook:10397 | ||
24325 | #, fuzzy, no-wrap | 24189 | #, fuzzy, no-wrap | ||
24326 | msgid "" | 24190 | msgid "" | ||
24336 | " _CONSTRUCT(\"label\", label.c_str(), \"use_underline\", gboolean(mnemonic))\n | 24200 | " _CONSTRUCT(\"label\", label.c_str(), \"use_underline\", gboolean(mnemonic))\n | ||
> | " | > | " | ||
24337 | "{}\n" | 24201 | "{}\n" | ||
24338 | 24202 | ||||
24339 | #. (itstool) path: section/title | 24203 | #. (itstool) path: section/title | ||
24340 | #: C/index-in.docbook:10407 | 24204 | #: C/index-in.docbook:10407 | ||
n | 24341 | #, fuzzy | n | ||
24342 | msgid "Macros that suppress generation of some code" | 24205 | msgid "Macros that suppress generation of some code" | ||
n | 24343 | msgstr "Makron som åsidosätter generering av viss kod" | n | 24206 | msgstr "Makron som undertrycker generering av viss kod" |
24344 | 24207 | ||||
24345 | #. (itstool) path: section/para | 24208 | #. (itstool) path: section/para | ||
24346 | #: C/index-in.docbook:10409 | 24209 | #: C/index-in.docbook:10409 | ||
n | 24347 | #, fuzzy | n | ||
24348 | msgid "" | 24210 | msgid "" | ||
24349 | "Some macros suppress the generation of some code when they are used after a " | 24211 | "Some macros suppress the generation of some code when they are used after a " | ||
24350 | "<function>_CLASS_*</function> macro. Some suppress the definition in the " | 24212 | "<function>_CLASS_*</function> macro. Some suppress the definition in the " | ||
24351 | "generated .cc file, others suppress both the declaration in the .h file and " | 24213 | "generated .cc file, others suppress both the declaration in the .h file and " | ||
24352 | "the definition in the .cc file." | 24214 | "the definition in the .cc file." | ||
24353 | msgstr "" | 24215 | msgstr "" | ||
n | 24354 | "Några makron åsidosätter genererandet av viss kod när de används efter ett " | n | 24216 | "Några makron undertrycker genererandet av viss kod när de används efter ett " |
24355 | "<function>_CLASS_*</function>-makro. Vissa åsidosätter definitionen i den " | 24217 | "<function>_CLASS_*</function>-makro. Vissa undertrycker definitionen i den " | ||
24356 | "genererade .cc-filen, andra åsidosätter både deklarationen i .h-filen och " | 24218 | "genererade .cc-filen, andra undertrycker både deklarationen i .h-filen och " | ||
24357 | "definitionen i .cc-filen." | 24219 | "definitionen i .cc-filen." | ||
24358 | 24220 | ||||
24359 | #. (itstool) path: section/title | 24221 | #. (itstool) path: section/title | ||
24360 | #: C/index-in.docbook:10416 | 24222 | #: C/index-in.docbook:10416 | ||
24361 | msgid "_CUSTOM_DEFAULT_CTOR" | 24223 | msgid "_CUSTOM_DEFAULT_CTOR" | ||
24362 | msgstr "_CUSTOM_DEFAULT_CTOR" | 24224 | msgstr "_CUSTOM_DEFAULT_CTOR" | ||
24363 | 24225 | ||||
24364 | #. (itstool) path: section/para | 24226 | #. (itstool) path: section/para | ||
24365 | #: C/index-in.docbook:10418 | 24227 | #: C/index-in.docbook:10418 | ||
n | 24366 | #, fuzzy | n | ||
24367 | msgid "" | 24228 | msgid "" | ||
24368 | "Suppresses declaration and definition of default constructor in " | 24229 | "Suppresses declaration and definition of default constructor in " | ||
24369 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | 24230 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | ||
24370 | "function> and <function>_CLASS_OPAQUE_COPYABLE</function>." | 24231 | "function> and <function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24371 | msgstr "" | 24232 | msgstr "" | ||
n | 24372 | "Åsidosätter deklaration och definition av standardkonstruktor i " | n | 24233 | "Undertrycker deklaration och definition av standardkonstruktorn i " |
24373 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | 24234 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | ||
24374 | "function> och <function>_CLASS_OPAQUE_COPYABLE</function>." | 24235 | "function> och <function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24375 | 24236 | ||||
24376 | #. (itstool) path: section/title | 24237 | #. (itstool) path: section/title | ||
24377 | #: C/index-in.docbook:10425 | 24238 | #: C/index-in.docbook:10425 | ||
24384 | msgid "" | 24245 | msgid "" | ||
24385 | "Suppresses declaration and definition of the constructor that takes a " | 24246 | "Suppresses declaration and definition of the constructor that takes a " | ||
24386 | "pointer to the wrapped C object in <function>_CLASS_BOXEDTYPE</function> and " | 24247 | "pointer to the wrapped C object in <function>_CLASS_BOXEDTYPE</function> and " | ||
24387 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | 24248 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | ||
24388 | msgstr "" | 24249 | msgstr "" | ||
n | 24389 | "Åsidosätter deklaration och definition av konstruktorn som tar en pekare " | n | 24250 | "Undertrycker deklaration och definition av konstruktorn som tar en pekare " |
24390 | "till det omslutna C-objektet i <function>_CLASS_BOXEDTYPE</function> och " | 24251 | "till det omslutna C-objektet i <function>_CLASS_BOXEDTYPE</function> och " | ||
24391 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | 24252 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | ||
24392 | 24253 | ||||
24393 | #. (itstool) path: section/para | 24254 | #. (itstool) path: section/para | ||
24394 | #: C/index-in.docbook:10431 | 24255 | #: C/index-in.docbook:10431 | ||
24396 | msgid "" | 24257 | msgid "" | ||
24397 | "Suppresses definition of the constructor that takes a pointer to the wrapped " | 24258 | "Suppresses definition of the constructor that takes a pointer to the wrapped " | ||
24398 | "C object in <function>_CLASS_INTERFACE</function> and " | 24259 | "C object in <function>_CLASS_INTERFACE</function> and " | ||
24399 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | 24260 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24400 | msgstr "" | 24261 | msgstr "" | ||
n | 24401 | "Åsidosätter definition av konstruktorn som tar en pekare till det omslutna C-" | n | 24262 | "Undertrycker definition av konstruktorn som tar en pekare till det omslutna " |
24402 | "objektet i <function>_CLASS_INTERFACE</function> och " | 24263 | "C-objektet i <function>_CLASS_INTERFACE</function> och " | ||
24403 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | 24264 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24404 | 24265 | ||||
24405 | #. (itstool) path: section/para | 24266 | #. (itstool) path: section/para | ||
24406 | #: C/index-in.docbook:10435 | 24267 | #: C/index-in.docbook:10435 | ||
24407 | #, fuzzy | 24268 | #, fuzzy | ||
24409 | "Suppresses definition of the constructor that takes a pointer to the wrapped " | 24270 | "Suppresses definition of the constructor that takes a pointer to the wrapped " | ||
24410 | "C object and the constructor that takes construct_params in " | 24271 | "C object and the constructor that takes construct_params in " | ||
24411 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | 24272 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | ||
24412 | "function>." | 24273 | "function>." | ||
24413 | msgstr "" | 24274 | msgstr "" | ||
n | 24414 | "Åsidosätter definition av konstruktorn som tar en pekare till det omslutna C-" | n | 24275 | "Undertrycker definition av konstruktorn som tar en pekare till det omslutna " |
24415 | "objektet och konstruktorn som tar construct_params i " | 24276 | "C-objektet och konstruktorn som tar construct_params i " | ||
24416 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | 24277 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | ||
24417 | "function>." | 24278 | "function>." | ||
24418 | 24279 | ||||
24419 | #. (itstool) path: section/title | 24280 | #. (itstool) path: section/title | ||
24420 | #: C/index-in.docbook:10442 | 24281 | #: C/index-in.docbook:10442 | ||
24421 | msgid "_CUSTOM_DTOR" | 24282 | msgid "_CUSTOM_DTOR" | ||
24422 | msgstr "_CUSTOM_DTOR" | 24283 | msgstr "_CUSTOM_DTOR" | ||
24423 | 24284 | ||||
24424 | #. (itstool) path: section/para | 24285 | #. (itstool) path: section/para | ||
24425 | #: C/index-in.docbook:10444 | 24286 | #: C/index-in.docbook:10444 | ||
n | 24426 | #, fuzzy | n | ||
24427 | msgid "" | 24287 | msgid "" | ||
24428 | "Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> " | 24288 | "Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> " | ||
24429 | "and <function>_CLASS_GTKOBJECT</function>." | 24289 | "and <function>_CLASS_GTKOBJECT</function>." | ||
24430 | msgstr "" | 24290 | msgstr "" | ||
n | 24431 | "Åsidosätter definition av destruktorn i <function>_CLASS_GOBJECT</function> " | n | 24291 | "Undertrycker definition av destruktorn i <function>_CLASS_GOBJECT</function> " |
24432 | "and <function>_CLASS_GTKOBJECT</function>." | 24292 | "och <function>_CLASS_GTKOBJECT</function>." | ||
24433 | 24293 | ||||
24434 | #. (itstool) path: section/title | 24294 | #. (itstool) path: section/title | ||
24435 | #: C/index-in.docbook:10450 | 24295 | #: C/index-in.docbook:10450 | ||
24436 | msgid "_CUSTOM_MOVE_OPERATIONS" | 24296 | msgid "_CUSTOM_MOVE_OPERATIONS" | ||
24437 | msgstr "_CUSTOM_MOVE_OPERATIONS" | 24297 | msgstr "_CUSTOM_MOVE_OPERATIONS" | ||
24442 | msgid "" | 24302 | msgid "" | ||
24443 | "Suppresses declaration and definition of move constructor and move " | 24303 | "Suppresses declaration and definition of move constructor and move " | ||
24444 | "assignment operator in <function>_CLASS_GOBJECT</function> and " | 24304 | "assignment operator in <function>_CLASS_GOBJECT</function> and " | ||
24445 | "<function>_CLASS_GTKOBJECT</function>." | 24305 | "<function>_CLASS_GTKOBJECT</function>." | ||
24446 | msgstr "" | 24306 | msgstr "" | ||
n | 24447 | "Åsidosätter deklaration och definition av move-konstruktor och move-" | n | 24307 | "Undertrycker deklaration och definition av move-konstruktor och move-" |
24448 | "tilldelningsoperator i <function>_CLASS_GOBJECT</function> och " | 24308 | "tilldelningsoperator i <function>_CLASS_GOBJECT</function> och " | ||
24449 | "<function>_CLASS_GTKOBJECT</function>." | 24309 | "<function>_CLASS_GTKOBJECT</function>." | ||
24450 | 24310 | ||||
24451 | #. (itstool) path: section/para | 24311 | #. (itstool) path: section/para | ||
24452 | #: C/index-in.docbook:10456 | 24312 | #: C/index-in.docbook:10456 | ||
24488 | msgid "_CUSTOM_WRAP_NEW" | 24348 | msgid "_CUSTOM_WRAP_NEW" | ||
24489 | msgstr "_CUSTOM_WRAP_NEW" | 24349 | msgstr "_CUSTOM_WRAP_NEW" | ||
24490 | 24350 | ||||
24491 | #. (itstool) path: section/para | 24351 | #. (itstool) path: section/para | ||
24492 | #: C/index-in.docbook:10474 | 24352 | #: C/index-in.docbook:10474 | ||
n | 24493 | #, fuzzy | n | ||
24494 | msgid "" | 24353 | msgid "" | ||
24495 | "Suppresses definition of <function>Glib::wrap_new()</function> function in " | 24354 | "Suppresses definition of <function>Glib::wrap_new()</function> function in " | ||
24496 | "<function>_CLASS_GOBJECT</function>." | 24355 | "<function>_CLASS_GOBJECT</function>." | ||
24497 | msgstr "" | 24356 | msgstr "" | ||
n | 24498 | "Åsidosätter definition av <function>Glib::wrap_new()</function>-funktionen i " | n | 24357 | "Undertrycker definition av <function>Glib::wrap_new()</function>-funktionen " |
24499 | "<function>_CLASS_GOBJECT</function>." | 24358 | "i <function>_CLASS_GOBJECT</function>." | ||
24500 | 24359 | ||||
24501 | #. (itstool) path: section/title | 24360 | #. (itstool) path: section/title | ||
24502 | #: C/index-in.docbook:10480 | 24361 | #: C/index-in.docbook:10480 | ||
24503 | msgid "_CUSTOM_WRAP_FUNCTION" | 24362 | msgid "_CUSTOM_WRAP_FUNCTION" | ||
24504 | msgstr "_CUSTOM_WRAP_FUNCTION" | 24363 | msgstr "_CUSTOM_WRAP_FUNCTION" | ||
24505 | 24364 | ||||
24506 | #. (itstool) path: section/para | 24365 | #. (itstool) path: section/para | ||
24507 | #: C/index-in.docbook:10482 | 24366 | #: C/index-in.docbook:10482 | ||
n | 24508 | #, fuzzy | n | ||
24509 | msgid "" | 24367 | msgid "" | ||
24510 | "Suppresses definition of <function>Glib::wrap()</function> function in " | 24368 | "Suppresses definition of <function>Glib::wrap()</function> function in " | ||
24511 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | 24369 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | ||
24512 | "function>." | 24370 | "function>." | ||
24513 | msgstr "" | 24371 | msgstr "" | ||
n | 24514 | "Åsidosätter definition av <function>Glib::wrap()</function>-funktionen i " | n | 24372 | "Undertrycker definition av <function>Glib::wrap()</function>-funktionen i " |
24515 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | 24373 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | ||
24516 | "function>." | 24374 | "function>." | ||
24517 | 24375 | ||||
24518 | #. (itstool) path: section/title | 24376 | #. (itstool) path: section/title | ||
24519 | #: C/index-in.docbook:10488 | 24377 | #: C/index-in.docbook:10488 | ||
24520 | msgid "_NO_WRAP_FUNCTION" | 24378 | msgid "_NO_WRAP_FUNCTION" | ||
24521 | msgstr "_NO_WRAP_FUNCTION" | 24379 | msgstr "_NO_WRAP_FUNCTION" | ||
24522 | 24380 | ||||
24523 | #. (itstool) path: section/para | 24381 | #. (itstool) path: section/para | ||
24524 | #: C/index-in.docbook:10490 | 24382 | #: C/index-in.docbook:10490 | ||
n | 24525 | #, fuzzy | n | ||
24526 | msgid "" | 24383 | msgid "" | ||
24527 | "Suppresses declaration and definition of <function>Glib::wrap()</function> " | 24384 | "Suppresses declaration and definition of <function>Glib::wrap()</function> " | ||
24528 | "function in <function>_CLASS_GOBJECT</function>, <function>_CLASS_BOXEDTYPE</" | 24385 | "function in <function>_CLASS_GOBJECT</function>, <function>_CLASS_BOXEDTYPE</" | ||
24529 | "function>, <function>_CLASS_BOXEDTYPE_STATIC</function>, " | 24386 | "function>, <function>_CLASS_BOXEDTYPE_STATIC</function>, " | ||
24530 | "<function>_CLASS_OPAQUE_COPYABLE</function>, <function>_CLASS_INTERFACE</" | 24387 | "<function>_CLASS_OPAQUE_COPYABLE</function>, <function>_CLASS_INTERFACE</" | ||
24531 | "function> and <function>_CLASS_GTKOBJECT</function>." | 24388 | "function> and <function>_CLASS_GTKOBJECT</function>." | ||
24532 | msgstr "" | 24389 | msgstr "" | ||
n | 24533 | "Åsidosätter deklaration och definition av <function>Glib::wrap()</function>-" | n | 24390 | "Undertrycker deklaration och definition av <function>Glib::wrap()</function>-" |
24534 | "funktionen i <function>_CLASS_GOBJECT</function>, " | 24391 | "funktionen i <function>_CLASS_GOBJECT</function>, " | ||
24535 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | 24392 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | ||
24536 | "function>, <function>_CLASS_OPAQUE_COPYABLE</function>, " | 24393 | "function>, <function>_CLASS_OPAQUE_COPYABLE</function>, " | ||
24537 | "<function>_CLASS_INTERFACE</function> och <function>_CLASS_GTKOBJECT</" | 24394 | "<function>_CLASS_INTERFACE</function> och <function>_CLASS_GTKOBJECT</" | ||
24538 | "function>." | 24395 | "function>." | ||
24612 | "Gör en extra <function>reference()</function> på returvärdet ifall C-" | 24469 | "Gör en extra <function>reference()</function> på returvärdet ifall C-" | ||
24613 | "funktionen inte tillhandahåller en referens." | 24470 | "funktionen inte tillhandahåller en referens." | ||
24614 | 24471 | ||||
24615 | #. (itstool) path: varlistentry/term | 24472 | #. (itstool) path: varlistentry/term | ||
24616 | #: C/index-in.docbook:10526 C/index-in.docbook:10656 | 24473 | #: C/index-in.docbook:10526 C/index-in.docbook:10656 | ||
n | 24617 | #, fuzzy | n | ||
24618 | msgid "errthrow [\"<exceptions>\"]" | 24474 | msgid "errthrow [\"<exceptions>\"]" | ||
24619 | msgstr "errthrow [\"<undantag>\"]" | 24475 | msgstr "errthrow [\"<undantag>\"]" | ||
24620 | 24476 | ||||
24621 | #. (itstool) path: listitem/para | 24477 | #. (itstool) path: listitem/para | ||
24622 | #: C/index-in.docbook:10528 | 24478 | #: C/index-in.docbook:10528 | ||
24639 | "Hello\\, world, Glib::ConvertError\"</code>" | 24495 | "Hello\\, world, Glib::ConvertError\"</code>" | ||
24640 | 24496 | ||||
24641 | #. (itstool) path: varlistentry/term | 24497 | #. (itstool) path: varlistentry/term | ||
24642 | #: C/index-in.docbook:10539 C/index-in.docbook:10762 C/index-in.docbook:10828 | 24498 | #: C/index-in.docbook:10539 C/index-in.docbook:10762 C/index-in.docbook:10828 | ||
24643 | #: C/index-in.docbook:11074 | 24499 | #: C/index-in.docbook:11074 | ||
n | 24644 | #, fuzzy | n | ||
24645 | msgid "deprecated [\"<text>\"]" | 24500 | msgid "deprecated [\"<text>\"]" | ||
24646 | msgstr "deprecated [\"<text>\"]" | 24501 | msgstr "deprecated [\"<text>\"]" | ||
24647 | 24502 | ||||
24648 | #. (itstool) path: listitem/para | 24503 | #. (itstool) path: listitem/para | ||
24649 | #: C/index-in.docbook:10541 C/index-in.docbook:10764 C/index-in.docbook:10830 | 24504 | #: C/index-in.docbook:10541 C/index-in.docbook:10764 C/index-in.docbook:10830 | ||
24650 | #: C/index-in.docbook:11076 | 24505 | #: C/index-in.docbook:11076 | ||
n | 24651 | #, fuzzy | n | ||
24652 | msgid "" | 24506 | msgid "" | ||
24653 | "Puts the generated code in #ifdef blocks. Text about the deprecation can be " | 24507 | "Puts the generated code in #ifdef blocks. Text about the deprecation can be " | ||
24654 | "specified as an optional parameter." | 24508 | "specified as an optional parameter." | ||
24655 | msgstr "" | 24509 | msgstr "" | ||
24656 | "Stoppar den genererade koden i #ifdef-block. Text om föråldringen kan anges " | 24510 | "Stoppar den genererade koden i #ifdef-block. Text om föråldringen kan anges " | ||
24657 | "som en valfri parameter." | 24511 | "som en valfri parameter." | ||
24658 | 24512 | ||||
24659 | #. (itstool) path: varlistentry/term | 24513 | #. (itstool) path: varlistentry/term | ||
24660 | #: C/index-in.docbook:10547 | 24514 | #: C/index-in.docbook:10547 | ||
n | 24661 | #, fuzzy | n | ||
24662 | msgid "ignore_deprecations" | 24515 | msgid "ignore_deprecations" | ||
24663 | msgstr "ignore_deprecations" | 24516 | msgstr "ignore_deprecations" | ||
24664 | 24517 | ||||
24665 | #. (itstool) path: listitem/para | 24518 | #. (itstool) path: listitem/para | ||
24666 | #: C/index-in.docbook:10549 | 24519 | #: C/index-in.docbook:10549 | ||
n | 24667 | #, fuzzy | n | ||
24668 | msgid "" | 24520 | msgid "" | ||
24669 | "Puts the generated code in the .cc file in a " | 24521 | "Puts the generated code in the .cc file in a " | ||
24670 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS block. " | 24522 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS block. " | ||
24671 | "(Only in glibmm >= 2.70.1)" | 24523 | "(Only in glibmm >= 2.70.1)" | ||
24672 | msgstr "" | 24524 | msgstr "" | ||
24674 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS-block. " | 24526 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS-block. " | ||
24675 | "(Endast i glibmm >= 2.70.1)" | 24527 | "(Endast i glibmm >= 2.70.1)" | ||
24676 | 24528 | ||||
24677 | #. (itstool) path: varlistentry/term | 24529 | #. (itstool) path: varlistentry/term | ||
24678 | #: C/index-in.docbook:10555 | 24530 | #: C/index-in.docbook:10555 | ||
n | 24679 | #, fuzzy | n | ||
24680 | msgid "constversion" | 24531 | msgid "constversion" | ||
24681 | msgstr "constversion" | 24532 | msgstr "constversion" | ||
24682 | 24533 | ||||
24683 | #. (itstool) path: listitem/para | 24534 | #. (itstool) path: listitem/para | ||
24684 | #: C/index-in.docbook:10557 | 24535 | #: C/index-in.docbook:10557 | ||
24708 | "@newin-kommandot som genererats från C-dokumentationen." | 24559 | "@newin-kommandot som genererats från C-dokumentationen." | ||
24709 | 24560 | ||||
24710 | #. (itstool) path: varlistentry/term | 24561 | #. (itstool) path: varlistentry/term | ||
24711 | #: C/index-in.docbook:10569 C/index-in.docbook:10776 C/index-in.docbook:10909 | 24562 | #: C/index-in.docbook:10569 C/index-in.docbook:10776 C/index-in.docbook:10909 | ||
24712 | #: C/index-in.docbook:10996 | 24563 | #: C/index-in.docbook:10996 | ||
n | 24713 | #, fuzzy | n | ||
24714 | msgid "ifdef <identifier>" | 24564 | msgid "ifdef <identifier>" | ||
24715 | msgstr "ifdef <identifierare>" | 24565 | msgstr "ifdef <identifierare>" | ||
24716 | 24566 | ||||
24717 | #. (itstool) path: listitem/para | 24567 | #. (itstool) path: listitem/para | ||
24718 | #: C/index-in.docbook:10571 C/index-in.docbook:10778 C/index-in.docbook:10911 | 24568 | #: C/index-in.docbook:10571 C/index-in.docbook:10778 C/index-in.docbook:10911 | ||
24758 | "function that the method wraps." | 24608 | "function that the method wraps." | ||
24759 | msgstr "" | 24609 | msgstr "" | ||
24760 | "Används tillsammans med alternativet <literal>slot_name</literal> för att " | 24610 | "Används tillsammans med alternativet <literal>slot_name</literal> för att " | ||
24761 | "ange namnet på limåteranropsfunktionen som hanterar extrahering av facket " | 24611 | "ange namnet på limåteranropsfunktionen som hanterar extrahering av facket " | ||
24762 | "och sedan anropar det. Adressen för detta återanrop skickas också till C-" | 24612 | "och sedan anropar det. Adressen för detta återanrop skickas också till C-" | ||
n | 24763 | "funktioen som metoden omsluter." | n | 24613 | "funktionen som metoden omsluter." |
24764 | 24614 | ||||
24765 | #. (itstool) path: varlistentry/term | 24615 | #. (itstool) path: varlistentry/term | ||
24766 | #: C/index-in.docbook:10597 C/index-in.docbook:10937 | 24616 | #: C/index-in.docbook:10597 C/index-in.docbook:10937 | ||
24767 | msgid "no_slot_copy" | 24617 | msgid "no_slot_copy" | ||
24768 | msgstr "no_slot_copy" | 24618 | msgstr "no_slot_copy" | ||
24846 | "ownership (none, shallow or deep) for the m4 conversion rule, which you " | 24696 | "ownership (none, shallow or deep) for the m4 conversion rule, which you " | ||
24847 | "should probably put directly into the .hg file because the ownership depends " | 24697 | "should probably put directly into the .hg file because the ownership depends " | ||
24848 | "on the function rather than the type. For instance:" | 24698 | "on the function rather than the type. For instance:" | ||
24849 | msgstr "" | 24699 | msgstr "" | ||
24850 | "Omsluta <classname>GList*</classname>- och <classname>GSList*</classname>-" | 24700 | "Omsluta <classname>GList*</classname>- och <classname>GSList*</classname>-" | ||
n | 24851 | "returtype: Du måste upptäcka huruvida anroparen ska frigöra listan och " | n | 24701 | "returtyper: Du måste upptäcka huruvida anroparen ska frigöra listan och " |
24852 | "huruvida den ska släppa objekten i listan, igen genom att läsa " | 24702 | "huruvida den ska släppa objekten i listan, igen genom att läsa " | ||
24853 | "dokumentationen för C-funktionen. Med denna information kan du välja " | 24703 | "dokumentationen för C-funktionen. Med denna information kan du välja " | ||
24854 | "ägarskapet (none, shallow eller deep) för m4-konverteringsregeln, vilket du " | 24704 | "ägarskapet (none, shallow eller deep) för m4-konverteringsregeln, vilket du " | ||
24855 | "troligen ska stoppa direkt i .hg-filen för ägarskapet beror på funktionen " | 24705 | "troligen ska stoppa direkt i .hg-filen för ägarskapet beror på funktionen " | ||
24856 | "snarare än typen. Till exempel: <_:programlisting-1/>" | 24706 | "snarare än typen. Till exempel: <_:programlisting-1/>" | ||
24857 | 24707 | ||||
24858 | #. (itstool) path: listitem/programlisting | 24708 | #. (itstool) path: listitem/programlisting | ||
24859 | #: C/index-in.docbook:10637 | 24709 | #: C/index-in.docbook:10637 | ||
24860 | #, fuzzy, no-wrap | 24710 | #, fuzzy, no-wrap | ||
n | n | 24711 | #| msgid "#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SListHan | ||
> | dler<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')" | ||||
24861 | msgid "<code>#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SList | 24712 | msgid "<code>#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SList | ||
> | Handler<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')</code>" | > | Handler<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')</code>" | ||
24862 | msgstr "#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SListHandl | 24713 | msgstr "#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SListHandl | ||
> | er<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')" | > | er<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')" | ||
24863 | 24714 | ||||
24864 | #. (itstool) path: section/para | 24715 | #. (itstool) path: section/para | ||
24865 | #: C/index-in.docbook:10608 | 24716 | #: C/index-in.docbook:10608 | ||
24950 | "wrapped C function returns a value, but the corresponding <phrase " | 24801 | "wrapped C function returns a value, but the corresponding <phrase " | ||
24951 | "role=\"nowrap\">C++</phrase> method returns <type>void</type>." | 24802 | "role=\"nowrap\">C++</phrase> method returns <type>void</type>." | ||
24952 | msgstr "" | 24803 | msgstr "" | ||
24953 | "Inkludera inte ett @return-Doxygenkommando i dokumentationen. Användbart om " | 24804 | "Inkludera inte ett @return-Doxygenkommando i dokumentationen. Användbart om " | ||
24954 | "den omslutna C-funktionen returnerar ett värde, men den motsvarande C++-" | 24805 | "den omslutna C-funktionen returnerar ett värde, men den motsvarande C++-" | ||
n | 24955 | "metoden returerar <type>void</type>." | n | 24806 | "metoden returnerar <type>void</type>." |
24956 | 24807 | ||||
24957 | #. (itstool) path: section/title | 24808 | #. (itstool) path: section/title | ||
24958 | #: C/index-in.docbook:10688 | 24809 | #: C/index-in.docbook:10688 | ||
24959 | msgid "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | 24810 | msgid "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | ||
24960 | msgstr "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | 24811 | msgstr "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | ||
25048 | msgstr "Till exempel, från <filename>button.hg</filename>:" | 24899 | msgstr "Till exempel, från <filename>button.hg</filename>:" | ||
25049 | 24900 | ||||
25050 | #. (itstool) path: section/programlisting | 24901 | #. (itstool) path: section/programlisting | ||
25051 | #: C/index-in.docbook:10719 | 24902 | #: C/index-in.docbook:10719 | ||
25052 | #, fuzzy, no-wrap | 24903 | #, fuzzy, no-wrap | ||
n | n | 24904 | #| msgid "" | ||
24905 | #| "\n" | ||||
24906 | #| "_WRAP_SIGNAL(void clicked(),\"clicked\")\n" | ||||
25053 | msgid "" | 24907 | msgid "" | ||
25054 | "<code>_WRAP_SIGNAL(void clicked(),\"clicked\")\n" | 24908 | "<code>_WRAP_SIGNAL(void clicked(),\"clicked\")\n" | ||
25055 | "</code>" | 24909 | "</code>" | ||
25056 | msgstr "" | 24910 | msgstr "" | ||
25057 | "\n" | 24911 | "\n" | ||
25073 | msgid "no_default_handler" | 24927 | msgid "no_default_handler" | ||
25074 | msgstr "no_default_handler" | 24928 | msgstr "no_default_handler" | ||
25075 | 24929 | ||||
25076 | #. (itstool) path: listitem/para | 24930 | #. (itstool) path: listitem/para | ||
25077 | #: C/index-in.docbook:10729 | 24931 | #: C/index-in.docbook:10729 | ||
n | 25078 | #, fuzzy | n | ||
25079 | msgid "" | 24932 | msgid "" | ||
25080 | "Do not generate an <function>on_something()</function> virtual method to " | 24933 | "Do not generate an <function>on_something()</function> virtual method to " | ||
25081 | "allow easy overriding of the default signal handler. Use this when adding a " | 24934 | "allow easy overriding of the default signal handler. Use this when adding a " | ||
25082 | "signal with a default signal handler would break the ABI by increasing the " | 24935 | "signal with a default signal handler would break the ABI by increasing the " | ||
25083 | "size of the class's virtual function table, and when adding a signal without " | 24936 | "size of the class's virtual function table, and when adding a signal without " | ||
25084 | "a public C default handler." | 24937 | "a public C default handler." | ||
25085 | msgstr "" | 24938 | msgstr "" | ||
25086 | "Generera inte en virtuell metod <function>on_something()</function> för att " | 24939 | "Generera inte en virtuell metod <function>on_something()</function> för att " | ||
25087 | "tillåta enkel åsidosättning av standardsignalhanteraren. Använd detta när " | 24940 | "tillåta enkel åsidosättning av standardsignalhanteraren. Använd detta när " | ||
n | 25088 | "tillägg av en signal med en standardsignalhanterare skulle bryta ABI genom " | n | 24941 | "tillägg av en signal med en standardsignalhanterare skulle bryta ABI:t genom " |
25089 | "att öka storleken på klassens virtuella funktionstabell, och vid tillägg av " | 24942 | "att öka storleken på klassens virtuella funktionstabell, och vid tillägg av " | ||
25090 | "en signal utan en öppen C-standardhanterare." | 24943 | "en signal utan en öppen C-standardhanterare." | ||
25091 | 24944 | ||||
25092 | #. (itstool) path: varlistentry/term | 24945 | #. (itstool) path: varlistentry/term | ||
25093 | #: C/index-in.docbook:10738 | 24946 | #: C/index-in.docbook:10738 | ||
25134 | "virtuella metoden <function>on_something()</function>, ifall C-funktionen " | 24987 | "virtuella metoden <function>on_something()</function>, ifall C-funktionen " | ||
25135 | "inte tillhandahåller en referens." | 24988 | "inte tillhandahåller en referens." | ||
25136 | 24989 | ||||
25137 | #. (itstool) path: varlistentry/term | 24990 | #. (itstool) path: varlistentry/term | ||
25138 | #: C/index-in.docbook:10782 C/index-in.docbook:10963 | 24991 | #: C/index-in.docbook:10782 C/index-in.docbook:10963 | ||
n | 25139 | #, fuzzy | n | ||
25140 | msgid "exception_handler <method_name>" | 24992 | msgid "exception_handler <method_name>" | ||
25141 | msgstr "exception_handler <metodnamn>" | 24993 | msgstr "exception_handler <metodnamn>" | ||
25142 | 24994 | ||||
25143 | #. (itstool) path: listitem/para | 24995 | #. (itstool) path: listitem/para | ||
25144 | #: C/index-in.docbook:10784 C/index-in.docbook:10965 | 24996 | #: C/index-in.docbook:10784 C/index-in.docbook:10965 | ||
25152 | "standard. Undantag kan kastas igen av användardefinierade hanteraren och " | 25004 | "standard. Undantag kan kastas igen av användardefinierade hanteraren och " | ||
25153 | "kommer fångas av standardhanteraren." | 25005 | "kommer fångas av standardhanteraren." | ||
25154 | 25006 | ||||
25155 | #. (itstool) path: varlistentry/term | 25007 | #. (itstool) path: varlistentry/term | ||
25156 | #: C/index-in.docbook:10790 | 25008 | #: C/index-in.docbook:10790 | ||
n | 25157 | #, fuzzy | n | ||
25158 | msgid "detail_name <parameter_name>" | 25009 | msgid "detail_name <parameter_name>" | ||
25159 | msgstr "detail_name <parameternamn>" | 25010 | msgstr "detail_name <parameternamn>" | ||
25160 | 25011 | ||||
25161 | #. (itstool) path: listitem/para | 25012 | #. (itstool) path: listitem/para | ||
25162 | #: C/index-in.docbook:10792 | 25013 | #: C/index-in.docbook:10792 | ||
25222 | msgstr "<function>_WRAP_PROPERTY(C-egenskapsnamn, C++-typ)</function>" | 25073 | msgstr "<function>_WRAP_PROPERTY(C-egenskapsnamn, C++-typ)</function>" | ||
25223 | 25074 | ||||
25224 | #. (itstool) path: section/programlisting | 25075 | #. (itstool) path: section/programlisting | ||
25225 | #: C/index-in.docbook:10823 | 25076 | #: C/index-in.docbook:10823 | ||
25226 | #, fuzzy, no-wrap | 25077 | #, fuzzy, no-wrap | ||
n | n | 25078 | #| msgid "" | ||
25079 | #| "\n" | ||||
25080 | #| "_WRAP_PROPERTY(\"label\", Glib::ustring)\n" | ||||
25227 | msgid "" | 25081 | msgid "" | ||
25228 | "<code>_WRAP_PROPERTY(\"label\", Glib::ustring)\n" | 25082 | "<code>_WRAP_PROPERTY(\"label\", Glib::ustring)\n" | ||
25229 | "</code>" | 25083 | "</code>" | ||
25230 | msgstr "" | 25084 | msgstr "" | ||
25231 | "\n" | 25085 | "\n" | ||
25338 | #, fuzzy | 25192 | #, fuzzy | ||
25339 | msgid "" | 25193 | msgid "" | ||
25340 | "Use the last GError** parameter of the C virtual function (if there is one) " | 25194 | "Use the last GError** parameter of the C virtual function (if there is one) " | ||
25341 | "to throw an exception." | 25195 | "to throw an exception." | ||
25342 | msgstr "" | 25196 | msgstr "" | ||
n | 25343 | "Använd den sista GError**-parametern i den virtuella C-fukntionen (om det " | n | 25197 | "Använd den sista GError**-parametern i den virtuella C-funktionen (om det " |
25344 | "finns någon) för att kasta ett undantag." | 25198 | "finns någon) för att kasta ett undantag." | ||
25345 | 25199 | ||||
25346 | #. (itstool) path: varlistentry/term | 25200 | #. (itstool) path: varlistentry/term | ||
25347 | #: C/index-in.docbook:10894 | 25201 | #: C/index-in.docbook:10894 | ||
25348 | msgid "custom_vfunc" | 25202 | msgid "custom_vfunc" | ||
25516 | "enums should be registered as GTypes." | 25370 | "enums should be registered as GTypes." | ||
25517 | msgstr "" | 25371 | msgstr "" | ||
25518 | "Använd detta alternativ om uppräkningen inte är en <classname>GType</" | 25372 | "Använd detta alternativ om uppräkningen inte är en <classname>GType</" | ||
25519 | "classname>. Detta är fallet när det inte finns någon <function>*_get_type()</" | 25373 | "classname>. Detta är fallet när det inte finns någon <function>*_get_type()</" | ||
25520 | "function>-funktion för C-uppräkningen, men var försiktig så att du inte vara " | 25374 | "function>-funktion för C-uppräkningen, men var försiktig så att du inte vara " | ||
n | 25521 | "behöver inkludera en extra header för den funktionen. Du bör också " | n | 25375 | "behöver inkludera ett extra huvud för den funktionen. Du bör också " |
25522 | "rapportera ett fel mot C-API:t, för alla uppräkningar ska registreras som " | 25376 | "rapportera ett fel mot C-API:t, för alla uppräkningar ska registreras som " | ||
25523 | "GType-typer." | 25377 | "GType-typer." | ||
25524 | 25378 | ||||
25525 | #. (itstool) path: listitem/para | 25379 | #. (itstool) path: listitem/para | ||
25526 | #: C/index-in.docbook:11023 | 25380 | #: C/index-in.docbook:11023 | ||
25554 | "_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n" | 25408 | "_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n" | ||
25555 | " " | 25409 | " " | ||
25556 | 25410 | ||||
25557 | #. (itstool) path: varlistentry/term | 25411 | #. (itstool) path: varlistentry/term | ||
25558 | #: C/index-in.docbook:11032 | 25412 | #: C/index-in.docbook:11032 | ||
n | 25559 | #, fuzzy | n | ||
25560 | msgid "gtype_func <function_name>" | 25413 | msgid "gtype_func <function_name>" | ||
25561 | msgstr "gtype_func <funktionsnamn>" | 25414 | msgstr "gtype_func <funktionsnamn>" | ||
25562 | 25415 | ||||
25563 | #. (itstool) path: listitem/para | 25416 | #. (itstool) path: listitem/para | ||
25564 | #: C/index-in.docbook:11034 | 25417 | #: C/index-in.docbook:11034 | ||
25693 | "the same syntax as <function>_WRAP_ENUM()</function> and also processes the " | 25546 | "the same syntax as <function>_WRAP_ENUM()</function> and also processes the " | ||
25694 | "same options (though NO_GTYPE, gtype_func <function_name> and " | 25547 | "same options (though NO_GTYPE, gtype_func <function_name> and " | ||
25695 | "CONV_TO_INT are ignored because they make no difference when just generating " | 25548 | "CONV_TO_INT are ignored because they make no difference when just generating " | ||
25696 | "the enum's documentation)." | 25549 | "the enum's documentation)." | ||
25697 | msgstr "" | 25550 | msgstr "" | ||
n | 25698 | "Detta makro genererar bara ett Doxygen-documentationsblock för uppräkningen. " | n | 25551 | "Detta makro genererar bara ett Doxygen-dokumentationsblock för uppräkningen. " |
25699 | "Detta är användbart för uppräkningar som inte kan omslutas med " | 25552 | "Detta är användbart för uppräkningar som inte kan omslutas med " | ||
25700 | "<function>_WRAP_ENUM()</function> för att de är komplext definierade (kanske " | 25553 | "<function>_WRAP_ENUM()</function> för att de är komplext definierade (kanske " | ||
25701 | "med C-makron) men att det fortfarande är önskvärt att inkludera den " | 25554 | "med C-makron) men att det fortfarande är önskvärt att inkludera den " | ||
25702 | "genererade uppräkningsdokumentationen. Det används med samma syntax som " | 25555 | "genererade uppräkningsdokumentationen. Det används med samma syntax som " | ||
25703 | "<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även " | 25556 | "<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även " | ||
25704 | "om NO_GTYPE, gtype_func <funktionsnamn> och CONV_TO_INT ignoreras för " | 25557 | "om NO_GTYPE, gtype_func <funktionsnamn> och CONV_TO_INT ignoreras för " | ||
n | 25705 | "att de inte gör någon skillnad på bara uppräkningens dokumentation " | n | 25558 | "att de inte gör någon skillnad då bara uppräkningens dokumentation " |
25706 | "genereras)." | 25559 | "genereras)." | ||
25707 | 25560 | ||||
25708 | #. (itstool) path: section/title | 25561 | #. (itstool) path: section/title | ||
25709 | #: C/index-in.docbook:11106 | 25562 | #: C/index-in.docbook:11106 | ||
25710 | msgid "_WRAP_GERROR" | 25563 | msgid "_WRAP_GERROR" | ||
25844 | "hg</filename>:" | 25697 | "hg</filename>:" | ||
25845 | 25698 | ||||
25846 | #. (itstool) path: section/programlisting | 25699 | #. (itstool) path: section/programlisting | ||
25847 | #: C/index-in.docbook:11146 | 25700 | #: C/index-in.docbook:11146 | ||
25848 | #, fuzzy, no-wrap | 25701 | #, fuzzy, no-wrap | ||
n | n | 25702 | #| msgid "" | ||
25703 | #| "\n" | ||||
25704 | #| "// _MEMBER_GET_PTR(engine_lang, lang_engine, EngineLang*, PangoEngineLang*)\ | ||||
> | n" | ||||
25705 | #| "// It's just a comment. It's difficult to find a real-world example.\n" | ||||
25849 | msgid "" | 25706 | msgid "" | ||
25850 | "<code>// _MEMBER_GET_PTR(engine_lang, lang_engine, EngineLang*, PangoEngineLang | 25707 | "<code>// _MEMBER_GET_PTR(engine_lang, lang_engine, EngineLang*, PangoEngineLang | ||
> | *)\n" | > | *)\n" | ||
25851 | "// It's just a comment. It's difficult to find a real-world example.\n" | 25708 | "// It's just a comment. It's difficult to find a real-world example.\n" | ||
25852 | "</code>" | 25709 | "</code>" | ||
25853 | msgstr "" | 25710 | msgstr "" | ||
25892 | msgstr "Till exempel, i Pangomm, <filename>layoutline.hg</filename>:" | 25749 | msgstr "Till exempel, i Pangomm, <filename>layoutline.hg</filename>:" | ||
25893 | 25750 | ||||
25894 | #. (itstool) path: section/programlisting | 25751 | #. (itstool) path: section/programlisting | ||
25895 | #: C/index-in.docbook:11161 | 25752 | #: C/index-in.docbook:11161 | ||
25896 | #, fuzzy, no-wrap | 25753 | #, fuzzy, no-wrap | ||
n | n | 25754 | #| msgid "" | ||
25755 | #| "\n" | ||||
25756 | #| "_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | ||||
25897 | msgid "" | 25757 | msgid "" | ||
25898 | "<code>_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | 25758 | "<code>_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | ||
25899 | "</code>" | 25759 | "</code>" | ||
25900 | msgstr "" | 25760 | msgstr "" | ||
25901 | "\n" | 25761 | "\n" | ||
25902 | "_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | 25762 | "_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | ||
25903 | 25763 | ||||
25904 | #. (itstool) path: section/title | 25764 | #. (itstool) path: section/title | ||
25905 | #: C/index-in.docbook:11168 | 25765 | #: C/index-in.docbook:11168 | ||
n | 25906 | #, fuzzy | n | ||
25907 | msgid "gmmproc Parameter Processing" | 25766 | msgid "gmmproc Parameter Processing" | ||
25908 | msgstr "Parameterbearbetning med gmmproc" | 25767 | msgstr "Parameterbearbetning med gmmproc" | ||
25909 | 25768 | ||||
25910 | #. (itstool) path: section/para | 25769 | #. (itstool) path: section/para | ||
25911 | #: C/index-in.docbook:11169 | 25770 | #: C/index-in.docbook:11169 | ||
25921 | "<function>_WRAP_METHOD()</function>, <function>_WRAP_CTOR()</function> och " | 25780 | "<function>_WRAP_METHOD()</function>, <function>_WRAP_CTOR()</function> och " | ||
25922 | "<function>_WRAP_CREATE()</function>) på ett antal sätt:" | 25781 | "<function>_WRAP_CREATE()</function>) på ett antal sätt:" | ||
25923 | 25782 | ||||
25924 | #. (itstool) path: section/title | 25783 | #. (itstool) path: section/title | ||
25925 | #: C/index-in.docbook:11176 | 25784 | #: C/index-in.docbook:11176 | ||
n | 25926 | #, fuzzy | n | ||
25927 | msgid "Parameter Reordering" | 25785 | msgid "Parameter Reordering" | ||
25928 | msgstr "Ändra ordning på parametrar" | 25786 | msgstr "Ändra ordning på parametrar" | ||
25929 | 25787 | ||||
25930 | #. (itstool) path: section/para | 25788 | #. (itstool) path: section/para | ||
25931 | #: C/index-in.docbook:11178 | 25789 | #: C/index-in.docbook:11178 | ||
26020 | "parameternamn oavsett vad C-API:ts parameternamn är. Det är hur verktyget är " | 25878 | "parameternamn oavsett vad C-API:ts parameternamn är. Det är hur verktyget är " | ||
26021 | "skrivet för tillfället." | 25879 | "skrivet för tillfället." | ||
26022 | 25880 | ||||
26023 | #. (itstool) path: section/title | 25881 | #. (itstool) path: section/title | ||
26024 | #: C/index-in.docbook:11217 | 25882 | #: C/index-in.docbook:11217 | ||
n | 26025 | #, fuzzy | n | ||
26026 | msgid "Optional Parameter Processing" | 25883 | msgid "Optional Parameter Processing" | ||
26027 | msgstr "Valfri parameterbearbetning" | 25884 | msgstr "Valfri parameterbearbetning" | ||
26028 | 25885 | ||||
26029 | #. (itstool) path: section/para | 25886 | #. (itstool) path: section/para | ||
26030 | #: C/index-in.docbook:11219 | 25887 | #: C/index-in.docbook:11219 | ||
26188 | "<parameter>out_mime_type</parameter>:" | 26045 | "<parameter>out_mime_type</parameter>:" | ||
26189 | msgstr "" | 26046 | msgstr "" | ||
26190 | 26047 | ||||
26191 | #. (itstool) path: section/programlisting | 26048 | #. (itstool) path: section/programlisting | ||
26192 | #: C/index-in.docbook:11279 | 26049 | #: C/index-in.docbook:11279 | ||
n | 26193 | #, no-wrap | n | 26050 | #, fuzzy, no-wrap |
26051 | #| msgid "" | ||||
26052 | #| "\n" | ||||
26053 | #| "GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||||
26054 | #| " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||||
26194 | msgid "" | 26055 | msgid "" | ||
26195 | "<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | 26056 | "<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||
26196 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | 26057 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||
26197 | "</code>" | 26058 | "</code>" | ||
26198 | msgstr "" | 26059 | msgstr "" | ||
n | n | 26060 | "\n" | ||
26061 | "GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||||
26062 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||||
26199 | 26063 | ||||
26200 | #. (itstool) path: section/para | 26064 | #. (itstool) path: section/para | ||
26201 | #: C/index-in.docbook:11282 | 26065 | #: C/index-in.docbook:11282 | ||
26202 | msgid "" | 26066 | msgid "" | ||
26203 | "To have <command>gmmproc</command> place the value returned in the <phrase " | 26067 | "To have <command>gmmproc</command> place the value returned in the <phrase " | ||
26206 | "macro could be used:" | 26070 | "macro could be used:" | ||
26207 | msgstr "" | 26071 | msgstr "" | ||
26208 | 26072 | ||||
26209 | #. (itstool) path: section/programlisting | 26073 | #. (itstool) path: section/programlisting | ||
26210 | #: C/index-in.docbook:11286 | 26074 | #: C/index-in.docbook:11286 | ||
n | 26211 | #, no-wrap | n | 26075 | #, fuzzy, no-wrap |
26212 | msgid "" | 26076 | msgid "" | ||
26213 | "<code>\n" | 26077 | "<code>\n" | ||
26214 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | 26078 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | ||
26215 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | 26079 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | ||
26216 | " Glib::ustring& out_mime_type{>>}), gdk_clipboard_read_finish, errth | 26080 | " Glib::ustring& out_mime_type{>>}), gdk_clipboard_read_finish, errth | ||
> | row)\n" | > | row)\n" | ||
26217 | "</code>" | 26081 | "</code>" | ||
26218 | msgstr "" | 26082 | msgstr "" | ||
n | n | 26083 | "\n" | ||
26084 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | ||||
26085 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | ||||
26086 | " Glib::ustring& out_mime_type{>>}), gdk_clipboard_read_finish, errth | ||||
> | row)\n" | ||||
26219 | 26087 | ||||
26220 | #. (itstool) path: section/para | 26088 | #. (itstool) path: section/para | ||
26221 | #: C/index-in.docbook:11291 | 26089 | #: C/index-in.docbook:11291 | ||
26222 | #, fuzzy | 26090 | #, fuzzy | ||
26223 | msgid "" | 26091 | msgid "" | ||
26233 | "char**</classname> such as the following:" | 26101 | "char**</classname> such as the following:" | ||
26234 | msgstr "" | 26102 | msgstr "" | ||
26235 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | 26103 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | ||
26236 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | 26104 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | ||
26237 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | 26105 | "några. Anta till exempel att vi vill omsluta följande C-funktion som " | ||
n | 26238 | "returnerar ett värde i sin C-utdataparameter <parameter>rect</parameter>: <_:" | n | 26106 | "returnerar ett värde i sin C-utdataparameter <parameter>out_mime_type</" |
26239 | "programlisting-1/> För att <command>gmmproc</command> ska placera det " | 26107 | "parameter>: <_:programlisting-1/> För att <command>gmmproc</command> ska " | ||
26240 | "returnerade värdet i C++-utdataparametern <parameter>rect</parameter> ska " | 26108 | "placera det returnerade värdet i C++-utdataparametern " | ||
26241 | "något i stil med följande <function>_WRAP_METHOD()</function>-makro " | 26109 | "<parameter>out_mime_type</parameter> ska något i stil med följande " | ||
26242 | "användas: <_:programlisting-2/> Den <literal>{>>}</literal> som följer " | 26110 | "<function>_WRAP_METHOD()</function>-makro användas: <_:programlisting-2/> " | ||
26243 | "parameternamnet <parameter>rect</parameter> indikerar att C++-" | 26111 | "Den <literal>{>>}</literal> som följer parameternamnet " | ||
26112 | "<parameter>out_mime_type</parameter> indikerar att C++-utdataparametern ska " | ||||
26244 | "utdataparametern ska ställas in från värdet som returneras C-parametern från " | 26113 | "ställas in från värdet som returneras i C-parametern från C-funktionen. " | ||
26245 | "C-funktionen. <command>gmmproc</command> kommer att generera en deklaration " | 26114 | "<command>gmmproc</command> kommer att generera en deklaration av en temporär " | ||
26246 | "av en temporär variabel i vilken värdet av C-utdataparametern och en sats " | 26115 | "variabel i vilken värdet av C-utdataparametern och en sats som sätter C++-" | ||
26247 | "som sätter C++-utdataparametern från temporärvariabeln. I detta fall kan det " | 26116 | "utdataparametern från temporärvariabeln. I detta fall kan det vara " | ||
26248 | "vara nödvändigt att ha en <function>_INITIALIZATION()</function> som " | 26117 | "nödvändigt att ha en <function>_INITIALIZATION()</function> som beskriver " | ||
26249 | "beskriver hur en <classname>Gdk::Rectangle&</classname> ska sättas från " | 26118 | "hur en <classname>Glib::ustring&</classname> ska sättas från en " | ||
26250 | "en <classname>GdkRectangle*</classname> som i det följande: <_:" | 26119 | "<classname>const char**</classname> som i det följande: <_:programlisting-3/>" | ||
26251 | "programlisting-3/>" | ||||
26252 | 26120 | ||||
26253 | #. (itstool) path: section/programlisting | 26121 | #. (itstool) path: section/programlisting | ||
26254 | #: C/index-in.docbook:11301 | 26122 | #: C/index-in.docbook:11301 | ||
26255 | #, fuzzy, no-wrap | 26123 | #, fuzzy, no-wrap | ||
26256 | #| msgid "" | 26124 | #| msgid "" | ||
26257 | #| "\n" | 26125 | #| "\n" | ||
n | 26258 | #| "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26126 | #| "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const |
> | _gchar_ptr_to_ustring($4)')\n" | ||||
26259 | msgid "" | 26127 | msgid "" | ||
26260 | "<code>\n" | 26128 | "<code>\n" | ||
26261 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | 26129 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc | ||
> | har_ptr_to_ustring($4)')\n" | > | har_ptr_to_ustring($4)')\n" | ||
26262 | "</code>" | 26130 | "</code>" | ||
26263 | msgstr "" | 26131 | msgstr "" | ||
26264 | "\n" | 26132 | "\n" | ||
n | 26265 | "_INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n" | n | 26133 | "_INITIALIZATION(`Glib::ustring&',`const char*',`$3 = Glib::convert_const_gc |
> | har_ptr_to_ustring($4)')\n" | ||||
26266 | 26134 | ||||
26267 | #. (itstool) path: section/title | 26135 | #. (itstool) path: section/title | ||
26268 | #: C/index-in.docbook:11307 | 26136 | #: C/index-in.docbook:11307 | ||
26269 | #, fuzzy | 26137 | #, fuzzy | ||
26270 | msgid "String Parameter Processing" | 26138 | msgid "String Parameter Processing" | ||
26332 | "både ett C-parameternamn och <literal>NULL</literal> separerar du dem med " | 26200 | "både ett C-parameternamn och <literal>NULL</literal> separerar du dem med " | ||
26333 | "ett blanksteg: <literal>{c_param_name NULL}</literal>." | 26201 | "ett blanksteg: <literal>{c_param_name NULL}</literal>." | ||
26334 | 26202 | ||||
26335 | #. (itstool) path: section/title | 26203 | #. (itstool) path: section/title | ||
26336 | #: C/index-in.docbook:11338 | 26204 | #: C/index-in.docbook:11338 | ||
n | 26337 | #, fuzzy | n | ||
26338 | msgid "Basic Types" | 26205 | msgid "Basic Types" | ||
26339 | msgstr "Grundläggande typer" | 26206 | msgstr "Grundläggande typer" | ||
26340 | 26207 | ||||
26341 | #. (itstool) path: section/para | 26208 | #. (itstool) path: section/para | ||
26342 | #: C/index-in.docbook:11339 | 26209 | #: C/index-in.docbook:11339 | ||
26343 | #, fuzzy | 26210 | #, fuzzy | ||
n | n | 26211 | #| msgid "" | ||
26212 | #| "Some of the basic types that are used in C APIs have better alternatives " | ||||
26213 | #| "in C++. For example, there's no need for a <type>gboolean</type> type " | ||||
26214 | #| "since C++ has <type>bool</type>. The following list shows some commonly-" | ||||
26215 | #| "used types in C APIs and what you might convert them to in a C++ wrapper " | ||||
26216 | #| "library." | ||||
26344 | msgid "" | 26217 | msgid "" | ||
26345 | "Some of the basic types that are used in C APIs have better alternatives in " | 26218 | "Some of the basic types that are used in C APIs have better alternatives in " | ||
26346 | "<phrase role=\"nowrap\">C++</phrase>. For example, there's no need for a " | 26219 | "<phrase role=\"nowrap\">C++</phrase>. For example, there's no need for a " | ||
26347 | "<type>gboolean</type> type since <phrase role=\"nowrap\">C++</phrase> has " | 26220 | "<type>gboolean</type> type since <phrase role=\"nowrap\">C++</phrase> has " | ||
26348 | "<type>bool</type>. The following list shows some commonly-used types in C " | 26221 | "<type>bool</type>. The following list shows some commonly-used types in C " | ||
26460 | "and <application>gtkmm</application>) and call your generated " | 26333 | "and <application>gtkmm</application>) and call your generated " | ||
26461 | "<function>wrap_init()</function> function. For instance:" | 26334 | "<function>wrap_init()</function> function. For instance:" | ||
26462 | msgstr "" | 26335 | msgstr "" | ||
26463 | "Ditt bibliotek måste initieras innan det kan användas för att registrera de " | 26336 | "Ditt bibliotek måste initieras innan det kan användas för att registrera de " | ||
26464 | "nya typer som det gör tillgängligt. C-biblioteket som du omsluter kan också " | 26337 | "nya typer som det gör tillgängligt. C-biblioteket som du omsluter kan också " | ||
n | 26465 | "ha sin egen initieringsfuunktion som du ska anropa. Du kan göra detta i en " | n | 26338 | "ha sin egen initieringsfunktion som du ska anropa. Du kan göra detta i en " |
26466 | "<function>init()</function>-funktion som du kan placera i handkodade " | 26339 | "<function>init()</function>-funktion som du kan placera i handkodade " | ||
26467 | "<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna " | 26340 | "<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna " | ||
n | 26468 | "funktion ska initiera dina beroenden (som C funktionen and " | n | 26341 | "funktion ska initiera dina beroenden (som C-funktionen och " |
26469 | "<application>gtkmm</application>) och anropa din genererade " | 26342 | "<application>gtkmm</application>) och anropa din genererade " | ||
26470 | "<function>wrap_init()</function>-funktion. Till exempel:" | 26343 | "<function>wrap_init()</function>-funktion. Till exempel:" | ||
26471 | 26344 | ||||
26472 | #. (itstool) path: section/programlisting | 26345 | #. (itstool) path: section/programlisting | ||
26473 | #: C/index-in.docbook:11381 | 26346 | #: C/index-in.docbook:11381 | ||
26765 | msgstr "Dokumentation" | 26638 | msgstr "Dokumentation" | ||
26766 | 26639 | ||||
26767 | #. (itstool) path: section/para | 26640 | #. (itstool) path: section/para | ||
26768 | #: C/index-in.docbook:11478 | 26641 | #: C/index-in.docbook:11478 | ||
26769 | #, fuzzy | 26642 | #, fuzzy | ||
n | n | 26643 | #| msgid "" | ||
26644 | #| "In general, gtkmm-style projects use Doxygen, which reads specially " | ||||
26645 | #| "formatted C++ comments and generates HTML documentation. You may write " | ||||
26646 | #| "these doxygen comments directly in the header files." | ||||
26770 | msgid "" | 26647 | msgid "" | ||
26771 | "In general, gtkmm-style projects use Doxygen, which reads specially " | 26648 | "In general, gtkmm-style projects use Doxygen, which reads specially " | ||
26772 | "formatted <phrase role=\"nowrap\">C++</phrase> comments and generates HTML " | 26649 | "formatted <phrase role=\"nowrap\">C++</phrase> comments and generates HTML " | ||
26773 | "documentation. You may write these doxygen comments directly in the header " | 26650 | "documentation. You may write these doxygen comments directly in the header " | ||
26774 | "files." | 26651 | "files." | ||
27549 | "license, such as the GNU General Public License, to permit their use in free " | 27426 | "license, such as the GNU General Public License, to permit their use in free " | ||
27550 | "software." | 27427 | "software." | ||
27551 | msgstr "" | 27428 | msgstr "" | ||
27552 | 27429 | ||||
27553 | #~ msgid "" | 27430 | #~ msgid "" | ||
n | 27554 | #~ "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 27431 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
27555 | #~ "namespaceGlib.html\">Reference</link>" | 27432 | #~ "namespaceGlib.html\">Reference</link>" | ||
27556 | #~ msgstr "" | 27433 | #~ msgstr "" | ||
n | 27557 | #~ "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 27434 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
27558 | #~ "namespaceGlib.html\">Referens</link>" | 27435 | #~ "namespaceGlib.html\">Referens</link>" | ||
n | 27559 | n | |||
27560 | #~ msgid "" | ||||
27561 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27562 | #~ "tree/master/examples/book/iconview\">Source Code, IconView</link>" | ||||
27563 | #~ msgstr "" | ||||
27564 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27565 | #~ "tree/master/examples/book/iconview\">Källkod, IconView</link>" | ||||
27566 | |||||
27567 | #~ msgid "" | ||||
27568 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" | ||||
27569 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | ||||
27570 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " | ||||
27571 | #~ "latest info." | ||||
27572 | #~ msgstr "" | ||||
27573 | #~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i " | ||||
27574 | #~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://" | ||||
27575 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för " | ||||
27576 | #~ "den senaste informationen." | ||||
27577 | |||||
27578 | #, fuzzy | ||||
27579 | #~ msgid "" | ||||
27580 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27581 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27582 | #~ "user response. You can specify the type of message and the text in the " | ||||
27583 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27584 | #~ "ButtonsType</type> enum." | ||||
27585 | #~ msgstr "" | ||||
27586 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27587 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27588 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27589 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27590 | #~ "ButtonsType</type>-uppräkningen." | ||||
27591 | |||||
27592 | #~ msgid "" | ||||
27593 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27594 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27595 | #~ msgstr "" | ||||
27596 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27597 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27598 | |||||
27599 | #~ msgid "" | ||||
27600 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27601 | #~ "\"Open\" or \"Save\" menu items." | ||||
27602 | #~ msgstr "" | ||||
27603 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27604 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27605 | |||||
27606 | #~ msgid "FileChooser" | ||||
27607 | #~ msgstr "FileChooser" | ||||
27608 | |||||
27609 | #, fuzzy | ||||
27610 | #~ msgid "" | ||||
27611 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27612 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27613 | #~ "dialog when it is clicked." | ||||
27614 | #~ msgstr "" | ||||
27615 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27616 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27617 | #~ "klickas på." | ||||
27618 | |||||
27619 | #, fuzzy | ||||
27620 | #~ msgid "" | ||||
27621 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27622 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27623 | #~ "when it is clicked." | ||||
27624 | #~ msgstr "" | ||||
27625 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27626 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27627 | #~ "typsnittsväljardialog när den klickas på." | ||||
27628 | |||||
27629 | #~ msgid "" | ||||
27630 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27631 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27632 | #~ msgstr "" | ||||
27633 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27634 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27635 | 27436 | ||||
27636 | #, no-wrap | 27437 | #, no-wrap | ||
27637 | #~ msgid "intltool-update --pot" | 27438 | #~ msgid "intltool-update --pot" | ||
27638 | #~ msgstr "intltool-update --pot" | 27439 | #~ msgstr "intltool-update --pot" | ||
27639 | 27440 | ||||
27648 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | 27449 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | ||
27649 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | 27450 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | ||
27650 | #~ msgstr "" | 27451 | #~ msgstr "" | ||
27651 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | 27452 | #~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/" | ||
27652 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | 27453 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | ||
n | 27653 | n | |||
27654 | #, fuzzy | ||||
27655 | #~ msgid "" | ||||
27656 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27657 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27658 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27659 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27660 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27661 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27662 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27663 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27664 | #~ "information. CSS files are described in the documentation of " | ||||
27665 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27666 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27667 | #~ msgstr "" | ||||
27668 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27669 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27670 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27671 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27672 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27673 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27674 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27675 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27676 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27677 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27678 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27679 | |||||
27680 | #~ msgid "An preference dialog" | ||||
27681 | #~ msgstr "En inställningsdialog" | ||||
27682 | 27454 | ||||
27683 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | 27455 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | ||
27684 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | 27456 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | ||
27685 | 27457 | ||||
27686 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | 27458 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | ||
27785 | #~ "Om exempelvis <function>gtk_widget_get_request_mode()</function> " | 27557 | #~ "Om exempelvis <function>gtk_widget_get_request_mode()</function> " | ||
27786 | #~ "deklareras enligt följande: <_:programlisting-1/> och det är önskvärt att " | 27558 | #~ "deklareras enligt följande: <_:programlisting-1/> och det är önskvärt att " | ||
27787 | #~ "låta C++-metoden ställa in en utdataparameter i stället för att returnera " | 27559 | #~ "låta C++-metoden ställa in en utdataparameter i stället för att returnera " | ||
27788 | #~ "ett <type>SizeRequestMode</type>, så kan något i stil med följande " | 27560 | #~ "ett <type>SizeRequestMode</type>, så kan något i stil med följande " | ||
27789 | #~ "användas: <_:programlisting-2/> <literal>{OUT}</literal> som läggs till " | 27561 | #~ "användas: <_:programlisting-2/> <literal>{OUT}</literal> som läggs till " | ||
n | 27790 | #~ "namnet på utdataparameterna <parameter>mode</parameter> säger till " | n | 27562 | #~ "namnet på utdataparametern <parameter>mode</parameter> säger till " |
27791 | #~ "<command>gmmproc</command> att placera C-funktionens returvärde i den " | 27563 | #~ "<command>gmmproc</command> att placera C-funktionens returvärde i den " | ||
27792 | #~ "utdataparametern. I detta fall kommer dock ett nödvändigt " | 27564 | #~ "utdataparametern. I detta fall kommer dock ett nödvändigt " | ||
27793 | #~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/" | 27565 | #~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/" | ||
27794 | #~ "> Vilket också skulle kunna skrivas som: <_:programlisting-4/>" | 27566 | #~ "> Vilket också skulle kunna skrivas som: <_:programlisting-4/>" | ||
n | n | 27567 | |||
27568 | #~ msgid "" | ||||
27569 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | ||||
27570 | #~ "<_:programlisting-2/>" | ||||
27571 | #~ msgstr "" | ||||
27572 | #~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så " | ||||
27573 | #~ "här: <_:programlisting-2/>" | ||||
27574 | |||||
27575 | #~ msgid "Widget Name and CSS Node Name" | ||||
27576 | #~ msgstr "Komponentnamn och CSS-nodnamn" | ||||
27577 | |||||
27578 | #, fuzzy | ||||
27579 | #~ msgid "" | ||||
27580 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27581 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27582 | #~ "user response. You can specify the type of message and the text in the " | ||||
27583 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27584 | #~ "ButtonsType</type> enum." | ||||
27585 | #~ msgstr "" | ||||
27586 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27587 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27588 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27589 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27590 | #~ "ButtonsType</type>-uppräkningen." | ||||
27591 | |||||
27592 | #~ msgid "" | ||||
27593 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27594 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27595 | #~ msgstr "" | ||||
27596 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27597 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27598 | |||||
27599 | #~ msgid "" | ||||
27600 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27601 | #~ "\"Open\" or \"Save\" menu items." | ||||
27602 | #~ msgstr "" | ||||
27603 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27604 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27605 | |||||
27606 | #~ msgid "FileChooser" | ||||
27607 | #~ msgstr "FileChooser" | ||||
27608 | |||||
27609 | #, fuzzy | ||||
27610 | #~ msgid "" | ||||
27611 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27612 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27613 | #~ "dialog when it is clicked." | ||||
27614 | #~ msgstr "" | ||||
27615 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27616 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27617 | #~ "klickas på." | ||||
27618 | |||||
27619 | #, fuzzy | ||||
27620 | #~ msgid "" | ||||
27621 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27622 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27623 | #~ "when it is clicked." | ||||
27624 | #~ msgstr "" | ||||
27625 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27626 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27627 | #~ "typsnittsväljardialog när den klickas på." | ||||
27628 | |||||
27629 | #~ msgid "" | ||||
27630 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27631 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27632 | #~ msgstr "" | ||||
27633 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27634 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27635 | |||||
27636 | #, fuzzy | ||||
27637 | #~ msgid "" | ||||
27638 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27639 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27640 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27641 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27642 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27643 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27644 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27645 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27646 | #~ "information. CSS files are described in the documentation of " | ||||
27647 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27648 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27649 | #~ msgstr "" | ||||
27650 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27651 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27652 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27653 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27654 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27655 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27656 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27657 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27658 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27659 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27660 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27795 | 27661 | ||||
27796 | #, no-wrap | 27662 | #, no-wrap | ||
27797 | #~ msgid "" | 27663 | #~ msgid "" | ||
27798 | #~ "\n" | 27664 | #~ "\n" | ||
27799 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | 27665 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||
27821 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | 27687 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||
> | $4))')\n" | > | $4))')\n" | ||
27822 | #~ msgstr "" | 27688 | #~ msgstr "" | ||
27823 | #~ "\n" | 27689 | #~ "\n" | ||
27824 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | 27690 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||
> | $4))')\n" | > | $4))')\n" | ||
27825 | 27691 | ||||
n | n | 27692 | # TODO: Fixed sep 2022? | ||
27826 | #~ msgid "" | 27693 | #~ msgid "" | ||
n | 27827 | #~ "This compiler error might look like this: <_:programlisting-1/> or this: " | n | 27694 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" |
27828 | #~ "<_:programlisting-2/>" | 27695 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | ||
27696 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " | ||||
27697 | #~ "latest info." | ||||
27829 | #~ msgstr "" | 27698 | #~ msgstr "" | ||
t | 27830 | #~ "Detta kompilatorfel kan se ut så här: <_:programlisting-1/> eller så här: " | t | 27699 | #~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i " |
27831 | #~ "<_:programlisting-2/>" | 27700 | #~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://" | ||
27701 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för " | ||||
27702 | #~ "den senaste informationen." | ||||
27703 | |||||
27704 | #~ msgid "An preference dialog" | ||||
27705 | #~ msgstr "En inställningsdialog" |
Note: both files are merged with latest POT file.