gtkmm-documentation - master - Tutorial - Swedish
Uploaded file by Anders Jonsson on 2022-08-15 13:06:47+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 14:45+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" | ||
407 | 408 | ||||
408 | # TODO: Standardize? | 409 | # TODO: Standardize? | ||
409 | #. (itstool) path: section/para | 410 | #. (itstool) path: section/para | ||
410 | #: C/index-in.docbook:168 | 411 | #: C/index-in.docbook:168 | ||
411 | #, fuzzy | 412 | #, fuzzy | ||
n | n | 413 | #| msgid "" | ||
414 | #| "<application>gtkmm</application> developers tend to prefer " | ||||
415 | #| "<application>gtkmm</application> to Qt because <application>gtkmm</" | ||||
416 | #| "application> does things in a more C++ way. Qt originates from a time " | ||||
417 | #| "when C++ and the standard library were not standardised or well supported " | ||||
418 | #| "by compilers. It therefore duplicates a lot of stuff that is now in the " | ||||
419 | #| "standard library, such as containers and type information. Most " | ||||
420 | #| "significantly, Trolltech modified the C++ language to provide signals, so " | ||||
421 | #| "that Qt classes cannot be used easily with non-Qt classes. " | ||||
422 | #| "<application>gtkmm</application> was able to use standard C++ to provide " | ||||
423 | #| "signals without changing the C++ language. See the <link xlink:" | ||||
424 | #| "href=\"https://wiki.gnome.org/Projects/gtkmm/FAQ\">FAQ</link> for more " | ||||
425 | #| "detailed differences." | ||||
412 | msgid "" | 426 | msgid "" | ||
413 | "<application>gtkmm</application> developers tend to prefer " | 427 | "<application>gtkmm</application> developers tend to prefer " | ||
414 | "<application>gtkmm</application> to Qt because <application>gtkmm</" | 428 | "<application>gtkmm</application> to Qt because <application>gtkmm</" | ||
415 | "application> does things in a more <phrase role=\"nowrap\">C++</phrase> way. " | 429 | "application> does things in a more <phrase role=\"nowrap\">C++</phrase> way. " | ||
416 | "Qt originates from a time when <phrase role=\"nowrap\">C++</phrase> and the " | 430 | "Qt originates from a time when <phrase role=\"nowrap\">C++</phrase> and the " | ||
425 | "gtkmm.gnome.org/en/faq.html\">FAQ</link> for more detailed differences." | 439 | "gtkmm.gnome.org/en/faq.html\">FAQ</link> for more detailed differences." | ||
426 | msgstr "" | 440 | msgstr "" | ||
427 | "<application>gtkmm</application>-utvecklare tenderar att föredra " | 441 | "<application>gtkmm</application>-utvecklare tenderar att föredra " | ||
428 | "<application>gtkmm</application> över Qt för att <application>gtkmm</" | 442 | "<application>gtkmm</application> över Qt för att <application>gtkmm</" | ||
429 | "application> gör saker på ett mer C++-aktigt sätt. Qt härstammar från en tid " | 443 | "application> gör saker på ett mer C++-aktigt sätt. Qt härstammar från en tid " | ||
n | 430 | "då C++ och standardbiblioteket inte standardiserats eller stöddes av " | n | 444 | "då C++ och standardbiblioteket varken standardiserats eller stöddes " |
431 | "kompilatorer. Det duplicerar därför mycket saker som nu är i " | 445 | "ordentligt av kompilatorer. Det duplicerar därför mycket saker som nu är i " | ||
432 | "standardbiblioteket, som behållare och typinformation. I synnerhet " | 446 | "standardbiblioteket, som behållare och typinformation. I synnerhet " | ||
433 | "modifierade Trolltech C++-språket så det tillhandahöll signaler, så Qt-" | 447 | "modifierade Trolltech C++-språket så det tillhandahöll signaler, så Qt-" | ||
434 | "klasser kan inte lätt användas med klasser som inte är Qt. " | 448 | "klasser kan inte lätt användas med klasser som inte är Qt. " | ||
435 | "<application>gtkmm</application> kunde använda standard-C++ för att " | 449 | "<application>gtkmm</application> kunde använda standard-C++ för att " | ||
436 | "tillhandahålla signaler utan att ändra C++-språket. Se <link xlink:" | 450 | "tillhandahålla signaler utan att ändra C++-språket. Se <link xlink:" | ||
443 | msgstr "<application>gtkmm</application> är ett omslag" | 457 | msgstr "<application>gtkmm</application> är ett omslag" | ||
444 | 458 | ||||
445 | #. (itstool) path: section/para | 459 | #. (itstool) path: section/para | ||
446 | #: C/index-in.docbook:175 | 460 | #: C/index-in.docbook:175 | ||
447 | #, fuzzy | 461 | #, fuzzy | ||
n | n | 462 | #| msgid "" | ||
463 | #| "<application>gtkmm</application> is not a native C++ toolkit, but a C++ " | ||||
464 | #| "wrapper of a C toolkit. This separation of interface and implementation " | ||||
465 | #| "has advantages. The <application>gtkmm</application> developers spend " | ||||
466 | #| "most of their time talking about how <application>gtkmm</application> can " | ||||
467 | #| "present the clearest API, without awkward compromises due to obscure " | ||||
468 | #| "technical details. We contribute a little to the underlying GTK code " | ||||
469 | #| "base, but so do the C coders, and the Perl coders and the Python coders, " | ||||
470 | #| "etc. Therefore GTK benefits from a broader user base than language-" | ||||
471 | #| "specific toolkits - there are more implementers, more developers, more " | ||||
472 | #| "testers, and more users." | ||||
448 | msgid "" | 473 | msgid "" | ||
449 | "<application>gtkmm</application> is not a native <phrase role=\"nowrap\">C+" | 474 | "<application>gtkmm</application> is not a native <phrase role=\"nowrap\">C+" | ||
450 | "+</phrase> toolkit, but a <phrase role=\"nowrap\">C++</phrase> wrapper of a " | 475 | "+</phrase> toolkit, but a <phrase role=\"nowrap\">C++</phrase> wrapper of a " | ||
451 | "C toolkit. This separation of interface and implementation has advantages. " | 476 | "C toolkit. This separation of interface and implementation has advantages. " | ||
452 | "The <application>gtkmm</application> developers spend most of their time " | 477 | "The <application>gtkmm</application> developers spend most of their time " | ||
460 | "<application>gtkmm</application> är inte en inhemsk C++-verktygslåda, utan " | 485 | "<application>gtkmm</application> är inte en inhemsk C++-verktygslåda, utan " | ||
461 | "ett C++-omslag för en C-verktygslåda. Denna uppdelning av gränssnitt och " | 486 | "ett C++-omslag för en C-verktygslåda. Denna uppdelning av gränssnitt och " | ||
462 | "implementation har fördelar. Utvecklarna av <application>gtkmm</application> " | 487 | "implementation har fördelar. Utvecklarna av <application>gtkmm</application> " | ||
463 | "spenderar sin mesta tid åt att prata om hur <application>gtkmm</application> " | 488 | "spenderar sin mesta tid åt att prata om hur <application>gtkmm</application> " | ||
464 | "kan erbjuda det klaraste API:t, utan klumpiga kompromisser på grund av " | 489 | "kan erbjuda det klaraste API:t, utan klumpiga kompromisser på grund av " | ||
n | 465 | "obskyra tekniska detaljer. Vi bidrar litegrann till den underliggande GTK-" | n | 490 | "obskyra tekniska detaljer. Vi bidrar lite grann till den underliggande GTK-" |
466 | "kodbasen, men så gör även C-kodarna, Perl-kodarna och Python-kodarna o.s.v. " | 491 | "kodbasen, men så gör även C-kodarna, Perl-kodarna och Python-kodarna o.s.v. " | ||
467 | "Därigenom drar GTK nytta av en bredare användarbas än språkspecifika " | 492 | "Därigenom drar GTK nytta av en bredare användarbas än språkspecifika " | ||
468 | "verktygslådor - det finns fler implementatörer, fler utvecklare, fler " | 493 | "verktygslådor - det finns fler implementatörer, fler utvecklare, fler " | ||
469 | "testare, och fler användare." | 494 | "testare, och fler användare." | ||
470 | 495 | ||||
621 | "Distributioner som inkluderar <application>gtkmm</application> i sina förråd " | 646 | "Distributioner som inkluderar <application>gtkmm</application> i sina förråd " | ||
622 | "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." | ||
623 | 648 | ||||
624 | #. (itstool) path: section/para | 649 | #. (itstool) path: section/para | ||
625 | #: C/index-in.docbook:238 | 650 | #: C/index-in.docbook:238 | ||
n | 626 | #, fuzzy | n | ||
627 | #| msgid "" | ||||
628 | #| "The names of the <application>gtkmm</application> packages vary from " | ||||
629 | #| "distribution to distribution (e.g. <application>libgtkmm-4.0-dev</" | ||||
630 | #| "application> on Debian and Ubuntu or <application>gtkmm40-devel</" | ||||
631 | #| "application> on Red Hat Fedora), so check with your distribution's " | ||||
632 | #| "package management program for the correct package name and install it " | ||||
633 | #| "like you would any other package." | ||||
634 | msgid "" | 651 | msgid "" | ||
635 | "The names of the <application>gtkmm</application> packages vary from " | 652 | "The names of the <application>gtkmm</application> packages vary from " | ||
636 | "distribution to distribution (e.g. <application>libgtkmm-4.0-dev</" | 653 | "distribution to distribution (e.g. <application>libgtkmm-4.0-dev</" | ||
637 | "application> on Debian and Ubuntu or <application>gtkmm4.0-devel</" | 654 | "application> on Debian and Ubuntu or <application>gtkmm4.0-devel</" | ||
638 | "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 " | ||
639 | "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 " | ||
640 | "you would any other package." | 657 | "you would any other package." | ||
641 | msgstr "" | 658 | msgstr "" | ||
642 | "Namnen på <application>gtkmm</application>-paketen varierar från " | 659 | "Namnen på <application>gtkmm</application>-paketen varierar från " | ||
643 | "distribution till distribution (t.ex. <application>libgtkmm-4.0-dev</" | 660 | "distribution till distribution (t.ex. <application>libgtkmm-4.0-dev</" | ||
n | 644 | "application> på Debian och Ubuntu eller <application>gtkmm40-devel</" | n | 661 | "application> på Debian och Ubuntu eller <application>gtkmm4.0-devel</" |
645 | "application> på Red Hat och Fedora), så se i din distributions " | 662 | "application> på Red Hat och Fedora), så se i din distributions " | ||
646 | "pakethanteringsprogram vad som är rätt paketnamn och installera det som " | 663 | "pakethanteringsprogram vad som är rätt paketnamn och installera det som " | ||
647 | "vilket annat paket som helst." | 664 | "vilket annat paket som helst." | ||
648 | 665 | ||||
649 | #. (itstool) path: note/para | 666 | #. (itstool) path: note/para | ||
656 | "<application>libgtkmm-4.0-dev</application> package." | 673 | "<application>libgtkmm-4.0-dev</application> package." | ||
657 | msgstr "" | 674 | msgstr "" | ||
658 | "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 " | ||
659 | "<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-" | ||
660 | "kompatibla. Så bli inte överraskad om exempelvis <application>gtkmm</" | 677 | "kompatibla. Så bli inte överraskad om exempelvis <application>gtkmm</" | ||
n | 661 | "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</" |
662 | "application>-paket." | 679 | "application> i Debian." | ||
663 | 680 | ||||
664 | #. (itstool) path: section/title | 681 | #. (itstool) path: section/title | ||
665 | #: C/index-in.docbook:256 | 682 | #: C/index-in.docbook:256 | ||
666 | msgid "Installing From Source" | 683 | msgid "Installing From Source" | ||
667 | msgstr "Installera från källkod" | 684 | msgstr "Installera från källkod" | ||
696 | "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 " | ||
697 | "katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen " | 714 | "katalogen. <application>gtkmm</application> kan byggas med Meson. Se filen " | ||
698 | "<filename>README</filename> i <application>gtkmm</application>-versionen som " | 715 | "<filename>README</filename> i <application>gtkmm</application>-versionen som " | ||
699 | "du hämtat." | 716 | "du hämtat." | ||
700 | 717 | ||||
n | 701 | # TODO: root password for su, not sudo | n | 718 | # TODO: root password for su, not sudo? |
702 | #. (itstool) path: note/para | 719 | #. (itstool) path: note/para | ||
703 | #: C/index-in.docbook:271 | 720 | #: C/index-in.docbook:271 | ||
704 | msgid "" | 721 | msgid "" | ||
705 | "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 " | ||
706 | "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 " | ||
725 | "installerade. Om du saknar några beroenden kommer det att avsluta och visa " | 742 | "installerade. Om du saknar några beroenden kommer det att avsluta och visa " | ||
726 | "ett fel." | 743 | "ett fel." | ||
727 | 744 | ||||
728 | #. (itstool) path: para/screen | 745 | #. (itstool) path: para/screen | ||
729 | #: C/index-in.docbook:289 | 746 | #: C/index-in.docbook:289 | ||
n | 730 | #, fuzzy, no-wrap | n | 747 | #, no-wrap |
731 | msgid "" | 748 | msgid "" | ||
732 | "\n" | 749 | "\n" | ||
733 | "# meson setup --prefix=/usr <builddir> <srcdir>\n" | 750 | "# meson setup --prefix=/usr <builddir> <srcdir>\n" | ||
734 | "# meson configure --prefix=/usr\n" | 751 | "# meson configure --prefix=/usr\n" | ||
735 | "# ./configure --prefix=/usr\n" | 752 | "# ./configure --prefix=/usr\n" | ||
736 | msgstr "" | 753 | msgstr "" | ||
737 | "\n" | 754 | "\n" | ||
n | 738 | "# meson setup --prefix=/usr <builddir> <srcdir>\n" | n | 755 | "# meson setup --prefix=/usr <byggkat> <källkat>\n" |
739 | "# meson configure --prefix=/usr\n" | 756 | "# meson configure --prefix=/usr\n" | ||
740 | "# ./configure --prefix=/usr\n" | 757 | "# ./configure --prefix=/usr\n" | ||
741 | 758 | ||||
742 | #. (itstool) path: section/para | 759 | #. (itstool) path: section/para | ||
743 | #: C/index-in.docbook:283 | 760 | #: C/index-in.docbook:283 | ||
795 | msgstr "Microsoft Windows" | 812 | msgstr "Microsoft Windows" | ||
796 | 813 | ||||
797 | #. (itstool) path: section/para | 814 | #. (itstool) path: section/para | ||
798 | #: C/index-in.docbook:317 | 815 | #: C/index-in.docbook:317 | ||
799 | #, fuzzy | 816 | #, fuzzy | ||
n | n | 817 | #| msgid "" | ||
818 | #| "GTK and <application>gtkmm</application> were designed to work well with " | ||||
819 | #| "Microsoft Windows, and the developers encourage its use on the win32 " | ||||
820 | #| "platform. However, Windows has no standard installation system for " | ||||
821 | #| "development libraries. Please see the <link xlink:href=\"https://wiki." | ||||
822 | #| "gnome.org/Projects/gtkmm/MSWindows\">Windows Installation</link> page or " | ||||
823 | #| "the <link linkend=\"sec-windows-installation\"><application>gtkmm</" | ||||
824 | #| "application> and Win32</link> appendix for Windows-specific installation " | ||||
825 | #| "instructions and notes." | ||||
800 | msgid "" | 826 | msgid "" | ||
801 | "GTK and <application>gtkmm</application> were designed to work well with " | 827 | "GTK and <application>gtkmm</application> were designed to work well with " | ||
802 | "Microsoft Windows, and the developers encourage its use on the win32 " | 828 | "Microsoft Windows, and the developers encourage its use on the win32 " | ||
803 | "platform. However, Windows has no standard installation system for " | 829 | "platform. However, Windows has no standard installation system for " | ||
804 | "development libraries. Please see the <link xlink:href=\"https://wiki.gnome." | 830 | "development libraries. Please see the <link xlink:href=\"https://wiki.gnome." | ||
809 | msgstr "" | 835 | msgstr "" | ||
810 | "GTK och <application>gtkmm</application> designades för att fungera bra med " | 836 | "GTK och <application>gtkmm</application> designades för att fungera bra med " | ||
811 | "Microsoft Windows, och utvecklarna uppmuntrar dess användning på win32-" | 837 | "Microsoft Windows, och utvecklarna uppmuntrar dess användning på win32-" | ||
812 | "plattformen. Windows har dock inget standardinstallationssystem för " | 838 | "plattformen. Windows har dock inget standardinstallationssystem för " | ||
813 | "utvecklingsbibliotek. Se sidan för <link xlink:href=\"https://wiki.gnome.org/" | 839 | "utvecklingsbibliotek. Se sidan för <link xlink:href=\"https://wiki.gnome.org/" | ||
n | 814 | "Projects/gtkmm/MSWindows\">Windowsinstallation</link> eller <link " | n | 840 | "Projects/gtkmm/MSWindows\">Windows-installation</link> eller <link " |
815 | "linkend=\"sec-windows-installation\"><application>gtkmm</application> och " | 841 | "linkend=\"sec-windows-installation\"><application>gtkmm</application> och " | ||
816 | "Win32</link>-bilagan för Windows-specifika installationsinstruktioner och " | 842 | "Win32</link>-bilagan för Windows-specifika installationsinstruktioner och " | ||
817 | "anteckningar." | 843 | "anteckningar." | ||
818 | 844 | ||||
819 | #. (itstool) path: chapter/title | 845 | #. (itstool) path: chapter/title | ||
896 | msgstr "#include <gtkmm.h>" | 922 | msgstr "#include <gtkmm.h>" | ||
897 | 923 | ||||
898 | #. (itstool) path: section/para | 924 | #. (itstool) path: section/para | ||
899 | #: C/index-in.docbook:349 | 925 | #: C/index-in.docbook:349 | ||
900 | #, 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." | ||||
901 | msgid "" | 933 | msgid "" | ||
902 | "All <application>gtkmm</application> programs must include certain " | 934 | "All <application>gtkmm</application> programs must include certain " | ||
903 | "<application>gtkmm</application> headers; <filename>gtkmm.h</filename> " | 935 | "<application>gtkmm</application> headers; <filename>gtkmm.h</filename> " | ||
904 | "includes the entire <application>gtkmm</application> kit. This is usually " | 936 | "includes the entire <application>gtkmm</application> kit. This is usually " | ||
905 | "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 " | ||
956 | " set_default_size(200, 200);\n" | 988 | " set_default_size(200, 200);\n" | ||
957 | "}" | 989 | "}" | ||
958 | 990 | ||||
959 | #. (itstool) path: section/para | 991 | #. (itstool) path: section/para | ||
960 | #: C/index-in.docbook:368 | 992 | #: C/index-in.docbook:368 | ||
n | 961 | #, fuzzy | n | ||
962 | msgid "" | 993 | msgid "" | ||
963 | "defines the <classname>MyWindow</classname> class. Its default constructor " | 994 | "defines the <classname>MyWindow</classname> class. Its default constructor " | ||
964 | "sets the window's title and default (initial) size." | 995 | "sets the window's title and default (initial) size." | ||
965 | msgstr "" | 996 | msgstr "" | ||
966 | "definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor " | 997 | "definierar klassen <classname>MyWindow</classname>. Dess standardkonstruktor " | ||
n | 967 | "ställer in flnstrets titel and (initial) standardstorlek." | n | 998 | "ställer in fönstrets titel och (initial) standardstorlek." |
968 | 999 | ||||
969 | #. (itstool) path: section/para | 1000 | #. (itstool) path: section/para | ||
970 | #: C/index-in.docbook:373 | 1001 | #: C/index-in.docbook:373 | ||
971 | msgid "The <function>main()</function> function's first statement:" | 1002 | msgid "The <function>main()</function> function's first statement:" | ||
972 | msgstr "<function>main()</function>-funktionens första sats:" | 1003 | msgstr "<function>main()</function>-funktionens första sats:" | ||
978 | msgid "<code>auto app = Gtk::Application::create(\"org.gtkmm.examples.base\");</ | 1009 | msgid "<code>auto app = Gtk::Application::create(\"org.gtkmm.examples.base\");</ | ||
> | code>" | > | code>" | ||
979 | msgstr "auto app = Gtk::Application::create(\"org.gtkmm.examples.base\");" | 1010 | msgstr "auto app = Gtk::Application::create(\"org.gtkmm.examples.base\");" | ||
980 | 1011 | ||||
981 | #. (itstool) path: section/para | 1012 | #. (itstool) path: section/para | ||
982 | #: C/index-in.docbook:375 | 1013 | #: C/index-in.docbook:375 | ||
n | 983 | #, fuzzy | n | ||
984 | msgid "" | 1014 | msgid "" | ||
985 | "creates a <classname>Gtk::Application</classname> object, stored in a " | 1015 | "creates a <classname>Gtk::Application</classname> object, stored in a " | ||
986 | "<classname>Glib::RefPtr</classname> smartpointer. This is needed in all " | 1016 | "<classname>Glib::RefPtr</classname> smartpointer. This is needed in all " | ||
987 | "<application>gtkmm</application> applications. The <methodname>create()</" | 1017 | "<application>gtkmm</application> applications. The <methodname>create()</" | ||
988 | "methodname> method for this object initializes <application>gtkmm</" | 1018 | "methodname> method for this object initializes <application>gtkmm</" | ||
1042 | 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" | ||
1043 | 1073 | ||||
1044 | #. (itstool) path: section/para | 1074 | #. (itstool) path: section/para | ||
1045 | #: C/index-in.docbook:393 | 1075 | #: C/index-in.docbook:393 | ||
1046 | #, 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." | ||||
1047 | msgid "" | 1085 | msgid "" | ||
1048 | "Note that you must surround the <application>pkg-config</application> " | 1086 | "Note that you must surround the <application>pkg-config</application> " | ||
1049 | "invocation with backquotes. Backquotes cause the shell to execute the " | 1087 | "invocation with backquotes. Backquotes cause the shell to execute the " | ||
1050 | "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 " | ||
1051 | "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 " | ||
1053 | "<literal><phrase role=\"nowrap\">-std=c++17</phrase></literal> is necessary " | 1091 | "<literal><phrase role=\"nowrap\">-std=c++17</phrase></literal> is necessary " | ||
1054 | "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> " | ||
1055 | "compliant by default." | 1093 | "compliant by default." | ||
1056 | msgstr "" | 1094 | msgstr "" | ||
1057 | "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 | 1058 | "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, " |
1059 | "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 " | ||
1060 | "<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 " | ||
1061 | "config</literal> på kommandoraden. <literal>-std=c++17</literal> är endast " | 1099 | "<literal>pkg-config</literal> på kommandoraden. <literal>-std=c++17</" | ||
1062 | "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." | ||||
1063 | 1102 | ||||
1064 | #. (itstool) path: section/title | 1103 | #. (itstool) path: section/title | ||
1065 | #: C/index-in.docbook:404 | 1104 | #: C/index-in.docbook:404 | ||
n | 1066 | #, fuzzy | n | ||
1067 | msgid "Headers and Linking" | 1105 | msgid "Headers and Linking" | ||
1068 | msgstr "Huvuden och länkning" | 1106 | msgstr "Huvuden och länkning" | ||
1069 | 1107 | ||||
1070 | #. (itstool) path: section/para | 1108 | #. (itstool) path: section/para | ||
1071 | #: C/index-in.docbook:406 | 1109 | #: C/index-in.docbook:406 | ||
1086 | "i <application>gtkmm-documentation</application> beskriver hur du bygger " | 1124 | "i <application>gtkmm-documentation</application> beskriver hur du bygger " | ||
1087 | "exemplen." | 1125 | "exemplen." | ||
1088 | 1126 | ||||
1089 | #. (itstool) path: section/para | 1127 | #. (itstool) path: section/para | ||
1090 | #: C/index-in.docbook:414 | 1128 | #: C/index-in.docbook:414 | ||
n | 1091 | #, fuzzy | n | ||
1092 | msgid "" | 1129 | msgid "" | ||
1093 | "To simplify compilation, we use <literal>pkg-config</literal>, which is " | 1130 | "To simplify compilation, we use <literal>pkg-config</literal>, which is " | ||
1094 | "present in all (properly installed) <application>gtkmm</application> " | 1131 | "present in all (properly installed) <application>gtkmm</application> " | ||
1095 | "installations. This program 'knows' what compiler switches are needed to " | 1132 | "installations. This program 'knows' what compiler switches are needed to " | ||
1096 | "compile programs that use <application>gtkmm</application>. The <literal>--" | 1133 | "compile programs that use <application>gtkmm</application>. The <literal>--" | ||
1152 | " win_subsystem: 'windows',\n" | 1189 | " win_subsystem: 'windows',\n" | ||
1153 | ")" | 1190 | ")" | ||
1154 | 1191 | ||||
1155 | #. (itstool) path: section/para | 1192 | #. (itstool) path: section/para | ||
1156 | #: C/index-in.docbook:437 | 1193 | #: C/index-in.docbook:437 | ||
n | 1157 | #, fuzzy | n | ||
1158 | msgid "" | 1194 | msgid "" | ||
1159 | "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 " | ||
1160 | "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. " | ||
1161 | "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 " | ||
1162 | "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 " | ||
1163 | "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 " | ||
1164 | "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 " | ||
1165 | "with gtkmm-4.0 without affecting existing applications." | 1201 | "with gtkmm-4.0 without affecting existing applications." | ||
1166 | msgstr "" | 1202 | msgstr "" | ||
n | 1167 | "gtkmm-4.0 är namnet på det aktuella stabila API:t. Det finns äldre API:n som " | n | 1203 | "gtkmm-4.0 är namnet på det aktuella stabila API:t. Det finns äldre API:er " |
1168 | "heter gtkmm-2.4 och gtkmm-3.0 vilka installeras parallellt då de är " | 1204 | "som heter gtkmm-2.4 och gtkmm-3.0 vilka installeras parallellt då de finns " | ||
1169 | "tillgängliga. Det finns flera versioner av gtkmm-2.4, som gtkmm 2.10 och det " | 1205 | "tillgängliga. Det finns flera versioner av gtkmm-2.4, som gtkmm 2.10, och " | ||
1170 | "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 " | ||
1171 | "ä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-" | ||
n | 1172 | "brott. Det kan komma ett framtida gtkmm-5.0-API som skulle gå installera " | n | 1208 | "brott. Det kan komma ett framtida gtkmm-5.0-API som då skulle gå installera " |
1173 | "parallellt med gtkmm-4.0 utan att påverka befintliga program." | 1209 | "parallellt med gtkmm-4.0 utan att påverka befintliga program." | ||
1174 | 1210 | ||||
1175 | #. (itstool) path: section/para | 1211 | #. (itstool) path: section/para | ||
1176 | #: C/index-in.docbook:444 | 1212 | #: C/index-in.docbook:444 | ||
1177 | msgid "" | 1213 | msgid "" | ||
1179 | "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</" | ||
1180 | "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 " | ||
1181 | "linkend=\"chapter-building-applications\">Building applications</link> " | 1217 | "linkend=\"chapter-building-applications\">Building applications</link> " | ||
1182 | "chapter." | 1218 | "chapter." | ||
1183 | msgstr "" | 1219 | msgstr "" | ||
n | 1184 | "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 " |
1185 | "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</" | ||
1186 | "filename> liknande <filename>meson.build</filename>-filerna i kapitlet <link " | 1222 | "filename> liknande <filename>meson.build</filename>-filerna i kapitlet <link " | ||
1187 | "linkend=\"chapter-building-applications\">Bygga program</link>." | 1223 | "linkend=\"chapter-building-applications\">Bygga program</link>." | ||
1188 | 1224 | ||||
1189 | #. (itstool) path: section/para | 1225 | #. (itstool) path: section/para | ||
1190 | #: C/index-in.docbook:449 | 1226 | #: C/index-in.docbook:449 | ||
1292 | "mer detaljer om att lägga till komponenter till behållarkomponenter." | 1328 | "mer detaljer om att lägga till komponenter till behållarkomponenter." | ||
1293 | 1329 | ||||
1294 | #. (itstool) path: section/para | 1330 | #. (itstool) path: section/para | ||
1295 | #: C/index-in.docbook:474 | 1331 | #: C/index-in.docbook:474 | ||
1296 | #, fuzzy | 1332 | #, fuzzy | ||
n | n | 1333 | #| msgid "" | ||
1334 | #| "Although you can specify the layout and appearance of windows and widgets " | ||||
1335 | #| "with C++ code, you will probably find it more convenient to design your " | ||||
1336 | #| "user interfaces with <literal>Glade</literal> and load them at runtime " | ||||
1337 | #| "with <literal>Gtk::Builder</literal>. See the <link linkend=\"chapter-" | ||||
1338 | #| "builder\">Glade and Gtk::Builder</link> chapter." | ||||
1297 | msgid "" | 1339 | msgid "" | ||
1298 | "Although you can specify the layout and appearance of windows and widgets " | 1340 | "Although you can specify the layout and appearance of windows and widgets " | ||
1299 | "with <phrase role=\"nowrap\">C++</phrase> code, you will probably find it " | 1341 | "with <phrase role=\"nowrap\">C++</phrase> code, you will probably find it " | ||
1300 | "more convenient to design your user interfaces with <filename " | 1342 | "more convenient to design your user interfaces with <filename " | ||
1301 | "class=\"extension\">.ui</filename> XML files and load them at runtime with " | 1343 | "class=\"extension\">.ui</filename> XML files and load them at runtime with " | ||
1352 | "button, the appropriate signal will be <emphasis>emitted</emphasis> by the " | 1394 | "button, the appropriate signal will be <emphasis>emitted</emphasis> by the " | ||
1353 | "Widget that was pressed. Each Widget has a different set of signals that it " | 1395 | "Widget that was pressed. Each Widget has a different set of signals that it " | ||
1354 | "can emit. To make a button click result in an action, we set up a " | 1396 | "can emit. To make a button click result in an action, we set up a " | ||
1355 | "<emphasis>signal handler</emphasis> to catch the button's \"clicked\" signal." | 1397 | "<emphasis>signal handler</emphasis> to catch the button's \"clicked\" signal." | ||
1356 | msgstr "" | 1398 | msgstr "" | ||
n | 1357 | "<application>gtkmm</application>, är som de flesta GUI-verktygslådor " | n | 1399 | "<application>gtkmm</application> är som de flesta GUI-verktygslådor " |
1358 | "<emphasis>händelsedrivet</emphasis>. När en händelse inträffar, som ett " | 1400 | "<emphasis>händelsedrivet</emphasis>. När en händelse inträffar, som ett " | ||
1359 | "tryck på en musknapp, så kommer den lämpliga signalen <emphasis>avges</" | 1401 | "tryck på en musknapp, så kommer den lämpliga signalen <emphasis>avges</" | ||
1360 | "emphasis> av den komponent som trycktes ned. Varje komponent har olika " | 1402 | "emphasis> av den komponent som trycktes ned. Varje komponent har olika " | ||
1361 | "uppsättningar signaler som den kan avge. För att få ett musklick att leda " | 1403 | "uppsättningar signaler som den kan avge. För att få ett musklick att leda " | ||
1362 | "till en åtgärd konfigurerar vi en <emphasis>signalhanterare</emphasis> som " | 1404 | "till en åtgärd konfigurerar vi en <emphasis>signalhanterare</emphasis> som " | ||
1423 | "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 " | ||
1424 | "English in your application." | 1466 | "English in your application." | ||
1425 | msgstr "" | 1467 | msgstr "" | ||
1426 | "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 " | ||
1427 | "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 | 1428 | "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 " |
1429 | "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 " | ||
1430 | "ustring</classname> är en <classname>std::string</classname> och ignorera " | 1472 | "<classname>Glib::ustring</classname> är en <classname>std::string</" | ||
1431 | "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 " | ||
1432 | "engelska i ditt program." | 1474 | "använda andra språk än engelska i ditt program." | ||
1433 | 1475 | ||||
1434 | #. (itstool) path: section/para | 1476 | #. (itstool) path: section/para | ||
1435 | #: C/index-in.docbook:518 | 1477 | #: C/index-in.docbook:518 | ||
1436 | #, 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." | ||||
1437 | msgid "" | 1488 | msgid "" | ||
1438 | "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 " | ||
1439 | "languages such as Arabic, Chinese, and Japanese. Although the encodings for " | 1490 | "languages such as Arabic, Chinese, and Japanese. Although the encodings for " | ||
1440 | "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." | ||
1441 | "unicode.org/\">Unicode Consortium</link>, the C and <phrase " | 1492 | "unicode.org/\">Unicode Consortium</link>, the C and <phrase " | ||
1454 | "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, " | ||
1455 | "tillsammans med automatiska konverteringar till och från std::string." | 1506 | "tillsammans med automatiska konverteringar till och från std::string." | ||
1456 | 1507 | ||||
1457 | #. (itstool) path: section/para | 1508 | #. (itstool) path: section/para | ||
1458 | #: C/index-in.docbook:523 | 1509 | #: C/index-in.docbook:523 | ||
n | 1459 | #, fuzzy | n | ||
1460 | msgid "" | 1510 | msgid "" | ||
1461 | "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 " | ||
1462 | "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. " | ||
1463 | "<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. " | ||
1464 | "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, " | ||
1474 | "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 " | ||
1475 | "stället." | 1525 | "stället." | ||
1476 | 1526 | ||||
1477 | #. (itstool) path: section/para | 1527 | #. (itstool) path: section/para | ||
1478 | #: C/index-in.docbook:524 | 1528 | #: C/index-in.docbook:524 | ||
n | 1479 | #, fuzzy | n | ||
1480 | msgid "" | 1529 | msgid "" | ||
1481 | "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 " | ||
1482 | "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 " | ||
1483 | "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 " | ||
1484 | "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\" " | ||
1485 | "would be \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")." | 1534 | "would be \"Gr\\xC3\\xBC\\xC3\\x9F Gott\")." | ||
1486 | msgstr "" | 1535 | msgstr "" | ||
1487 | "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 | 1488 | "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 " |
1489 | "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 " | ||
1490 | "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 | 1491 | "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”)." |
1492 | 1541 | ||||
1493 | #. (itstool) path: section/para | 1542 | #. (itstool) path: section/para | ||
1494 | #: C/index-in.docbook:525 | 1543 | #: C/index-in.docbook:525 | ||
n | 1495 | #, fuzzy | n | ||
1496 | msgid "" | 1544 | msgid "" | ||
1497 | "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(). " | ||
1498 | "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 " | ||
1499 | "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::" | ||
1500 | "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 " | ||
1501 | "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 " | ||
1502 | "characters instead of bytes." | 1550 | "characters instead of bytes." | ||
1503 | msgstr "" | 1551 | msgstr "" | ||
n | 1504 | "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 " |
1505 | "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 " | ||
1506 | "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::" | ||
1507 | "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 " | ||
1508 | "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 " | ||
1509 | "byte." | 1557 | "byte." | ||
1510 | 1558 | ||||
1511 | #. (itstool) path: section/para | 1559 | #. (itstool) path: section/para | ||
1512 | #: C/index-in.docbook:527 | 1560 | #: C/index-in.docbook:527 | ||
n | 1513 | #, fuzzy | n | ||
1514 | msgid "" | 1561 | msgid "" | ||
1515 | "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 " | ||
1516 | "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 " | ||
1517 | "Unicode executables and libraries which are incompatible with ASCII ones." | 1564 | "Unicode executables and libraries which are incompatible with ASCII ones." | ||
1518 | msgstr "" | 1565 | msgstr "" | ||
n | 1519 | "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 " |
1520 | "ytterligare kompilatorflaggor för att behandla stränglitteraler, och det " | 1567 | "ytterligare kompilatorflaggor för att behandla stränglitteraler, och det " | ||
1521 | "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 " | ||
1522 | "med de som använder ASCII." | 1569 | "med de som använder ASCII." | ||
1523 | 1570 | ||||
1524 | #. (itstool) path: section/para | 1571 | #. (itstool) path: section/para | ||
1525 | #: C/index-in.docbook:529 | 1572 | #: C/index-in.docbook:529 | ||
n | 1526 | #, fuzzy | n | ||
1527 | #| msgid "" | ||||
1528 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
1529 | #| "classGlib_1_1ustring.html\">Reference</link>" | ||||
1530 | msgid "" | 1573 | msgid "" | ||
1531 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 1574 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
1532 | "classGlib_1_1ustring.html\">Reference</link>" | 1575 | "classGlib_1_1ustring.html\">Reference</link>" | ||
1533 | msgstr "" | 1576 | msgstr "" | ||
n | 1534 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 1577 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
1535 | "classGlib_1_1ustring.html\">Referens</link>" | 1578 | "classGlib_1_1ustring.html\">Referens</link>" | ||
1536 | 1579 | ||||
1537 | #. (itstool) path: section/para | 1580 | #. (itstool) path: section/para | ||
1538 | #: C/index-in.docbook:531 | 1581 | #: C/index-in.docbook:531 | ||
n | 1539 | #, fuzzy | n | ||
1540 | msgid "" | 1582 | msgid "" | ||
1541 | "See the <link linkend=\"chapter-internationalization\">Internationalization</" | 1583 | "See the <link linkend=\"chapter-internationalization\">Internationalization</" | ||
1542 | "link> section for information about providing the UTF-8 string literals." | 1584 | "link> section for information about providing the UTF-8 string literals." | ||
1543 | msgstr "" | 1585 | msgstr "" | ||
1544 | "Se avsnittet <link linkend=\"chapter-" | 1586 | "Se avsnittet <link linkend=\"chapter-" | ||
1551 | msgstr "Blanda C- och C++-API:er" | 1593 | msgstr "Blanda C- och C++-API:er" | ||
1552 | 1594 | ||||
1553 | #. (itstool) path: section/para | 1595 | #. (itstool) path: section/para | ||
1554 | #: C/index-in.docbook:538 | 1596 | #: C/index-in.docbook:538 | ||
1555 | #, fuzzy | 1597 | #, fuzzy | ||
n | n | 1598 | #| msgid "" | ||
1599 | #| "You can use C APIs which do not yet have convenient C++ interfaces. It is " | ||||
1600 | #| "generally not a problem to use C APIs from C++, and <application>gtkmm</" | ||||
1601 | #| "application> helps by providing access to the underlying C object, and " | ||||
1602 | #| "providing an easy way to create a C++ wrapper object from a C object, " | ||||
1603 | #| "provided that the C API is also based on the <classname>GObject</" | ||||
1604 | #| "classname> system." | ||||
1556 | msgid "" | 1605 | msgid "" | ||
1557 | "You can use C APIs which do not yet have convenient <phrase " | 1606 | "You can use C APIs which do not yet have convenient <phrase " | ||
1558 | "role=\"nowrap\">C++</phrase> interfaces. It is generally not a problem to " | 1607 | "role=\"nowrap\">C++</phrase> interfaces. It is generally not a problem to " | ||
1559 | "use C APIs from <phrase role=\"nowrap\">C++</phrase>, and " | 1608 | "use C APIs from <phrase role=\"nowrap\">C++</phrase>, and " | ||
1560 | "<application>gtkmm</application> helps by providing access to the underlying " | 1609 | "<application>gtkmm</application> helps by providing access to the underlying " | ||
1561 | "C object, and providing an easy way to create a <phrase role=\"nowrap\">C++</" | 1610 | "C object, and providing an easy way to create a <phrase role=\"nowrap\">C++</" | ||
1562 | "phrase> wrapper object from a C object, provided that the C API is also " | 1611 | "phrase> wrapper object from a C object, provided that the C API is also " | ||
1563 | "based on the <classname>GObject</classname> system." | 1612 | "based on the <classname>GObject</classname> system." | ||
1564 | msgstr "" | 1613 | msgstr "" | ||
n | 1565 | "Du kan använda C-API:er som inte ännu har praktiska C++ interfaces. Det är " | n | 1614 | "Du kan använda C-API:er som inte ännu har praktiska C++-gränssnitt. Det är " |
1566 | "allmänt inte ett problem att använda C-API:er från C++, och " | 1615 | "allmänt inte ett problem att använda C-API:er från C++, och " | ||
1567 | "<application>gtkmm</application> hjälper till genom att ge åtkomst till det " | 1616 | "<application>gtkmm</application> hjälper till genom att ge åtkomst till det " | ||
1568 | "underliggande C-objektet, och tillhandahåller ett lätt sätt att skapa ett C+" | 1617 | "underliggande C-objektet, och tillhandahåller ett lätt sätt att skapa ett C+" | ||
1569 | "+-omslagsobjekt från ett C-objekt, givet att C-API:t också är baserat på " | 1618 | "+-omslagsobjekt från ett C-objekt, givet att C-API:t också är baserat på " | ||
1570 | "<classname>GObject</classname>-systemet." | 1619 | "<classname>GObject</classname>-systemet." | ||
1922 | " return app->make_window_and_run<HelloWorld>(argc, argv);\n" | 1971 | " return app->make_window_and_run<HelloWorld>(argc, argv);\n" | ||
1923 | "}" | 1972 | "}" | ||
1924 | 1973 | ||||
1925 | #. (itstool) path: section/para | 1974 | #. (itstool) path: section/para | ||
1926 | #: C/index-in.docbook:669 | 1975 | #: C/index-in.docbook:669 | ||
n | 1927 | #, fuzzy | n | ||
1928 | msgid "" | 1976 | msgid "" | ||
1929 | "First we instantiate an object stored in a <classname>Glib::RefPtr</" | 1977 | "First we instantiate an object stored in a <classname>Glib::RefPtr</" | ||
1930 | "classname> smartpointer called <literal>app</literal>. This is of type " | 1978 | "classname> smartpointer called <literal>app</literal>. This is of type " | ||
1931 | "<classname>Gtk::Application</classname>. Every <application>gtkmm</" | 1979 | "<classname>Gtk::Application</classname>. Every <application>gtkmm</" | ||
1932 | "application> program must have one of these." | 1980 | "application> program must have one of these." | ||
1933 | msgstr "" | 1981 | msgstr "" | ||
1934 | "Först instansierar vi ett objekt som lagras i en <classname>Glib::RefPtr</" | 1982 | "Först instansierar vi ett objekt som lagras i en <classname>Glib::RefPtr</" | ||
n | 1935 | "classname>-smartpekare som heter <literal>app</literal>. Denna är av typen " | n | 1983 | "classname>-smartpekare som heter <literal>app</literal>. Detta är av typen " |
1936 | "<classname>Gtk::Application</classname>. Varje <application>gtkmm</" | 1984 | "<classname>Gtk::Application</classname>. Varje <application>gtkmm</" | ||
1937 | "application>-program måste ha ett av dessa." | 1985 | "application>-program måste ha ett av dessa." | ||
1938 | 1986 | ||||
1939 | #. (itstool) path: section/para | 1987 | #. (itstool) path: section/para | ||
1940 | #: C/index-in.docbook:674 | 1988 | #: C/index-in.docbook:674 | ||
1973 | msgid "Changes in <application>gtkmm</application> 3" | 2021 | msgid "Changes in <application>gtkmm</application> 3" | ||
1974 | msgstr "Ändringar i <application>gtkmm</application> 3" | 2022 | msgstr "Ändringar i <application>gtkmm</application> 3" | ||
1975 | 2023 | ||||
1976 | #. (itstool) path: chapter/para | 2024 | #. (itstool) path: chapter/para | ||
1977 | #: C/index-in.docbook:694 | 2025 | #: C/index-in.docbook:694 | ||
n | 1978 | #, fuzzy | n | ||
1979 | msgid "" | 2026 | msgid "" | ||
1980 | "<application>gtkmm</application>-3.0 is an old version of the " | 2027 | "<application>gtkmm</application>-3.0 is an old version of the " | ||
1981 | "<application>gtkmm</application> API that installs in parallel with the " | 2028 | "<application>gtkmm</application> API that installs in parallel with the " | ||
1982 | "still older <application>gtkmm</application>-2.4 API and the new " | 2029 | "still older <application>gtkmm</application>-2.4 API and the new " | ||
1983 | "<application>gtkmm</application>-4.0 API. The last version of the " | 2030 | "<application>gtkmm</application>-4.0 API. The last version of the " | ||
1994 | "<application>gtkmm</application>-4.0-API:t. Den senaste versionen av " | 2041 | "<application>gtkmm</application>-4.0-API:t. Den senaste versionen av " | ||
1995 | "<application>gtkmm</application>-2.4-API:t var <application>gtkmm</" | 2042 | "<application>gtkmm</application>-2.4-API:t var <application>gtkmm</" | ||
1996 | "application> 2.24. <application>gtkmm</application> 3 har inga större " | 2043 | "application> 2.24. <application>gtkmm</application> 3 har inga större " | ||
1997 | "fundamentala skillnader mot <application>gtkmm</application> 2 men gör flera " | 2044 | "fundamentala skillnader mot <application>gtkmm</application> 2 men gör flera " | ||
1998 | "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 " | ||
n | 1999 | "kompatibilitet behålls. Om du aldrig använt <application>gtkmm</" | n | 2046 | "kompatibilitet behölls. Om du aldrig använt <application>gtkmm</" |
2000 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | 2047 | "application>-2.4-API:t kan du lugnt ignorera detta kapitel." | ||
2001 | 2048 | ||||
2002 | #. (itstool) path: chapter/para | 2049 | #. (itstool) path: chapter/para | ||
2003 | #: C/index-in.docbook:696 | 2050 | #: C/index-in.docbook:696 | ||
n | 2004 | #, fuzzy | n | ||
2005 | msgid "" | 2051 | msgid "" | ||
2006 | "<application>gtkmm</application> 3's library is called " | 2052 | "<application>gtkmm</application> 3's library is called " | ||
2007 | "<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> " | ||
2008 | "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-" | ||
2009 | "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 " | ||
2031 | "classname> och <classname>Gtk::AppChooserDialog</classname> låter användaren " | 2077 | "classname> och <classname>Gtk::AppChooserDialog</classname> låter användaren " | ||
2032 | "välja ett installerat program som ska öppna en viss typ av innehåll." | 2078 | "välja ett installerat program som ska öppna en viss typ av innehåll." | ||
2033 | 2079 | ||||
2034 | #. (itstool) path: listitem/simpara | 2080 | #. (itstool) path: listitem/simpara | ||
2035 | #: C/index-in.docbook:702 | 2081 | #: C/index-in.docbook:702 | ||
n | 2036 | #, fuzzy | n | ||
2037 | msgid "" | 2082 | msgid "" | ||
2038 | "<classname>Gtk::Grid</classname> is a new container widget that will " | 2083 | "<classname>Gtk::Grid</classname> is a new container widget that will " | ||
2039 | "eventually replace <classname>Gtk::Box</classname> and <classname>Gtk::" | 2084 | "eventually replace <classname>Gtk::Box</classname> and <classname>Gtk::" | ||
2040 | "Table</classname>. It arranges its children according to properties of those " | 2085 | "Table</classname>. It arranges its children according to properties of those " | ||
2041 | "children rather than its own layout details." | 2086 | "children rather than its own layout details." | ||
2045 | "classname>. Den arrangerar sina underliggande komponenter enligt " | 2090 | "classname>. Den arrangerar sina underliggande komponenter enligt " | ||
2046 | "komponenternas egenskaper snarare än sina egna layoutdetaljer." | 2091 | "komponenternas egenskaper snarare än sina egna layoutdetaljer." | ||
2047 | 2092 | ||||
2048 | #. (itstool) path: listitem/simpara | 2093 | #. (itstool) path: listitem/simpara | ||
2049 | #: C/index-in.docbook:703 | 2094 | #: C/index-in.docbook:703 | ||
n | 2050 | #, fuzzy | n | ||
2051 | msgid "" | 2095 | msgid "" | ||
2052 | "<classname>Gtk::Switch</classname> displays On/Off states more explicitly " | 2096 | "<classname>Gtk::Switch</classname> displays On/Off states more explicitly " | ||
2053 | "than <classname>Gtk::CheckButton</classname>. It may be useful, for " | 2097 | "than <classname>Gtk::CheckButton</classname>. It may be useful, for " | ||
2054 | "instance, when allowing users to activate hardware." | 2098 | "instance, when allowing users to activate hardware." | ||
2055 | msgstr "" | 2099 | msgstr "" | ||
2068 | "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 " | ||
2069 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | 2113 | "<application>gtkmm</application>-2.4. Här är en kort lista:" | ||
2070 | 2114 | ||||
2071 | #. (itstool) path: listitem/simpara | 2115 | #. (itstool) path: listitem/simpara | ||
2072 | #: C/index-in.docbook:711 | 2116 | #: C/index-in.docbook:711 | ||
n | 2073 | #, fuzzy | n | ||
2074 | msgid "" | 2117 | msgid "" | ||
2075 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | 2118 | "<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</" | ||
2076 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | 2119 | "classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::" | ||
2077 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | 2120 | "ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which " | ||
2078 | "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</" | ||
2080 | msgstr "" | 2123 | msgstr "" | ||
2081 | "<classname>Gtk::CellLayout</classname> som används av <classname>Gtk::" | 2124 | "<classname>Gtk::CellLayout</classname> som används av <classname>Gtk::" | ||
2082 | "IconView</classname>, <classname>Gtk::TreeView::Column</classname> och " | 2125 | "IconView</classname>, <classname>Gtk::TreeView::Column</classname> och " | ||
2083 | "<classname>Gtk::ComboBox</classname> har nu en <classname>Gtk::CellArea</" | 2126 | "<classname>Gtk::ComboBox</classname> har nu en <classname>Gtk::CellArea</" | ||
2084 | "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 " | ||
n | 2085 | "<classname>CellRenderer</classname>-renderare arrangeras och justeras." | n | 2128 | "<classname>CellRenderer</classname>-renderarna arrangeras och justeras." |
2086 | 2129 | ||||
2087 | #. (itstool) path: listitem/simpara | 2130 | #. (itstool) path: listitem/simpara | ||
2088 | #: C/index-in.docbook:713 | 2131 | #: C/index-in.docbook:713 | ||
n | 2089 | #, fuzzy | n | ||
2090 | msgid "" | 2132 | msgid "" | ||
2091 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | 2133 | "Gtk::ComboBox now derives from CellLayout, allowing easier layout and " | ||
2092 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | 2134 | "alignment of its <classname>Gtk::CellRenderer</classname>s." | ||
2093 | msgstr "" | 2135 | msgstr "" | ||
2094 | "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 " | ||
2125 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | 2167 | "vilket låter deras orientering (vertikal eller horisontell) anges utan att " | ||
2126 | "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>." | ||
2127 | 2169 | ||||
2128 | #. (itstool) path: listitem/simpara | 2170 | #. (itstool) path: listitem/simpara | ||
2129 | #: C/index-in.docbook:720 | 2171 | #: C/index-in.docbook:720 | ||
n | 2130 | #, fuzzy | n | ||
2131 | msgid "" | 2172 | msgid "" | ||
2132 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | 2173 | "<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, " | ||
2133 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | 2174 | "<classname>Gtk::TreeView</classname> and other widgets derive from " | ||
2134 | "Scrollable instead of having their own methods such as " | 2175 | "Scrollable instead of having their own methods such as " | ||
2135 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | 2176 | "<methodname>get_vadjustment()</methodname> and instead of having their own " | ||
2141 | "<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 " | ||
2142 | "set_scroll_adjustments-signal." | 2183 | "set_scroll_adjustments-signal." | ||
2143 | 2184 | ||||
2144 | #. (itstool) path: listitem/simpara | 2185 | #. (itstool) path: listitem/simpara | ||
2145 | #: C/index-in.docbook:722 | 2186 | #: C/index-in.docbook:722 | ||
n | 2146 | #, fuzzy | n | ||
2147 | msgid "" | 2187 | msgid "" | ||
2148 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | 2188 | "<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were " | ||
2149 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | 2189 | "removed, replaced by <classname>Gtk::StyleContext</classname>, and " | ||
2150 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | 2190 | "<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::" | ||
2151 | "CssProvider</classname>." | 2191 | "CssProvider</classname>." | ||
2152 | msgstr "" | 2192 | msgstr "" | ||
2153 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 2193 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
2154 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 2194 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 2155 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 2195 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
2156 | "classname>." | 2196 | "CssProvider</classname>." | ||
2157 | 2197 | ||||
2158 | #. (itstool) path: listitem/simpara | 2198 | #. (itstool) path: listitem/simpara | ||
2159 | #: C/index-in.docbook:724 | 2199 | #: C/index-in.docbook:724 | ||
n | 2160 | #, fuzzy | n | ||
2161 | msgid "" | 2200 | msgid "" | ||
2162 | "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 " | ||
2163 | "that cairomm is used for drawing, via the provided <classname>Cairo::" | 2202 | "that cairomm is used for drawing, via the provided <classname>Cairo::" | ||
2164 | "Context</classname> and does not require you to call <methodname>Cairo::" | 2203 | "Context</classname> and does not require you to call <methodname>Cairo::" | ||
2165 | "Context::clip()</methodname>." | 2204 | "Context::clip()</methodname>." | ||
2166 | msgstr "" | 2205 | msgstr "" | ||
2167 | "Widget::on_expose_event() ersattes av Widget::on_draw(), vilket antar att " | 2206 | "Widget::on_expose_event() ersattes av Widget::on_draw(), vilket antar att " | ||
n | 2168 | "cairomm används för ritning, genom den tillhandahållna <classname>Cairo::" | n | 2207 | "cairomm används för ritning genom tillhandahållen <classname>Cairo::Context</" |
2169 | "Context</classname> och kräver inte att du anropar <methodname>Cairo::" | 2208 | "classname> och kräver inte att du anropar <methodname>Cairo::Context::" | ||
2170 | "Context::clip()</methodname>." | 2209 | "clip()</methodname>." | ||
2171 | 2210 | ||||
2172 | #. (itstool) path: listitem/simpara | 2211 | #. (itstool) path: listitem/simpara | ||
2173 | #: C/index-in.docbook:726 | 2212 | #: C/index-in.docbook:726 | ||
n | 2174 | #, fuzzy | n | ||
2175 | msgid "" | 2213 | msgid "" | ||
2176 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | 2214 | "<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, " | ||
2177 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | 2215 | "adding an alpha component for opacity. <classname>Colormap</classname> was " | ||
2178 | "removed, along with its awkward use to allocate colors." | 2216 | "removed, along with its awkward use to allocate colors." | ||
2179 | msgstr "" | 2217 | msgstr "" | ||
2205 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | 2243 | "<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat " | ||
2206 | "till <classname>Gdk::Window</classname>." | 2244 | "till <classname>Gdk::Window</classname>." | ||
2207 | 2245 | ||||
2208 | #. (itstool) path: listitem/simpara | 2246 | #. (itstool) path: listitem/simpara | ||
2209 | #: C/index-in.docbook:732 | 2247 | #: C/index-in.docbook:732 | ||
n | 2210 | #, fuzzy | n | ||
2211 | msgid "" | 2248 | msgid "" | ||
2212 | "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 " | ||
2213 | "*Handle types to make the API clearer." | 2250 | "*Handle types to make the API clearer." | ||
2214 | msgstr "" | 2251 | msgstr "" | ||
2215 | "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 " | ||
2216 | "*Handle-typer för att göra API:t tydligare." | 2253 | "*Handle-typer för att göra API:t tydligare." | ||
2217 | 2254 | ||||
2218 | #. (itstool) path: chapter/para | 2255 | #. (itstool) path: chapter/para | ||
2219 | #: C/index-in.docbook:737 | 2256 | #: C/index-in.docbook:737 | ||
n | 2220 | #, fuzzy | n | ||
2221 | msgid "" | 2257 | msgid "" | ||
2222 | "All deprecated API was removed in <application>gtkmm</application> 3.0, " | 2258 | "All deprecated API was removed in <application>gtkmm</application> 3.0, " | ||
2223 | "though there have been new deprecations in later <application>gtkmm</" | 2259 | "though there have been new deprecations in later <application>gtkmm</" | ||
2224 | "application> 3.x versions." | 2260 | "application> 3.x versions." | ||
2225 | msgstr "" | 2261 | msgstr "" | ||
2227 | "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-" | ||
2228 | "versioner." | 2264 | "versioner." | ||
2229 | 2265 | ||||
2230 | #. (itstool) path: chapter/para | 2266 | #. (itstool) path: chapter/para | ||
2231 | #: C/index-in.docbook:739 | 2267 | #: C/index-in.docbook:739 | ||
n | 2232 | #, fuzzy | n | ||
2233 | msgid "" | 2268 | msgid "" | ||
2234 | "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</" | ||
2235 | "application>-3.0 you should probably ensure that your application builds " | 2270 | "application>-3.0 you should probably ensure that your application builds " | ||
2236 | "with the deprecated <application>gtkmm</application>-2.4 API disabled, by " | 2271 | "with the deprecated <application>gtkmm</application>-2.4 API disabled, by " | ||
2237 | "defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools " | 2272 | "defining macro such as GTKMM_DISABLE_DEPRECATED. There are some autotools " | ||
2257 | "Ändringar i <application>gtkmm</application>-4.0 och " | 2292 | "Ändringar i <application>gtkmm</application>-4.0 och " | ||
2258 | "<application>glibmm-2.68</application>" | 2293 | "<application>glibmm-2.68</application>" | ||
2259 | 2294 | ||||
2260 | #. (itstool) path: chapter/para | 2295 | #. (itstool) path: chapter/para | ||
2261 | #: C/index-in.docbook:746 | 2296 | #: C/index-in.docbook:746 | ||
n | 2262 | #, fuzzy | n | ||
2263 | msgid "" | 2297 | msgid "" | ||
2264 | "<application>gtkmm</application>-4.0 is a new version of the " | 2298 | "<application>gtkmm</application>-4.0 is a new version of the " | ||
2265 | "<application>gtkmm</application> API that installs in parallel with the " | 2299 | "<application>gtkmm</application> API that installs in parallel with the " | ||
2266 | "older <application>gtkmm</application>-2.4 and <application>gtkmm</" | 2300 | "older <application>gtkmm</application>-2.4 and <application>gtkmm</" | ||
2267 | "application>-3.0 APIs. The last version of the <application>gtkmm</" | 2301 | "application>-3.0 APIs. The last version of the <application>gtkmm</" | ||
2271 | "and large ones) that were not possible while maintaining binary " | 2305 | "and large ones) that were not possible while maintaining binary " | ||
2272 | "compatibility. If you never used the <application>gtkmm</application>-3.0 " | 2306 | "compatibility. If you never used the <application>gtkmm</application>-3.0 " | ||
2273 | "API then you can safely ignore this chapter." | 2307 | "API then you can safely ignore this chapter." | ||
2274 | msgstr "" | 2308 | msgstr "" | ||
2275 | "<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 | 2276 | "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 " |
2277 | "<application>gtkmm</application>-2.4 och <application>gtkmm</" | 2311 | "<application>gtkmm</application>-2.4 och <application>gtkmm</" | ||
2278 | "application>-3.0. Den senaste versionen av <application>gtkmm</" | 2312 | "application>-3.0. Den senaste versionen av <application>gtkmm</" | ||
2279 | "application>-3.0-API:t är <application>gtkmm</application> 3.24. " | 2313 | "application>-3.0-API:t är <application>gtkmm</application> 3.24. " | ||
2280 | "<application>gtkmm</application> 4 har inga större fundamentala skillnader " | 2314 | "<application>gtkmm</application> 4 har inga större fundamentala skillnader " | ||
2281 | "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 " | ||
2282 | "och små) som inte var möjliga att göra samtidigt som binär kompatibilitet " | 2316 | "och små) som inte var möjliga att göra samtidigt som binär kompatibilitet " | ||
n | 2283 | "behålls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " | n | 2317 | "behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan " |
2284 | "du lugnt ignorera detta kapitel." | 2318 | "du lugnt ignorera detta kapitel." | ||
2285 | 2319 | ||||
2286 | #. (itstool) path: chapter/para | 2320 | #. (itstool) path: chapter/para | ||
2287 | #: C/index-in.docbook:754 | 2321 | #: C/index-in.docbook:754 | ||
n | 2288 | #, fuzzy | n | ||
2289 | msgid "" | 2322 | msgid "" | ||
2290 | "<application>gtkmm</application> 4's library is called " | 2323 | "<application>gtkmm</application> 4's library is called " | ||
2291 | "<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> " | ||
2292 | "and installs its headers in a similarly-versioned directory, so your " | 2325 | "and installs its headers in a similarly-versioned directory, so your " | ||
2293 | "<application>pkg-config</application> check should ask for " | 2326 | "<application>pkg-config</application> check should ask for " | ||
2300 | "<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>." | ||
2301 | 2334 | ||||
2302 | #. (itstool) path: chapter/para | 2335 | #. (itstool) path: chapter/para | ||
2303 | #: C/index-in.docbook:760 | 2336 | #: C/index-in.docbook:760 | ||
2304 | #, 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>." | ||||
2305 | msgid "" | 2351 | msgid "" | ||
2306 | "<application>gtkmm</application>-4.0 is used in combination with " | 2352 | "<application>gtkmm</application>-4.0 is used in combination with " | ||
2307 | "<application>glibmm-2.68</application>, which sets the global locale for " | 2353 | "<application>glibmm-2.68</application>, which sets the global locale for " | ||
2308 | "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 " | ||
2309 | "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. " | ||
2373 | #: C/index-in.docbook:791 | 2419 | #: C/index-in.docbook:791 | ||
2374 | msgid "" | 2420 | msgid "" | ||
2375 | "Some new classes were added in <application>gtkmm</application> 4 and " | 2421 | "Some new classes were added in <application>gtkmm</application> 4 and " | ||
2376 | "<application>glibmm</application> 2.68:" | 2422 | "<application>glibmm</application> 2.68:" | ||
2377 | msgstr "" | 2423 | msgstr "" | ||
n | 2378 | "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 " |
2379 | "<application>glibmm</application> 2.68:" | 2425 | "<application>glibmm</application> 2.68:" | ||
2380 | 2426 | ||||
2381 | #. (itstool) path: listitem/simpara | 2427 | #. (itstool) path: listitem/simpara | ||
2382 | #: C/index-in.docbook:793 | 2428 | #: C/index-in.docbook:793 | ||
2383 | msgid "" | 2429 | msgid "" | ||
2450 | "<classname>Gdk::DragContext</classname> har delats upp i <classname>Gdk::" | 2496 | "<classname>Gdk::DragContext</classname> har delats upp i <classname>Gdk::" | ||
2451 | "Drag</classname> och <classname>Gdk::Drop</classname>." | 2497 | "Drag</classname> och <classname>Gdk::Drop</classname>." | ||
2452 | 2498 | ||||
2453 | #. (itstool) path: chapter/para | 2499 | #. (itstool) path: chapter/para | ||
2454 | #: C/index-in.docbook:812 | 2500 | #: C/index-in.docbook:812 | ||
n | 2455 | #, fuzzy | n | ||
2456 | msgid "" | 2501 | msgid "" | ||
2457 | "There have also been several changes to the API, which you will probably " | 2502 | "There have also been several changes to the API, which you will probably " | ||
2458 | "encounter when porting code that used <application>gtkmm</application>-3.0 " | 2503 | "encounter when porting code that used <application>gtkmm</application>-3.0 " | ||
2459 | "and <application>glibmm</application>-2.4. Here is a short list:" | 2504 | "and <application>glibmm</application>-2.4. Here is a short list:" | ||
2460 | msgstr "" | 2505 | msgstr "" | ||
n | 2461 | "Det har också blivit flera ändringar till API:t, vilket du troligen kommer " | n | 2506 | "Det har också skett flera ändringar till API:t, vilket du troligen kommer " |
2462 | "stöta på när du porterar kod som använt <application>gtkmm</application>-3.0 " | 2507 | "stöta på när du porterar kod som använt <application>gtkmm</application>-3.0 " | ||
2463 | "och <application>glibmm</application>-2.4. Här är en kort lista:" | 2508 | "och <application>glibmm</application>-2.4. Här är en kort lista:" | ||
2464 | 2509 | ||||
2465 | #. (itstool) path: listitem/simpara | 2510 | #. (itstool) path: listitem/simpara | ||
2466 | #: C/index-in.docbook:816 | 2511 | #: C/index-in.docbook:816 | ||
2489 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | 2534 | "<classname>Gtk::FontButton</classname> implementerar gränssnittet " | ||
2490 | "<classname>Gtk::FontChooser</classname>." | 2535 | "<classname>Gtk::FontChooser</classname>." | ||
2491 | 2536 | ||||
2492 | #. (itstool) path: listitem/simpara | 2537 | #. (itstool) path: listitem/simpara | ||
2493 | #: C/index-in.docbook:822 | 2538 | #: C/index-in.docbook:822 | ||
n | 2494 | #, fuzzy | n | ||
2495 | msgid "" | 2539 | msgid "" | ||
2496 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | 2540 | "<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</" | ||
2497 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | 2541 | "methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. " | ||
2498 | "This change only affects custom widgets." | 2542 | "This change only affects custom widgets." | ||
2499 | msgstr "" | 2543 | msgstr "" | ||
n | 2500 | "<classname>Gtk::Widget</classname>: De olika " | n | 2544 | "<classname>Gtk::Widget</classname>: De olika metoderna " |
2501 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | 2545 | "<methodname>get_preferred_*_vfunc()</methodname> har ersatts med " | ||
2502 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | 2546 | "<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara " | ||
2503 | "anpassade komponenter." | 2547 | "anpassade komponenter." | ||
2504 | 2548 | ||||
2505 | #. (itstool) path: listitem/simpara | 2549 | #. (itstool) path: listitem/simpara | ||
2521 | #, fuzzy | 2565 | #, fuzzy | ||
2522 | msgid "" | 2566 | msgid "" | ||
2523 | "<classname>Gtk::DrawingArea</classname> uses a draw function instead of the " | 2567 | "<classname>Gtk::DrawingArea</classname> uses a draw function instead of the " | ||
2524 | "draw signal." | 2568 | "draw signal." | ||
2525 | msgstr "" | 2569 | msgstr "" | ||
n | 2526 | "<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 " |
2527 | "signalen draw." | 2571 | "för signalen draw." | ||
2528 | 2572 | ||||
2529 | #. (itstool) path: listitem/simpara | 2573 | #. (itstool) path: listitem/simpara | ||
2530 | #: C/index-in.docbook:828 | 2574 | #: C/index-in.docbook:828 | ||
2531 | #, fuzzy | 2575 | #, fuzzy | ||
2532 | #| msgid "" | 2576 | #| msgid "" | ||
2559 | msgid "<classname>Gtk::Container</classname> has been removed." | 2603 | msgid "<classname>Gtk::Container</classname> has been removed." | ||
2560 | msgstr "<classname>Gtk::Container</classname> har tagits bort." | 2604 | msgstr "<classname>Gtk::Container</classname> har tagits bort." | ||
2561 | 2605 | ||||
2562 | #. (itstool) path: listitem/simpara | 2606 | #. (itstool) path: listitem/simpara | ||
2563 | #: C/index-in.docbook:833 | 2607 | #: C/index-in.docbook:833 | ||
n | 2564 | #, fuzzy | n | ||
2565 | #| msgid "" | ||||
2566 | #| "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | ||||
2567 | #| "default value of <methodname>Gtk::Widget::property_visible()</" | ||||
2568 | #| "methodname>has been changed from <literal>false</literal> to " | ||||
2569 | #| "<literal>true</literal>." | ||||
2570 | msgid "" | 2608 | msgid "" | ||
2571 | "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | 2609 | "<methodname>Gtk::Widget::show_all()</methodname> has been removed. The " | ||
2572 | "default value of <methodname>Gtk::Widget::property_visible()</methodname> " | 2610 | "default value of <methodname>Gtk::Widget::property_visible()</methodname> " | ||
2573 | "has been changed from <literal>false</literal> to <literal>true</literal>." | 2611 | "has been changed from <literal>false</literal> to <literal>true</literal>." | ||
2574 | msgstr "" | 2612 | msgstr "" | ||
2649 | "CheckButton</classname> eller <classname>Gtk::ToggleButton</classname> med " | 2687 | "CheckButton</classname> eller <classname>Gtk::ToggleButton</classname> med " | ||
2650 | "<methodname>set_group()</methodname>." | 2688 | "<methodname>set_group()</methodname>." | ||
2651 | 2689 | ||||
2652 | #. (itstool) path: chapter/para | 2690 | #. (itstool) path: chapter/para | ||
2653 | #: C/index-in.docbook:859 | 2691 | #: C/index-in.docbook:859 | ||
n | 2654 | #, fuzzy | n | ||
2655 | msgid "" | 2692 | msgid "" | ||
2656 | "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 " | ||
2657 | "<application>glibmm</application> 2.68, though there will be new " | 2694 | "<application>glibmm</application> 2.68, though there will be new " | ||
2658 | "deprecations in future versions." | 2695 | "deprecations in future versions." | ||
2659 | msgstr "" | 2696 | msgstr "" | ||
2660 | "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 " | ||
2661 | "<application>glibmm</application> 2.68, men det kommer göras nya " | 2698 | "<application>glibmm</application> 2.68, men det kommer göras nya " | ||
n | 2662 | "föråldringar framtida versioner." | n | 2699 | "föråldringar i framtida versioner." |
2663 | 2700 | ||||
2664 | # TODO: copy paste of wiki page? | 2701 | # TODO: copy paste of wiki page? | ||
2665 | #. (itstool) path: chapter/para | 2702 | #. (itstool) path: chapter/para | ||
2666 | #: C/index-in.docbook:862 | 2703 | #: C/index-in.docbook:862 | ||
n | 2667 | #, fuzzy | n | ||
2668 | msgid "" | 2704 | msgid "" | ||
2669 | "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</" | ||
2670 | "application>-4.0 you should probably ensure that your application builds " | 2706 | "application>-4.0 you should probably ensure that your application builds " | ||
2671 | "with the deprecated <application>gtkmm</application>-3.0 and " | 2707 | "with the deprecated <application>gtkmm</application>-3.0 and " | ||
2672 | "<application>glibmm-2.4</application> API disabled, by defining the macros " | 2708 | "<application>glibmm-2.4</application> API disabled, by defining the macros " | ||
2688 | "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</" | ||
2689 | "link> för mer detaljer." | 2725 | "link> för mer detaljer." | ||
2690 | 2726 | ||||
2691 | #. (itstool) path: chapter/para | 2727 | #. (itstool) path: chapter/para | ||
2692 | #: C/index-in.docbook:869 | 2728 | #: C/index-in.docbook:869 | ||
n | 2693 | #, fuzzy | n | ||
2694 | #| msgid "" | ||||
2695 | #| "See also <link xlink:href=\"https://developer.gnome.org/gtk4/unstable/gtk-" | ||||
2696 | #| "migrating-3-to-4.html\"> Migrating from GTK 3.x to GTK 4</link>." | ||||
2697 | msgid "" | 2729 | msgid "" | ||
2698 | "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\"> " | ||
2699 | "Migrating from GTK 3.x to GTK 4</link>." | 2731 | "Migrating from GTK 3.x to GTK 4</link>." | ||
2700 | msgstr "" | 2732 | msgstr "" | ||
n | 2701 | "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\"> " |
2702 | "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>." | ||
2703 | 2735 | ||||
2704 | #. (itstool) path: section/title | 2736 | #. (itstool) path: section/title | ||
2705 | #: C/index-in.docbook:873 | 2737 | #: C/index-in.docbook:873 | ||
n | 2706 | #, fuzzy | n | ||
2707 | #| msgid "Changes in <application>gtkmm</application> 3" | ||||
2708 | msgid "Deprecations in <application>gtkmm</application> 4.10" | 2738 | msgid "Deprecations in <application>gtkmm</application> 4.10" | ||
n | 2709 | msgstr "Ändringar i <application>gtkmm</application> 3" | n | 2739 | msgstr "Föråldringar i <application>gtkmm</application> 4.10" |
2710 | 2740 | ||||
2711 | #. (itstool) path: section/para | 2741 | #. (itstool) path: section/para | ||
2712 | #: C/index-in.docbook:874 | 2742 | #: C/index-in.docbook:874 | ||
2713 | msgid "" | 2743 | msgid "" | ||
2714 | "Many classes are deprecated since <application>gtkmm</application> 4.10. " | 2744 | "Many classes are deprecated since <application>gtkmm</application> 4.10. " | ||
2718 | "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 " | ||
2719 | "this tutorial use classes deprecated since <application>gtkmm</application> " | 2749 | "this tutorial use classes deprecated since <application>gtkmm</application> " | ||
2720 | "4.10. Some other programs use classes available since <application>gtkmm</" | 2750 | "4.10. Some other programs use classes available since <application>gtkmm</" | ||
2721 | "application> 4.10." | 2751 | "application> 4.10." | ||
2722 | 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." | ||||
2723 | 2761 | ||||
2724 | #. (itstool) path: section/para | 2762 | #. (itstool) path: section/para | ||
2725 | #: C/index-in.docbook:880 | 2763 | #: C/index-in.docbook:880 | ||
n | n | 2764 | #, fuzzy | ||
2726 | msgid "" | 2765 | msgid "" | ||
2727 | "Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, " | 2766 | "Deprecated classes: AppChooser, AppChooserButton, AppChooserDialog, " | ||
2728 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | 2767 | "AppChooserWidget, CellArea, CellAreaBox, CellAreaContext, CellLayout, " | ||
2729 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | 2768 | "CellRenderer, CellRendererAccel, CellRendererCombo, CellRendererPixbuf, " | ||
2730 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | 2769 | "CellRendererProgress, CellRendererSpin, CellRendererSpinner, " | ||
2738 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | 2777 | "FileChooserNative, FileChooserWidget, FontButton, FontChooser, " | ||
2739 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | 2778 | "FontChooserDialog, FontChooserWidget, MessageDialog, TreeModelColumn, " | ||
2740 | "TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, " | 2779 | "TreeModelColumnRecord, InfoBar, Assistant, AssistantPage, LockButton, " | ||
2741 | "Statusbar, VolumeButton." | 2780 | "Statusbar, VolumeButton." | ||
2742 | 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." | ||||
2743 | 2796 | ||||
2744 | #. (itstool) path: section/para | 2797 | #. (itstool) path: section/para | ||
2745 | #: C/index-in.docbook:898 | 2798 | #: C/index-in.docbook:898 | ||
n | n | 2799 | #, fuzzy | ||
2746 | msgid "" | 2800 | msgid "" | ||
2747 | "New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, " | 2801 | "New classes and enums: AlertDialog, ColorDialog, ColorDialogButton, " | ||
2748 | "ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, " | 2802 | "ColumnViewSorter, FileDialog, FontDialog, FontDialogButton, FileLauncher, " | ||
2749 | "UriLauncher, ATContext, enums DialogError, FontLevel, Collation." | 2803 | "UriLauncher, ATContext, enums DialogError, FontLevel, Collation." | ||
2750 | msgstr "" | 2804 | msgstr "" | ||
n | n | 2805 | "Nya klasser och enum-uppräkningar: AlertDialog, ColorDialog, " | ||
2806 | "ColorDialogButton, ColumnViewSorter, FileDialog, FontDialog, " | ||||
2807 | "FontDialogButton, enum: DialogError, FontLevel." | ||||
2751 | 2808 | ||||
2752 | #. (itstool) path: section/para | 2809 | #. (itstool) path: section/para | ||
2753 | #: C/index-in.docbook:903 | 2810 | #: C/index-in.docbook:903 | ||
2754 | msgid "" | 2811 | msgid "" | ||
2755 | "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 " | ||
2756 | "reference documentation." | 2813 | "reference documentation." | ||
2757 | msgstr "" | 2814 | msgstr "" | ||
n | n | 2815 | "I de flesta fall finns det ersättningar för de föråldrade klasserna. Se " | ||
2816 | "referensdokumentationen." | ||||
2758 | 2817 | ||||
2759 | #. (itstool) path: chapter/title | 2818 | #. (itstool) path: chapter/title | ||
2760 | #: C/index-in.docbook:911 | 2819 | #: C/index-in.docbook:911 | ||
2761 | msgid "Buttons" | 2820 | msgid "Buttons" | ||
2762 | msgstr "Knappar" | 2821 | msgstr "Knappar" | ||
2773 | msgid "Push buttons" | 2832 | msgid "Push buttons" | ||
2774 | msgstr "Tryckknappar" | 2833 | msgstr "Tryckknappar" | ||
2775 | 2834 | ||||
2776 | #. (itstool) path: listitem/para | 2835 | #. (itstool) path: listitem/para | ||
2777 | #: C/index-in.docbook:922 | 2836 | #: C/index-in.docbook:922 | ||
n | 2778 | #, fuzzy | n | ||
2779 | #| msgid "" | ||||
2780 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
2781 | #| "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||||
2782 | #| "Standard buttons, usually marked with a label or picture. Pushing one " | ||||
2783 | #| "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</" | ||||
2784 | #| "link> section." | ||||
2785 | msgid "" | 2837 | msgid "" | ||
2786 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2838 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2787 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | 2839 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||
2788 | "Standard buttons, usually marked with a label or picture. Pushing one " | 2840 | "Standard buttons, usually marked with a label or picture. Pushing one " | ||
2789 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | 2841 | "triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> " | ||
2790 | "section." | 2842 | "section." | ||
2791 | msgstr "" | 2843 | msgstr "" | ||
n | 2792 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2844 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2793 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | 2845 | "classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. " | ||
2794 | "Standardknappar, vanligen markerade med en etikett eller bild. Att trycka på " | 2846 | "Standardknappar, vanligen markerade med en etikett eller bild. Att trycka på " | ||
n | 2795 | "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-" |
2796 | "link>." | 2848 | "pushbuttons\">Button</link>." | ||
2797 | 2849 | ||||
2798 | #. (itstool) path: varlistentry/term | 2850 | #. (itstool) path: varlistentry/term | ||
2799 | #: C/index-in.docbook:929 | 2851 | #: C/index-in.docbook:929 | ||
2800 | msgid "Toggle buttons" | 2852 | msgid "Toggle buttons" | ||
2801 | msgstr "Växlingsknappar" | 2853 | msgstr "Växlingsknappar" | ||
2808 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | 2860 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | ||
2809 | "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 " | ||
2810 | "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 " | ||
2811 | "the <link linkend=\"sec-toggle-buttons\">ToggleButton</link> section." | 2863 | "the <link linkend=\"sec-toggle-buttons\">ToggleButton</link> section." | ||
2812 | msgstr "" | 2864 | msgstr "" | ||
n | 2813 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2865 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2814 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | 2866 | "classGtk_1_1ToggleButton.html\"><classname>Gtk::ToggleButton</classname></" | ||
2815 | "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 " | ||
2816 | "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 " | ||
2817 | "som en på/av-brytare. Se avsnittet <link linkend=\"sec-toggle-" | 2869 | "som en på/av-brytare. Se avsnittet <link linkend=\"sec-toggle-" | ||
2818 | "buttons\">ToggleButton</link>." | 2870 | "buttons\">ToggleButton</link>." | ||
2822 | msgid "Check buttons" | 2874 | msgid "Check buttons" | ||
2823 | msgstr "Kryssrutor" | 2875 | msgstr "Kryssrutor" | ||
2824 | 2876 | ||||
2825 | #. (itstool) path: listitem/para | 2877 | #. (itstool) path: listitem/para | ||
2826 | #: C/index-in.docbook:941 | 2878 | #: C/index-in.docbook:941 | ||
n | 2827 | #, fuzzy | n | ||
2828 | #| msgid "" | ||||
2829 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
2830 | #| "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||||
2831 | #| "link>. These act like ToggleButtons, but show their state in small " | ||||
2832 | #| "squares, with their label at the side. They should be used in most " | ||||
2833 | #| "situations which require an on/off setting. See the <link linkend=\"sec-" | ||||
2834 | #| "checkbuttons\">CheckButton</link> section." | ||||
2835 | msgid "" | 2879 | msgid "" | ||
2836 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2880 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2837 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | 2881 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||
2838 | "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, " | ||
2839 | "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 " | ||
2840 | "require an on/off setting. See the <link linkend=\"sec-" | 2884 | "require an on/off setting. See the <link linkend=\"sec-" | ||
2841 | "checkbuttons\">CheckButton</link> section." | 2885 | "checkbuttons\">CheckButton</link> section." | ||
2842 | msgstr "" | 2886 | msgstr "" | ||
n | 2843 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2887 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2844 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | 2888 | "classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></" | ||
2845 | "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å " | ||
2846 | "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 " | ||
2847 | "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-" | ||
2848 | "checkbuttons\">CheckButton</link>." | 2892 | "checkbuttons\">CheckButton</link>." | ||
2904 | "To define an accelerator key for keyboard navigation, place an underscore " | 2948 | "To define an accelerator key for keyboard navigation, place an underscore " | ||
2905 | "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 " | ||
2906 | "the optional <literal>mnemonic</literal> parameter. For instance:" | 2950 | "the optional <literal>mnemonic</literal> parameter. For instance:" | ||
2907 | msgstr "" | 2951 | msgstr "" | ||
2908 | "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 | 2909 | "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> " |
2910 | "för den valfria parametern <literal>mnemonic</literal>. Till exempel:" | 2954 | "för den valfria parametern <literal>mnemonic</literal>. Till exempel:" | ||
2911 | 2955 | ||||
2912 | #. (itstool) path: section/programlisting | 2956 | #. (itstool) path: section/programlisting | ||
2913 | #: C/index-in.docbook:984 | 2957 | #: C/index-in.docbook:984 | ||
2914 | #, fuzzy, no-wrap | 2958 | #, fuzzy, no-wrap | ||
2933 | "Komponenten <classname>Gtk::Button</classname> har signalen " | 2977 | "Komponenten <classname>Gtk::Button</classname> har signalen " | ||
2934 | "<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." | ||
2935 | 2979 | ||||
2936 | #. (itstool) path: section/para | 2980 | #. (itstool) path: section/para | ||
2937 | #: C/index-in.docbook:997 | 2981 | #: C/index-in.docbook:997 | ||
n | 2938 | #, fuzzy | n | ||
2939 | #| msgid "" | ||||
2940 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
2941 | #| "classGtk_1_1Button.html\">Reference</link>" | ||||
2942 | msgid "" | 2982 | msgid "" | ||
2943 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 2983 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
2944 | "classGtk_1_1Button.html\">Reference</link>" | 2984 | "classGtk_1_1Button.html\">Reference</link>" | ||
2945 | msgstr "" | 2985 | msgstr "" | ||
n | 2946 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 2986 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
2947 | "classGtk_1_1Button.html\">Referens</link>" | 2987 | "classGtk_1_1Button.html\">Referens</link>" | ||
2948 | 2988 | ||||
2949 | #. (itstool) path: section/title | 2989 | #. (itstool) path: section/title | ||
2950 | #: 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 | ||
2951 | #: 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 | ||
3009 | "<classname>ToggleButton</classname>s are like normal <classname>Button</" | 3049 | "<classname>ToggleButton</classname>s are like normal <classname>Button</" | ||
3010 | "classname>s, but when clicked they remain activated, or pressed, until " | 3050 | "classname>s, but when clicked they remain activated, or pressed, until " | ||
3011 | "clicked again." | 3051 | "clicked again." | ||
3012 | msgstr "" | 3052 | msgstr "" | ||
3013 | "En <classname>ToggleButton</classname> är som en vanlig <classname>Button</" | 3053 | "En <classname>ToggleButton</classname> är som en vanlig <classname>Button</" | ||
n | 3014 | "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, " |
3015 | "tills den klickas på igen." | 3055 | "tills den klickas på igen." | ||
3016 | 3056 | ||||
3017 | #. (itstool) path: section/para | 3057 | #. (itstool) path: section/para | ||
3018 | #: C/index-in.docbook:1024 | 3058 | #: C/index-in.docbook:1024 | ||
3019 | msgid "" | 3059 | msgid "" | ||
3043 | "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 " | ||
3044 | "ut." | 3084 | "ut." | ||
3045 | 3085 | ||||
3046 | #. (itstool) path: section/para | 3086 | #. (itstool) path: section/para | ||
3047 | #: C/index-in.docbook:1036 | 3087 | #: C/index-in.docbook:1036 | ||
n | 3048 | #, fuzzy | n | ||
3049 | #| msgid "" | ||||
3050 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3051 | #| "classGtk_1_1ToggleButton.html\">Reference</link>" | ||||
3052 | msgid "" | 3088 | msgid "" | ||
3053 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3089 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3054 | "classGtk_1_1ToggleButton.html\">Reference</link>" | 3090 | "classGtk_1_1ToggleButton.html\">Reference</link>" | ||
3055 | msgstr "" | 3091 | msgstr "" | ||
n | 3056 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3092 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3057 | "classGtk_1_1ToggleButton.html\">Referens</link>" | 3093 | "classGtk_1_1ToggleButton.html\">Referens</link>" | ||
3058 | 3094 | ||||
3059 | #. (itstool) path: section/title | 3095 | #. (itstool) path: section/title | ||
3060 | #. (itstool) path: figure/title | 3096 | #. (itstool) path: figure/title | ||
3061 | #: C/index-in.docbook:1041 C/index-in.docbook:1057 | 3097 | #: C/index-in.docbook:1041 C/index-in.docbook:1057 | ||
3078 | "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 " | ||
3079 | "samma medlemsmetoder som för <classname>Gtk::ToggleButton</classname>." | 3115 | "samma medlemsmetoder som för <classname>Gtk::ToggleButton</classname>." | ||
3080 | 3116 | ||||
3081 | #. (itstool) path: section/para | 3117 | #. (itstool) path: section/para | ||
3082 | #: C/index-in.docbook:1051 | 3118 | #: C/index-in.docbook:1051 | ||
n | 3083 | #, fuzzy | n | ||
3084 | #| msgid "" | ||||
3085 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3086 | #| "classGtk_1_1CheckButton.html\">Reference</link>" | ||||
3087 | msgid "" | 3119 | msgid "" | ||
3088 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3120 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3089 | "classGtk_1_1CheckButton.html\">Reference</link>" | 3121 | "classGtk_1_1CheckButton.html\">Reference</link>" | ||
3090 | msgstr "" | 3122 | msgstr "" | ||
n | 3091 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3123 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3092 | "classGtk_1_1CheckButton.html\">Referens</link>" | 3124 | "classGtk_1_1CheckButton.html\">Referens</link>" | ||
3093 | 3125 | ||||
3094 | #. (itstool) path: imageobject/imagedata | 3126 | #. (itstool) path: imageobject/imagedata | ||
3095 | #. 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 | ||
3096 | #. 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 | ||
3123 | msgid "" | 3155 | msgid "" | ||
3124 | "There is no separate class for radio buttons. Check buttons and toggle " | 3156 | "There is no separate class for radio buttons. Check buttons and toggle " | ||
3125 | "buttons act as radio buttons when they form a group. Only one button in a " | 3157 | "buttons act as radio buttons when they form a group. Only one button in a " | ||
3126 | "group can be selected at any one time." | 3158 | "group can be selected at any one time." | ||
3127 | msgstr "" | 3159 | msgstr "" | ||
n | 3128 | "Det finns ingen separat klass för radioknappar. Tryckknappar och " | n | 3160 | "Det finns ingen separat klass för radioknappar. Kryssrutor och " |
3129 | "växlingsknappar agerar som radioknappar då de bildar en grupp. Endast en " | 3161 | "växlingsknappar agerar som radioknappar då de bildar en grupp. Endast en " | ||
3130 | "knapp åt gången kan vara vald i en grupp." | 3162 | "knapp åt gången kan vara vald i en grupp." | ||
3131 | 3163 | ||||
3132 | #. (itstool) path: section/title | 3164 | #. (itstool) path: section/title | ||
3133 | #: C/index-in.docbook:1078 | 3165 | #: C/index-in.docbook:1078 | ||
3168 | "rb2->set_group(*rb1);\n" | 3200 | "rb2->set_group(*rb1);\n" | ||
3169 | "rb3->set_group(*rb1);\n" | 3201 | "rb3->set_group(*rb1);\n" | ||
3170 | 3202 | ||||
3171 | #. (itstool) path: section/para | 3203 | #. (itstool) path: section/para | ||
3172 | #: C/index-in.docbook:1091 | 3204 | #: C/index-in.docbook:1091 | ||
n | 3173 | #, fuzzy | n | ||
3174 | msgid "" | 3205 | msgid "" | ||
3175 | "We told <application>gtkmm</application> to put all three " | 3206 | "We told <application>gtkmm</application> to put all three " | ||
3176 | "<classname>CheckButton</classname>s in the same group by using " | 3207 | "<classname>CheckButton</classname>s in the same group by using " | ||
3177 | "<methodname>set_group()</methodname> to tell the other " | 3208 | "<methodname>set_group()</methodname> to tell the other " | ||
3178 | "<classname>CheckButton</classname>s to share group with the first " | 3209 | "<classname>CheckButton</classname>s to share group with the first " | ||
3180 | msgstr "" | 3211 | msgstr "" | ||
3181 | "Vi sa till <application>gtkmm</application> att stoppa alla tre " | 3212 | "Vi sa till <application>gtkmm</application> att stoppa alla tre " | ||
3182 | "<classname>CheckButton</classname>-knapparna i samma grupp genom att använda " | 3213 | "<classname>CheckButton</classname>-knapparna i samma grupp genom att använda " | ||
3183 | "<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å " | ||
3184 | "<classname>CheckButton</classname>-knapparna att dela grupp med den första " | 3215 | "<classname>CheckButton</classname>-knapparna att dela grupp med den första " | ||
n | 3185 | "<classname>CheckButton</classname>." | n | 3216 | "<classname>CheckButton</classname>-knappen." |
3186 | 3217 | ||||
3187 | #. (itstool) path: section/title | 3218 | #. (itstool) path: section/title | ||
3188 | #: 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 | ||
3189 | msgid "Methods" | 3220 | msgid "Methods" | ||
3190 | msgstr "Metoder" | 3221 | msgstr "Metoder" | ||
3202 | "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 " | ||
3203 | "<methodname>set_active()</methodname>." | 3234 | "<methodname>set_active()</methodname>." | ||
3204 | 3235 | ||||
3205 | #. (itstool) path: section/para | 3236 | #. (itstool) path: section/para | ||
3206 | #: C/index-in.docbook:1108 | 3237 | #: C/index-in.docbook:1108 | ||
n | 3207 | #, fuzzy | n | ||
3208 | #| msgid "" | ||||
3209 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3210 | #| "classGtk_1_1RadioButton.html\">Reference</link>" | ||||
3211 | msgid "" | 3238 | msgid "" | ||
3212 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3239 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3213 | "classGtk_1_1RadioButton.html\">Reference</link>" | 3240 | "classGtk_1_1RadioButton.html\">Reference</link>" | ||
3214 | msgstr "" | 3241 | msgstr "" | ||
n | 3215 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3242 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3216 | "classGtk_1_1RadioButton.html\">Referens</link>" | 3243 | "classGtk_1_1RadioButton.html\">Referens</link>" | ||
3217 | 3244 | ||||
3218 | #. (itstool) path: section/para | 3245 | #. (itstool) path: section/para | ||
3219 | #: C/index-in.docbook:1114 | 3246 | #: C/index-in.docbook:1114 | ||
n | 3220 | #, fuzzy | n | ||
3221 | msgid "" | 3247 | msgid "" | ||
3222 | "The following example demonstrates the use of grouped " | 3248 | "The following example demonstrates the use of grouped " | ||
3223 | "<classname>CheckButton</classname>s:" | 3249 | "<classname>CheckButton</classname>s:" | ||
3224 | msgstr "" | 3250 | msgstr "" | ||
3225 | "Följande exempel demonstrerar användningen av grupperade " | 3251 | "Följande exempel demonstrerar användningen av grupperade " | ||
n | 3226 | "<classname>CheckButton</classname>-komponenter:" | n | 3252 | "<classname>CheckButton</classname>-knappar:" |
3227 | 3253 | ||||
3228 | #. (itstool) path: figure/title | 3254 | #. (itstool) path: figure/title | ||
3229 | #: C/index-in.docbook:1120 | 3255 | #: C/index-in.docbook:1120 | ||
3230 | msgid "RadioButton" | 3256 | msgid "RadioButton" | ||
3231 | msgstr "RadioButton" | 3257 | msgstr "RadioButton" | ||
3312 | "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 " | ||
3313 | "linkend=\"chapter-adjustment\">Justeringar</link> för mer detaljer." | 3339 | "linkend=\"chapter-adjustment\">Justeringar</link> för mer detaljer." | ||
3314 | 3340 | ||||
3315 | #. (itstool) path: chapter/para | 3341 | #. (itstool) path: chapter/para | ||
3316 | #: C/index-in.docbook:1161 | 3342 | #: C/index-in.docbook:1161 | ||
n | 3317 | #, fuzzy | n | ||
3318 | #| msgid "" | ||||
3319 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3320 | #| "classGtk_1_1Range.html\">Reference</link>" | ||||
3321 | msgid "" | 3343 | msgid "" | ||
3322 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3344 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3323 | "classGtk_1_1Range.html\">Reference</link>" | 3345 | "classGtk_1_1Range.html\">Reference</link>" | ||
3324 | msgstr "" | 3346 | msgstr "" | ||
n | 3325 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3347 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3326 | "classGtk_1_1Range.html\">Referens</link>" | 3348 | "classGtk_1_1Range.html\">Referens</link>" | ||
3327 | 3349 | ||||
3328 | #. (itstool) path: section/title | 3350 | #. (itstool) path: section/title | ||
3329 | #: C/index-in.docbook:1164 | 3351 | #: C/index-in.docbook:1164 | ||
n | 3330 | #, fuzzy | n | ||
3331 | msgid "Scrollbar Widgets" | 3352 | msgid "Scrollbar Widgets" | ||
3332 | msgstr "Rullningslistkomponenter" | 3353 | msgstr "Rullningslistkomponenter" | ||
3333 | 3354 | ||||
3334 | #. (itstool) path: section/para | 3355 | #. (itstool) path: section/para | ||
3335 | #: C/index-in.docbook:1166 | 3356 | #: C/index-in.docbook:1166 | ||
3354 | "Orienteringen för en <classname>Gtk::Scrollbar</classname> kan vara antingen " | 3375 | "Orienteringen för en <classname>Gtk::Scrollbar</classname> kan vara antingen " | ||
3355 | "horisontell eller vertikal." | 3376 | "horisontell eller vertikal." | ||
3356 | 3377 | ||||
3357 | #. (itstool) path: section/para | 3378 | #. (itstool) path: section/para | ||
3358 | #: C/index-in.docbook:1178 | 3379 | #: C/index-in.docbook:1178 | ||
n | 3359 | #, fuzzy | n | ||
3360 | #| msgid "" | ||||
3361 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3362 | #| "classGtk_1_1Scrollbar.html\">Reference</link>" | ||||
3363 | msgid "" | 3380 | msgid "" | ||
3364 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3381 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3365 | "classGtk_1_1Scrollbar.html\">Reference</link>" | 3382 | "classGtk_1_1Scrollbar.html\">Reference</link>" | ||
3366 | msgstr "" | 3383 | msgstr "" | ||
n | 3367 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3384 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3368 | "classGtk_1_1Scrollbar.html\">Referens</link>" | 3385 | "classGtk_1_1Scrollbar.html\">Referens</link>" | ||
3369 | 3386 | ||||
3370 | #. (itstool) path: section/title | 3387 | #. (itstool) path: section/title | ||
3371 | #: C/index-in.docbook:1183 | 3388 | #: C/index-in.docbook:1183 | ||
3372 | #, fuzzy | 3389 | #, fuzzy | ||
3456 | "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 " | ||
3457 | "av metoden <methodname>set_value_pos()</methodname>." | 3474 | "av metoden <methodname>set_value_pos()</methodname>." | ||
3458 | 3475 | ||||
3459 | #. (itstool) path: section/para | 3476 | #. (itstool) path: section/para | ||
3460 | #: C/index-in.docbook:1223 | 3477 | #: C/index-in.docbook:1223 | ||
n | 3461 | #, fuzzy | n | ||
3462 | #| msgid "" | ||||
3463 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3464 | #| "classGtk_1_1Scale.html\">Reference</link>" | ||||
3465 | msgid "" | 3478 | msgid "" | ||
3466 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3479 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3467 | "classGtk_1_1Scale.html\">Reference</link>" | 3480 | "classGtk_1_1Scale.html\">Reference</link>" | ||
3468 | msgstr "" | 3481 | msgstr "" | ||
n | 3469 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3482 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3470 | "classGtk_1_1Scale.html\">Referens</link>" | 3483 | "classGtk_1_1Scale.html\">Referens</link>" | ||
3471 | 3484 | ||||
3472 | #. (itstool) path: section/para | 3485 | #. (itstool) path: section/para | ||
3473 | #: C/index-in.docbook:1231 | 3486 | #: C/index-in.docbook:1231 | ||
3474 | #, fuzzy | 3487 | #, fuzzy | ||
3531 | msgstr "" | 3544 | msgstr "" | ||
3532 | "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, " | ||
3533 | "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>-" | ||
3534 | "komponent. Du kan ange texten i konstruktorn, eller senare med metoderna " | 3547 | "komponent. Du kan ange texten i konstruktorn, eller senare med metoderna " | ||
3535 | "<methodname>set_text()</methodname> eller <methodname>set_markup()</" | 3548 | "<methodname>set_text()</methodname> eller <methodname>set_markup()</" | ||
n | 3536 | "methodname> methods." | n | 3549 | "methodname>." |
3537 | 3550 | ||||
3538 | #. (itstool) path: section/para | 3551 | #. (itstool) path: section/para | ||
3539 | #: C/index-in.docbook:1265 | 3552 | #: C/index-in.docbook:1265 | ||
3540 | msgid "" | 3553 | msgid "" | ||
3541 | "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-" | ||
3566 | "string to <methodname>set_markup()</methodname>, using the <link xlink:" | 3579 | "string to <methodname>set_markup()</methodname>, using the <link xlink:" | ||
3567 | "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</" | ||
3568 | "link>. For instance, <code> <b>bold text</b> and <s>" | 3581 | "link>. For instance, <code> <b>bold text</b> and <s>" | ||
3569 | "strikethrough text</s> </code> ." | 3582 | "strikethrough text</s> </code> ." | ||
3570 | msgstr "" | 3583 | msgstr "" | ||
n | 3571 | "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 " |
3572 | "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 " | ||
3573 | "sträng till <methodname>set_markup()</methodname> med <link xlink:" | 3586 | "tillhandahålla en sträng till <methodname>set_markup()</methodname> med " | ||
3574 | "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 " | ||
3575 | "link>. Exempelvis, <code> <b>text i fetstil</b> och <s>" | 3588 | "Markup-syntax</link>. Exempelvis, <code> <b>text i fetstil</b> " | ||
3576 | "genomstruken text</s> </code> ." | 3589 | "och <s>genomstruken text</s> </code> ." | ||
3577 | 3590 | ||||
3578 | #. (itstool) path: section/para | 3591 | #. (itstool) path: section/para | ||
3579 | #: C/index-in.docbook:1284 | 3592 | #: C/index-in.docbook:1284 | ||
n | 3580 | #, fuzzy | n | ||
3581 | #| msgid "" | ||||
3582 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3583 | #| "classGtk_1_1Label.html\">Reference</link>" | ||||
3584 | msgid "" | 3593 | msgid "" | ||
3585 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3594 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3586 | "classGtk_1_1Label.html\">Reference</link>" | 3595 | "classGtk_1_1Label.html\">Reference</link>" | ||
3587 | msgstr "" | 3596 | msgstr "" | ||
n | 3588 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3597 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3589 | "classGtk_1_1Label.html\">Referens</link>" | 3598 | "classGtk_1_1Label.html\">Referens</link>" | ||
3590 | 3599 | ||||
3591 | #. (itstool) path: section/para | 3600 | #. (itstool) path: section/para | ||
3592 | #: C/index-in.docbook:1288 | 3601 | #: C/index-in.docbook:1288 | ||
3593 | msgid "" | 3602 | msgid "" | ||
3600 | msgstr "" | 3609 | msgstr "" | ||
3601 | "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 " | ||
3602 | "använder komponenten Frame för att bättre demonstrera etikettstilarna. " | 3611 | "använder komponenten Frame för att bättre demonstrera etikettstilarna. " | ||
3603 | "(Komponenten Frame förklaras i avsnittet <link linkend=\"sec-frame\">Frame</" | 3612 | "(Komponenten Frame förklaras i avsnittet <link linkend=\"sec-frame\">Frame</" | ||
3604 | "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 | 3605 | "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>-" |
3606 | "tangenten." | 3615 | "tangenten." | ||
3607 | 3616 | ||||
3608 | #. (itstool) path: imageobject/imagedata | 3617 | #. (itstool) path: imageobject/imagedata | ||
3609 | #. 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 | ||
3610 | #. 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 | ||
3656 | "Occasionally you might want to make an <classname>Entry</classname> widget " | 3665 | "Occasionally you might want to make an <classname>Entry</classname> widget " | ||
3657 | "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 " | ||
3658 | "<methodname>set_editable()</methodname> method." | 3667 | "<methodname>set_editable()</methodname> method." | ||
3659 | msgstr "" | 3668 | msgstr "" | ||
3660 | "Ibland kan du vilja göra en <classname>Entry</classname>-komponent " | 3669 | "Ibland kan du vilja göra en <classname>Entry</classname>-komponent " | ||
n | 3661 | "skrivskyddad. Detta kan göras genom att sätta metoden " | n | 3670 | "skrivskyddad. Detta kan göras genom att skicka <literal>false</literal> till " |
3662 | "<methodname>set_editable()</methodname> till <literal>false</literal>." | 3671 | "metoden <methodname>set_editable()</methodname>." | ||
3663 | 3672 | ||||
3664 | #. (itstool) path: section/para | 3673 | #. (itstool) path: section/para | ||
3665 | #: C/index-in.docbook:1326 | 3674 | #: C/index-in.docbook:1326 | ||
3666 | msgid "" | 3675 | msgid "" | ||
3667 | "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 " | ||
3726 | "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 " | ||
3727 | "ställa in en komponent som standardkomponenten." | 3736 | "ställa in en komponent som standardkomponenten." | ||
3728 | 3737 | ||||
3729 | #. (itstool) path: section/para | 3738 | #. (itstool) path: section/para | ||
3730 | #: C/index-in.docbook:1355 | 3739 | #: C/index-in.docbook:1355 | ||
n | 3731 | #, fuzzy | n | ||
3732 | #| msgid "" | ||||
3733 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3734 | #| "classGtk_1_1Entry.html\">Reference</link>" | ||||
3735 | msgid "" | 3740 | msgid "" | ||
3736 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3741 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3737 | "classGtk_1_1Entry.html\">Reference</link>" | 3742 | "classGtk_1_1Entry.html\">Reference</link>" | ||
3738 | msgstr "" | 3743 | msgstr "" | ||
n | 3739 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3744 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3740 | "classGtk_1_1Entry.html\">Referens</link>" | 3745 | "classGtk_1_1Entry.html\">Referens</link>" | ||
3741 | 3746 | ||||
3742 | #. (itstool) path: section/title | 3747 | #. (itstool) path: section/title | ||
3743 | #: C/index-in.docbook:1358 | 3748 | #: C/index-in.docbook:1358 | ||
3744 | #, fuzzy | 3749 | #, fuzzy | ||
3751 | "This example uses <classname>Gtk::Entry</classname>. It also has two " | 3756 | "This example uses <classname>Gtk::Entry</classname>. It also has two " | ||
3752 | "<classname>CheckButton</classname>s, with which you can toggle the editable " | 3757 | "<classname>CheckButton</classname>s, with which you can toggle the editable " | ||
3753 | "and visible flags." | 3758 | "and visible flags." | ||
3754 | msgstr "" | 3759 | msgstr "" | ||
3755 | "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 | 3756 | "<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 " |
3757 | "redigering och synlighet." | 3762 | "för redigering och synlighet." | ||
3758 | 3763 | ||||
3759 | #. (itstool) path: imageobject/imagedata | 3764 | #. (itstool) path: imageobject/imagedata | ||
3760 | #. 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 | ||
3761 | #. 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 | ||
3762 | #. 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 | ||
3784 | msgid "Entry Completion" | 3789 | msgid "Entry Completion" | ||
3785 | msgstr "Inmatningskomplettering" | 3790 | msgstr "Inmatningskomplettering" | ||
3786 | 3791 | ||||
3787 | #. (itstool) path: note/para | 3792 | #. (itstool) path: note/para | ||
3788 | #: C/index-in.docbook:1381 | 3793 | #: C/index-in.docbook:1381 | ||
n | 3789 | #, fuzzy | n | ||
3790 | #| msgid "" | ||||
3791 | #| "Some new classes were added in <application>gtkmm</application> 4 and " | ||||
3792 | #| "<application>glibmm</application> 2.68:" | ||||
3793 | msgid "" | 3794 | msgid "" | ||
3794 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | 3795 | "<classname>Gtk::EntryCompletion</classname> is deprecated since " | ||
3795 | "<application>gtkmm</application> 4.10. There is no replacement in " | 3796 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
3796 | "<application>gtkmm</application>." | 3797 | "<application>gtkmm</application>." | ||
3797 | msgstr "" | 3798 | msgstr "" | ||
n | 3798 | "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 " | ||||
3799 | "<application>glibmm</application> 2.68:" | 3801 | "<application>gtkmm</application>." | ||
3800 | 3802 | ||||
3801 | #. (itstool) path: section/para | 3803 | #. (itstool) path: section/para | ||
3802 | #: C/index-in.docbook:1385 | 3804 | #: C/index-in.docbook:1385 | ||
3803 | msgid "" | 3805 | msgid "" | ||
3804 | "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-" | ||
3845 | "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 " | ||
3846 | "<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 " | ||
3847 | "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." | ||
3848 | msgstr "" | 3850 | msgstr "" | ||
3849 | "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 | 3850 | "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 " |
3851 | "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 " | ||
3852 | "du vill matcha strängen på en annan del än starten." | 3854 | "du vill matcha strängen på en annan del än starten." | ||
3853 | 3855 | ||||
3854 | #. (itstool) path: section/para | 3856 | #. (itstool) path: section/para | ||
3855 | #: C/index-in.docbook:1407 | 3857 | #: C/index-in.docbook:1407 | ||
n | 3856 | #, fuzzy | n | ||
3857 | #| msgid "" | ||||
3858 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
3859 | #| "classGtk_1_1EntryCompletion.html\">Reference</link>" | ||||
3860 | msgid "" | 3858 | msgid "" | ||
3861 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 3859 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
3862 | "classGtk_1_1EntryCompletion.html\">Reference</link>" | 3860 | "classGtk_1_1EntryCompletion.html\">Reference</link>" | ||
3863 | msgstr "" | 3861 | msgstr "" | ||
n | 3864 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 3862 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
3865 | "classGtk_1_1EntryCompletion.html\">Referens</link>" | 3863 | "classGtk_1_1EntryCompletion.html\">Referens</link>" | ||
3866 | 3864 | ||||
3867 | #. (itstool) path: section/title | 3865 | #. (itstool) path: section/title | ||
3868 | #: C/index-in.docbook:1410 | 3866 | #: C/index-in.docbook:1410 | ||
3869 | #, fuzzy | 3867 | #, fuzzy | ||
3870 | msgid "Entry Completion Example" | 3868 | msgid "Entry Completion Example" | ||
3871 | msgstr "Exempel på inmatningskomplettering" | 3869 | msgstr "Exempel på inmatningskomplettering" | ||
3872 | 3870 | ||||
3873 | #. (itstool) path: section/para | 3871 | #. (itstool) path: section/para | ||
3874 | #: C/index-in.docbook:1411 | 3872 | #: C/index-in.docbook:1411 | ||
n | 3875 | #, fuzzy | n | ||
3876 | msgid "" | 3873 | msgid "" | ||
3877 | "This example creates a <classname>Gtk::EntryCompletion</classname> and " | 3874 | "This example creates a <classname>Gtk::EntryCompletion</classname> and " | ||
3878 | "associates it with a <classname>Gtk::Entry</classname> widget. The " | 3875 | "associates it with a <classname>Gtk::Entry</classname> widget. The " | ||
3879 | "completion uses a <classname>Gtk::TreeModel</classname> of possible entries, " | 3876 | "completion uses a <classname>Gtk::TreeModel</classname> of possible entries, " | ||
3880 | "and some additional actions." | 3877 | "and some additional actions." | ||
3914 | msgid "Entry Icons" | 3911 | msgid "Entry Icons" | ||
3915 | msgstr "Inmatningsikoner" | 3912 | msgstr "Inmatningsikoner" | ||
3916 | 3913 | ||||
3917 | #. (itstool) path: section/para | 3914 | #. (itstool) path: section/para | ||
3918 | #: C/index-in.docbook:1433 | 3915 | #: C/index-in.docbook:1433 | ||
n | 3919 | #, fuzzy | n | ||
3920 | #| msgid "" | ||||
3921 | #| "An <classname>Entry</classname> widget can show an icon at the start or " | ||||
3922 | #| "end of the text area. The icon can be specifed by methods such as " | ||||
3923 | #| "<methodname>set_icon_from_paintable()</methodname> or " | ||||
3924 | #| "<methodname>set_icon_from_icon_name()</methodname>. An application can " | ||||
3925 | #| "respond to the user pressing the icon by handling the " | ||||
3926 | #| "<methodname>signal_icon_press</methodname> signal." | ||||
3927 | msgid "" | 3916 | msgid "" | ||
3928 | "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 " | ||
3929 | "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 " | ||
3930 | "<methodname>set_icon_from_paintable()</methodname> or " | 3919 | "<methodname>set_icon_from_paintable()</methodname> or " | ||
3931 | "<methodname>set_icon_from_icon_name()</methodname>. An application can " | 3920 | "<methodname>set_icon_from_icon_name()</methodname>. An application can " | ||
3945 | msgid "Entry Icon Example" | 3934 | msgid "Entry Icon Example" | ||
3946 | msgstr "Exempel på inmatningsikon" | 3935 | msgstr "Exempel på inmatningsikon" | ||
3947 | 3936 | ||||
3948 | #. (itstool) path: section/para | 3937 | #. (itstool) path: section/para | ||
3949 | #: C/index-in.docbook:1442 | 3938 | #: C/index-in.docbook:1442 | ||
n | 3950 | #, fuzzy | n | ||
3951 | msgid "" | 3939 | msgid "" | ||
3952 | "This example shows a <classname>Gtk::Entry</classname> widget with a named " | 3940 | "This example shows a <classname>Gtk::Entry</classname> widget with a named " | ||
3953 | "search icon, and prints text to the terminal when the icon is pressed." | 3941 | "search icon, and prints text to the terminal when the icon is pressed." | ||
3954 | msgstr "" | 3942 | msgstr "" | ||
3955 | "Detta exempel visar en <classname>Gtk::Entry</classname>-komponent med en " | 3943 | "Detta exempel visar en <classname>Gtk::Entry</classname>-komponent med en " | ||
4071 | "<classname>Entry</classname>-komponenten kan också användas för att direkt " | 4059 | "<classname>Entry</classname>-komponenten kan också användas för att direkt " | ||
4072 | "mata in ett värde." | 4060 | "mata in ett värde." | ||
4073 | 4061 | ||||
4074 | #. (itstool) path: section/para | 4062 | #. (itstool) path: section/para | ||
4075 | #: C/index-in.docbook:1499 | 4063 | #: C/index-in.docbook:1499 | ||
n | 4076 | #, fuzzy | n | ||
4077 | msgid "" | 4064 | msgid "" | ||
4078 | "The value can have an adjustable number of decimal places, and the step size " | 4065 | "The value can have an adjustable number of decimal places, and the step size " | ||
4079 | "is configurable. <classname>SpinButton</classname>s have an 'auto-repeat' " | 4066 | "is configurable. <classname>SpinButton</classname>s have an 'auto-repeat' " | ||
4080 | "feature as well: holding down the increment or decrement button can " | 4067 | "feature as well: holding down the increment or decrement button can " | ||
4081 | "optionally cause the value to change more quickly the longer the button is " | 4068 | "optionally cause the value to change more quickly the longer the button is " | ||
4131 | "<classname>SpinButton</classname>s use an <link linkend=\"chapter-" | 4118 | "<classname>SpinButton</classname>s use an <link linkend=\"chapter-" | ||
4132 | "adjustment\">Adjustment</link> object to hold information about the range of " | 4119 | "adjustment\">Adjustment</link> object to hold information about the range of " | ||
4133 | "values. These Adjustment attributes are used by the Spin Button like so: <_:" | 4120 | "values. These Adjustment attributes are used by the Spin Button like so: <_:" | ||
4134 | "itemizedlist-1/>" | 4121 | "itemizedlist-1/>" | ||
4135 | msgstr "" | 4122 | msgstr "" | ||
n | 4136 | "<classname>SpinButton</classname> använder ett <link linkend=\"chapter-" | n | 4123 | "<classname>SpinButton</classname>-rutor använder ett <link linkend=\"chapter-" |
4137 | "adjustment\">Adjustment</link>-objekt för att hålla information om " | 4124 | "adjustment\">Adjustment</link>-objekt för att hålla information om " | ||
4138 | "värdeintervallet. Dessa Adjustment-attribut används så här av " | 4125 | "värdeintervallet. Dessa Adjustment-attribut används så här av " | ||
4139 | "stegningsrutan: <_:itemizedlist-1/>" | 4126 | "stegningsrutan: <_:itemizedlist-1/>" | ||
4140 | 4127 | ||||
4141 | #. (itstool) path: section/para | 4128 | #. (itstool) path: section/para | ||
4193 | "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 " | ||
4194 | "eller ny position." | 4181 | "eller ny position." | ||
4195 | 4182 | ||||
4196 | #. (itstool) path: section/para | 4183 | #. (itstool) path: section/para | ||
4197 | #: C/index-in.docbook:1585 | 4184 | #: C/index-in.docbook:1585 | ||
n | 4198 | #, fuzzy | n | ||
4199 | msgid "" | 4185 | msgid "" | ||
4200 | "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, " | ||
4201 | "pass <literal>true</literal> to the <methodname>set_numeric()</methodname> " | 4187 | "pass <literal>true</literal> to the <methodname>set_numeric()</methodname> " | ||
4202 | "method." | 4188 | "method." | ||
4203 | msgstr "" | 4189 | msgstr "" | ||
4204 | "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 | 4205 | "inmatningsfältet sätter du metoden <methodname>set_numeric()</methodname> " | n | 4191 | "inmatningsfältet skickar du <literal>true</literal> till metoden " |
4206 | "till <literal>true</literal>." | 4192 | "<methodname>set_numeric()</methodname>." | ||
4207 | 4193 | ||||
4208 | #. (itstool) path: section/para | 4194 | #. (itstool) path: section/para | ||
4209 | #: C/index-in.docbook:1590 | 4195 | #: C/index-in.docbook:1590 | ||
4210 | #, fuzzy | 4196 | #, fuzzy | ||
4211 | msgid "" | 4197 | msgid "" | ||
4226 | "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>, " | ||
4227 | "använd <methodname>set_snap_to_ticks()</methodname>." | 4213 | "använd <methodname>set_snap_to_ticks()</methodname>." | ||
4228 | 4214 | ||||
4229 | #. (itstool) path: section/para | 4215 | #. (itstool) path: section/para | ||
4230 | #: C/index-in.docbook:1600 | 4216 | #: C/index-in.docbook:1600 | ||
n | 4231 | #, fuzzy | n | ||
4232 | #| msgid "" | ||||
4233 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4234 | #| "classGtk_1_1SpinButton.html\">Reference</link>" | ||||
4235 | msgid "" | 4217 | msgid "" | ||
4236 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4218 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4237 | "classGtk_1_1SpinButton.html\">Reference</link>" | 4219 | "classGtk_1_1SpinButton.html\">Reference</link>" | ||
4238 | msgstr "" | 4220 | msgstr "" | ||
n | 4239 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4221 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4240 | "classGtk_1_1SpinButton.html\">Referens</link>" | 4222 | "classGtk_1_1SpinButton.html\">Referens</link>" | ||
4241 | 4223 | ||||
4242 | #. (itstool) path: section/para | 4224 | #. (itstool) path: section/para | ||
4243 | #: C/index-in.docbook:1607 | 4225 | #: C/index-in.docbook:1607 | ||
4244 | 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:" | ||
4302 | "A <classname>ProgressBar</classname> is horizontal and left-to-right by " | 4284 | "A <classname>ProgressBar</classname> is horizontal and left-to-right by " | ||
4303 | "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 " | ||
4304 | "<methodname>set_orientation()</methodname> method." | 4286 | "<methodname>set_orientation()</methodname> method." | ||
4305 | msgstr "" | 4287 | msgstr "" | ||
4306 | "En <classname>ProgressBar</classname> är som standard horisontell och " | 4288 | "En <classname>ProgressBar</classname> är som standard horisontell och " | ||
n | 4307 | "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 " |
4308 | "genom att använda metoden <methodname>set_orientation()</methodname>." | 4290 | "genom att använda metoden <methodname>set_orientation()</methodname>." | ||
4309 | 4291 | ||||
4310 | #. (itstool) path: section/para | 4292 | #. (itstool) path: section/para | ||
4311 | #: C/index-in.docbook:1644 | 4293 | #: C/index-in.docbook:1644 | ||
n | 4312 | #, fuzzy | n | ||
4313 | #| msgid "" | ||||
4314 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4315 | #| "classGtk_1_1ProgressBar.html\">Reference</link>" | ||||
4316 | msgid "" | 4294 | msgid "" | ||
4317 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4295 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4318 | "classGtk_1_1ProgressBar.html\">Reference</link>" | 4296 | "classGtk_1_1ProgressBar.html\">Reference</link>" | ||
4319 | msgstr "" | 4297 | msgstr "" | ||
n | 4320 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4298 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4321 | "classGtk_1_1ProgressBar.html\">Referens</link>" | 4299 | "classGtk_1_1ProgressBar.html\">Referens</link>" | ||
4322 | 4300 | ||||
4323 | #. (itstool) path: section/title | 4301 | #. (itstool) path: section/title | ||
4324 | #: C/index-in.docbook:1647 | 4302 | #: C/index-in.docbook:1647 | ||
4325 | msgid "Activity Mode" | 4303 | msgid "Activity Mode" | ||
4403 | "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 " | ||
4404 | "similar to the <link linkend=\"chapter-dialogs\">Gtk::Dialog</link> API." | 4382 | "similar to the <link linkend=\"chapter-dialogs\">Gtk::Dialog</link> API." | ||
4405 | msgstr "" | 4383 | msgstr "" | ||
4406 | "En <classname>InfoBar</classname> kan visa små informationsobjekt eller " | 4384 | "En <classname>InfoBar</classname> kan visa små informationsobjekt eller " | ||
4407 | "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 | 4408 | "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 " |
4409 | "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-" | ||
4410 | "dialogs\">Gtk::Dialog</link>." | 4388 | "dialogs\">Gtk::Dialog</link>." | ||
4411 | 4389 | ||||
4412 | #. (itstool) path: section/para | 4390 | #. (itstool) path: section/para | ||
4413 | #: C/index-in.docbook:1692 | 4391 | #: C/index-in.docbook:1692 | ||
n | 4414 | #, fuzzy | n | ||
4415 | #| msgid "" | ||||
4416 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4417 | #| "classGtk_1_1InfoBar.html\">Reference</link>" | ||||
4418 | msgid "" | 4392 | msgid "" | ||
4419 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4393 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4420 | "classGtk_1_1InfoBar.html\">Reference</link>" | 4394 | "classGtk_1_1InfoBar.html\">Reference</link>" | ||
4421 | msgstr "" | 4395 | msgstr "" | ||
n | 4422 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4396 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4423 | "classGtk_1_1InfoBar.html\">Referens</link>" | 4397 | "classGtk_1_1InfoBar.html\">Referens</link>" | ||
4424 | 4398 | ||||
4425 | #. (itstool) path: section/para | 4399 | #. (itstool) path: section/para | ||
4426 | #: C/index-in.docbook:1697 | 4400 | #: C/index-in.docbook:1697 | ||
4427 | msgid "" | 4401 | msgid "" | ||
4428 | "The <classname>InfoBar</classname> widget is deprecated since " | 4402 | "The <classname>InfoBar</classname> widget is deprecated since " | ||
4429 | "<application>gtkmm</application> 4.10. The example shows an info bar " | 4403 | "<application>gtkmm</application> 4.10. The example shows an info bar " | ||
4430 | "consisting of a <classname>Box</classname> with a <classname>Label</" | 4404 | "consisting of a <classname>Box</classname> with a <classname>Label</" | ||
4431 | "classname> and a <classname>Button</classname>." | 4405 | "classname> and a <classname>Button</classname>." | ||
4432 | 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>." | ||||
4433 | 4411 | ||||
4434 | #. (itstool) path: imageobject/imagedata | 4412 | #. (itstool) path: imageobject/imagedata | ||
4435 | #. 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 | ||
4436 | #. 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 | ||
4437 | #. 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 | ||
4458 | msgid "Tooltips" | 4436 | msgid "Tooltips" | ||
4459 | msgstr "Inforutor" | 4437 | msgstr "Inforutor" | ||
4460 | 4438 | ||||
4461 | #. (itstool) path: section/para | 4439 | #. (itstool) path: section/para | ||
4462 | #: C/index-in.docbook:1717 | 4440 | #: C/index-in.docbook:1717 | ||
n | 4463 | #, fuzzy | n | ||
4464 | msgid "" | 4441 | msgid "" | ||
4465 | "Tooltips are the little information windows that pop up when you leave your " | 4442 | "Tooltips are the little information windows that pop up when you leave your " | ||
4466 | "pointer over a widget for a few seconds. Use <methodname>set_tooltip_text()</" | 4443 | "pointer over a widget for a few seconds. Use <methodname>set_tooltip_text()</" | ||
4467 | "methodname> to set a text string as a tooltip on any <classname>Widget</" | 4444 | "methodname> to set a text string as a tooltip on any <classname>Widget</" | ||
4468 | "classname>. <classname>Gtk::Tooltip</classname> is used for more advanced " | 4445 | "classname>. <classname>Gtk::Tooltip</classname> is used for more advanced " | ||
4474 | "<classname>Widget</classname>. <classname>Gtk::Tooltip</classname> används " | 4451 | "<classname>Widget</classname>. <classname>Gtk::Tooltip</classname> används " | ||
4475 | "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." | ||
4476 | 4453 | ||||
4477 | #. (itstool) path: section/para | 4454 | #. (itstool) path: section/para | ||
4478 | #: C/index-in.docbook:1726 | 4455 | #: C/index-in.docbook:1726 | ||
n | 4479 | #, fuzzy | n | ||
4480 | msgid "" | 4456 | msgid "" | ||
4481 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4457 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4482 | "classGtk_1_1Widget.html\">Widget Reference</link>" | 4458 | "classGtk_1_1Widget.html\">Widget Reference</link>" | ||
4483 | msgstr "" | 4459 | msgstr "" | ||
n | 4484 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4460 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4485 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 4461 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
4486 | 4462 | ||||
4487 | #. (itstool) path: section/para | 4463 | #. (itstool) path: section/para | ||
4488 | #: C/index-in.docbook:1727 | 4464 | #: C/index-in.docbook:1727 | ||
n | 4489 | #, fuzzy | n | ||
4490 | msgid "" | 4465 | msgid "" | ||
4491 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4466 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4492 | "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | 4467 | "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||
4493 | msgstr "" | 4468 | msgstr "" | ||
n | 4494 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4469 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4495 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | 4470 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | ||
4496 | 4471 | ||||
4497 | #. (itstool) path: figure/title | 4472 | #. (itstool) path: figure/title | ||
4498 | #: C/index-in.docbook:1733 | 4473 | #: C/index-in.docbook:1733 | ||
4499 | #, fuzzy | 4474 | #, fuzzy | ||
4542 | "mer komplexa gränssnitt. Andra, som <classname>Gtk::Frame</classname> " | 4517 | "mer komplexa gränssnitt. Andra, som <classname>Gtk::Frame</classname> " | ||
4543 | "innehåller bara en underordnad komponent." | 4518 | "innehåller bara en underordnad komponent." | ||
4544 | 4519 | ||||
4545 | #. (itstool) path: section/title | 4520 | #. (itstool) path: section/title | ||
4546 | #: C/index-in.docbook:1756 | 4521 | #: C/index-in.docbook:1756 | ||
n | 4547 | #, fuzzy | n | ||
4548 | msgid "Single-item Containers" | 4522 | msgid "Single-item Containers" | ||
4549 | msgstr "Enobjektsbehållare" | 4523 | msgstr "Enobjektsbehållare" | ||
4550 | 4524 | ||||
4551 | #. (itstool) path: section/para | 4525 | #. (itstool) path: section/para | ||
4552 | #: C/index-in.docbook:1758 | 4526 | #: C/index-in.docbook:1758 | ||
n | 4553 | #, fuzzy | n | ||
4554 | msgid "" | 4527 | msgid "" | ||
4555 | "Most single-item container widgets have <methodname>set_child()</methodname> " | 4528 | "Most single-item container widgets have <methodname>set_child()</methodname> " | ||
4556 | "and <methodname>unset_child()</methodname> methods for the child widget. " | 4529 | "and <methodname>unset_child()</methodname> methods for the child widget. " | ||
4557 | "<classname>Gtk::Button</classname> and <classname>Gtk::Window</classname> " | 4530 | "<classname>Gtk::Button</classname> and <classname>Gtk::Window</classname> " | ||
4558 | "are technically single-item containers, but we have discussed them already " | 4531 | "are technically single-item containers, but we have discussed them already " | ||
4597 | "classname> eller <classname>CheckButton</classname> i en <classname>Frame</" | 4570 | "classname> eller <classname>CheckButton</classname> i en <classname>Frame</" | ||
4598 | "classname>." | 4571 | "classname>." | ||
4599 | 4572 | ||||
4600 | #. (itstool) path: section/para | 4573 | #. (itstool) path: section/para | ||
4601 | #: C/index-in.docbook:1781 | 4574 | #: C/index-in.docbook:1781 | ||
n | 4602 | #, fuzzy | n | ||
4603 | #| msgid "" | ||||
4604 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4605 | #| "classGtk_1_1Frame.html\">Reference</link>" | ||||
4606 | msgid "" | 4575 | msgid "" | ||
4607 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4576 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4608 | "classGtk_1_1Frame.html\">Reference</link>" | 4577 | "classGtk_1_1Frame.html\">Reference</link>" | ||
4609 | msgstr "" | 4578 | msgstr "" | ||
n | 4610 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4579 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4611 | "classGtk_1_1Frame.html\">Referens</link>" | 4580 | "classGtk_1_1Frame.html\">Referens</link>" | ||
4612 | 4581 | ||||
4613 | #. (itstool) path: imageobject/imagedata | 4582 | #. (itstool) path: imageobject/imagedata | ||
4614 | #. 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 | ||
4615 | #. 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 | ||
4637 | msgid "Paned" | 4606 | msgid "Paned" | ||
4638 | msgstr "Paned" | 4607 | msgstr "Paned" | ||
4639 | 4608 | ||||
4640 | #. (itstool) path: section/para | 4609 | #. (itstool) path: section/para | ||
4641 | #: C/index-in.docbook:1801 | 4610 | #: C/index-in.docbook:1801 | ||
n | 4642 | #, fuzzy | n | ||
4643 | msgid "" | 4611 | msgid "" | ||
4644 | "Panes divide a widget into two halves, separated by a moveable divider. The " | 4612 | "Panes divide a widget into two halves, separated by a moveable divider. The " | ||
4645 | "two halves (panes) can be oriented either horizontally (side by side) or " | 4613 | "two halves (panes) can be oriented either horizontally (side by side) or " | ||
4646 | "vertically (one above the other)." | 4614 | "vertically (one above the other)." | ||
4647 | msgstr "" | 4615 | msgstr "" | ||
4649 | "avskiljare. De två halvorna (panelerna) kan orienteras antingen horisontellt " | 4617 | "avskiljare. De två halvorna (panelerna) kan orienteras antingen horisontellt " | ||
4650 | "(sida vid sida) eller vertikalt (en ovanpå den andra)." | 4618 | "(sida vid sida) eller vertikalt (en ovanpå den andra)." | ||
4651 | 4619 | ||||
4652 | #. (itstool) path: section/para | 4620 | #. (itstool) path: section/para | ||
4653 | #: C/index-in.docbook:1807 | 4621 | #: C/index-in.docbook:1807 | ||
n | 4654 | #, fuzzy | n | ||
4655 | msgid "" | 4622 | msgid "" | ||
4656 | "Unlike the other widgets in this section, pane widgets contain not one but " | 4623 | "Unlike the other widgets in this section, pane widgets contain not one but " | ||
4657 | "two child widgets, one in each pane. Therefore, you should use " | 4624 | "two child widgets, one in each pane. Therefore, you should use " | ||
4658 | "<methodname>set_start_child()</methodname> and <methodname>set_end_child()</" | 4625 | "<methodname>set_start_child()</methodname> and <methodname>set_end_child()</" | ||
4659 | "methodname> instead of a <methodname>set_child()</methodname> method." | 4626 | "methodname> instead of a <methodname>set_child()</methodname> method." | ||
4660 | msgstr "" | 4627 | msgstr "" | ||
n | 4661 | "Till skillnad från de andra komponenterna i detta avsnitt kan " | n | 4628 | "Till skillnad från de andra komponenterna i detta avsnitt innehåller " |
4662 | "panelkomponenter innehålla inte en utan två underordnade komponenter, en i " | 4629 | "panelkomponenter inte en utan två underordnade komponenter, en i varje " | ||
4663 | "varje panel. Du ska därför använda <methodname>set_start_child()</" | 4630 | "panel. Du ska därför använda <methodname>set_start_child()</methodname> och " | ||
4664 | "methodname> och <methodname>set_end_child()</methodname> i stället för en " | 4631 | "<methodname>set_end_child()</methodname> i stället för en " | ||
4665 | "<methodname>set_child()</methodname>-metod." | 4632 | "<methodname>set_child()</methodname>-metod." | ||
4666 | 4633 | ||||
4667 | #. (itstool) path: section/para | 4634 | #. (itstool) path: section/para | ||
4668 | #: C/index-in.docbook:1814 | 4635 | #: C/index-in.docbook:1814 | ||
n | 4669 | #, fuzzy | n | ||
4670 | msgid "" | 4636 | msgid "" | ||
4671 | "You can adjust the position of the divider using the " | 4637 | "You can adjust the position of the divider using the " | ||
4672 | "<methodname>set_position()</methodname> method, and you will probably need " | 4638 | "<methodname>set_position()</methodname> method, and you will probably need " | ||
4673 | "to do so." | 4639 | "to do so." | ||
4674 | msgstr "" | 4640 | msgstr "" | ||
4675 | "Du kan justera avskiljarens position genom att använda metoden " | 4641 | "Du kan justera avskiljarens position genom att använda metoden " | ||
4676 | "<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." | ||
4677 | 4643 | ||||
4678 | #. (itstool) path: section/para | 4644 | #. (itstool) path: section/para | ||
4679 | #: C/index-in.docbook:1820 | 4645 | #: C/index-in.docbook:1820 | ||
n | 4680 | #, fuzzy | n | ||
4681 | #| msgid "" | ||||
4682 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4683 | #| "classGtk_1_1Paned.html\">Reference</link>" | ||||
4684 | msgid "" | 4646 | msgid "" | ||
4685 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4647 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4686 | "classGtk_1_1Paned.html\">Reference</link>" | 4648 | "classGtk_1_1Paned.html\">Reference</link>" | ||
4687 | msgstr "" | 4649 | msgstr "" | ||
n | 4688 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4650 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4689 | "classGtk_1_1Paned.html\">Referens</link>" | 4651 | "classGtk_1_1Paned.html\">Referens</link>" | ||
4690 | 4652 | ||||
4691 | #. (itstool) path: imageobject/imagedata | 4653 | #. (itstool) path: imageobject/imagedata | ||
4692 | #. 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 | ||
4693 | #. 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 | ||
4715 | msgid "ScrolledWindow" | 4677 | msgid "ScrolledWindow" | ||
4716 | msgstr "ScrolledWindow" | 4678 | msgstr "ScrolledWindow" | ||
4717 | 4679 | ||||
4718 | #. (itstool) path: section/para | 4680 | #. (itstool) path: section/para | ||
4719 | #: C/index-in.docbook:1840 | 4681 | #: C/index-in.docbook:1840 | ||
n | 4720 | #, fuzzy | n | ||
4721 | msgid "" | 4682 | msgid "" | ||
4722 | "<classname>ScrolledWindow</classname> widgets create a scrollable area. You " | 4683 | "<classname>ScrolledWindow</classname> widgets create a scrollable area. You " | ||
4723 | "can insert any type of widget into a <classname>ScrolledWindow</classname>, " | 4684 | "can insert any type of widget into a <classname>ScrolledWindow</classname>, " | ||
4724 | "and it will be accessible regardless of its size by using the scrollbars. " | 4685 | "and it will be accessible regardless of its size by using the scrollbars. " | ||
4725 | "Note that <classname>ScrolledWindow</classname> is not a <classname>Gtk::" | 4686 | "Note that <classname>ScrolledWindow</classname> is not a <classname>Gtk::" | ||
4726 | "Window</classname> despite the slightly misleading name." | 4687 | "Window</classname> despite the slightly misleading name." | ||
4727 | msgstr "" | 4688 | msgstr "" | ||
4728 | "<classname>ScrolledWindow</classname>-komponenter skapar ett rullningsbart " | 4689 | "<classname>ScrolledWindow</classname>-komponenter skapar ett rullningsbart " | ||
n | 4729 | "område. Du kan infoga komponent av valfri typ i ett " | n | 4690 | "område. Du kan infoga en komponent av valfri typ i ett " |
4730 | "<classname>ScrolledWindow</classname>, så kommer den vara åtkomlig oavsett " | 4691 | "<classname>ScrolledWindow</classname>, så kommer den vara åtkomlig oavsett " | ||
4731 | "dess storlek genom att använda rullningslisterna. Observera att " | 4692 | "dess storlek genom att använda rullningslisterna. Observera att " | ||
4732 | "<classname>ScrolledWindow</classname> inte är ett <classname>Gtk::Window</" | 4693 | "<classname>ScrolledWindow</classname> inte är ett <classname>Gtk::Window</" | ||
4733 | "classname> trots det något missvisande namnet." | 4694 | "classname> trots det något missvisande namnet." | ||
4734 | 4695 | ||||
4756 | "<literal>Gtk::PolicyType::ALWAYS</literal> kommer få rullningslisten att " | 4717 | "<literal>Gtk::PolicyType::ALWAYS</literal> kommer få rullningslisten att " | ||
4757 | "alltid visas." | 4718 | "alltid visas." | ||
4758 | 4719 | ||||
4759 | #. (itstool) path: section/para | 4720 | #. (itstool) path: section/para | ||
4760 | #: C/index-in.docbook:1861 | 4721 | #: C/index-in.docbook:1861 | ||
n | 4761 | #, fuzzy | n | ||
4762 | #| msgid "" | ||||
4763 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4764 | #| "classGtk_1_1ScrolledWindow.html\">Reference</link>" | ||||
4765 | msgid "" | 4722 | msgid "" | ||
4766 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4723 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4767 | "classGtk_1_1ScrolledWindow.html\">Reference</link>" | 4724 | "classGtk_1_1ScrolledWindow.html\">Reference</link>" | ||
4768 | msgstr "" | 4725 | msgstr "" | ||
n | 4769 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4726 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4770 | "classGtk_1_1ScrolledWindow.html\">Referens</link>" | 4727 | "classGtk_1_1ScrolledWindow.html\">Referens</link>" | ||
4771 | 4728 | ||||
4772 | #. (itstool) path: section/para | 4729 | #. (itstool) path: section/para | ||
4773 | #: C/index-in.docbook:1866 | 4730 | #: C/index-in.docbook:1866 | ||
n | 4774 | #, fuzzy | n | ||
4775 | msgid "" | 4731 | msgid "" | ||
4776 | "Here is a simple example that packs 100 toggle buttons into a " | 4732 | "Here is a simple example that packs 100 toggle buttons into a " | ||
4777 | "ScrolledWindow. Try resizing the window to see the scrollbars react." | 4733 | "ScrolledWindow. Try resizing the window to see the scrollbars react." | ||
4778 | msgstr "" | 4734 | msgstr "" | ||
n | 4779 | "Här är ett enkelt exempel som packar in 100 växlingsknappar i ett " | n | 4735 | "Här är ett enkelt exempel som packar 100 växlingsknappar i ett " |
4780 | "ScrolledWindow. Försök ändra storlek på fönstret för att se hur " | 4736 | "ScrolledWindow. Försök ändra storlek på fönstret för att se hur " | ||
4781 | "rullningslisterna reagerar." | 4737 | "rullningslisterna reagerar." | ||
4782 | 4738 | ||||
4783 | #. (itstool) path: imageobject/imagedata | 4739 | #. (itstool) path: imageobject/imagedata | ||
4784 | #. This is a reference to an external file such as an image or video. When | 4740 | #. This is a reference to an external file such as an image or video. When | ||
4819 | "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 " | ||
4820 | "photograph without allowing the user to distort it horizontally or " | 4776 | "photograph without allowing the user to distort it horizontally or " | ||
4821 | "vertically while resizing." | 4777 | "vertically while resizing." | ||
4822 | msgstr "" | 4778 | msgstr "" | ||
4823 | "<classname>AspectFrame</classname>-komponenten ser ut som en " | 4779 | "<classname>AspectFrame</classname>-komponenten ser ut som en " | ||
n | 4824 | "<classname>Frame</classname>-komponent, men den uppräthåller även " | n | 4780 | "<classname>Frame</classname>-komponent, men den upprätthåller även " |
4825 | "<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 " | ||
4826 | "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. " | ||
4827 | "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 " | ||
4828 | "förvränga det horisontellt eller vertikalt då storleken ändras." | 4784 | "förvränga det horisontellt eller vertikalt då storleken ändras." | ||
4829 | 4785 | ||||
4830 | #. (itstool) path: section/para | 4786 | #. (itstool) path: section/para | ||
4831 | #: C/index-in.docbook:1894 | 4787 | #: C/index-in.docbook:1894 | ||
n | 4832 | #, fuzzy | n | ||
4833 | #| msgid "" | ||||
4834 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
4835 | #| "classGtk_1_1AspectFrame.html\">Reference</link>" | ||||
4836 | msgid "" | 4788 | msgid "" | ||
4837 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 4789 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
4838 | "classGtk_1_1AspectFrame.html\">Reference</link>" | 4790 | "classGtk_1_1AspectFrame.html\">Reference</link>" | ||
4839 | msgstr "" | 4791 | msgstr "" | ||
n | 4840 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 4792 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
4841 | "classGtk_1_1AspectFrame.html\">Referens</link>" | 4793 | "classGtk_1_1AspectFrame.html\">Referens</link>" | ||
4842 | 4794 | ||||
4843 | #. (itstool) path: section/para | 4795 | #. (itstool) path: section/para | ||
4844 | #: C/index-in.docbook:1899 | 4796 | #: C/index-in.docbook:1899 | ||
n | 4845 | #, fuzzy | n | ||
4846 | msgid "" | 4797 | msgid "" | ||
4847 | "The following program uses a <classname>Gtk::AspectFrame</classname> to " | 4798 | "The following program uses a <classname>Gtk::AspectFrame</classname> to " | ||
4848 | "present a drawing area whose aspect ratio will always be 2:1, no matter how " | 4799 | "present a drawing area whose aspect ratio will always be 2:1, no matter how " | ||
4849 | "the user resizes the top-level window." | 4800 | "the user resizes the top-level window." | ||
4850 | msgstr "" | 4801 | msgstr "" | ||
4874 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4825 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4875 | "master/examples/book/aspectframe\">Källkod</link>" | 4826 | "master/examples/book/aspectframe\">Källkod</link>" | ||
4876 | 4827 | ||||
4877 | #. (itstool) path: section/title | 4828 | #. (itstool) path: section/title | ||
4878 | #: C/index-in.docbook:1918 | 4829 | #: C/index-in.docbook:1918 | ||
n | 4879 | #, fuzzy | n | ||
4880 | msgid "Other Single-item Containers" | 4830 | msgid "Other Single-item Containers" | ||
4881 | msgstr "Andra enobjektsbehållare" | 4831 | msgstr "Andra enobjektsbehållare" | ||
4882 | 4832 | ||||
4883 | #. (itstool) path: section/para | 4833 | #. (itstool) path: section/para | ||
4884 | #: C/index-in.docbook:1920 | 4834 | #: C/index-in.docbook:1920 | ||
n | 4885 | #, fuzzy | n | ||
4886 | msgid "" | 4835 | msgid "" | ||
4887 | "There are other single-item containers. See the reference documentation for " | 4836 | "There are other single-item containers. See the reference documentation for " | ||
4888 | "a complete list. Here are links to some example programs that show " | 4837 | "a complete list. Here are links to some example programs that show " | ||
4889 | "containers, which are not mentioned elsewhere in this tutorial." | 4838 | "containers, which are not mentioned elsewhere in this tutorial." | ||
4890 | msgstr "" | 4839 | msgstr "" | ||
4892 | "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 " | ||
4893 | "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." | ||
4894 | 4843 | ||||
4895 | #. (itstool) path: section/para | 4844 | #. (itstool) path: section/para | ||
4896 | #: C/index-in.docbook:1926 | 4845 | #: C/index-in.docbook:1926 | ||
n | 4897 | #, fuzzy | n | ||
4898 | msgid "" | 4846 | msgid "" | ||
4899 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4847 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4900 | "master/examples/book/expander\">Source Code, Expander</link>" | 4848 | "master/examples/book/expander\">Source Code, Expander</link>" | ||
4901 | msgstr "" | 4849 | msgstr "" | ||
4902 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4850 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4903 | "master/examples/book/expander\">Källkod, Expander</link>" | 4851 | "master/examples/book/expander\">Källkod, Expander</link>" | ||
4904 | 4852 | ||||
4905 | #. (itstool) path: section/para | 4853 | #. (itstool) path: section/para | ||
4906 | #: C/index-in.docbook:1927 | 4854 | #: C/index-in.docbook:1927 | ||
n | 4907 | #, fuzzy | n | ||
4908 | msgid "" | 4855 | msgid "" | ||
4909 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4856 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4910 | "master/examples/book/popover\">Source Code, Popover</link>" | 4857 | "master/examples/book/popover\">Source Code, Popover</link>" | ||
4911 | msgstr "" | 4858 | msgstr "" | ||
4912 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 4859 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
4913 | "master/examples/book/popover\">Källkod, Popover</link>" | 4860 | "master/examples/book/popover\">Källkod, Popover</link>" | ||
4914 | 4861 | ||||
4915 | #. (itstool) path: section/title | 4862 | #. (itstool) path: section/title | ||
4916 | #: C/index-in.docbook:1934 | 4863 | #: C/index-in.docbook:1934 | ||
n | 4917 | #, fuzzy | n | ||
4918 | msgid "Multiple-item Containers" | 4864 | msgid "Multiple-item Containers" | ||
4919 | msgstr "Flerobjektsbehållare" | 4865 | msgstr "Flerobjektsbehållare" | ||
4920 | 4866 | ||||
4921 | #. (itstool) path: section/para | 4867 | #. (itstool) path: section/para | ||
4922 | #: C/index-in.docbook:1936 | 4868 | #: C/index-in.docbook:1936 | ||
4940 | "methodname> för flerobjektsbehållare tar ett argument som anger vilken " | 4886 | "methodname> för flerobjektsbehållare tar ett argument som anger vilken " | ||
4941 | "komponent som ska tas bort." | 4887 | "komponent som ska tas bort." | ||
4942 | 4888 | ||||
4943 | #. (itstool) path: section/title | 4889 | #. (itstool) path: section/title | ||
4944 | #: C/index-in.docbook:1946 | 4890 | #: C/index-in.docbook:1946 | ||
n | 4945 | #, fuzzy | n | ||
4946 | msgid "Packing" | 4891 | msgid "Packing" | ||
4947 | msgstr "Packning" | 4892 | msgstr "Packning" | ||
4948 | 4893 | ||||
4949 | #. (itstool) path: section/para | 4894 | #. (itstool) path: section/para | ||
4950 | #: C/index-in.docbook:1948 | 4895 | #: C/index-in.docbook:1948 | ||
4957 | "”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å " | ||
4958 | "grund av systemet för <emphasis>komponentpackning</emphasis>." | 4903 | "grund av systemet för <emphasis>komponentpackning</emphasis>." | ||
4959 | 4904 | ||||
4960 | #. (itstool) path: section/para | 4905 | #. (itstool) path: section/para | ||
4961 | #: C/index-in.docbook:1953 | 4906 | #: C/index-in.docbook:1953 | ||
n | 4962 | #, fuzzy | n | ||
4963 | msgid "" | 4907 | msgid "" | ||
4964 | "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 " | ||
4965 | "absolute positioning, often using a visual editor. This leads to several " | 4909 | "absolute positioning, often using a visual editor. This leads to several " | ||
4966 | "problems:" | 4910 | "problems:" | ||
4967 | msgstr "" | 4911 | msgstr "" | ||
4976 | "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 " | ||
4977 | "space appears when the window is made larger." | 4921 | "space appears when the window is made larger." | ||
4978 | msgstr "" | 4922 | msgstr "" | ||
4979 | "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. " | ||
4980 | "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 | 4981 | "dyker upp när fönstret görs större." | n | 4925 | "uppstår när fönstret görs större." |
4982 | 4926 | ||||
4983 | #. (itstool) path: listitem/para | 4927 | #. (itstool) path: listitem/para | ||
4984 | #: C/index-in.docbook:1964 | 4928 | #: C/index-in.docbook:1964 | ||
4985 | msgid "" | 4929 | msgid "" | ||
4986 | "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 " | ||
4993 | "ä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 " | ||
4994 | "fönsterhanterare." | 4938 | "fönsterhanterare." | ||
4995 | 4939 | ||||
4996 | #. (itstool) path: listitem/para | 4940 | #. (itstool) path: listitem/para | ||
4997 | #: C/index-in.docbook:1968 | 4941 | #: C/index-in.docbook:1968 | ||
n | 4998 | #, fuzzy | n | ||
4999 | msgid "" | 4942 | msgid "" | ||
5000 | "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 " | ||
5001 | "appear, for instance, is complex. It requires tedious recalculation of every " | 4944 | "appear, for instance, is complex. It requires tedious recalculation of every " | ||
5002 | "widget's position." | 4945 | "widget's position." | ||
5003 | msgstr "" | 4946 | msgstr "" | ||
5004 | "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 | 5005 | "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 " |
5006 | "av varje komponents position." | 4949 | "varje komponents position." | ||
5007 | 4950 | ||||
5008 | #. (itstool) path: section/para | 4951 | #. (itstool) path: section/para | ||
5009 | #: C/index-in.docbook:1974 | 4952 | #: C/index-in.docbook:1974 | ||
5010 | #, fuzzy | 4953 | #, fuzzy | ||
5011 | msgid "" | 4954 | msgid "" | ||
5056 | "<application>gtkmm</application> är behållare med en underordnad, inklusive " | 4999 | "<application>gtkmm</application> är behållare med en underordnad, inklusive " | ||
5057 | "<classname>Gtk::Window</classname>." | 5000 | "<classname>Gtk::Window</classname>." | ||
5058 | 5001 | ||||
5059 | #. (itstool) path: section/para | 5002 | #. (itstool) path: section/para | ||
5060 | #: C/index-in.docbook:1992 | 5003 | #: C/index-in.docbook:1992 | ||
n | 5061 | #, fuzzy | n | ||
5062 | msgid "" | 5004 | msgid "" | ||
5063 | "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 " | ||
5064 | "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 " | ||
5065 | "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</" | ||
5066 | "classname> and <classname>Gtk::Box</classname>." | 5008 | "classname> and <classname>Gtk::Box</classname>." | ||
5067 | msgstr "" | 5009 | msgstr "" | ||
5068 | "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å " | ||
5069 | "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 | 5070 | "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 " |
5071 | "<classname>Gtk::Grid</classname> och <classname>Gtk::Box</classname>." | 5013 | "<classname>Gtk::Grid</classname> och <classname>Gtk::Box</classname>." | ||
5072 | 5014 | ||||
5073 | #. (itstool) path: listitem/para | 5015 | #. (itstool) path: listitem/para | ||
5074 | #: C/index-in.docbook:2003 | 5016 | #: C/index-in.docbook:2003 | ||
5075 | msgid "" | 5017 | msgid "" | ||
5111 | "verktygslådor." | 5053 | "verktygslådor." | ||
5112 | 5054 | ||||
5113 | #. (itstool) path: section/title | 5055 | #. (itstool) path: section/title | ||
5114 | #: C/index-in.docbook:2033 | 5056 | #: C/index-in.docbook:2033 | ||
5115 | msgid "An improved Hello World" | 5057 | msgid "An improved Hello World" | ||
n | 5116 | msgstr "En förbättrad Hej världen" | n | 5058 | msgstr "Ett förbättrat Hej världen" |
5117 | 5059 | ||||
5118 | #. (itstool) path: section/para | 5060 | #. (itstool) path: section/para | ||
5119 | #: C/index-in.docbook:2035 | 5061 | #: C/index-in.docbook:2035 | ||
n | 5120 | #, fuzzy | n | ||
5121 | msgid "" | 5062 | msgid "" | ||
5122 | "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>, " | ||
5123 | "showing what we've learnt." | 5064 | "showing what we've learnt." | ||
5124 | msgstr "" | 5065 | msgstr "" | ||
5125 | "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 " | ||
5167 | "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å " | ||
5168 | "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()</" | ||
5169 | "methodname>, <methodname>set_hexpand()</methodname>, " | 5110 | "methodname>, <methodname>set_hexpand()</methodname>, " | ||
5170 | "<methodname>set_vexpand()</methodname>, <methodname>set_halign()</" | 5111 | "<methodname>set_vexpand()</methodname>, <methodname>set_halign()</" | ||
5171 | "methodname> och <methodname>set_valign()</methodname> medan du läser " | 5112 | "methodname> och <methodname>set_valign()</methodname> medan du läser " | ||
n | 5172 | "avsnittet <link linkend=\"sec-boxes\">Boxar</link> section." | n | 5113 | "avsnittet <link linkend=\"sec-boxes\">Boxar</link>." |
5173 | 5114 | ||||
5174 | #. (itstool) path: section/title | 5115 | #. (itstool) path: section/title | ||
5175 | #: C/index-in.docbook:2059 | 5116 | #: C/index-in.docbook:2059 | ||
5176 | #, fuzzy | 5117 | #, fuzzy | ||
5177 | msgid "Boxes" | 5118 | msgid "Boxes" | ||
5200 | msgid "Adding widgets" | 5141 | msgid "Adding widgets" | ||
5201 | msgstr "Lägga till komponenter" | 5142 | msgstr "Lägga till komponenter" | ||
5202 | 5143 | ||||
5203 | #. (itstool) path: section/title | 5144 | #. (itstool) path: section/title | ||
5204 | #: C/index-in.docbook:2073 | 5145 | #: C/index-in.docbook:2073 | ||
n | 5205 | #, fuzzy | n | ||
5206 | msgid "Per-child packing options" | 5146 | msgid "Per-child packing options" | ||
5207 | msgstr "Packningsalternativ per underordnad" | 5147 | msgstr "Packningsalternativ per underordnad" | ||
5208 | 5148 | ||||
5209 | #. (itstool) path: section/para | 5149 | #. (itstool) path: section/para | ||
5210 | #: C/index-in.docbook:2074 | 5150 | #: C/index-in.docbook:2074 | ||
5253 | "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::" | ||
5254 | "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." | ||
5255 | 5195 | ||||
5256 | #. (itstool) path: section/para | 5196 | #. (itstool) path: section/para | ||
5257 | #: C/index-in.docbook:2095 | 5197 | #: C/index-in.docbook:2095 | ||
n | 5258 | #, fuzzy | n | ||
5259 | 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 | 5260 | 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:" |
5261 | 5200 | ||||
5262 | #. (itstool) path: figure/title | 5201 | #. (itstool) path: figure/title | ||
5263 | #: C/index-in.docbook:2101 | 5202 | #: C/index-in.docbook:2101 | ||
5264 | #, fuzzy | 5203 | #, fuzzy | ||
5265 | msgid "Box Packing 1" | 5204 | msgid "Box Packing 1" | ||
5291 | "<methodname>set_margin_start()</methodname> and " | 5230 | "<methodname>set_margin_start()</methodname> and " | ||
5292 | "<methodname>set_margin_end()</methodname> methods." | 5231 | "<methodname>set_margin_end()</methodname> methods." | ||
5293 | msgstr "" | 5232 | msgstr "" | ||
5294 | "Varje rad innehåller en horisontell <classname>Box</classname> med flera " | 5233 | "Varje rad innehåller en horisontell <classname>Box</classname> med flera " | ||
5295 | "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 | 5296 | "classname>en med samma argumen till metoderna <methodname>set_hexpand()</" | n | 5235 | "classname>en med samma argument till metoderna <methodname>set_hexpand()</" |
5297 | "methodname>, <methodname>set_halign()</methodname>, " | 5236 | "methodname>, <methodname>set_halign()</methodname>, " | ||
5298 | "<methodname>set_margin_start()</methodname> och " | 5237 | "<methodname>set_margin_start()</methodname> och " | ||
5299 | "<methodname>set_margin_end()</methodname> methods." | 5238 | "<methodname>set_margin_end()</methodname> methods." | ||
5300 | 5239 | ||||
5301 | #. (itstool) path: section/para | 5240 | #. (itstool) path: section/para | ||
5302 | #: C/index-in.docbook:2116 | 5241 | #: C/index-in.docbook:2116 | ||
n | 5303 | #, fuzzy | n | ||
5304 | #| msgid "" | ||||
5305 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5306 | #| "classGtk_1_1Box.html\">Reference</link>" | ||||
5307 | msgid "" | 5242 | msgid "" | ||
5308 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5243 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5309 | "classGtk_1_1Box.html\">Reference</link>" | 5244 | "classGtk_1_1Box.html\">Reference</link>" | ||
5310 | msgstr "" | 5245 | msgstr "" | ||
n | 5311 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Box." | n | 5246 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5312 | "html\">Referens</link>" | 5247 | "classGtk_1_1Box.html\">Referens</link>" | ||
5313 | 5248 | ||||
5314 | #. (itstool) path: section/title | 5249 | #. (itstool) path: section/title | ||
5315 | #: C/index-in.docbook:2121 | 5250 | #: C/index-in.docbook:2121 | ||
5316 | #, fuzzy | 5251 | #, fuzzy | ||
5317 | msgid "Per-container packing options" | 5252 | msgid "Per-container packing options" | ||
5434 | msgstr "" | 5369 | msgstr "" | ||
5435 | "Ge alla kommandoradsflaggor till <methodname>Gtk::Application::run()</" | 5370 | "Ge alla kommandoradsflaggor till <methodname>Gtk::Application::run()</" | ||
5436 | "methodname> och lägg till flaggan <literal>Gio::Application::Flags::" | 5371 | "methodname> och lägg till flaggan <literal>Gio::Application::Flags::" | ||
5437 | "HANDLES_COMMAND_LINE</literal> till <methodname>Gtk::Application::create()</" | 5372 | "HANDLES_COMMAND_LINE</literal> till <methodname>Gtk::Application::create()</" | ||
5438 | "methodname>. Anslut en signalhanterare till signalen <literal>command_line</" | 5373 | "methodname>. Anslut en signalhanterare till signalen <literal>command_line</" | ||
n | 5439 | "literal> signal, och hantera kommandoradsflaggorna i signalhanteraren." | n | 5374 | "literal>, och hantera kommandoradsflaggorna i signalhanteraren." |
5440 | 5375 | ||||
5441 | #. (itstool) path: listitem/para | 5376 | #. (itstool) path: listitem/para | ||
5442 | #: C/index-in.docbook:2175 | 5377 | #: C/index-in.docbook:2175 | ||
5443 | #, fuzzy | 5378 | #, fuzzy | ||
5444 | msgid "" | 5379 | msgid "" | ||
5466 | "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-" | ||
5467 | "line option, to see different packing options in use." | 5402 | "line option, to see different packing options in use." | ||
5468 | msgstr "" | 5403 | msgstr "" | ||
5469 | "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 " | ||
5470 | "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 | 5471 | "att se olika packningsalternativ under användning." | n | 5406 | "att se då olika packningsalternativ används." |
5472 | 5407 | ||||
5473 | #. (itstool) path: section/para | 5408 | #. (itstool) path: section/para | ||
5474 | #: C/index-in.docbook:2192 | 5409 | #: C/index-in.docbook:2192 | ||
5475 | msgid "" | 5410 | msgid "" | ||
5476 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5411 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5485 | msgid "Grid" | 5420 | msgid "Grid" | ||
5486 | msgstr "Grid" | 5421 | msgstr "Grid" | ||
5487 | 5422 | ||||
5488 | #. (itstool) path: section/para | 5423 | #. (itstool) path: section/para | ||
5489 | #: C/index-in.docbook:2200 | 5424 | #: C/index-in.docbook:2200 | ||
n | 5490 | #, fuzzy | n | ||
5491 | msgid "" | 5425 | msgid "" | ||
5492 | "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 " | ||
5493 | "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 " | ||
5494 | "constructor." | 5428 | "constructor." | ||
5495 | msgstr "" | 5429 | msgstr "" | ||
n | 5496 | "En <classname>Grid</classname> organiserar dynamiskt underordnade " | n | 5430 | "Ett <classname>Grid</classname> organiserar dynamiskt underordnade " |
5497 | "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 " | ||
5498 | "anges i konstruktorn." | 5432 | "anges i konstruktorn." | ||
5499 | 5433 | ||||
5500 | #. (itstool) path: section/para | 5434 | #. (itstool) path: section/para | ||
5501 | #: C/index-in.docbook:2205 | 5435 | #: C/index-in.docbook:2205 | ||
n | 5502 | #, fuzzy | n | ||
5503 | msgid "" | 5436 | msgid "" | ||
5504 | "Child widgets can span multiple rows or columns, using <methodname>attach()</" | 5437 | "Child widgets can span multiple rows or columns, using <methodname>attach()</" | ||
5505 | "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 " | ||
5506 | "<methodname>attach_next_to()</methodname>. Individual rows and columns of " | 5439 | "<methodname>attach_next_to()</methodname>. Individual rows and columns of " | ||
5507 | "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 " | ||
5521 | msgid "" | 5454 | msgid "" | ||
5522 | "You can set the <emphasis>margin</emphasis> and <emphasis>expand</emphasis> " | 5455 | "You can set the <emphasis>margin</emphasis> and <emphasis>expand</emphasis> " | ||
5523 | "properties of the child <classname>Widget</classname>s to control their " | 5456 | "properties of the child <classname>Widget</classname>s to control their " | ||
5524 | "spacing and their behavior when the Grid is resized." | 5457 | "spacing and their behavior when the Grid is resized." | ||
5525 | msgstr "" | 5458 | msgstr "" | ||
n | 5526 | "Du kan konfigurera egenskaperna för <emphasis>marginal</emphasis> och " | n | 5459 | "Du kan sätta egenskaperna för <emphasis>marginal</emphasis> och " |
5527 | "<emphasis>expansion</emphasis> för underordnade <classname>Widget</" | 5460 | "<emphasis>expansion</emphasis> för underordnade <classname>Widget</" | ||
5528 | "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 " | ||
5529 | "storleken ändrad." | 5462 | "storleken ändrad." | ||
5530 | 5463 | ||||
5531 | #. (itstool) path: section/para | 5464 | #. (itstool) path: section/para | ||
5532 | #: C/index-in.docbook:2216 | 5465 | #: C/index-in.docbook:2216 | ||
n | 5533 | #, fuzzy | n | ||
5534 | #| msgid "" | ||||
5535 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5536 | #| "classGtk_1_1Grid.html\">Reference</link>" | ||||
5537 | msgid "" | 5466 | msgid "" | ||
5538 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5467 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5539 | "classGtk_1_1Grid.html\">Reference</link>" | 5468 | "classGtk_1_1Grid.html\">Reference</link>" | ||
5540 | msgstr "" | 5469 | msgstr "" | ||
n | 5541 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5470 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5542 | "classGtk_1_1Grid.html\">Referens</link>" | 5471 | "classGtk_1_1Grid.html\">Referens</link>" | ||
5543 | 5472 | ||||
5544 | #. (itstool) path: section/para | 5473 | #. (itstool) path: section/para | ||
5545 | #: C/index-in.docbook:2220 | 5474 | #: C/index-in.docbook:2220 | ||
5546 | msgid "" | 5475 | msgid "" | ||
5632 | "Använd metoden <methodname>set_current_page()</methodname> för att " | 5561 | "Använd metoden <methodname>set_current_page()</methodname> för att " | ||
5633 | "programmatiskt ändra den valda sidan." | 5562 | "programmatiskt ändra den valda sidan." | ||
5634 | 5563 | ||||
5635 | #. (itstool) path: section/para | 5564 | #. (itstool) path: section/para | ||
5636 | #: C/index-in.docbook:2270 | 5565 | #: C/index-in.docbook:2270 | ||
n | 5637 | #, fuzzy | n | ||
5638 | #| msgid "" | ||||
5639 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5640 | #| "classGtk_1_1Notebook.html\">Reference</link>" | ||||
5641 | msgid "" | 5566 | msgid "" | ||
5642 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5567 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5643 | "classGtk_1_1Notebook.html\">Reference</link>" | 5568 | "classGtk_1_1Notebook.html\">Reference</link>" | ||
5644 | msgstr "" | 5569 | msgstr "" | ||
n | 5645 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5570 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5646 | "classGtk_1_1Notebook.html\">Referens</link>" | 5571 | "classGtk_1_1Notebook.html\">Referens</link>" | ||
5647 | 5572 | ||||
5648 | #. (itstool) path: imageobject/imagedata | 5573 | #. (itstool) path: imageobject/imagedata | ||
5649 | #. 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 | ||
5650 | #. 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 | ||
5680 | "<application>gtkmm</application> 4.10. There is no replacement in " | 5605 | "<application>gtkmm</application> 4.10. There is no replacement in " | ||
5681 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | 5606 | "<application>gtkmm</application>. libadwaita (a C library) has replacement " | ||
5682 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | 5607 | "parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</" | ||
5683 | "classname> might be an acceptable replacement." | 5608 | "classname> might be an acceptable replacement." | ||
5684 | 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." | ||||
5685 | 5615 | ||||
5686 | #. (itstool) path: section/para | 5616 | #. (itstool) path: section/para | ||
5687 | #: C/index-in.docbook:2297 | 5617 | #: C/index-in.docbook:2297 | ||
5688 | #, fuzzy | 5618 | #, fuzzy | ||
5689 | msgid "" | 5619 | msgid "" | ||
5752 | "standardknapparna. Använd metoden <methodname>remove_action_widget()</" | 5682 | "standardknapparna. Använd metoden <methodname>remove_action_widget()</" | ||
5753 | "methodname> för att ta bort komponenter." | 5683 | "methodname> för att ta bort komponenter." | ||
5754 | 5684 | ||||
5755 | #. (itstool) path: section/para | 5685 | #. (itstool) path: section/para | ||
5756 | #: C/index-in.docbook:2317 | 5686 | #: C/index-in.docbook:2317 | ||
n | 5757 | #, fuzzy | n | ||
5758 | #| msgid "" | ||||
5759 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
5760 | #| "classGtk_1_1Assistant.html\">Reference</link>" | ||||
5761 | msgid "" | 5687 | msgid "" | ||
5762 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5688 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5763 | "classGtk_1_1Assistant.html\">Reference</link>" | 5689 | "classGtk_1_1Assistant.html\">Reference</link>" | ||
5764 | msgstr "" | 5690 | msgstr "" | ||
n | 5765 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5691 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5766 | "classGtk_1_1Assistant.html\">Referens</link>" | 5692 | "classGtk_1_1Assistant.html\">Referens</link>" | ||
5767 | 5693 | ||||
5768 | #. (itstool) path: imageobject/imagedata | 5694 | #. (itstool) path: imageobject/imagedata | ||
5769 | #. 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 | ||
5770 | #. 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 | ||
5787 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5713 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5788 | "master/examples/book/assistant/\">Källkod</link>" | 5714 | "master/examples/book/assistant/\">Källkod</link>" | ||
5789 | 5715 | ||||
5790 | #. (itstool) path: section/title | 5716 | #. (itstool) path: section/title | ||
5791 | #: C/index-in.docbook:2336 | 5717 | #: C/index-in.docbook:2336 | ||
n | 5792 | #, fuzzy | n | ||
5793 | msgid "Other Multi-item Containers" | 5718 | msgid "Other Multi-item Containers" | ||
n | 5794 | msgstr "Andra flerobjektbehållare" | n | 5719 | msgstr "Andra flerobjektsbehållare" |
5795 | 5720 | ||||
5796 | #. (itstool) path: section/para | 5721 | #. (itstool) path: section/para | ||
5797 | #: C/index-in.docbook:2338 | 5722 | #: C/index-in.docbook:2338 | ||
n | 5798 | #, fuzzy | n | ||
5799 | msgid "" | 5723 | msgid "" | ||
5800 | "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 " | ||
5801 | "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, " | ||
5802 | "which are not mentioned elsewhere in this tutorial." | 5726 | "which are not mentioned elsewhere in this tutorial." | ||
5803 | msgstr "" | 5727 | msgstr "" | ||
n | 5804 | "Det finns andra flerobjektbehållare. Se referensdokumentationen för en " | n | 5728 | "Det finns andra flerobjektsbehållare. Se referensdokumentationen för en " |
5805 | "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 " | ||
5806 | "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." | ||
5807 | 5731 | ||||
5808 | #. (itstool) path: section/para | 5732 | #. (itstool) path: section/para | ||
5809 | #: C/index-in.docbook:2344 | 5733 | #: C/index-in.docbook:2344 | ||
5814 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5738 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5815 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | 5739 | "master/examples/book/actionbar\">Källkod, ActionBar</link>" | ||
5816 | 5740 | ||||
5817 | #. (itstool) path: section/para | 5741 | #. (itstool) path: section/para | ||
5818 | #: C/index-in.docbook:2345 | 5742 | #: C/index-in.docbook:2345 | ||
n | 5819 | #, fuzzy | n | ||
5820 | #| msgid "" | ||||
5821 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
5822 | #| "tree/master/examples/book/flowbox\">Source Code, FlowBox</link>" | ||||
5823 | msgid "" | 5743 | msgid "" | ||
5824 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5744 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
5825 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | 5745 | "master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>" | ||
5826 | msgstr "" | 5746 | msgstr "" | ||
5827 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 5747 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 5828 | "master/examples/book/flowbox\">Källkod, FlowBox</link>" | n | 5748 | "master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>" |
5829 | 5749 | ||||
5830 | #. (itstool) path: chapter/title | 5750 | #. (itstool) path: chapter/title | ||
5831 | #: C/index-in.docbook:2352 | 5751 | #: C/index-in.docbook:2352 | ||
5832 | msgid "ListView, GridView, ColumnView" | 5752 | msgid "ListView, GridView, ColumnView" | ||
5833 | msgstr "" | 5753 | msgstr "" | ||
5882 | "link> i <application>gtkmm-documentation</application>s exempel." | 5802 | "link> i <application>gtkmm-documentation</application>s exempel." | ||
5883 | 5803 | ||||
5884 | #. (itstool) path: section/title | 5804 | #. (itstool) path: section/title | ||
5885 | #: C/index-in.docbook:2377 | 5805 | #: C/index-in.docbook:2377 | ||
5886 | #, fuzzy | 5806 | #, fuzzy | ||
n | n | 5807 | #| msgid "The Model" | ||
5887 | msgid "The Data Model" | 5808 | msgid "The Data Model" | ||
5888 | msgstr "Modellen" | 5809 | msgstr "Modellen" | ||
5889 | 5810 | ||||
5890 | #. (itstool) path: section/para | 5811 | #. (itstool) path: section/para | ||
5891 | #: C/index-in.docbook:2379 | 5812 | #: C/index-in.docbook:2379 | ||
5899 | msgstr "" | 5820 | msgstr "" | ||
5900 | 5821 | ||||
5901 | #. (itstool) path: section/para | 5822 | #. (itstool) path: section/para | ||
5902 | #: C/index-in.docbook:2387 | 5823 | #: C/index-in.docbook:2387 | ||
5903 | #, fuzzy | 5824 | #, fuzzy | ||
n | 5904 | #| msgid "" | n | ||
5905 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
5906 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
5907 | #| "ComboBox class with one integer and one text column, like so:" | ||||
5908 | msgid "" | 5825 | msgid "" | ||
5909 | "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 " | ||
5910 | "instances of a subclass of <classname>Glib::Object</classname>. For " | 5827 | "instances of a subclass of <classname>Glib::Object</classname>. For " | ||
5911 | "instance, you might have a <classname>ColumnView</classname> with one " | 5828 | "instance, you might have a <classname>ColumnView</classname> with one " | ||
5912 | "integer and one text column, like so:" | 5829 | "integer and one text column, like so:" | ||
5913 | msgstr "" | 5830 | msgstr "" | ||
n | 5914 | "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 " |
5915 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 5832 | "exakt som för en <classname>ListView</classname> eller en " | ||
5916 | "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:" | ||||
5917 | 5836 | ||||
5918 | #. (itstool) path: section/programlisting | 5837 | #. (itstool) path: section/programlisting | ||
5919 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | 5838 | #: C/index-in.docbook:2393 C/index-in.docbook:3391 | ||
n | 5920 | #, 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" | ||||
5921 | msgid "" | 5861 | msgid "" | ||
5922 | "<code>class ModelColumns : public Glib::Object\n" | 5862 | "<code>class ModelColumns : public Glib::Object\n" | ||
5923 | "{\n" | 5863 | "{\n" | ||
5924 | "public:\n" | 5864 | "public:\n" | ||
5925 | " int m_col_id;\n" | 5865 | " int m_col_id;\n" | ||
5939 | "};\n" | 5879 | "};\n" | ||
5940 | "\n" | 5880 | "\n" | ||
5941 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | 5881 | "Glib::RefPtr<Gio::ListStore<ModelColumns>> m_ListStore;\n" | ||
5942 | "</code>" | 5882 | "</code>" | ||
5943 | 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" | ||||
5944 | 5904 | ||||
5945 | #. (itstool) path: section/para | 5905 | #. (itstool) path: section/para | ||
5946 | #: C/index-in.docbook:2415 | 5906 | #: C/index-in.docbook:2415 | ||
5947 | msgid "" | 5907 | msgid "" | ||
5948 | "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 " | ||
5953 | 5913 | ||||
5954 | #. (itstool) path: section/para | 5914 | #. (itstool) path: section/para | ||
5955 | #: C/index-in.docbook:2421 | 5915 | #: C/index-in.docbook:2421 | ||
5956 | #, fuzzy | 5916 | #, fuzzy | ||
5957 | #| msgid "" | 5917 | #| msgid "" | ||
n | 5958 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 5918 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
5959 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | 5919 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||
5960 | msgid "" | 5920 | msgid "" | ||
5961 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 5921 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
5962 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | 5922 | "classGio_1_1ListStore.html\">Gio::ListStore Reference</link>" | ||
5963 | msgstr "" | 5923 | msgstr "" | ||
n | 5964 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 5924 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
5965 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | 5925 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | ||
5966 | 5926 | ||||
5967 | #. (itstool) path: section/para | 5927 | #. (itstool) path: section/para | ||
5968 | #: C/index-in.docbook:2422 | 5928 | #: C/index-in.docbook:2422 | ||
5969 | #, fuzzy | 5929 | #, fuzzy | ||
n | n | 5930 | #| msgid "" | ||
5931 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5932 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5970 | msgid "" | 5933 | msgid "" | ||
5971 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5934 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5972 | "classGtk_1_1StringList.html\">StringList Reference</link>" | 5935 | "classGtk_1_1StringList.html\">StringList Reference</link>" | ||
5973 | msgstr "" | 5936 | msgstr "" | ||
n | 5974 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5937 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5975 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 5938 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
5976 | 5939 | ||||
5977 | #. (itstool) path: section/para | 5940 | #. (itstool) path: section/para | ||
5978 | #: C/index-in.docbook:2423 | 5941 | #: C/index-in.docbook:2423 | ||
5979 | #, fuzzy | 5942 | #, fuzzy | ||
n | n | 5943 | #| msgid "" | ||
5944 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5945 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
5980 | msgid "" | 5946 | msgid "" | ||
5981 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5947 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
5982 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | 5948 | "classGtk_1_1DirectoryList.html\">DirectoryList Reference</link>" | ||
5983 | msgstr "" | 5949 | msgstr "" | ||
n | 5984 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5950 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
5985 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 5951 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
5986 | 5952 | ||||
5987 | #. (itstool) path: section/title | 5953 | #. (itstool) path: section/title | ||
5988 | #: C/index-in.docbook:2427 | 5954 | #: C/index-in.docbook:2427 | ||
5989 | #, fuzzy | 5955 | #, fuzzy | ||
6010 | "ApplicationWindow</classname>." | 5976 | "ApplicationWindow</classname>." | ||
6011 | 5977 | ||||
6012 | #. (itstool) path: section/para | 5978 | #. (itstool) path: section/para | ||
6013 | #: C/index-in.docbook:2434 | 5979 | #: C/index-in.docbook:2434 | ||
6014 | #, fuzzy | 5980 | #, fuzzy | ||
n | n | 5981 | #| msgid "" | ||
5982 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5983 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
6015 | msgid "" | 5984 | msgid "" | ||
6016 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5985 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6017 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | 5986 | "classGtk_1_1NoSelection.html\">NoSelection Reference</link>" | ||
6018 | msgstr "" | 5987 | msgstr "" | ||
n | 6019 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 5988 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6020 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | 5989 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | ||
6021 | 5990 | ||||
6022 | #. (itstool) path: section/para | 5991 | #. (itstool) path: section/para | ||
6023 | #: C/index-in.docbook:2435 | 5992 | #: C/index-in.docbook:2435 | ||
6024 | #, fuzzy | 5993 | #, fuzzy | ||
n | n | 5994 | #| msgid "" | ||
5995 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
5996 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6025 | msgid "" | 5997 | msgid "" | ||
6026 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 5998 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6027 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | 5999 | "classGtk_1_1SingleSelection.html\">SingleSelection Reference</link>" | ||
6028 | msgstr "" | 6000 | msgstr "" | ||
n | 6029 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6001 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6030 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 6002 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6031 | 6003 | ||||
6032 | #. (itstool) path: section/para | 6004 | #. (itstool) path: section/para | ||
6033 | #: C/index-in.docbook:2436 | 6005 | #: C/index-in.docbook:2436 | ||
6034 | #, fuzzy | 6006 | #, fuzzy | ||
6035 | #| msgid "" | 6007 | #| msgid "" | ||
n | 6036 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6008 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6037 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | 6009 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||
6038 | msgid "" | 6010 | msgid "" | ||
6039 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6011 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6040 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | 6012 | "classGtk_1_1MultiSelection.html\">MultiSelection Reference</link>" | ||
6041 | msgstr "" | 6013 | msgstr "" | ||
n | 6042 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6014 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6043 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | 6015 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | ||
6044 | 6016 | ||||
6045 | #. (itstool) path: section/title | 6017 | #. (itstool) path: section/title | ||
6046 | #: C/index-in.docbook:2440 | 6018 | #: C/index-in.docbook:2440 | ||
6047 | #, fuzzy | 6019 | #, fuzzy | ||
6060 | msgstr "" | 6032 | msgstr "" | ||
6061 | 6033 | ||||
6062 | #. (itstool) path: section/para | 6034 | #. (itstool) path: section/para | ||
6063 | #: C/index-in.docbook:2448 | 6035 | #: C/index-in.docbook:2448 | ||
6064 | #, fuzzy | 6036 | #, fuzzy | ||
n | n | 6037 | #| msgid "" | ||
6038 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6039 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6065 | msgid "" | 6040 | msgid "" | ||
6066 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6041 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6067 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | 6042 | "classGtk_1_1SignalListItemFactory.html\">SignalListItemFactory Reference</" | ||
6068 | "link>" | 6043 | "link>" | ||
6069 | msgstr "" | 6044 | msgstr "" | ||
n | 6070 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6045 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6071 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 6046 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6072 | 6047 | ||||
6073 | #. (itstool) path: section/title | 6048 | #. (itstool) path: section/title | ||
6074 | #: 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 | ||
6075 | #, fuzzy | 6050 | #, fuzzy | ||
6127 | 6102 | ||||
6128 | #. (itstool) path: section/para | 6103 | #. (itstool) path: section/para | ||
6129 | #: C/index-in.docbook:2478 | 6104 | #: C/index-in.docbook:2478 | ||
6130 | #, fuzzy | 6105 | #, fuzzy | ||
6131 | #| msgid "" | 6106 | #| msgid "" | ||
n | 6132 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6107 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6133 | #| "classGtk_1_1TextView.html\">Reference</link>" | 6108 | #| "classGtk_1_1TextView.html\">Reference</link>" | ||
6134 | msgid "" | 6109 | msgid "" | ||
6135 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6110 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6136 | "classGtk_1_1ListView.html\">Reference</link>" | 6111 | "classGtk_1_1ListView.html\">Reference</link>" | ||
6137 | msgstr "" | 6112 | msgstr "" | ||
n | 6138 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6113 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6139 | "classGtk_1_1TextView.html\">Referens</link>" | 6114 | "classGtk_1_1TextView.html\">Referens</link>" | ||
6140 | 6115 | ||||
6141 | #. (itstool) path: imageobject/imagedata | 6116 | #. (itstool) path: imageobject/imagedata | ||
6142 | #. 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 | ||
6143 | #. 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 | ||
6155 | #. (itstool) path: section/para | 6130 | #. (itstool) path: section/para | ||
6156 | #: C/index-in.docbook:2490 | 6131 | #: C/index-in.docbook:2490 | ||
6157 | #, fuzzy | 6132 | #, fuzzy | ||
6158 | #| msgid "" | 6133 | #| msgid "" | ||
6159 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6134 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6160 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | n | 6135 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6136 | #| "GridView</link>" | ||||
6161 | msgid "" | 6137 | msgid "" | ||
6162 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6138 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6163 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | 6139 | "master/examples/book/listmodelviews/list_listview\">Source Code</link>" | ||
6164 | msgstr "" | 6140 | msgstr "" | ||
6165 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6141 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6166 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6142 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6167 | 6143 | ||||
6168 | #. (itstool) path: section/title | 6144 | #. (itstool) path: section/title | ||
6169 | #. (itstool) path: figure/title | 6145 | #. (itstool) path: figure/title | ||
6170 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | 6146 | #: C/index-in.docbook:2496 C/index-in.docbook:2508 | ||
6171 | #, fuzzy | 6147 | #, fuzzy | ||
6182 | 6158 | ||||
6183 | #. (itstool) path: section/para | 6159 | #. (itstool) path: section/para | ||
6184 | #: C/index-in.docbook:2502 | 6160 | #: C/index-in.docbook:2502 | ||
6185 | #, fuzzy | 6161 | #, fuzzy | ||
6186 | #| msgid "" | 6162 | #| msgid "" | ||
n | 6187 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6163 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6188 | #| "classGtk_1_1Grid.html\">Reference</link>" | 6164 | #| "classGtk_1_1Grid.html\">Reference</link>" | ||
6189 | msgid "" | 6165 | msgid "" | ||
6190 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6166 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6191 | "classGtk_1_1GridView.html\">Reference</link>" | 6167 | "classGtk_1_1GridView.html\">Reference</link>" | ||
6192 | msgstr "" | 6168 | msgstr "" | ||
n | 6193 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6169 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6194 | "classGtk_1_1Grid.html\">Referens</link>" | 6170 | "classGtk_1_1Grid.html\">Referens</link>" | ||
6195 | 6171 | ||||
6196 | #. (itstool) path: imageobject/imagedata | 6172 | #. (itstool) path: imageobject/imagedata | ||
6197 | #. 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 | ||
6198 | #. 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 | ||
6211 | #. (itstool) path: section/para | 6187 | #. (itstool) path: section/para | ||
6212 | #: C/index-in.docbook:2514 | 6188 | #: C/index-in.docbook:2514 | ||
6213 | #, fuzzy | 6189 | #, fuzzy | ||
6214 | #| msgid "" | 6190 | #| msgid "" | ||
6215 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6191 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6216 | #| "tree/master/examples/book/textview/\">Source Code</link>" | n | 6192 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6193 | #| "GridView</link>" | ||||
6217 | msgid "" | 6194 | msgid "" | ||
6218 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6195 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6219 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | 6196 | "master/examples/book/listmodelviews/gridview\">Source Code</link>" | ||
6220 | msgstr "" | 6197 | msgstr "" | ||
6221 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6198 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6222 | "master/examples/book/textview/\">Källkod</link>" | n | 6199 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6223 | 6200 | ||||
6224 | #. (itstool) path: section/title | 6201 | #. (itstool) path: section/title | ||
6225 | #. (itstool) path: figure/title | 6202 | #. (itstool) path: figure/title | ||
6226 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | 6203 | #: C/index-in.docbook:2520 C/index-in.docbook:2532 | ||
6227 | msgid "ColumnView" | 6204 | msgid "ColumnView" | ||
6242 | 6219 | ||||
6243 | #. (itstool) path: section/para | 6220 | #. (itstool) path: section/para | ||
6244 | #: C/index-in.docbook:2526 | 6221 | #: C/index-in.docbook:2526 | ||
6245 | #, fuzzy | 6222 | #, fuzzy | ||
6246 | #| msgid "" | 6223 | #| msgid "" | ||
n | 6247 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6224 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6248 | #| "classGtk_1_1TreeView.html\">Reference</link>" | 6225 | #| "classGtk_1_1TreeView.html\">Reference</link>" | ||
6249 | msgid "" | 6226 | msgid "" | ||
6250 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6227 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6251 | "classGtk_1_1ColumnView.html\">Reference</link>" | 6228 | "classGtk_1_1ColumnView.html\">Reference</link>" | ||
6252 | msgstr "" | 6229 | msgstr "" | ||
n | 6253 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6230 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6254 | "classGtk_1_1TreeView.html\">Referens</link>" | 6231 | "classGtk_1_1TreeView.html\">Referens</link>" | ||
6255 | 6232 | ||||
6256 | #. (itstool) path: imageobject/imagedata | 6233 | #. (itstool) path: imageobject/imagedata | ||
6257 | #. 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 | ||
6258 | #. 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 | ||
6270 | #. (itstool) path: section/para | 6247 | #. (itstool) path: section/para | ||
6271 | #: C/index-in.docbook:2538 | 6248 | #: C/index-in.docbook:2538 | ||
6272 | #, fuzzy | 6249 | #, fuzzy | ||
6273 | #| msgid "" | 6250 | #| msgid "" | ||
6274 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6251 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6275 | #| "tree/master/examples/book/treeview/list/\">Source Code</link>" | n | 6252 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6253 | #| "GridView</link>" | ||||
6276 | msgid "" | 6254 | msgid "" | ||
6277 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6255 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6278 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | 6256 | "master/examples/book/listmodelviews/list_columnview\">Source Code</link>" | ||
6279 | msgstr "" | 6257 | msgstr "" | ||
6280 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6258 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6281 | "master/examples/book/treeview/list/\">Källkod</link>" | n | 6259 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6282 | 6260 | ||||
6283 | #. (itstool) path: section/title | 6261 | #. (itstool) path: section/title | ||
6284 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | 6262 | #: C/index-in.docbook:2545 C/index-in.docbook:3139 | ||
6285 | msgid "Sorting" | 6263 | msgid "Sorting" | ||
6286 | msgstr "Sortering" | 6264 | msgstr "Sortering" | ||
6320 | 6298 | ||||
6321 | #. (itstool) path: section/para | 6299 | #. (itstool) path: section/para | ||
6322 | #: C/index-in.docbook:2562 | 6300 | #: C/index-in.docbook:2562 | ||
6323 | #, fuzzy | 6301 | #, fuzzy | ||
6324 | #| msgid "" | 6302 | #| msgid "" | ||
n | 6325 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6303 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6326 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6304 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | ||
6327 | msgid "" | 6305 | msgid "" | ||
6328 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6306 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6329 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | 6307 | "classGtk_1_1SortListModel.html\">SortListModel Reference</link>" | ||
6330 | msgstr "" | 6308 | msgstr "" | ||
n | 6331 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6309 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6332 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6310 | "classGtk_1_1TreeModel.html\">Referens</link>" | ||
6333 | 6311 | ||||
6334 | #. (itstool) path: section/para | 6312 | #. (itstool) path: section/para | ||
6335 | #: C/index-in.docbook:2563 | 6313 | #: C/index-in.docbook:2563 | ||
6336 | #, fuzzy | 6314 | #, fuzzy | ||
6337 | #| msgid "" | 6315 | #| msgid "" | ||
n | 6338 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6316 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6339 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | 6317 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||
6340 | msgid "" | 6318 | msgid "" | ||
6341 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6319 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6342 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | 6320 | "classGtk_1_1StringSorter.html\">StringSorter Reference</link>" | ||
6343 | msgstr "" | 6321 | msgstr "" | ||
n | 6344 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6322 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6345 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | 6323 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | ||
6346 | 6324 | ||||
6347 | #. (itstool) path: section/para | 6325 | #. (itstool) path: section/para | ||
6348 | #: C/index-in.docbook:2564 | 6326 | #: C/index-in.docbook:2564 | ||
6349 | #, fuzzy | 6327 | #, fuzzy | ||
6350 | #| msgid "" | 6328 | #| msgid "" | ||
n | 6351 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6329 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6352 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | 6330 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||
6353 | msgid "" | 6331 | msgid "" | ||
6354 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6332 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6355 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | 6333 | "classGtk_1_1NumericSorter.html\">NumericSorter Reference</link>" | ||
6356 | msgstr "" | 6334 | msgstr "" | ||
n | 6357 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6335 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6358 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | 6336 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | ||
6359 | 6337 | ||||
6360 | #. (itstool) path: figure/title | 6338 | #. (itstool) path: figure/title | ||
6361 | #: C/index-in.docbook:2570 | 6339 | #: C/index-in.docbook:2570 | ||
6362 | msgid "SortListModel" | 6340 | msgid "SortListModel" | ||
6398 | msgstr "Filtrera filer" | 6376 | msgstr "Filtrera filer" | ||
6399 | 6377 | ||||
6400 | #. (itstool) path: section/para | 6378 | #. (itstool) path: section/para | ||
6401 | #: C/index-in.docbook:2584 | 6379 | #: C/index-in.docbook:2584 | ||
6402 | #, 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>." | ||||
6403 | msgid "" | 6386 | msgid "" | ||
6404 | "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</" | ||
6405 | "classname>. Set a <classname>Filter</classname> such as a " | 6388 | "classname>. Set a <classname>Filter</classname> such as a " | ||
6406 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | 6389 | "<classname>StringFilter</classname> or a <classname>BoolFilter</classname> " | ||
6407 | "to the <classname>FilterListModel</classname>." | 6390 | "to the <classname>FilterListModel</classname>." | ||
6408 | msgstr "" | 6391 | msgstr "" | ||
6409 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | 6392 | "<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs " | ||
6410 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | 6393 | "bort, ersatta av <classname>Gtk::StyleContext</classname> och olika " | ||
n | 6411 | "<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</" | n | 6394 | "<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::" |
6412 | "classname>." | 6395 | "CssProvider</classname>." | ||
6413 | 6396 | ||||
6414 | #. (itstool) path: section/para | 6397 | #. (itstool) path: section/para | ||
6415 | #: C/index-in.docbook:2590 | 6398 | #: C/index-in.docbook:2590 | ||
6416 | #, fuzzy | 6399 | #, fuzzy | ||
6417 | #| msgid "" | 6400 | #| msgid "" | ||
n | 6418 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6401 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6419 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6402 | #| "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||
6420 | msgid "" | 6403 | msgid "" | ||
6421 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6404 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6422 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | 6405 | "classGtk_1_1FilterListModel.html\">FilterListModel Reference</link>" | ||
6423 | msgstr "" | 6406 | msgstr "" | ||
n | 6424 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6407 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6425 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6408 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | ||
6426 | 6409 | ||||
6427 | #. (itstool) path: section/para | 6410 | #. (itstool) path: section/para | ||
6428 | #: C/index-in.docbook:2591 | 6411 | #: C/index-in.docbook:2591 | ||
6429 | #, fuzzy | 6412 | #, fuzzy | ||
n | n | 6413 | #| msgid "" | ||
6414 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6415 | #| "classGtk_1_1Widget.html\">Widget Reference</link>" | ||||
6430 | msgid "" | 6416 | msgid "" | ||
6431 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6417 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6432 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | 6418 | "classGtk_1_1StringFilter.html\">StringFilter Reference</link>" | ||
6433 | msgstr "" | 6419 | msgstr "" | ||
n | 6434 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6420 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6435 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 6421 | "classGtk_1_1Widget.html\">Widget-referens</link>" | ||
6436 | 6422 | ||||
6437 | #. (itstool) path: section/para | 6423 | #. (itstool) path: section/para | ||
6438 | #: C/index-in.docbook:2592 | 6424 | #: C/index-in.docbook:2592 | ||
6439 | #, fuzzy | 6425 | #, fuzzy | ||
n | n | 6426 | #| msgid "" | ||
6427 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||||
6428 | #| "classGtk_1_1Tooltip.html\">Tooltip Reference</link>" | ||||
6440 | msgid "" | 6429 | msgid "" | ||
6441 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6430 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6442 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | 6431 | "classGtk_1_1BoolFilter.html\">BoolFilter Reference</link>" | ||
6443 | msgstr "" | 6432 | msgstr "" | ||
n | 6444 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6433 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6445 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | 6434 | "classGtk_1_1Tooltip.html\">Tooltip-referens</link>" | ||
6446 | 6435 | ||||
6447 | #. (itstool) path: figure/title | 6436 | #. (itstool) path: figure/title | ||
6448 | #: C/index-in.docbook:2598 | 6437 | #: C/index-in.docbook:2598 | ||
6449 | msgid "FilterListModel" | 6438 | msgid "FilterListModel" | ||
6477 | "master/examples/book/textview/\">Källkod</link>" | 6466 | "master/examples/book/textview/\">Källkod</link>" | ||
6478 | 6467 | ||||
6479 | #. (itstool) path: section/title | 6468 | #. (itstool) path: section/title | ||
6480 | #: C/index-in.docbook:2610 | 6469 | #: C/index-in.docbook:2610 | ||
6481 | #, fuzzy | 6470 | #, fuzzy | ||
n | n | 6471 | #| msgid "Applying Tags" | ||
6482 | msgid "Displaying Trees" | 6472 | msgid "Displaying Trees" | ||
6483 | msgstr "Tillämpa taggar" | 6473 | msgstr "Tillämpa taggar" | ||
6484 | 6474 | ||||
6485 | #. (itstool) path: section/para | 6475 | #. (itstool) path: section/para | ||
6486 | #: C/index-in.docbook:2612 | 6476 | #: C/index-in.docbook:2612 | ||
6497 | 6487 | ||||
6498 | #. (itstool) path: section/para | 6488 | #. (itstool) path: section/para | ||
6499 | #: C/index-in.docbook:2622 | 6489 | #: C/index-in.docbook:2622 | ||
6500 | #, fuzzy | 6490 | #, fuzzy | ||
6501 | #| msgid "" | 6491 | #| msgid "" | ||
n | 6502 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6492 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6503 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6493 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||
6504 | msgid "" | 6494 | msgid "" | ||
6505 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6495 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6506 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | 6496 | "classGtk_1_1TreeListModel.html\">TreeListModel Reference</link>" | ||
6507 | msgstr "" | 6497 | msgstr "" | ||
n | 6508 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6498 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6509 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6499 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
6510 | 6500 | ||||
6511 | #. (itstool) path: section/para | 6501 | #. (itstool) path: section/para | ||
6512 | #: C/index-in.docbook:2623 | 6502 | #: C/index-in.docbook:2623 | ||
6513 | #, fuzzy | 6503 | #, fuzzy | ||
6514 | #| msgid "" | 6504 | #| msgid "" | ||
n | 6515 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6505 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6516 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 6506 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||
6517 | msgid "" | 6507 | msgid "" | ||
6518 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6508 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6519 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | 6509 | "classGtk_1_1TreeExpander.html\">TreeExpander Reference</link>" | ||
6520 | msgstr "" | 6510 | msgstr "" | ||
n | 6521 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6511 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6522 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 6512 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
6523 | 6513 | ||||
6524 | #. (itstool) path: figure/title | 6514 | #. (itstool) path: figure/title | ||
6525 | #: C/index-in.docbook:2629 | 6515 | #: C/index-in.docbook:2629 | ||
6526 | #, fuzzy | 6516 | #, fuzzy | ||
n | n | 6517 | #| msgid "The Model" | ||
6527 | msgid "TreeListModel" | 6518 | msgid "TreeListModel" | ||
6528 | msgstr "Modellen" | 6519 | msgstr "Modellen" | ||
6529 | 6520 | ||||
6530 | #. (itstool) path: imageobject/imagedata | 6521 | #. (itstool) path: imageobject/imagedata | ||
6531 | #. 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 | ||
6544 | #. (itstool) path: section/para | 6535 | #. (itstool) path: section/para | ||
6545 | #: C/index-in.docbook:2635 | 6536 | #: C/index-in.docbook:2635 | ||
6546 | #, fuzzy | 6537 | #, fuzzy | ||
6547 | #| msgid "" | 6538 | #| msgid "" | ||
6548 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | 6539 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||
n | 6549 | #| "tree/master/examples/book/treeview/tree/\">Source Code</link>" | n | 6540 | #| "tree/master/examples/book/listmodelviews/gridview\">Source Code, " |
6541 | #| "GridView</link>" | ||||
6550 | msgid "" | 6542 | msgid "" | ||
6551 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6543 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
6552 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | 6544 | "master/examples/book/listmodelviews/tree_columnview\">Source Code</link>" | ||
6553 | msgstr "" | 6545 | msgstr "" | ||
6554 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 6546 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 6555 | "master/examples/book/treeview/tree/\">Källkod</link>" | n | 6547 | "master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>" |
6556 | 6548 | ||||
6557 | #. (itstool) path: chapter/title | 6549 | #. (itstool) path: chapter/title | ||
6558 | #: C/index-in.docbook:2643 | 6550 | #: C/index-in.docbook:2643 | ||
6559 | msgid "The TreeView widget" | 6551 | msgid "The TreeView widget" | ||
6560 | msgstr "TreeView-komponenten" | 6552 | msgstr "TreeView-komponenten" | ||
6561 | 6553 | ||||
6562 | #. (itstool) path: note/para | 6554 | #. (itstool) path: note/para | ||
6563 | #: C/index-in.docbook:2645 | 6555 | #: C/index-in.docbook:2645 | ||
n | 6564 | #, fuzzy | n | ||
6565 | #| msgid "" | ||||
6566 | #| "<classname>Gdk::DragContext</classname> has been split into " | ||||
6567 | #| "<classname>Gdk::Drag</classname> and <classname>Gdk::Drop</classname>." | ||||
6568 | msgid "" | 6556 | msgid "" | ||
6569 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | 6557 | "<classname>Gtk::TreeView</classname> is deprecated since <application>gtkmm</" | ||
6570 | "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 " | ||
6571 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | 6559 | "lists and <classname>Gtk::ColumnView</classname> for tabular lists." | ||
6572 | msgstr "" | 6560 | msgstr "" | ||
n | 6573 | "<classname>Gdk::DragContext</classname> har delats upp i <classname>Gdk::" | n | 6561 | "<classname>Gtk::TreeView</classname> är föråldrad sedan <application>gtkmm</" |
6574 | "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." | ||||
6575 | 6564 | ||||
6576 | #. (itstool) path: chapter/para | 6565 | #. (itstool) path: chapter/para | ||
6577 | #: C/index-in.docbook:2650 | 6566 | #: C/index-in.docbook:2650 | ||
6578 | msgid "" | 6567 | msgid "" | ||
6579 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | 6568 | "The <classname>Gtk::TreeView</classname> widget can contain lists or trees " | ||
6582 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | 6571 | "Komponenten <classname>Gtk::TreeView</classname> kan innehålla listor eller " | ||
6583 | "träd med data i kolumner." | 6572 | "träd med data i kolumner." | ||
6584 | 6573 | ||||
6585 | #. (itstool) path: section/title | 6574 | #. (itstool) path: section/title | ||
6586 | #: C/index-in.docbook:2656 | 6575 | #: C/index-in.docbook:2656 | ||
n | 6587 | #, fuzzy | n | ||
6588 | msgid "The Model" | 6576 | msgid "The Model" | ||
6589 | msgstr "Modellen" | 6577 | msgstr "Modellen" | ||
6590 | 6578 | ||||
6591 | #. (itstool) path: section/para | 6579 | #. (itstool) path: section/para | ||
6592 | #: C/index-in.docbook:2658 | 6580 | #: C/index-in.docbook:2658 | ||
6622 | "använda antingen modellklasserna <classname>ListStore</classname> eller " | 6610 | "använda antingen modellklasserna <classname>ListStore</classname> eller " | ||
6623 | "<classname>TreeStore</classname>." | 6611 | "<classname>TreeStore</classname>." | ||
6624 | 6612 | ||||
6625 | #. (itstool) path: section/para | 6613 | #. (itstool) path: section/para | ||
6626 | #: C/index-in.docbook:2674 | 6614 | #: C/index-in.docbook:2674 | ||
n | 6627 | #, fuzzy | n | ||
6628 | #| msgid "" | ||||
6629 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
6630 | #| "classGtk_1_1TreeModel.html\">Reference</link>" | ||||
6631 | msgid "" | 6615 | msgid "" | ||
6632 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6616 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6633 | "classGtk_1_1TreeModel.html\">Reference</link>" | 6617 | "classGtk_1_1TreeModel.html\">Reference</link>" | ||
6634 | msgstr "" | 6618 | msgstr "" | ||
n | 6635 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6619 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6636 | "classGtk_1_1TreeModel.html\">Referens</link>" | 6620 | "classGtk_1_1TreeModel.html\">Referens</link>" | ||
6637 | 6621 | ||||
6638 | #. (itstool) path: section/title | 6622 | #. (itstool) path: section/title | ||
6639 | #: C/index-in.docbook:2677 | 6623 | #: C/index-in.docbook:2677 | ||
6640 | msgid "ListStore, for rows" | 6624 | msgid "ListStore, for rows" | ||
6669 | "external ref='figures/treeview_list.png' " | 6653 | "external ref='figures/treeview_list.png' " | ||
6670 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | 6654 | "md5='60e5e4ecb284d0cdc53373fe0ec858ee'" | ||
6671 | 6655 | ||||
6672 | #. (itstool) path: section/para | 6656 | #. (itstool) path: section/para | ||
6673 | #: C/index-in.docbook:2691 | 6657 | #: C/index-in.docbook:2691 | ||
n | 6674 | #, fuzzy | n | ||
6675 | #| msgid "" | ||||
6676 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
6677 | #| "classGtk_1_1ListStore.html\">Reference</link>" | ||||
6678 | msgid "" | 6658 | msgid "" | ||
6679 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6659 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6680 | "classGtk_1_1ListStore.html\">Reference</link>" | 6660 | "classGtk_1_1ListStore.html\">Reference</link>" | ||
6681 | msgstr "" | 6661 | msgstr "" | ||
n | 6682 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6662 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6683 | "classGtk_1_1ListStore.html\">Referens</link>" | 6663 | "classGtk_1_1ListStore.html\">Referens</link>" | ||
6684 | 6664 | ||||
6685 | #. (itstool) path: section/title | 6665 | #. (itstool) path: section/title | ||
6686 | #: C/index-in.docbook:2696 | 6666 | #: C/index-in.docbook:2696 | ||
6687 | msgid "TreeStore, for a hierarchy" | 6667 | msgid "TreeStore, for a hierarchy" | ||
6716 | "external ref='figures/treeview_tree.png' " | 6696 | "external ref='figures/treeview_tree.png' " | ||
6717 | "md5='2270025659b23ebfc0e38d8b629289ef'" | 6697 | "md5='2270025659b23ebfc0e38d8b629289ef'" | ||
6718 | 6698 | ||||
6719 | #. (itstool) path: section/para | 6699 | #. (itstool) path: section/para | ||
6720 | #: C/index-in.docbook:2710 | 6700 | #: C/index-in.docbook:2710 | ||
n | 6721 | #, fuzzy | n | ||
6722 | #| msgid "" | ||||
6723 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
6724 | #| "classGtk_1_1TreeStore.html\">Reference</link>" | ||||
6725 | msgid "" | 6701 | msgid "" | ||
6726 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6702 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
6727 | "classGtk_1_1TreeStore.html\">Reference</link>" | 6703 | "classGtk_1_1TreeStore.html\">Reference</link>" | ||
6728 | msgstr "" | 6704 | msgstr "" | ||
n | 6729 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6705 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
6730 | "classGtk_1_1TreeStore.html\">Referens</link>" | 6706 | "classGtk_1_1TreeStore.html\">Referens</link>" | ||
6731 | 6707 | ||||
6732 | #. (itstool) path: section/title | 6708 | #. (itstool) path: section/title | ||
6733 | #: C/index-in.docbook:2715 | 6709 | #: C/index-in.docbook:2715 | ||
6734 | msgid "Model Columns" | 6710 | msgid "Model Columns" | ||
6960 | "auto strText = row[m_Columns.m_col_text];\n" | 6936 | "auto strText = row[m_Columns.m_col_text];\n" | ||
6961 | "auto number = row[m_Columns.m_col_number];" | 6937 | "auto number = row[m_Columns.m_col_number];" | ||
6962 | 6938 | ||||
6963 | #. (itstool) path: section/para | 6939 | #. (itstool) path: section/para | ||
6964 | #: C/index-in.docbook:2803 | 6940 | #: C/index-in.docbook:2803 | ||
n | 6965 | #, fuzzy | n | ||
6966 | msgid "" | 6941 | msgid "" | ||
6967 | "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, " | ||
6968 | "this would generate a compiler error:" | 6943 | "this would generate a compiler error:" | ||
6969 | msgstr "" | 6944 | msgstr "" | ||
n | 6970 | "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 " |
6971 | "detta generera ett kompilatorfel:" | 6946 | "detta generera ett kompileringsfel:" | ||
6972 | 6947 | ||||
6973 | #. (itstool) path: section/programlisting | 6948 | #. (itstool) path: section/programlisting | ||
6974 | #: C/index-in.docbook:2807 | 6949 | #: C/index-in.docbook:2807 | ||
6975 | #, fuzzy, no-wrap | 6950 | #, fuzzy, no-wrap | ||
6976 | #| msgid "" | 6951 | #| msgid "" | ||
6978 | #| "int number = row[m_Columns.m_col_text];" | 6953 | #| "int number = row[m_Columns.m_col_text];" | ||
6979 | msgid "" | 6954 | msgid "" | ||
6980 | "<code>//compiler error - no conversion from ustring to int.\n" | 6955 | "<code>//compiler error - no conversion from ustring to int.\n" | ||
6981 | "int number = row[m_Columns.m_col_text];</code>" | 6956 | "int number = row[m_Columns.m_col_text];</code>" | ||
6982 | msgstr "" | 6957 | msgstr "" | ||
n | 6983 | "//kompilatorfel - ingen konvertering från ustring till int.\n" | n | 6958 | "//kompileringsfel - ingen konvertering från ustring till int.\n" |
6984 | "int number = row[m_Columns.m_col_text];" | 6959 | "int number = row[m_Columns.m_col_text];" | ||
6985 | 6960 | ||||
6986 | #. (itstool) path: section/title | 6961 | #. (itstool) path: section/title | ||
6987 | #: C/index-in.docbook:2812 | 6962 | #: C/index-in.docbook:2812 | ||
6988 | msgid "\"Hidden\" Columns" | 6963 | msgid "\"Hidden\" Columns" | ||
7012 | "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 " | ||
7013 | "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." | ||
7014 | 6989 | ||||
7015 | #. (itstool) path: section/para | 6990 | #. (itstool) path: section/para | ||
7016 | #: C/index-in.docbook:2832 | 6991 | #: C/index-in.docbook:2832 | ||
n | 7017 | #, fuzzy | n | ||
7018 | #| msgid "" | ||||
7019 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
7020 | #| "classGtk_1_1TreeView.html\">Reference</link>" | ||||
7021 | msgid "" | 6992 | msgid "" | ||
7022 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 6993 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
7023 | "classGtk_1_1TreeView.html\">Reference</link>" | 6994 | "classGtk_1_1TreeView.html\">Reference</link>" | ||
7024 | msgstr "" | 6995 | msgstr "" | ||
n | 7025 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 6996 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
7026 | "classGtk_1_1TreeView.html\">Referens</link>" | 6997 | "classGtk_1_1TreeView.html\">Referens</link>" | ||
7027 | 6998 | ||||
7028 | #. (itstool) path: section/title | 6999 | #. (itstool) path: section/title | ||
7029 | #: C/index-in.docbook:2835 | 7000 | #: C/index-in.docbook:2835 | ||
7030 | #, fuzzy | 7001 | #, fuzzy | ||
7062 | "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 " | ||
7063 | "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 " | ||
7064 | "a certain column title." | 7035 | "a certain column title." | ||
7065 | msgstr "" | 7036 | msgstr "" | ||
7066 | "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 | 7067 | "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 " |
7068 | "viss kolumntitel." | 7039 | "viss kolumntitel." | ||
7069 | 7040 | ||||
7070 | #. (itstool) path: section/programlisting | 7041 | #. (itstool) path: section/programlisting | ||
7071 | #: C/index-in.docbook:2853 | 7042 | #: C/index-in.docbook:2853 | ||
7072 | #, fuzzy, no-wrap | 7043 | #, fuzzy, no-wrap | ||
7087 | "<methodname>TreeViewColumn::set_cell_data_func()</methodname>, or derive a " | 7058 | "<methodname>TreeViewColumn::set_cell_data_func()</methodname>, or derive a " | ||
7088 | "custom <classname>CellRenderer</classname>. Note that (unsigned) short is " | 7059 | "custom <classname>CellRenderer</classname>. Note that (unsigned) short is " | ||
7089 | "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 " | ||
7090 | "as the column type instead." | 7061 | "as the column type instead." | ||
7091 | msgstr "" | 7062 | msgstr "" | ||
n | 7092 | "När denna enkla <methodname>append_column()</methodname>-överlagring använs " | n | 7063 | "När denna enkla <methodname>append_column()</methodname>-överlagring används " |
7093 | "kommer vår <classname>TreeView</classname> modelldata med en lämplig " | 7064 | "kommer vår <classname>TreeView</classname> modelldata med en lämplig " | ||
7094 | "<classname>CellRenderer</classname>. Strängar och tal visas exempelvis i en " | 7065 | "<classname>CellRenderer</classname>. Strängar och tal visas exempelvis i en " | ||
7095 | "enkel <classname>Gtk::Entry</classname>-komponent, och booleaner visas i en " | 7066 | "enkel <classname>Gtk::Entry</classname>-komponent, och booleaner visas i en " | ||
7096 | "<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. " | ||
7097 | "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 " | ||
7137 | "vår <classname>TreeModelColumn</classname> från vilken den genererar en " | 7108 | "vår <classname>TreeModelColumn</classname> från vilken den genererar en " | ||
7138 | "lämplig <classname>Gtk::TreeView::Column</classname>-komponent." | 7109 | "lämplig <classname>Gtk::TreeView::Column</classname>-komponent." | ||
7139 | 7110 | ||||
7140 | #. (itstool) path: section/para | 7111 | #. (itstool) path: section/para | ||
7141 | #: C/index-in.docbook:2885 | 7112 | #: C/index-in.docbook:2885 | ||
n | 7142 | #, fuzzy | n | ||
7143 | msgid "" | 7113 | msgid "" | ||
7144 | "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 " | ||
7145 | "same column:" | 7115 | "same column:" | ||
7146 | msgstr "" | 7116 | msgstr "" | ||
7147 | "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 " | ||
7161 | "m_TreeView.append_column(*pColumn);</code>" | 7131 | "m_TreeView.append_column(*pColumn);</code>" | ||
7162 | msgstr "" | 7132 | msgstr "" | ||
7163 | "\n" | 7133 | "\n" | ||
7164 | "auto pColumn = Gtk::make_managed<Gtk::TreeView::Column>(\"Ikonnamn\");\n" | 7134 | "auto pColumn = Gtk::make_managed<Gtk::TreeView::Column>(\"Ikonnamn\");\n" | ||
7165 | "\n" | 7135 | "\n" | ||
n | 7166 | "// 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" |
7167 | "// pColumn is the column in the TreeView:\n" | 7137 | "// pColumn är kolumnen i vår TreeView:\n" | ||
7168 | "pColumn->pack_start(m_columns.icon, /* expand= */ false);\n" | 7138 | "pColumn->pack_start(m_columns.icon, /* expand= */ false);\n" | ||
7169 | "pColumn->pack_start(m_columns.iconname);\n" | 7139 | "pColumn->pack_start(m_columns.iconname);\n" | ||
7170 | "\n" | 7140 | "\n" | ||
7171 | "m_TreeView.append_column(*pColumn);" | 7141 | "m_TreeView.append_column(*pColumn);" | ||
7172 | 7142 | ||||
7173 | #. (itstool) path: section/title | 7143 | #. (itstool) path: section/title | ||
7174 | #: C/index-in.docbook:2899 | 7144 | #: C/index-in.docbook:2899 | ||
n | 7175 | #, fuzzy | n | ||
7176 | msgid "Specifying CellRenderer details" | 7145 | msgid "Specifying CellRenderer details" | ||
7177 | msgstr "Ange detaljer för CellRenderer" | 7146 | msgstr "Ange detaljer för CellRenderer" | ||
7178 | 7147 | ||||
7179 | #. (itstool) path: section/para | 7148 | #. (itstool) path: section/para | ||
7180 | #: C/index-in.docbook:2901 | 7149 | #: C/index-in.docbook:2901 | ||
7325 | "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, " | ||
7326 | "så du kan använda specifikt API." | 7295 | "så du kan använda specifikt API." | ||
7327 | 7296 | ||||
7328 | #. (itstool) path: section/para | 7297 | #. (itstool) path: section/para | ||
7329 | #: C/index-in.docbook:2965 | 7298 | #: C/index-in.docbook:2965 | ||
n | 7330 | #, fuzzy | n | ||
7331 | msgid "" | 7299 | msgid "" | ||
7332 | "For instance, for a CellRendererText, you would set the cell's " | 7300 | "For instance, for a CellRendererText, you would set the cell's " | ||
7333 | "<emphasis>editable</emphasis> property to true, like so:" | 7301 | "<emphasis>editable</emphasis> property to true, like so:" | ||
7334 | msgstr "" | 7302 | msgstr "" | ||
7335 | "För en CellRendererText skulle du exempelvis ställa in cellens " | 7303 | "För en CellRendererText skulle du exempelvis ställa in cellens " | ||
7336 | "<emphasis>editable</emphasis>-egenskap till true, så här:" | 7304 | "<emphasis>editable</emphasis>-egenskap till true, så här:" | ||
7337 | 7305 | ||||
7338 | #. (itstool) path: section/programlisting | 7306 | #. (itstool) path: section/programlisting | ||
7339 | #: C/index-in.docbook:2968 | 7307 | #: C/index-in.docbook:2968 | ||
7340 | #, fuzzy, no-wrap | 7308 | #, fuzzy, no-wrap | ||
n | n | 7309 | #| msgid "cell->property_editable() = true;" | ||
7341 | msgid "<code>cell->property_editable() = true;</code>" | 7310 | msgid "<code>cell->property_editable() = true;</code>" | ||
7342 | msgstr "cell->property_editable() = true;" | 7311 | msgstr "cell->property_editable() = true;" | ||
7343 | 7312 | ||||
7344 | #. (itstool) path: section/para | 7313 | #. (itstool) path: section/para | ||
7345 | #: C/index-in.docbook:2969 | 7314 | #: C/index-in.docbook:2969 | ||
n | 7346 | #, fuzzy | n | ||
7347 | msgid "" | 7315 | msgid "" | ||
7348 | "For a CellRendererToggle, you would set the <emphasis>activatable</emphasis> " | 7316 | "For a CellRendererToggle, you would set the <emphasis>activatable</emphasis> " | ||
7349 | "property instead." | 7317 | "property instead." | ||
7350 | msgstr "" | 7318 | msgstr "" | ||
7351 | "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 " | ||
7720 | "classname> eller <classname>Gtk::TreeModel::Row</classname>, så här:" | 7688 | "classname> eller <classname>Gtk::TreeModel::Row</classname>, så här:" | ||
7721 | 7689 | ||||
7722 | #. (itstool) path: section/programlisting | 7690 | #. (itstool) path: section/programlisting | ||
7723 | #: C/index-in.docbook:3126 | 7691 | #: C/index-in.docbook:3126 | ||
7724 | #, 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());" | ||||
7725 | msgid "" | 7697 | msgid "" | ||
7726 | "<code>auto row = m_refModel->children()[5]; //The sixth row.\n" | 7698 | "<code>auto row = m_refModel->children()[5]; //The sixth row.\n" | ||
7727 | "if(row)\n" | 7699 | "if(row)\n" | ||
7728 | " refTreeSelection->select(row.get_iter());</code>" | 7700 | " refTreeSelection->select(row.get_iter());</code>" | ||
7729 | msgstr "" | 7701 | msgstr "" | ||
7771 | "<methodname>set_sort_func()</methodname> för att implementera en mer " | 7743 | "<methodname>set_sort_func()</methodname> för att implementera en mer " | ||
7772 | "komplicerad sorteringsalgoritm." | 7744 | "komplicerad sorteringsalgoritm." | ||
7773 | 7745 | ||||
7774 | #. (itstool) path: section/para | 7746 | #. (itstool) path: section/para | ||
7775 | #: C/index-in.docbook:3145 | 7747 | #: C/index-in.docbook:3145 | ||
n | 7776 | #, fuzzy | n | ||
7777 | #| msgid "" | ||||
7778 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
7779 | #| "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||||
7780 | msgid "" | 7748 | msgid "" | ||
7781 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 7749 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
7782 | "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | 7750 | "classGtk_1_1TreeSortable.html\">TreeSortable Reference</link>" | ||
7783 | msgstr "" | 7751 | msgstr "" | ||
n | 7784 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 7752 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
7785 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | 7753 | "classGtk_1_1TreeSortable.html\">Referens för TreeSortable</link>" | ||
7786 | 7754 | ||||
7787 | #. (itstool) path: section/title | 7755 | #. (itstool) path: section/title | ||
7788 | #: C/index-in.docbook:3148 | 7756 | #: C/index-in.docbook:3148 | ||
7789 | msgid "Sorting by clicking on columns" | 7757 | msgid "Sorting by clicking on columns" | ||
7922 | " }\n" | 7890 | " }\n" | ||
7923 | "}" | 7891 | "}" | ||
7924 | 7892 | ||||
7925 | #. (itstool) path: section/para | 7893 | #. (itstool) path: section/para | ||
7926 | #: C/index-in.docbook:3189 | 7894 | #: C/index-in.docbook:3189 | ||
n | 7927 | #, fuzzy | n | ||
7928 | #| msgid "" | ||||
7929 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
7930 | #| "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||||
7931 | msgid "" | 7895 | msgid "" | ||
7932 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 7896 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
7933 | "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | 7897 | "classGtk_1_1TreeModelSort.html\">TreeModelSort Reference</link>" | ||
7934 | msgstr "" | 7898 | msgstr "" | ||
n | 7935 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 7899 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
7936 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | 7900 | "classGtk_1_1TreeModelSort.html\">Referens för TreeModelSort</link>" | ||
7937 | 7901 | ||||
7938 | #. (itstool) path: section/title | 7902 | #. (itstool) path: section/title | ||
7939 | #. (itstool) path: chapter/title | 7903 | #. (itstool) path: chapter/title | ||
7940 | #. (itstool) path: figure/title | 7904 | #. (itstool) path: figure/title | ||
8002 | "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 " | ||
8003 | "<literal>true</literal> eller <literal>false</literal>." | 7967 | "<literal>true</literal> eller <literal>false</literal>." | ||
8004 | 7968 | ||||
8005 | #. (itstool) path: section/para | 7969 | #. (itstool) path: section/para | ||
8006 | #: C/index-in.docbook:3220 | 7970 | #: C/index-in.docbook:3220 | ||
n | 8007 | #, fuzzy | n | ||
8008 | msgid "This is demonstrated in the drag_and_drop example." | 7971 | msgid "This is demonstrated in the drag_and_drop example." | ||
8009 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | 7972 | msgstr "Detta demonstreras i dra-och-släpp-exemplet." | ||
8010 | 7973 | ||||
8011 | #. (itstool) path: section/title | 7974 | #. (itstool) path: section/title | ||
8012 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | 7975 | #: C/index-in.docbook:3226 C/index-in.docbook:3336 | ||
8036 | msgid "" | 7999 | msgid "" | ||
8037 | "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 " | ||
8038 | "derived <classname>TreeView</classname> is used, but that's not necessary." | 8001 | "derived <classname>TreeView</classname> is used, but that's not necessary." | ||
8039 | msgstr "" | 8002 | msgstr "" | ||
8040 | "Detta demonstreras i exemplet poppuppsnabbvalsmeny. I det exemplet används " | 8003 | "Detta demonstreras i exemplet poppuppsnabbvalsmeny. I det exemplet används " | ||
n | 8041 | "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." |
8042 | 8005 | ||||
8043 | #. (itstool) path: section/title | 8006 | #. (itstool) path: section/title | ||
8044 | #: 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 | ||
8045 | #: C/index-in.docbook:5573 C/index-in.docbook:5965 | 8008 | #: C/index-in.docbook:5573 C/index-in.docbook:5965 | ||
8046 | msgid "Examples" | 8009 | msgid "Examples" | ||
8135 | "men använder <methodname>TreeView::append_column_editable()</methodname> i " | 8098 | "men använder <methodname>TreeView::append_column_editable()</methodname> i " | ||
8136 | "stället för <methodname>TreeView::append_column()</methodname>." | 8099 | "stället för <methodname>TreeView::append_column()</methodname>." | ||
8137 | 8100 | ||||
8138 | #. (itstool) path: figure/title | 8101 | #. (itstool) path: figure/title | ||
8139 | #: C/index-in.docbook:3302 | 8102 | #: C/index-in.docbook:3302 | ||
n | 8140 | #, fuzzy | n | ||
8141 | msgid "TreeView - Editable Cells" | 8103 | msgid "TreeView - Editable Cells" | ||
8142 | msgstr "TreeView - Redigerbara celler" | 8104 | msgstr "TreeView - Redigerbara celler" | ||
8143 | 8105 | ||||
8144 | #. (itstool) path: imageobject/imagedata | 8106 | #. (itstool) path: imageobject/imagedata | ||
8145 | #. This is a reference to an external file such as an image or video. When | 8107 | #. This is a reference to an external file such as an image or video. When | ||
8228 | "<link linkend=\"sec-treeview-contextmenu\">TreeView - Poppuppsnabbvalsmeny</" | 8190 | "<link linkend=\"sec-treeview-contextmenu\">TreeView - Poppuppsnabbvalsmeny</" | ||
8229 | "link>." | 8191 | "link>." | ||
8230 | 8192 | ||||
8231 | #. (itstool) path: figure/title | 8193 | #. (itstool) path: figure/title | ||
8232 | #: C/index-in.docbook:3346 | 8194 | #: C/index-in.docbook:3346 | ||
n | 8233 | #, fuzzy | n | ||
8234 | msgid "TreeView - Popup Context Menu" | 8195 | msgid "TreeView - Popup Context Menu" | ||
8235 | msgstr "TreeView - Poppuppsnabbvalsmeny" | 8196 | msgstr "TreeView - Poppuppsnabbvalsmeny" | ||
8236 | 8197 | ||||
8237 | #. (itstool) path: imageobject/imagedata | 8198 | #. (itstool) path: imageobject/imagedata | ||
8238 | #. 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 | ||
8258 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8219 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8259 | "master/examples/book/treeview/popup/\">Källkod</link>" | 8220 | "master/examples/book/treeview/popup/\">Källkod</link>" | ||
8260 | 8221 | ||||
8261 | #. (itstool) path: chapter/title | 8222 | #. (itstool) path: chapter/title | ||
8262 | #: C/index-in.docbook:3359 | 8223 | #: C/index-in.docbook:3359 | ||
n | 8263 | #, fuzzy | n | ||
8264 | #| msgid "The DrawingArea Widget" | ||||
8265 | msgid "The DropDown Widget" | 8224 | msgid "The DropDown Widget" | ||
n | 8266 | msgstr "DrawingArea-komponenten" | n | 8225 | msgstr "DropDown-komponenten" |
8267 | 8226 | ||||
8268 | #. (itstool) path: chapter/para | 8227 | #. (itstool) path: chapter/para | ||
8269 | #: C/index-in.docbook:3361 | 8228 | #: C/index-in.docbook:3361 | ||
8270 | msgid "" | 8229 | msgid "" | ||
8271 | "The <classname>DropDown</classname> widget is an alternative to the " | 8230 | "The <classname>DropDown</classname> widget is an alternative to the " | ||
8272 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | 8231 | "deprecated <classname>ComboBox</classname>. It uses list models instead of " | ||
8273 | "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 " | ||
8274 | "renderers." | 8233 | "renderers." | ||
8275 | 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." | ||||
8276 | 8239 | ||||
8277 | #. (itstool) path: chapter/para | 8240 | #. (itstool) path: chapter/para | ||
8278 | #: C/index-in.docbook:3366 | 8241 | #: C/index-in.docbook:3366 | ||
8279 | #, fuzzy | 8242 | #, fuzzy | ||
8280 | #| msgid "" | 8243 | #| msgid "" | ||
8290 | "dropdown menu. If appropriate, it can show extra information about each " | 8253 | "dropdown menu. If appropriate, it can show extra information about each " | ||
8291 | "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</" | ||
8292 | "classname> widget can optionally have an <classname>Entry</classname> in the " | 8255 | "classname> widget can optionally have an <classname>Entry</classname> in the " | ||
8293 | "dropdown menu, allowing the user to search in a long list." | 8256 | "dropdown menu, allowing the user to search in a long list." | ||
8294 | msgstr "" | 8257 | msgstr "" | ||
n | 8295 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller träd) " | n | 8258 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller ett " |
8296 | "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 " | ||
8297 | "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 " | ||
8298 | "<classname>ComboBox</classname>-komponenten begränsar vanligen användaren " | 8261 | "förloppsindikator. <classname>ComboBox</classname>-komponenten begränsar " | ||
8299 | "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 " | ||
8300 | "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 " | ||
8301 | "tillgängliga valen passar." | 8264 | "om inget av de tillgängliga valen passar." | ||
8302 | 8265 | ||||
8303 | #. (itstool) path: chapter/para | 8266 | #. (itstool) path: chapter/para | ||
8304 | #: C/index-in.docbook:3373 | 8267 | #: C/index-in.docbook:3373 | ||
8305 | #, fuzzy | 8268 | #, fuzzy | ||
8306 | msgid "" | 8269 | msgid "" | ||
8309 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | 8272 | "signal handlers connected to a <classname>SignalListItemFactory</classname>. " | ||
8310 | "This provides flexibility, but the <classname>StringList</classname> class " | 8273 | "This provides flexibility, but the <classname>StringList</classname> class " | ||
8311 | "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 " | ||
8312 | "required." | 8275 | "required." | ||
8313 | msgstr "" | 8276 | msgstr "" | ||
n | 8314 | "Listan tillhandahålls via en <classname>TreeModel</classname>, och kolumner " | n | 8277 | "Listan tillhandahålls via en <classname>Gio::ListModel</classname>, och data " |
8315 | "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>-" | ||
8316 | "<methodname>ComboBox::pack_start()</methodname>. Detta tillhandahåller " | 8279 | "komponenten med signalhanterare anslutna till en " | ||
8317 | "flexibilitet och typsäkerhet under kompilering, men <classname>ComboBoxText</" | 8280 | "<classname>SignalListItemFactory</classname>. Detta tillhandahåller " | ||
8318 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8281 | "flexibilitet, men <classname>StringList</classname>-klassen tillhandahåller " | ||
8319 | "den flexibiliteten inte behövs." | 8282 | "en enklare textbaserad specialisering om den flexibiliteten inte behövs." | ||
8320 | 8283 | ||||
8321 | #. (itstool) path: chapter/para | 8284 | #. (itstool) path: chapter/para | ||
8322 | #: C/index-in.docbook:3380 | 8285 | #: C/index-in.docbook:3380 | ||
n | 8323 | #, fuzzy | n | ||
8324 | #| msgid "" | ||||
8325 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
8326 | #| "classGtk_1_1Box.html\">Reference</link>" | ||||
8327 | msgid "" | 8286 | msgid "" | ||
8328 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8287 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8329 | "classGtk_1_1DropDown.html\">Reference</link>" | 8288 | "classGtk_1_1DropDown.html\">Reference</link>" | ||
8330 | msgstr "" | 8289 | msgstr "" | ||
n | 8331 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/classGtk_1_1Box." | n | 8290 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
8332 | "html\">Referens</link>" | 8291 | "classGtk_1_1DropDown.html\">Referens</link>" | ||
8333 | 8292 | ||||
8334 | #. (itstool) path: section/title | 8293 | #. (itstool) path: section/title | ||
8335 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | 8294 | #: C/index-in.docbook:3383 C/index-in.docbook:3558 | ||
n | 8336 | #, fuzzy | n | ||
8337 | msgid "The model" | 8295 | msgid "The model" | ||
8338 | msgstr "Modellen" | 8296 | msgstr "Modellen" | ||
8339 | 8297 | ||||
8340 | #. (itstool) path: section/para | 8298 | #. (itstool) path: section/para | ||
8341 | #: C/index-in.docbook:3385 | 8299 | #: C/index-in.docbook:3385 | ||
8342 | #, fuzzy | 8300 | #, fuzzy | ||
n | 8343 | #| msgid "" | n | ||
8344 | #| "The model for a ComboBox can be defined and filled exactly as for a " | ||||
8345 | #| "<classname>TreeView</classname>. For instance, you might derive a " | ||||
8346 | #| "ComboBox class with one integer and one text column, like so:" | ||||
8347 | msgid "" | 8301 | msgid "" | ||
8348 | "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 " | ||
8349 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | 8303 | "exactly as for a <classname>ListView</classname> or a <classname>ColumnView</" | ||
8350 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | 8304 | "classname>. It must be a subclass of <classname>Glib::Object</classname>. " | ||
8351 | "For instance, you might have a <classname>DropDown</classname> with one " | 8305 | "For instance, you might have a <classname>DropDown</classname> with one " | ||
8352 | "integer and one text column, like so:" | 8306 | "integer and one text column, like so:" | ||
8353 | msgstr "" | 8307 | msgstr "" | ||
n | 8354 | "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 " |
8355 | "<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med " | 8309 | "exakt som för en <classname>ListView</classname> eller en " | ||
8356 | "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:" | ||||
8357 | 8313 | ||||
8358 | #. (itstool) path: section/para | 8314 | #. (itstool) path: section/para | ||
8359 | #: C/index-in.docbook:3413 | 8315 | #: C/index-in.docbook:3413 | ||
n | n | 8316 | #, fuzzy | ||
8360 | msgid "" | 8317 | msgid "" | ||
8361 | "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 " | ||
8362 | "<classname>DropDown</classname> with the <methodname>set_model()</" | 8319 | "<classname>DropDown</classname> with the <methodname>set_model()</" | ||
8363 | "methodname> method. Unless you use the <classname>StringList</classname> " | 8320 | "methodname> method. Unless you use the <classname>StringList</classname> " | ||
8364 | "model, you also need to set a <classname>ListItemFactory</classname> with " | 8321 | "model, you also need to set a <classname>ListItemFactory</classname> with " | ||
8366 | "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</" | ||
8367 | "classname> widget, you also need to set a separate " | 8324 | "classname> widget, you also need to set a separate " | ||
8368 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | 8325 | "<classname>ListItemFactory</classname> with <methodname>set_list_factory()</" | ||
8369 | "methodname>." | 8326 | "methodname>." | ||
8370 | 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>." | ||||
8371 | 8337 | ||||
8372 | #. (itstool) path: section/title | 8338 | #. (itstool) path: section/title | ||
8373 | #: C/index-in.docbook:3424 | 8339 | #: C/index-in.docbook:3424 | ||
n | 8374 | #, fuzzy | n | ||
8375 | msgid "The selected item" | 8340 | msgid "The selected item" | ||
n | 8376 | msgstr "De markerade raderna" | n | 8341 | msgstr "Det valda objektet" |
8377 | 8342 | ||||
8378 | #. (itstool) path: section/para | 8343 | #. (itstool) path: section/para | ||
8379 | #: C/index-in.docbook:3426 | 8344 | #: C/index-in.docbook:3426 | ||
8380 | #, fuzzy | 8345 | #, fuzzy | ||
8381 | msgid "" | 8346 | msgid "" | ||
8385 | "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 " | ||
8386 | "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 " | ||
8387 | "the human-readable description in the <classname>DropDown</classname>. For " | 8352 | "the human-readable description in the <classname>DropDown</classname>. For " | ||
8388 | "instance:" | 8353 | "instance:" | ||
8389 | msgstr "" | 8354 | msgstr "" | ||
n | 8390 | "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 " |
8391 | "ComboBox, anropa <methodname>ComboBox::get_active()</methodname>. " | 8356 | "<classname>DropDown</classname>, anropa <methodname>DropDown::" | ||
8392 | "Detta<classname>TreeModel::iterator</classname> returnerar en som du kan " | 8357 | "get_selected()</methodname>. Detta returnerar en <type>unsigned int</type> " | ||
8393 | "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 " | ||
8394 | "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 " | ||
8395 | "ä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 " | ||
8396 | "ComboBox. Till exempel:" | 8361 | "exempel:" | ||
8397 | 8362 | ||||
8398 | #. (itstool) path: section/programlisting | 8363 | #. (itstool) path: section/programlisting | ||
8399 | #: C/index-in.docbook:3433 | 8364 | #: C/index-in.docbook:3433 | ||
8400 | #, fuzzy, no-wrap | 8365 | #, fuzzy, no-wrap | ||
8401 | msgid "" | 8366 | msgid "" | ||
8408 | "}\n" | 8373 | "}\n" | ||
8409 | "else\n" | 8374 | "else\n" | ||
8410 | " set_nothing_chosen(); // Your own function.\n" | 8375 | " set_nothing_chosen(); // Your own function.\n" | ||
8411 | "</code>" | 8376 | "</code>" | ||
8412 | msgstr "" | 8377 | msgstr "" | ||
n | 8413 | "Gtk::TreeModel::iterator iter = m_Combo.get_active();\n" | n | 8378 | "unsigned int sel = m_DropDown.get_selected();\n" |
8414 | "if(iter)\n" | 8379 | "if (sel != GTK_INVALID_LIST_POSITION)\n" | ||
8415 | "{\n" | 8380 | "{\n" | ||
n | 8416 | " auto row = *iter;\n" | n | ||
8417 | "\n" | ||||
8418 | " //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" | ||
8419 | " //om trädmodellen:\n" | 8382 | " auto id = m_ListStore->get_item(sel).m_col_id;\n" | ||
8420 | " auto id = row[m_Columns.m_col_id];\n" | ||||
8421 | " set_something_id_chosen(id); //Din egen funktion.\n" | 8383 | " set_some_id_chosen(id); // Din egen funktion.\n" | ||
8422 | "}\n" | 8384 | "}\n" | ||
8423 | "else\n" | 8385 | "else\n" | ||
n | 8424 | " set_nothing_chosen(); //Din egen funktion." | n | 8386 | " set_nothing_chosen(); // Din egen funktion.\n" |
8425 | 8387 | ||||
8426 | #. (itstool) path: section/title | 8388 | #. (itstool) path: section/title | ||
8427 | #: 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 | ||
n | 8428 | #, fuzzy | n | ||
8429 | msgid "Responding to changes" | 8390 | msgid "Responding to changes" | ||
8430 | msgstr "Svara på ändringar" | 8391 | msgstr "Svara på ändringar" | ||
8431 | 8392 | ||||
8432 | #. (itstool) path: section/para | 8393 | #. (itstool) path: section/para | ||
8433 | #: C/index-in.docbook:3448 | 8394 | #: C/index-in.docbook:3448 | ||
8436 | "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 " | ||
8437 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | 8398 | "<classname>DropDown</classname>, for instance to update other widgets. To do " | ||
8438 | "so, you should connect to <methodname>property_selected().signal_changed()</" | 8399 | "so, you should connect to <methodname>property_selected().signal_changed()</" | ||
8439 | "methodname>. For instance:" | 8400 | "methodname>. For instance:" | ||
8440 | msgstr "" | 8401 | msgstr "" | ||
n | 8441 | "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</" |
8442 | "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 " | ||
8443 | "<literal>changed</literal>. Till exempel:" | 8404 | "så bör du ansluta till <methodname>property_selected().signal_changed()</" | ||
8405 | "methodname>. Till exempel:" | ||||
8444 | 8406 | ||||
8445 | #. (itstool) path: section/programlisting | 8407 | #. (itstool) path: section/programlisting | ||
8446 | #: C/index-in.docbook:3452 | 8408 | #: C/index-in.docbook:3452 | ||
8447 | #, fuzzy, no-wrap | 8409 | #, fuzzy, no-wrap | ||
8448 | #| msgid "" | 8410 | #| msgid "" | ||
n | 8449 | #| "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8411 | #| "m_DropDown.property_selected().signal_changed().connect(\n" |
8450 | #| " &ExampleWindow::on_combo_changed) );" | 8412 | #| " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8451 | msgid "" | 8413 | msgid "" | ||
8452 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | 8414 | "<code>m_DropDown.property_selected().signal_changed().connect(\n" | ||
8453 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | 8415 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8454 | "</code>" | 8416 | "</code>" | ||
8455 | msgstr "" | 8417 | msgstr "" | ||
n | 8456 | "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n" | n | 8418 | "m_DropDown.property_selected().signal_changed().connect(\n" |
8457 | " &ExampleWindow::on_combo_changed) );" | 8419 | " sigc::mem_fun(*this, &ExampleWindow::on_dropdown_changed));\n" | ||
8458 | 8420 | ||||
8459 | #. (itstool) path: section/title | 8421 | #. (itstool) path: section/title | ||
8460 | #: C/index-in.docbook:3458 | 8422 | #: C/index-in.docbook:3458 | ||
n | 8461 | #, fuzzy | n | ||
8462 | msgid "Simple String Example" | 8423 | msgid "Simple String Example" | ||
n | 8463 | msgstr "Enkelt inmatningsexempel" | n | 8424 | msgstr "Enkelt strängexempel" |
8464 | 8425 | ||||
8465 | #. (itstool) path: figure/title | 8426 | #. (itstool) path: figure/title | ||
8466 | #: C/index-in.docbook:3461 | 8427 | #: C/index-in.docbook:3461 | ||
8467 | msgid "Simple DropDown" | 8428 | msgid "Simple DropDown" | ||
n | 8468 | msgstr "" | n | 8429 | msgstr "Enkel DropDown" |
8469 | 8430 | ||||
8470 | #. (itstool) path: imageobject/imagedata | 8431 | #. (itstool) path: imageobject/imagedata | ||
8471 | #. 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 | ||
8472 | #. 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 | ||
8473 | #. 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 | ||
8477 | msgctxt "_" | 8438 | msgctxt "_" | ||
8478 | msgid "" | 8439 | msgid "" | ||
8479 | "external ref='figures/dropdown_string.png' " | 8440 | "external ref='figures/dropdown_string.png' " | ||
8480 | "md5='b1689605c645e1ada3040f6df3335c56'" | 8441 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||
8481 | msgstr "" | 8442 | msgstr "" | ||
n | 8482 | "external ref='figures/printing.png' md5='d4565328475ec89edf5f2230cb3fc5d0'" | n | 8443 | "external ref='figures/dropdown_string.png' " |
8444 | "md5='b1689605c645e1ada3040f6df3335c56'" | ||||
8483 | 8445 | ||||
8484 | #. (itstool) path: section/para | 8446 | #. (itstool) path: section/para | ||
8485 | #: C/index-in.docbook:3467 | 8447 | #: C/index-in.docbook:3467 | ||
n | 8486 | #, fuzzy | n | ||
8487 | #| msgid "" | ||||
8488 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8489 | #| "tree/master/examples/book/entry/icon\">Source Code</link>" | ||||
8490 | msgid "" | 8448 | msgid "" | ||
8491 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8449 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8492 | "master/examples/book/dropdown/string\">Source Code</link>" | 8450 | "master/examples/book/dropdown/string\">Source Code</link>" | ||
8493 | msgstr "" | 8451 | msgstr "" | ||
8494 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8452 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8495 | "master/examples/book/entry/icon\">Källkod</link>" | n | 8453 | "master/examples/book/dropdown/string\">Källkod</link>" |
8496 | 8454 | ||||
8497 | #. (itstool) path: section/title | 8455 | #. (itstool) path: section/title | ||
8498 | #: C/index-in.docbook:3471 | 8456 | #: C/index-in.docbook:3471 | ||
8499 | msgid "Examples with a Search Entry" | 8457 | msgid "Examples with a Search Entry" | ||
n | 8500 | msgstr "" | n | 8458 | msgstr "Exempel med ett sökfält" |
8501 | 8459 | ||||
8502 | #. (itstool) path: section/para | 8460 | #. (itstool) path: section/para | ||
8503 | #: C/index-in.docbook:3473 | 8461 | #: C/index-in.docbook:3473 | ||
n | 8504 | #, fuzzy | n | ||
8505 | #| msgid "" | ||||
8506 | #| "<classname>Gtk::Grid</classname> arranges its child widgets in rows and " | ||||
8507 | #| "columns. Use <methodname>attach()</methodname> and " | ||||
8508 | #| "<methodname>attach_next_to()</methodname> to insert child widgets." | ||||
8509 | msgid "" | 8462 | msgid "" | ||
8510 | "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 " | ||
8511 | "search for items in the list. Call <methodname>set_enable_search()</" | 8464 | "search for items in the list. Call <methodname>set_enable_search()</" | ||
8512 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | 8465 | "methodname> and <methodname>set_expression()</methodname>. For instance:" | ||
8513 | msgstr "" | 8466 | msgstr "" | ||
n | 8514 | "<classname>Gtk::Grid</classname> arrangerar sina underordnade komponenter i " | n | 8467 | "Rullgardinsmeny kan innehålla ett <classname>Entry</classname> som tillåter " |
8515 | "rader och kolumner. Använd <methodname>attach()</methodname> och " | 8468 | "sökning efter objekt i listan. Anropa <methodname>set_enable_search()</" | ||
8516 | "<methodname>attach_next_to()</methodname> för att infoga underordnade " | 8469 | "methodname> och <methodname>set_expression()</methodname>. Till exempel:" | ||
8517 | "komponenter." | ||||
8518 | 8470 | ||||
8519 | #. (itstool) path: section/programlisting | 8471 | #. (itstool) path: section/programlisting | ||
8520 | #: C/index-in.docbook:3477 | 8472 | #: C/index-in.docbook:3477 | ||
n | 8521 | #, 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" | ||||
8522 | msgid "" | 8486 | msgid "" | ||
8523 | "<code>m_DropDown.set_enable_search(true);\n" | 8487 | "<code>m_DropDown.set_enable_search(true);\n" | ||
8524 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | 8488 | "auto expression = Gtk::ClosureExpression<Glib::ustring>::create(\n" | ||
8525 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | 8489 | " sigc::mem_fun(*this, &ExampleWindow::get_col_name));\n" | ||
8526 | "m_DropDown.set_expression(expression);\n" | 8490 | "m_DropDown.set_expression(expression);\n" | ||
8531 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | 8495 | " const auto col = std::dynamic_pointer_cast<ModelColumns>(item);\n" | ||
8532 | " return col ? col->m_col_name : \"\";\n" | 8496 | " return col ? col->m_col_name : \"\";\n" | ||
8533 | "}\n" | 8497 | "}\n" | ||
8534 | "</code>" | 8498 | "</code>" | ||
8535 | 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" | ||||
8536 | 8511 | ||||
8537 | #. (itstool) path: section/title | 8512 | #. (itstool) path: section/title | ||
8538 | #: C/index-in.docbook:3491 | 8513 | #: C/index-in.docbook:3491 | ||
n | 8539 | #, fuzzy | n | ||
8540 | #| msgid "Simple Example" | ||||
8541 | msgid "String Example" | 8514 | msgid "String Example" | ||
n | 8542 | msgstr "Enkelt exempel" | n | 8515 | msgstr "Strängexempel" |
8543 | 8516 | ||||
8544 | #. (itstool) path: figure/title | 8517 | #. (itstool) path: figure/title | ||
8545 | #: C/index-in.docbook:3494 | 8518 | #: C/index-in.docbook:3494 | ||
8546 | msgid "Search String" | 8519 | msgid "Search String" | ||
n | 8547 | msgstr "" | n | 8520 | msgstr "Sök sträng" |
8548 | 8521 | ||||
8549 | #. (itstool) path: imageobject/imagedata | 8522 | #. (itstool) path: imageobject/imagedata | ||
8550 | #. 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 | ||
8551 | #. 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 | ||
8552 | #. 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 | ||
8560 | msgctxt "_" | 8533 | msgctxt "_" | ||
8561 | msgid "" | 8534 | msgid "" | ||
8562 | "external ref='figures/dropdown_search_string.png' " | 8535 | "external ref='figures/dropdown_search_string.png' " | ||
8563 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | 8536 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8564 | msgstr "" | 8537 | msgstr "" | ||
n | 8565 | "external ref='figures/drawingarea_arcs.png' " | n | 8538 | "external ref='figures/dropdown_search_string.png' " |
8566 | "md5='d94b40e33b9fab7ea9e2c870b97fcf0c'" | 8539 | "md5='e130e644e7cfb13a5b90ab1372b17503'" | ||
8567 | 8540 | ||||
8568 | #. (itstool) path: section/para | 8541 | #. (itstool) path: section/para | ||
8569 | #: C/index-in.docbook:3500 | 8542 | #: C/index-in.docbook:3500 | ||
n | 8570 | #, fuzzy | n | ||
8571 | #| msgid "" | ||||
8572 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8573 | #| "tree/master/examples/book/drawingarea/arcs\">Source Code</link>" | ||||
8574 | msgid "" | 8543 | msgid "" | ||
8575 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8544 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8576 | "master/examples/book/dropdown/search_string\">Source Code</link>" | 8545 | "master/examples/book/dropdown/search_string\">Source Code</link>" | ||
8577 | msgstr "" | 8546 | msgstr "" | ||
8578 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8547 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8579 | "master/examples/book/drawingarea/arcs\">Källkod</link>" | n | 8548 | "master/examples/book/dropdown/search_string\">Källkod</link>" |
8580 | 8549 | ||||
8581 | #. (itstool) path: section/title | 8550 | #. (itstool) path: section/title | ||
8582 | #: C/index-in.docbook:3504 | 8551 | #: C/index-in.docbook:3504 | ||
n | 8583 | #, fuzzy | n | ||
8584 | #| msgid "Full Example" | ||||
8585 | msgid "Font Example" | 8552 | msgid "Font Example" | ||
n | 8586 | msgstr "Fullständigt exempel" | n | 8553 | msgstr "Typsnittsexempel" |
8587 | 8554 | ||||
8588 | #. (itstool) path: section/para | 8555 | #. (itstool) path: section/para | ||
8589 | #: C/index-in.docbook:3506 | 8556 | #: C/index-in.docbook:3506 | ||
n | 8590 | #, fuzzy | n | ||
8591 | #| msgid "" | ||||
8592 | #| "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</" | ||||
8593 | #| "classname>, <classname>Gtk::MenuItem</classname> and <classname>Gtk::" | ||||
8594 | #| "Switch</classname> implement the <classname>Gtk::Actionable</classname> " | ||||
8595 | #| "interface instead of the removed <classname>Gtk::Activatable</classname> " | ||||
8596 | #| "interface." | ||||
8597 | msgid "" | 8557 | msgid "" | ||
8598 | "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 " | ||
8599 | "is possible because <classname>Pango::FontMap</classname> implements the " | 8559 | "is possible because <classname>Pango::FontMap</classname> implements the " | ||
8600 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | 8560 | "<classname>Gio::ListModel</classname> interface. Of course you can use a " | ||
8601 | "<classname>FontDialogButton</classname> instead." | 8561 | "<classname>FontDialogButton</classname> instead." | ||
8602 | msgstr "" | 8562 | msgstr "" | ||
n | 8603 | "<classname>Gtk::Button</classname>, <classname>Gtk::ToolButton</classname>, " | n | 8563 | "Detta exempel använder en <classname>Pango::FontMap</classname> som sin " |
8604 | "<classname>Gtk::MenuItem</classname> och <classname>Gtk::Switch</classname> " | 8564 | "modell. Detta är möjligt för att <classname>Pango::FontMap</classname> " | ||
8605 | "implementerar <classname>Gtk::Actionable</classname>-gränssnittet i stället " | 8565 | "implementerar <classname>Gio::ListModel</classname>-gränssnittet. Du kan " | ||
8606 | "för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet." | 8566 | "förstås använda en <classname>FontDialogButton</classname> i stället." | ||
8607 | 8567 | ||||
8608 | #. (itstool) path: figure/title | 8568 | #. (itstool) path: figure/title | ||
8609 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | 8569 | #: C/index-in.docbook:3513 C/index-in.docbook:3532 | ||
8610 | msgid "Search Font" | 8570 | msgid "Search Font" | ||
n | 8611 | msgstr "" | n | 8571 | msgstr "Sök typsnitt" |
8612 | 8572 | ||||
8613 | #. (itstool) path: imageobject/imagedata | 8573 | #. (itstool) path: imageobject/imagedata | ||
8614 | #. 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 | ||
8615 | #. 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 | ||
8616 | #. 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 | ||
8620 | msgctxt "_" | 8580 | msgctxt "_" | ||
8621 | msgid "" | 8581 | msgid "" | ||
8622 | "external ref='figures/dropdown_search_font.png' " | 8582 | "external ref='figures/dropdown_search_font.png' " | ||
8623 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | 8583 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8624 | msgstr "" | 8584 | msgstr "" | ||
n | 8625 | "external ref='figures/drawingarea_pango_text.png' " | n | 8585 | "external ref='figures/dropdown_search_font.png' " |
8626 | "md5='07c39668c9dda2ac1f9455caf6e4d16a'" | 8586 | "md5='1733e29c88c19dc6c4cbd1114446ac18'" | ||
8627 | 8587 | ||||
8628 | #. (itstool) path: section/para | 8588 | #. (itstool) path: section/para | ||
8629 | #: C/index-in.docbook:3519 | 8589 | #: C/index-in.docbook:3519 | ||
n | 8630 | #, fuzzy | n | ||
8631 | #| msgid "" | ||||
8632 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8633 | #| "tree/master/examples/book/paned\">Source Code</link>" | ||||
8634 | msgid "" | 8590 | msgid "" | ||
8635 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8591 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8636 | "master/examples/book/dropdown/search_font\">Source Code</link>" | 8592 | "master/examples/book/dropdown/search_font\">Source Code</link>" | ||
8637 | msgstr "" | 8593 | msgstr "" | ||
8638 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8594 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8639 | "master/examples/book/paned\">Källkod</link>" | n | 8595 | "master/examples/book/dropdown/search_font\">Källkod</link>" |
8640 | 8596 | ||||
8641 | #. (itstool) path: section/title | 8597 | #. (itstool) path: section/title | ||
8642 | #: C/index-in.docbook:3524 | 8598 | #: C/index-in.docbook:3524 | ||
n | 8643 | #, fuzzy | n | ||
8644 | #| msgid "Simple Example" | ||||
8645 | msgid "Complex Example" | 8599 | msgid "Complex Example" | ||
n | 8646 | msgstr "Enkelt exempel" | n | 8600 | msgstr "Komplext exempel" |
8647 | 8601 | ||||
8648 | #. (itstool) path: section/para | 8602 | #. (itstool) path: section/para | ||
8649 | #: C/index-in.docbook:3526 | 8603 | #: C/index-in.docbook:3526 | ||
8650 | msgid "" | 8604 | msgid "" | ||
8651 | "This is a more complex example with two <classname>SignalListItemFactory</" | 8605 | "This is a more complex example with two <classname>SignalListItemFactory</" | ||
8652 | "classname> objects and their signal handlers. This example would be simpler " | 8606 | "classname> objects and their signal handlers. This example would be simpler " | ||
8653 | "without the checkmark in the dropdown menu." | 8607 | "without the checkmark in the dropdown menu." | ||
8654 | 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." | ||||
8655 | 8612 | ||||
8656 | #. (itstool) path: imageobject/imagedata | 8613 | #. (itstool) path: imageobject/imagedata | ||
8657 | #. 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 | ||
8658 | #. 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 | ||
8659 | #. 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 | ||
8663 | msgctxt "_" | 8620 | msgctxt "_" | ||
8664 | msgid "" | 8621 | msgid "" | ||
8665 | "external ref='figures/dropdown_complex.png' " | 8622 | "external ref='figures/dropdown_complex.png' " | ||
8666 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | 8623 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8667 | msgstr "" | 8624 | msgstr "" | ||
n | 8668 | "external ref='figures/combobox_complex.png' " | n | 8625 | "external ref='figures/dropdown_complex.png' " |
8669 | "md5='ec96e29fe85caef072868284443e413e'" | 8626 | "md5='2167fb44e42653aa7fd855604c4c1e65'" | ||
8670 | 8627 | ||||
8671 | #. (itstool) path: section/para | 8628 | #. (itstool) path: section/para | ||
8672 | #: C/index-in.docbook:3538 | 8629 | #: C/index-in.docbook:3538 | ||
n | 8673 | #, fuzzy | n | ||
8674 | #| msgid "" | ||||
8675 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
8676 | #| "tree/master/examples/book/combobox/complex\">Source Code</link>" | ||||
8677 | msgid "" | 8630 | msgid "" | ||
8678 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8631 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
8679 | "master/examples/book/dropdown/complex\">Source Code</link>" | 8632 | "master/examples/book/dropdown/complex\">Source Code</link>" | ||
8680 | msgstr "" | 8633 | msgstr "" | ||
8681 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 8634 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 8682 | "master/examples/book/combobox/complex\">Källkod</link>" | n | 8635 | "master/examples/book/dropdown/complex\">Källkod</link>" |
8683 | 8636 | ||||
8684 | #. (itstool) path: chapter/title | 8637 | #. (itstool) path: chapter/title | ||
8685 | #: C/index-in.docbook:3543 | 8638 | #: C/index-in.docbook:3543 | ||
8686 | msgid "Combo Boxes" | 8639 | msgid "Combo Boxes" | ||
8687 | msgstr "Kombinationsrutor" | 8640 | msgstr "Kombinationsrutor" | ||
8688 | 8641 | ||||
8689 | #. (itstool) path: note/para | 8642 | #. (itstool) path: note/para | ||
8690 | #: C/index-in.docbook:3545 | 8643 | #: C/index-in.docbook:3545 | ||
n | 8691 | #, fuzzy | n | ||
8692 | #| msgid "" | ||||
8693 | #| "<classname>Gdk::DrawContext</classname> and <classname>Gdk::CairoContext</" | ||||
8694 | #| "classname> are new. <classname>Gdk::DrawingContext</classname> has been " | ||||
8695 | #| "removed." | ||||
8696 | msgid "" | 8644 | msgid "" | ||
8697 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | 8645 | "<classname>Gtk::ComboBox</classname> and <classname>Gtk::ComboBoxText</" | ||
8698 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | 8646 | "classname> are deprecated since <application>gtkmm</application> 4.10. Use " | ||
8699 | "<classname>Gtk::DropDown</classname> in new code." | 8647 | "<classname>Gtk::DropDown</classname> in new code." | ||
8700 | msgstr "" | 8648 | msgstr "" | ||
n | 8701 | "<classname>Gdk::DrawContext</classname> och <classname>Gdk::CairoContext</" | n | 8649 | "<classname>Gtk::ComboBox</classname> och <classname>Gtk::ComboBoxText</" |
8702 | "classname> är nya. <classname>Gdk::DrawingContext</classname> har tagits " | 8650 | "classname> är föråldrade sedan <application>gtkmm</application> 4.10. Använd " | ||
8703 | "bort." | 8651 | "<classname>Gtk::DropDown</classname> i ny kod." | ||
8704 | 8652 | ||||
8705 | #. (itstool) path: chapter/para | 8653 | #. (itstool) path: chapter/para | ||
8706 | #: C/index-in.docbook:3549 | 8654 | #: C/index-in.docbook:3549 | ||
8707 | msgid "" | 8655 | msgid "" | ||
8708 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | 8656 | "The <classname>ComboBox</classname> widget offers a list (or tree) of " | ||
8711 | "The <classname>ComboBox</classname> widget usually restricts the user to the " | 8659 | "The <classname>ComboBox</classname> widget usually restricts the user to the " | ||
8712 | "available choices, but it can optionally have an <classname>Entry</" | 8660 | "available choices, but it can optionally have an <classname>Entry</" | ||
8713 | "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 " | ||
8714 | "available choices are suitable." | 8662 | "available choices are suitable." | ||
8715 | msgstr "" | 8663 | msgstr "" | ||
n | 8716 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller träd) " | n | 8664 | "<classname>ComboBox</classname>-komponenten erbjuder en lista (eller ett " |
8717 | "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 " | ||
8718 | "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 " | ||
8719 | "<classname>ComboBox</classname>-komponenten begränsar vanligen användaren " | 8667 | "förloppsindikator. <classname>ComboBox</classname>-komponenten begränsar " | ||
8720 | "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 " | ||
8721 | "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 " | ||
8722 | "tillgängliga valen passar." | 8670 | "om inget av de tillgängliga valen passar." | ||
8723 | 8671 | ||||
8724 | #. (itstool) path: chapter/para | 8672 | #. (itstool) path: chapter/para | ||
8725 | #: C/index-in.docbook:3552 | 8673 | #: C/index-in.docbook:3552 | ||
8726 | #, fuzzy | 8674 | #, fuzzy | ||
8727 | msgid "" | 8675 | msgid "" | ||
8739 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | 8687 | "classname>-klassen tillhandahåller en enklare textbaserad specialisering om " | ||
8740 | "den flexibiliteten inte behövs." | 8688 | "den flexibiliteten inte behövs." | ||
8741 | 8689 | ||||
8742 | #. (itstool) path: chapter/para | 8690 | #. (itstool) path: chapter/para | ||
8743 | #: C/index-in.docbook:3555 | 8691 | #: C/index-in.docbook:3555 | ||
n | 8744 | #, fuzzy | n | ||
8745 | #| msgid "" | ||||
8746 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
8747 | #| "classGtk_1_1ComboBox.html\">Reference</link>" | ||||
8748 | msgid "" | 8692 | msgid "" | ||
8749 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 8693 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
8750 | "classGtk_1_1ComboBox.html\">Reference</link>" | 8694 | "classGtk_1_1ComboBox.html\">Reference</link>" | ||
8751 | msgstr "" | 8695 | msgstr "" | ||
n | 8752 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 8696 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
8753 | "classGtk_1_1ComboBox.html\">Referens</link>" | 8697 | "classGtk_1_1ComboBox.html\">Referens</link>" | ||
8754 | 8698 | ||||
8755 | #. (itstool) path: section/para | 8699 | #. (itstool) path: section/para | ||
8756 | #: C/index-in.docbook:3560 | 8700 | #: C/index-in.docbook:3560 | ||
8757 | msgid "" | 8701 | msgid "" | ||
8810 | "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 " | ||
8811 | "modellen till <classname>ComboBox</classname>en med metoden " | 8755 | "modellen till <classname>ComboBox</classname>en med metoden " | ||
8812 | "<methodname>set_model()</methodname>. Använd sedan metoderna " | 8756 | "<methodname>set_model()</methodname>. Använd sedan metoderna " | ||
8813 | "<methodname>pack_start()</methodname> eller <methodname>pack_end()</" | 8757 | "<methodname>pack_start()</methodname> eller <methodname>pack_end()</" | ||
8814 | "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 | 8815 | "med TreeView kan du antingen använda standardcellrenderere genom att skicka " | n | 8759 | "med TreeView kan du antingen använda standardcellrenderare genom att skicka " |
8816 | "<classname>TreeModelColumn</classname> till packmetoderna, eller så kan du " | 8760 | "<classname>TreeModelColumn</classname> till packmetoderna, eller så kan du " | ||
8817 | "instansiera en specifik <classname>CellRenderer</classname> och ange en viss " | 8761 | "instansiera en specifik <classname>CellRenderer</classname> och ange en viss " | ||
8818 | "mappning med antingen <methodname>add_attribute()</methodname> eller " | 8762 | "mappning med antingen <methodname>add_attribute()</methodname> eller " | ||
8819 | "<methodname>set_cell_data_func()</methodname>. Observera att dessa metoder " | 8763 | "<methodname>set_cell_data_func()</methodname>. Observera att dessa metoder " | ||
8820 | "finns i basklassen <classname>CellLayout</classname>." | 8764 | "finns i basklassen <classname>CellLayout</classname>." | ||
8985 | "<literal>true</literal> för konstruktorns <literal>has_entry</literal>-" | 8929 | "<literal>true</literal> för konstruktorns <literal>has_entry</literal>-" | ||
8986 | "parameter." | 8930 | "parameter." | ||
8987 | 8931 | ||||
8988 | #. (itstool) path: section/title | 8932 | #. (itstool) path: section/title | ||
8989 | #: C/index-in.docbook:3640 | 8933 | #: C/index-in.docbook:3640 | ||
n | 8990 | #, fuzzy | n | ||
8991 | msgid "The text column" | 8934 | msgid "The text column" | ||
8992 | msgstr "Textkolumnen" | 8935 | msgstr "Textkolumnen" | ||
8993 | 8936 | ||||
8994 | #. (itstool) path: section/para | 8937 | #. (itstool) path: section/para | ||
8995 | #: C/index-in.docbook:3642 | 8938 | #: C/index-in.docbook:3642 | ||
9236 | "<classname>TextBuffer</classname>, som du kan komma åt genom metoden " | 9179 | "<classname>TextBuffer</classname>, som du kan komma åt genom metoden " | ||
9237 | "<methodname>get_buffer()</methodname>." | 9180 | "<methodname>get_buffer()</methodname>." | ||
9238 | 9181 | ||||
9239 | #. (itstool) path: section/para | 9182 | #. (itstool) path: section/para | ||
9240 | #: C/index-in.docbook:3752 | 9183 | #: C/index-in.docbook:3752 | ||
n | 9241 | #, fuzzy | n | ||
9242 | #| msgid "" | ||||
9243 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9244 | #| "classGtk_1_1TextBuffer.html\">Reference</link>" | ||||
9245 | msgid "" | 9184 | msgid "" | ||
9246 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9185 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9247 | "classGtk_1_1TextBuffer.html\">Reference</link>" | 9186 | "classGtk_1_1TextBuffer.html\">Reference</link>" | ||
9248 | msgstr "" | 9187 | msgstr "" | ||
n | 9249 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9188 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9250 | "classGtk_1_1TextBuffer.html\">Referens</link>" | 9189 | "classGtk_1_1TextBuffer.html\">Referens</link>" | ||
9251 | 9190 | ||||
9252 | #. (itstool) path: section/title | 9191 | #. (itstool) path: section/title | ||
9253 | #: C/index-in.docbook:3755 | 9192 | #: C/index-in.docbook:3755 | ||
9254 | msgid "Iterators" | 9193 | msgid "Iterators" | ||
9274 | "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 " | ||
9275 | "<classname>Gtk::TextBuffer::Mark</classname>." | 9214 | "<classname>Gtk::TextBuffer::Mark</classname>." | ||
9276 | 9215 | ||||
9277 | #. (itstool) path: section/para | 9216 | #. (itstool) path: section/para | ||
9278 | #: C/index-in.docbook:3764 | 9217 | #: C/index-in.docbook:3764 | ||
n | 9279 | #, fuzzy | n | ||
9280 | #| msgid "" | ||||
9281 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9282 | #| "classGtk_1_1TextIter.html\">Reference</link>" | ||||
9283 | msgid "" | 9218 | msgid "" | ||
9284 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9219 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9285 | "classGtk_1_1TextIter.html\">Reference</link>" | 9220 | "classGtk_1_1TextIter.html\">Reference</link>" | ||
9286 | msgstr "" | 9221 | msgstr "" | ||
n | 9287 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9222 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9288 | "classGtk_1_1TextIter.html\">Referens</link>" | 9223 | "classGtk_1_1TextIter.html\">Referens</link>" | ||
9289 | 9224 | ||||
9290 | #. (itstool) path: section/title | 9225 | #. (itstool) path: section/title | ||
9291 | #: C/index-in.docbook:3768 | 9226 | #: C/index-in.docbook:3768 | ||
9292 | msgid "Tags and Formatting" | 9227 | msgid "Tags and Formatting" | ||
9339 | msgid "The <classname>Tag</classname> class has many other properties." | 9274 | msgid "The <classname>Tag</classname> class has many other properties." | ||
9340 | msgstr "Klassen <classname>Tag</classname> har många andra egenskaper." | 9275 | msgstr "Klassen <classname>Tag</classname> har många andra egenskaper." | ||
9341 | 9276 | ||||
9342 | #. (itstool) path: section/para | 9277 | #. (itstool) path: section/para | ||
9343 | #: C/index-in.docbook:3787 | 9278 | #: C/index-in.docbook:3787 | ||
n | 9344 | #, fuzzy | n | ||
9345 | #| msgid "" | ||||
9346 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9347 | #| "classGtk_1_1TextTag.html\">Reference</link>" | ||||
9348 | msgid "" | 9279 | msgid "" | ||
9349 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9280 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9350 | "classGtk_1_1TextTag.html\">Reference</link>" | 9281 | "classGtk_1_1TextTag.html\">Reference</link>" | ||
9351 | msgstr "" | 9282 | msgstr "" | ||
n | 9352 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9283 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9353 | "classGtk_1_1TextTag.html\">Referens</link>" | 9284 | "classGtk_1_1TextTag.html\">Referens</link>" | ||
9354 | 9285 | ||||
9355 | #. (itstool) path: section/title | 9286 | #. (itstool) path: section/title | ||
9356 | #: C/index-in.docbook:3792 | 9287 | #: C/index-in.docbook:3792 | ||
9357 | msgid "TagTable" | 9288 | msgid "TagTable" | ||
9403 | "och kanske modifiera, <classname>TextBuffer</classname>tens " | 9334 | "och kanske modifiera, <classname>TextBuffer</classname>tens " | ||
9404 | "<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." | ||
9405 | 9336 | ||||
9406 | #. (itstool) path: section/para | 9337 | #. (itstool) path: section/para | ||
9407 | #: C/index-in.docbook:3814 | 9338 | #: C/index-in.docbook:3814 | ||
n | 9408 | #, fuzzy | n | ||
9409 | #| msgid "" | ||||
9410 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9411 | #| "classGtk_1_1TextTagTable.html\">Reference</link>" | ||||
9412 | msgid "" | 9339 | msgid "" | ||
9413 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9340 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9414 | "classGtk_1_1TextTagTable.html\">Reference</link>" | 9341 | "classGtk_1_1TextTagTable.html\">Reference</link>" | ||
9415 | msgstr "" | 9342 | msgstr "" | ||
n | 9416 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9343 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9417 | "classGtk_1_1TextTagTable.html\">Referens</link>" | 9344 | "classGtk_1_1TextTagTable.html\">Referens</link>" | ||
9418 | 9345 | ||||
9419 | #. (itstool) path: section/title | 9346 | #. (itstool) path: section/title | ||
9420 | #: C/index-in.docbook:3819 | 9347 | #: C/index-in.docbook:3819 | ||
n | 9421 | #, fuzzy | n | ||
9422 | msgid "Applying Tags" | 9348 | msgid "Applying Tags" | ||
9423 | msgstr "Tillämpa taggar" | 9349 | msgstr "Tillämpa taggar" | ||
9424 | 9350 | ||||
9425 | #. (itstool) path: section/para | 9351 | #. (itstool) path: section/para | ||
9426 | #: C/index-in.docbook:3821 | 9352 | #: C/index-in.docbook:3821 | ||
9522 | "<classname>TextBuffer</classname>tens metoder <methodname>get_insert()</" | 9448 | "<classname>TextBuffer</classname>tens metoder <methodname>get_insert()</" | ||
9523 | "methodname> och <methodname>get_selection_bound()</methodname>." | 9449 | "methodname> och <methodname>get_selection_bound()</methodname>." | ||
9524 | 9450 | ||||
9525 | #. (itstool) path: section/para | 9451 | #. (itstool) path: section/para | ||
9526 | #: C/index-in.docbook:3867 | 9452 | #: C/index-in.docbook:3867 | ||
n | 9527 | #, fuzzy | n | ||
9528 | #| msgid "" | ||||
9529 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9530 | #| "classGtk_1_1TextMark.html\">Reference</link>" | ||||
9531 | msgid "" | 9453 | msgid "" | ||
9532 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9454 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9533 | "classGtk_1_1TextMark.html\">Reference</link>" | 9455 | "classGtk_1_1TextMark.html\">Reference</link>" | ||
9534 | msgstr "" | 9456 | msgstr "" | ||
n | 9535 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9457 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9536 | "classGtk_1_1TextMark.html\">Referens</link>" | 9458 | "classGtk_1_1TextMark.html\">Referens</link>" | ||
9537 | 9459 | ||||
9538 | #. (itstool) path: section/para | 9460 | #. (itstool) path: section/para | ||
9539 | #: C/index-in.docbook:3874 | 9461 | #: C/index-in.docbook:3874 | ||
9540 | msgid "" | 9462 | msgid "" | ||
9560 | "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 " | ||
9561 | "rullningslister." | 9483 | "rullningslister." | ||
9562 | 9484 | ||||
9563 | #. (itstool) path: section/para | 9485 | #. (itstool) path: section/para | ||
9564 | #: C/index-in.docbook:3888 | 9486 | #: C/index-in.docbook:3888 | ||
n | 9565 | #, fuzzy | n | ||
9566 | #| msgid "" | ||||
9567 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9568 | #| "classGtk_1_1TextView.html\">Reference</link>" | ||||
9569 | msgid "" | 9487 | msgid "" | ||
9570 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9488 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9571 | "classGtk_1_1TextView.html\">Reference</link>" | 9489 | "classGtk_1_1TextView.html\">Reference</link>" | ||
9572 | msgstr "" | 9490 | msgstr "" | ||
n | 9573 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9491 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9574 | "classGtk_1_1TextView.html\">Referens</link>" | 9492 | "classGtk_1_1TextView.html\">Referens</link>" | ||
9575 | 9493 | ||||
9576 | #. (itstool) path: section/title | 9494 | #. (itstool) path: section/title | ||
9577 | #: C/index-in.docbook:3891 | 9495 | #: C/index-in.docbook:3891 | ||
9578 | msgid "Default formatting" | 9496 | msgid "Default formatting" | ||
9662 | 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>" | ||
9663 | msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);" | 9581 | msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);" | ||
9664 | 9582 | ||||
9665 | #. (itstool) path: section/para | 9583 | #. (itstool) path: section/para | ||
9666 | #: C/index-in.docbook:3938 | 9584 | #: C/index-in.docbook:3938 | ||
n | 9667 | #, fuzzy | n | ||
9668 | #| msgid "" | ||||
9669 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
9670 | #| "classGtk_1_1TextChildAnchor.html\">Reference</link>" | ||||
9671 | msgid "" | 9585 | msgid "" | ||
9672 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 9586 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
9673 | "classGtk_1_1TextChildAnchor.html\">Reference</link>" | 9587 | "classGtk_1_1TextChildAnchor.html\">Reference</link>" | ||
9674 | msgstr "" | 9588 | msgstr "" | ||
n | 9675 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 9589 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
9676 | "classGtk_1_1TextChildAnchor.html\">Referens</link>" | 9590 | "classGtk_1_1TextChildAnchor.html\">Referens</link>" | ||
9677 | 9591 | ||||
9678 | #. (itstool) path: imageobject/imagedata | 9592 | #. (itstool) path: imageobject/imagedata | ||
9679 | #. 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 | ||
9680 | #. 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 | ||
9735 | msgid "Menus and Toolbars" | 9649 | msgid "Menus and Toolbars" | ||
9736 | msgstr "Menyer och verktygsfält" | 9650 | msgstr "Menyer och verktygsfält" | ||
9737 | 9651 | ||||
9738 | #. (itstool) path: chapter/para | 9652 | #. (itstool) path: chapter/para | ||
9739 | #: C/index-in.docbook:3975 | 9653 | #: C/index-in.docbook:3975 | ||
n | 9740 | #, fuzzy | n | ||
9741 | msgid "" | 9654 | msgid "" | ||
9742 | "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 " | ||
9743 | "with them together, creating <classname>Gio::SimpleAction</classname>s that " | 9656 | "with them together, creating <classname>Gio::SimpleAction</classname>s that " | ||
9744 | "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 " | ||
9745 | "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 " | ||
9755 | "inaktivera både menyns och verktygsfältets objekt via åtgärden. " | 9668 | "inaktivera både menyns och verktygsfältets objekt via åtgärden. " | ||
9756 | "<classname>Gtk::Builder</classname> kan skapa menyer och verktygsfält." | 9669 | "<classname>Gtk::Builder</classname> kan skapa menyer och verktygsfält." | ||
9757 | 9670 | ||||
9758 | #. (itstool) path: chapter/para | 9671 | #. (itstool) path: chapter/para | ||
9759 | #: C/index-in.docbook:3983 | 9672 | #: C/index-in.docbook:3983 | ||
n | 9760 | #, fuzzy | n | ||
9761 | msgid "" | 9673 | msgid "" | ||
9762 | "This involves the use of the <classname>Gio::SimpleActionGroup</classname>, " | 9674 | "This involves the use of the <classname>Gio::SimpleActionGroup</classname>, " | ||
9763 | "<classname>Gio::SimpleAction</classname> and <classname>Gtk::Builder</" | 9675 | "<classname>Gio::SimpleAction</classname> and <classname>Gtk::Builder</" | ||
9764 | "classname> classes, all of which should be instantiated via their " | 9676 | "classname> classes, all of which should be instantiated via their " | ||
9765 | "<methodname>create()</methodname> methods, which return <classname>RefPtr</" | 9677 | "<methodname>create()</methodname> methods, which return <classname>RefPtr</" | ||
9771 | "<methodname>create()</methodname>-metoder, vilka returnerar " | 9683 | "<methodname>create()</methodname>-metoder, vilka returnerar " | ||
9772 | "<classname>RefPtr</classname>-pekare." | 9684 | "<classname>RefPtr</classname>-pekare." | ||
9773 | 9685 | ||||
9774 | #. (itstool) path: section/title | 9686 | #. (itstool) path: section/title | ||
9775 | #: C/index-in.docbook:3991 | 9687 | #: C/index-in.docbook:3991 | ||
n | 9776 | #, fuzzy | n | ||
9777 | msgid "Actions" | 9688 | msgid "Actions" | ||
9778 | msgstr "Åtgärder" | 9689 | msgstr "Åtgärder" | ||
9779 | 9690 | ||||
9780 | #. (itstool) path: section/para | 9691 | #. (itstool) path: section/para | ||
9781 | #: C/index-in.docbook:3993 | 9692 | #: C/index-in.docbook:3993 | ||
n | 9782 | #, fuzzy | n | ||
9783 | msgid "" | 9693 | msgid "" | ||
9784 | "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 " | ||
9785 | "<classname>Gio::SimpleActionGroup</classname>, with <methodname>Gio::" | 9695 | "<classname>Gio::SimpleActionGroup</classname>, with <methodname>Gio::" | ||
9786 | "ActionMap::add_action()</methodname>. (<classname>Gio::ActionMap</classname> " | 9696 | "ActionMap::add_action()</methodname>. (<classname>Gio::ActionMap</classname> " | ||
9787 | "is a base class of <classname>Gio::SimpleActionGroup</classname>.) Then add " | 9697 | "is a base class of <classname>Gio::SimpleActionGroup</classname>.) Then add " | ||
9788 | "the action group to your window with <methodname>Gtk::Widget::" | 9698 | "the action group to your window with <methodname>Gtk::Widget::" | ||
9789 | "insert_action_group()</methodname>." | 9699 | "insert_action_group()</methodname>." | ||
9790 | msgstr "" | 9700 | msgstr "" | ||
9791 | "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 | 9792 | "dem till en <classname>Gio::SimpleActionGroup</classname>, med " | n | 9702 | "dem till en <classname>Gio::SimpleActionGroup</classname> med " |
9793 | "<methodname>Gio::ActionMap::add_action()</methodname>. (<classname>Gio::" | 9703 | "<methodname>Gio::ActionMap::add_action()</methodname>. (<classname>Gio::" | ||
9794 | "ActionMap</classname> är en basklass för <classname>Gio::SimpleActionGroup</" | 9704 | "ActionMap</classname> är en basklass för <classname>Gio::SimpleActionGroup</" | ||
9795 | "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 " | ||
9796 | "<methodname>Gtk::Widget::insert_action_group()</methodname>." | 9706 | "<methodname>Gtk::Widget::insert_action_group()</methodname>." | ||
9797 | 9707 | ||||
9855 | msgid "Menubar and Toolbar" | 9765 | msgid "Menubar and Toolbar" | ||
9856 | msgstr "Menyrad och verktygsfält" | 9766 | msgstr "Menyrad och verktygsfält" | ||
9857 | 9767 | ||||
9858 | #. (itstool) path: section/para | 9768 | #. (itstool) path: section/para | ||
9859 | #: C/index-in.docbook:4033 | 9769 | #: C/index-in.docbook:4033 | ||
n | 9860 | #, fuzzy | n | ||
9861 | msgid "" | 9770 | msgid "" | ||
9862 | "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 " | ||
9863 | "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 " | ||
9864 | "shortcuts, by using <methodname>Gtk::Application::set_accel_for_action()</" | 9773 | "shortcuts, by using <methodname>Gtk::Application::set_accel_for_action()</" | ||
9865 | "methodname>." | 9774 | "methodname>." | ||
9866 | msgstr "" | 9775 | msgstr "" | ||
n | 9867 | "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 " |
9868 | "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å " | ||
9869 | "tangentbordsgenvägar genom att använda <methodname>Gtk::Application::" | 9778 | "tangentbordsgenvägar genom att använda <methodname>Gtk::Application::" | ||
9870 | "set_accel_for_action()</methodname>." | 9779 | "set_accel_for_action()</methodname>." | ||
9871 | 9780 | ||||
9872 | #. (itstool) path: section/para | 9781 | #. (itstool) path: section/para | ||
9990 | msgid "" | 9899 | msgid "" | ||
9991 | "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 " | ||
9992 | "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 " | ||
9993 | "translatable, by adding <literal>translatable='yes'</literal>." | 9902 | "translatable, by adding <literal>translatable='yes'</literal>." | ||
9994 | msgstr "" | 9903 | msgstr "" | ||
n | 9995 | "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. " |
9996 | "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 " | ||
9997 | "lägga till <literal>translatable='yes'</literal>." | 9906 | "<literal>translatable='yes'</literal>." | ||
9998 | 9907 | ||||
9999 | #. (itstool) path: section/para | 9908 | #. (itstool) path: section/para | ||
10000 | #: C/index-in.docbook:4105 | 9909 | #: C/index-in.docbook:4105 | ||
10001 | #, fuzzy | 9910 | #, fuzzy | ||
10002 | msgid "" | 9911 | msgid "" | ||
10119 | "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 " | ||
10120 | "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 " | ||
10121 | "<classname>Gtk::PopoverMenu</classname>'s <methodname>popup()</methodname> " | 10030 | "<classname>Gtk::PopoverMenu</classname>'s <methodname>popup()</methodname> " | ||
10122 | "method. For instance:" | 10031 | "method. For instance:" | ||
10123 | msgstr "" | 10032 | msgstr "" | ||
n | 10124 | "För att visa poppuppmenyn, använd en <classname>Gtk::EventControllerClick</" | n | 10033 | "Använd för att visa poppuppmenyn en <classname>Gtk::EventControllerClick</" |
10125 | "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 " | ||
10126 | "signalhanteraren <classname>Gtk::PopoverMenu</classname>s " | 10035 | "signalhanteraren <classname>Gtk::PopoverMenu</classname>s " | ||
10127 | "<methodname>popup()</methodname>-metod. Till exempel:" | 10036 | "<methodname>popup()</methodname>-metod. Till exempel:" | ||
10128 | 10037 | ||||
10129 | #. (itstool) path: section/programlisting | 10038 | #. (itstool) path: section/programlisting | ||
10130 | #: C/index-in.docbook:4166 | 10039 | #: C/index-in.docbook:4166 | ||
10131 | #, 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 | #| "}" | ||||
10132 | msgid "" | 10049 | msgid "" | ||
10133 | "<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" | ||
10134 | "{\n" | 10051 | "{\n" | ||
10135 | " const Gdk::Rectangle rect(x, y, 1, 1);\n" | 10052 | " const Gdk::Rectangle rect(x, y, 1, 1);\n" | ||
10136 | " m_MenuPopup.set_pointing_to(rect);\n" | 10053 | " m_MenuPopup.set_pointing_to(rect);\n" | ||
10195 | "det också lättare att skapa flyttbara program." | 10112 | "det också lättare att skapa flyttbara program." | ||
10196 | 10113 | ||||
10197 | #. (itstool) path: section/para | 10114 | #. (itstool) path: section/para | ||
10198 | #: C/index-in.docbook:4198 | 10115 | #: C/index-in.docbook:4198 | ||
10199 | #, 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." | ||||
10200 | msgid "" | 10123 | msgid "" | ||
10201 | "Resource bundles are created by the <application>glib-compile-resources</" | 10124 | "Resource bundles are created by the <application>glib-compile-resources</" | ||
10202 | "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 " | ||
10203 | "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 " | ||
10204 | "resource bundle." | 10127 | "resource bundle." | ||
10208 | "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 " | ||
10209 | "xml-filen refererar till. Dessa kombineras till en binär resursbunt." | 10132 | "xml-filen refererar till. Dessa kombineras till en binär resursbunt." | ||
10210 | 10133 | ||||
10211 | #. (itstool) path: section/para | 10134 | #. (itstool) path: section/para | ||
10212 | #: C/index-in.docbook:4203 | 10135 | #: C/index-in.docbook:4203 | ||
n | 10213 | #, fuzzy | n | ||
10214 | #| msgid "" | ||||
10215 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
10216 | #| "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||||
10217 | msgid "" | 10136 | msgid "" | ||
10218 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 10137 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
10219 | "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | 10138 | "classGio_1_1Resource.html\">Gio::Resource Reference</link>" | ||
10220 | msgstr "" | 10139 | msgstr "" | ||
n | 10221 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 10140 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
10222 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | 10141 | "classGio_1_1Resource.html\">Referens för Gio::Resource</link>" | ||
10223 | 10142 | ||||
10224 | #. (itstool) path: section/para | 10143 | #. (itstool) path: section/para | ||
10225 | #: C/index-in.docbook:4204 | 10144 | #: C/index-in.docbook:4204 | ||
10226 | #, fuzzy | 10145 | #, fuzzy | ||
10251 | "</gresources>\n" | 10170 | "</gresources>\n" | ||
10252 | 10171 | ||||
10253 | #. (itstool) path: listitem/para | 10172 | #. (itstool) path: listitem/para | ||
10254 | #: C/index-in.docbook:4215 | 10173 | #: C/index-in.docbook:4215 | ||
10255 | #, fuzzy | 10174 | #, fuzzy | ||
n | n | 10175 | #| msgid "<filename>/toolbar/toolbar.glade</filename>" | ||
10256 | msgid "<filename>/toolbar/toolbar.ui</filename>" | 10176 | msgid "<filename>/toolbar/toolbar.ui</filename>" | ||
10257 | msgstr "<filename>/toolbar/toolbar.glade</filename>" | 10177 | msgstr "<filename>/toolbar/toolbar.glade</filename>" | ||
10258 | 10178 | ||||
10259 | #. (itstool) path: listitem/para | 10179 | #. (itstool) path: listitem/para | ||
10260 | #: C/index-in.docbook:4216 | 10180 | #: C/index-in.docbook:4216 | ||
n | 10261 | #, fuzzy | n | ||
10262 | msgid "<filename>/toolbar/rain.png</filename>" | 10181 | msgid "<filename>/toolbar/rain.png</filename>" | ||
10263 | msgstr "<filename>/toolbar/rain.png</filename>" | 10182 | msgstr "<filename>/toolbar/rain.png</filename>" | ||
10264 | 10183 | ||||
10265 | #. (itstool) path: section/para | 10184 | #. (itstool) path: section/para | ||
10266 | #: C/index-in.docbook:4213 | 10185 | #: C/index-in.docbook:4213 | ||
10267 | #, fuzzy | 10186 | #, fuzzy | ||
n | n | 10187 | #| msgid "" | ||
10188 | #| "An example: <_:programlisting-1/> This will create a resource bundle with " | ||||
10189 | #| "the files <_:itemizedlist-2/>" | ||||
10268 | msgid "This will create a resource bundle with the files <_:itemizedlist-1/>" | 10190 | msgid "This will create a resource bundle with the files <_:itemizedlist-1/>" | ||
10269 | msgstr "" | 10191 | msgstr "" | ||
10270 | "Ett exempel: <_:programlisting-1/> Detta kommer skapa en resursbunt med " | 10192 | "Ett exempel: <_:programlisting-1/> Detta kommer skapa en resursbunt med " | ||
10271 | "filerna <_:itemizedlist-2/>" | 10193 | "filerna <_:itemizedlist-2/>" | ||
10272 | 10194 | ||||
10273 | #. (itstool) path: para/screen | 10195 | #. (itstool) path: para/screen | ||
10274 | #: C/index-in.docbook:4224 | 10196 | #: C/index-in.docbook:4224 | ||
n | 10275 | #, fuzzy, no-wrap | n | 10197 | #, no-wrap |
10276 | msgid "$ glib-compile-resources --target=resources.c --generate-source toolbar.g | 10198 | msgid "$ glib-compile-resources --target=resources.c --generate-source toolbar.g | ||
> | resource.xml" | > | resource.xml" | ||
10277 | msgstr "$ glib-compile-resources --target=resources.c --generate-source toolbar. | 10199 | msgstr "$ glib-compile-resources --target=resources.c --generate-source toolbar. | ||
> | gresource.xml" | > | gresource.xml" | ||
10278 | 10200 | ||||
10279 | #. (itstool) path: section/para | 10201 | #. (itstool) path: section/para | ||
10280 | #: C/index-in.docbook:4219 | 10202 | #: C/index-in.docbook:4219 | ||
10345 | "Klasser härleds från <classname>Gtk::Application</classname> och " | 10267 | "Klasser härleds från <classname>Gtk::Application</classname> och " | ||
10346 | "<classname>Gtk::ApplicationWindow</classname>." | 10268 | "<classname>Gtk::ApplicationWindow</classname>." | ||
10347 | 10269 | ||||
10348 | #. (itstool) path: figure/title | 10270 | #. (itstool) path: figure/title | ||
10349 | #: C/index-in.docbook:4256 | 10271 | #: C/index-in.docbook:4256 | ||
n | 10350 | #, fuzzy | n | ||
10351 | msgid "App and Main Menu" | 10272 | msgid "App and Main Menu" | ||
10352 | msgstr "Program- och huvudmeny" | 10273 | msgstr "Program- och huvudmeny" | ||
10353 | 10274 | ||||
10354 | #. (itstool) path: imageobject/imagedata | 10275 | #. (itstool) path: imageobject/imagedata | ||
10355 | #. 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 | ||
10373 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10294 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
10374 | "master/examples/book/menus/main_menu/\">Källkod</link>" | 10295 | "master/examples/book/menus/main_menu/\">Källkod</link>" | ||
10375 | 10296 | ||||
10376 | #. (itstool) path: section/title | 10297 | #. (itstool) path: section/title | ||
10377 | #: C/index-in.docbook:4267 | 10298 | #: C/index-in.docbook:4267 | ||
n | 10378 | #, fuzzy | n | ||
10379 | msgid "Main Menu example" | 10299 | msgid "Main Menu example" | ||
10380 | msgstr "Exempel på huvudmeny" | 10300 | msgstr "Exempel på huvudmeny" | ||
10381 | 10301 | ||||
10382 | #. (itstool) path: section/para | 10302 | #. (itstool) path: section/para | ||
10383 | #: C/index-in.docbook:4268 | 10303 | #: C/index-in.docbook:4268 | ||
n | 10384 | #, fuzzy | n | ||
10385 | msgid "" | 10304 | msgid "" | ||
10386 | "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 " | ||
10387 | "<classname>Gtk::Window</classname>." | 10306 | "<classname>Gtk::Window</classname>." | ||
10388 | msgstr "" | 10307 | msgstr "" | ||
n | 10389 | "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 " |
10390 | "härledd från <classname>Gtk::Window</classname>." | 10309 | "från <classname>Gtk::Window</classname>." | ||
10391 | 10310 | ||||
10392 | #. (itstool) path: figure/title | 10311 | #. (itstool) path: figure/title | ||
10393 | #: C/index-in.docbook:4274 | 10312 | #: C/index-in.docbook:4274 | ||
n | 10394 | #, fuzzy | n | ||
10395 | msgid "Main Menu" | 10313 | msgid "Main Menu" | ||
10396 | msgstr "Huvudmeny" | 10314 | msgstr "Huvudmeny" | ||
10397 | 10315 | ||||
10398 | #. (itstool) path: imageobject/imagedata | 10316 | #. (itstool) path: imageobject/imagedata | ||
10399 | #. This is a reference to an external file such as an image or video. When | 10317 | #. This is a reference to an external file such as an image or video. When | ||
10468 | "display some adjustable part of a larger area, such as the " | 10386 | "display some adjustable part of a larger area, such as the " | ||
10469 | "<classname>Viewport</classname> widget. These widgets have <classname>Gtk::" | 10387 | "<classname>Viewport</classname> widget. These widgets have <classname>Gtk::" | ||
10470 | "Adjustment</classname> objects that express this common part of their API." | 10388 | "Adjustment</classname> objects that express this common part of their API." | ||
10471 | msgstr "" | 10389 | msgstr "" | ||
10472 | "<application>gtkmm</application> har olika komponenter som kan visuellt " | 10390 | "<application>gtkmm</application> har olika komponenter som kan visuellt " | ||
n | 10473 | "justeras med musern eller tangentbordet, som <classname>Range</classname>-" | n | 10391 | "justeras med musen eller tangentbordet, som <classname>Range</classname>-" |
10474 | "komponenterna (beskrivna i avsnittet <link linkend=\"chapter-range-" | 10392 | "komponenterna (beskrivna i avsnittet <link linkend=\"chapter-range-" | ||
10475 | "widgets\">Range-komponenter</link>). Det finns också några komponenter som " | 10393 | "widgets\">Range-komponenter</link>). Det finns också några komponenter som " | ||
10476 | "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</" | ||
10477 | "classname>-komponenten. Dessa komponenter har <classname>Gtk::Adjustment</" | 10395 | "classname>-komponenten. Dessa komponenter har <classname>Gtk::Adjustment</" | ||
10478 | "classname>-objekt som uttrycker denna gemensamma del av deras API." | 10396 | "classname>-objekt som uttrycker denna gemensamma del av deras API." | ||
10556 | "<parameter>upper</parameter> anger det möjliga värdeintervallet som " | 10474 | "<parameter>upper</parameter> anger det möjliga värdeintervallet som " | ||
10557 | "justeringen kan hålla. Argumentet <parameter>step_increment</parameter> " | 10475 | "justeringen kan hålla. Argumentet <parameter>step_increment</parameter> " | ||
10558 | "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, " | ||
10559 | "medan <parameter>page_increment</parameter> är den större. Argumentet " | 10477 | "medan <parameter>page_increment</parameter> är den större. Argumentet " | ||
10560 | "<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 | 10561 | "området för en panoreringskomponen. Argumentet <parameter>upper</parameter> " | n | 10479 | "området för en panoreringskomponent. Argumentet <parameter>upper</parameter> " |
10562 | "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 " | ||
10563 | "panoreringskomponents underordnade." | 10481 | "panoreringskomponents underordnade." | ||
10564 | 10482 | ||||
10565 | #. (itstool) path: section/title | 10483 | #. (itstool) path: section/title | ||
10566 | #: C/index-in.docbook:4355 | 10484 | #: C/index-in.docbook:4355 | ||
10575 | "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 " | ||
10576 | "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 " | ||
10577 | "arbitrary numbers." | 10495 | "arbitrary numbers." | ||
10578 | msgstr "" | 10496 | msgstr "" | ||
10579 | "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 | 10580 | "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 " |
10581 | "godtyckliga tal." | 10499 | "godtyckliga tal." | ||
10582 | 10500 | ||||
10583 | #. (itstool) path: section/para | 10501 | #. (itstool) path: section/para | ||
10584 | #: C/index-in.docbook:4362 | 10502 | #: C/index-in.docbook:4362 | ||
10585 | #, fuzzy | 10503 | #, fuzzy | ||
10665 | "and <methodname>set_value()</methodname> methods:" | 10583 | "and <methodname>set_value()</methodname> methods:" | ||
10666 | msgstr "" | 10584 | msgstr "" | ||
10667 | "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 " | ||
10668 | "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</" | ||
10669 | "classname>-komponent eller en <classname>SpinButton</classname> då? För att " | 10587 | "classname>-komponent eller en <classname>SpinButton</classname> då? För att " | ||
n | 10670 | "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 " |
10671 | "metoderna <methodname>get_value()</methodname> och <methodname>set_value()</" | 10589 | "metoderna <methodname>get_value()</methodname> och <methodname>set_value()</" | ||
10672 | "methodname>:" | 10590 | "methodname>:" | ||
10673 | 10591 | ||||
10674 | #. (itstool) path: section/para | 10592 | #. (itstool) path: section/para | ||
10675 | #: C/index-in.docbook:4406 | 10593 | #: C/index-in.docbook:4406 | ||
10791 | "used in <application>gtkmm</application>4 applications, provided " | 10709 | "used in <application>gtkmm</application>4 applications, provided " | ||
10792 | "GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some " | 10710 | "GTKMM_DISABLE_DEPRECATED and GDKMM_DISABLE_DEPRECATED are not defined. Some " | ||
10793 | "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 " | ||
10794 | "<application>gtkmm</application> 4.10." | 10712 | "<application>gtkmm</application> 4.10." | ||
10795 | 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." | ||||
10796 | 10720 | ||||
10797 | #. (itstool) path: note/para | 10721 | #. (itstool) path: note/para | ||
10798 | #: C/index-in.docbook:4464 | 10722 | #: C/index-in.docbook:4464 | ||
10799 | msgid "" | 10723 | msgid "" | ||
10800 | "The examples in this chapter use classes that are available since " | 10724 | "The examples in this chapter use classes that are available since " | ||
10801 | "<application>gtkmm</application> 4.10. Similar examples with the deprecated " | 10725 | "<application>gtkmm</application> 4.10. Similar examples with the deprecated " | ||
10802 | "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/" | ||
10803 | "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 " | ||
10804 | "branch</link> in the git repository." | 10728 | "branch</link> in the git repository." | ||
10805 | 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." | ||||
10806 | 10735 | ||||
10807 | #. (itstool) path: chapter/para | 10736 | #. (itstool) path: chapter/para | ||
10808 | #: C/index-in.docbook:4470 | 10737 | #: C/index-in.docbook:4470 | ||
10809 | #, fuzzy | 10738 | #, fuzzy | ||
10810 | msgid "" | 10739 | msgid "" | ||
10864 | "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 " | ||
10865 | "<methodname>add_button()</methodname>." | 10794 | "<methodname>add_button()</methodname>." | ||
10866 | 10795 | ||||
10867 | #. (itstool) path: chapter/para | 10796 | #. (itstool) path: chapter/para | ||
10868 | #: C/index-in.docbook:4499 | 10797 | #: C/index-in.docbook:4499 | ||
n | 10869 | #, fuzzy | n | ||
10870 | msgid "" | 10798 | msgid "" | ||
10871 | "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 " | ||
10872 | "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 " | ||
10873 | "<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 " | ||
10874 | "destroyed when it's closed. Connect to the <literal>response</literal> " | 10802 | "destroyed when it's closed. Connect to the <literal>response</literal> " | ||
10875 | "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</" | ||
10876 | "literal> signal handler is also where you should hide the dialog." | 10804 | "literal> signal handler is also where you should hide the dialog." | ||
10877 | msgstr "" | 10805 | msgstr "" | ||
n | 10878 | "För att visa dialogrutan, anropa <methodname>show()</methodname>. Om samma " | n | 10806 | "För att visa dialogrutan, anropa <methodname>set_visible(true)</methodname>. " |
10879 | "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 " | ||
10880 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | 10808 | "<methodname>set_hide_on_close()</methodname>, annars kommer dialogrutan " | ||
10881 | "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 " | ||
10882 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | 10810 | "du vill veta vilken knapp som trycktes på. <literal>response</literal>-" | ||
10883 | "signalhanteraren är också var du ska dölja dialogrutan." | 10811 | "signalhanteraren är också var du ska dölja dialogrutan." | ||
10884 | 10812 | ||||
10885 | #. (itstool) path: chapter/para | 10813 | #. (itstool) path: chapter/para | ||
10886 | #: C/index-in.docbook:4508 | 10814 | #: C/index-in.docbook:4508 | ||
n | 10887 | #, fuzzy | n | ||
10888 | #| msgid "" | ||||
10889 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
10890 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
10891 | msgid "" | 10815 | msgid "" | ||
10892 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10816 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10893 | "classGtk_1_1Dialog.html\">Reference</link>" | 10817 | "classGtk_1_1Dialog.html\">Reference</link>" | ||
10894 | msgstr "" | 10818 | msgstr "" | ||
n | 10895 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10819 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
10896 | "classGtk_1_1Dialog.html\">Referens</link>" | 10820 | "classGtk_1_1Dialog.html\">Referens</link>" | ||
10897 | 10821 | ||||
10898 | #. (itstool) path: section/title | 10822 | #. (itstool) path: section/title | ||
10899 | #: C/index-in.docbook:4511 | 10823 | #: C/index-in.docbook:4511 | ||
n | 10900 | #, fuzzy | n | ||
10901 | #| msgid "MessageDialog" | ||||
10902 | msgid "AlertDialog and MessageDialog" | 10824 | msgid "AlertDialog and MessageDialog" | ||
n | 10903 | msgstr "MessageDialog" | n | 10825 | msgstr "AlertDialog och MessageDialog" |
10904 | 10826 | ||||
10905 | #. (itstool) path: section/para | 10827 | #. (itstool) path: section/para | ||
10906 | #: C/index-in.docbook:4512 | 10828 | #: C/index-in.docbook:4512 | ||
10907 | msgid "" | 10829 | msgid "" | ||
10908 | "<classname>MessageDialog</classname> (deprecated since <application>gtkmm</" | 10830 | "<classname>MessageDialog</classname> (deprecated since <application>gtkmm</" | ||
10909 | "application> 4.10) and <classname>AlertDialog</classname> (available since " | 10831 | "application> 4.10) and <classname>AlertDialog</classname> (available since " | ||
10910 | "<application>gtkmm</application> 4.10) are convenience classes, used to " | 10832 | "<application>gtkmm</application> 4.10) are convenience classes, used to " | ||
10911 | "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 " | ||
10912 | "response." | 10834 | "response." | ||
10913 | 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." | ||||
10914 | 10841 | ||||
10915 | #. (itstool) path: section/para | 10842 | #. (itstool) path: section/para | ||
10916 | #: C/index-in.docbook:4519 | 10843 | #: C/index-in.docbook:4519 | ||
n | 10917 | #, fuzzy | n | ||
10918 | #| msgid "" | ||||
10919 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
10920 | #| "classGtk_1_1AboutDialog.html\">Reference</link>" | ||||
10921 | msgid "" | 10844 | msgid "" | ||
10922 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10845 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10923 | "classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>" | 10846 | "classGtk_1_1AlertDialog.html\">AlertDialog Reference</link>" | ||
10924 | msgstr "" | 10847 | msgstr "" | ||
n | 10925 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10848 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
10926 | "classGtk_1_1AboutDialog.html\">Referens</link>" | 10849 | "classGtk_1_1AlertDialog.html\">AlertDialog-referens</link>" | ||
10927 | 10850 | ||||
10928 | #. (itstool) path: section/para | 10851 | #. (itstool) path: section/para | ||
10929 | #: C/index-in.docbook:4520 | 10852 | #: C/index-in.docbook:4520 | ||
n | 10930 | #, fuzzy | n | ||
10931 | #| msgid "" | ||||
10932 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
10933 | #| "classGtk_1_1MessageDialog.html\">Reference</link>" | ||||
10934 | msgid "" | 10853 | msgid "" | ||
10935 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10854 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
10936 | "classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>" | 10855 | "classGtk_1_1MessageDialog.html\">MessageDialog Reference</link>" | ||
10937 | msgstr "" | 10856 | msgstr "" | ||
n | 10938 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10857 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
10939 | "classGtk_1_1MessageDialog.html\">Referens</link>" | 10858 | "classGtk_1_1MessageDialog.html\">MessageDialog-referens</link>" | ||
10940 | 10859 | ||||
10941 | #. (itstool) path: figure/title | 10860 | #. (itstool) path: figure/title | ||
10942 | #: C/index-in.docbook:4526 | 10861 | #: C/index-in.docbook:4526 | ||
n | 10943 | #, fuzzy | n | ||
10944 | #| msgid "AboutDialog" | ||||
10945 | msgid "AlertDialog" | 10862 | msgid "AlertDialog" | ||
n | 10946 | msgstr "AboutDialog" | n | 10863 | msgstr "AlertDialog" |
10947 | 10864 | ||||
10948 | #. (itstool) path: imageobject/imagedata | 10865 | #. (itstool) path: imageobject/imagedata | ||
10949 | #. 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 | ||
10950 | #. 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 | ||
10951 | #. 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 | ||
10955 | msgctxt "_" | 10872 | msgctxt "_" | ||
10956 | msgid "" | 10873 | msgid "" | ||
10957 | "external ref='figures/dialogs_alertdialog.png' " | 10874 | "external ref='figures/dialogs_alertdialog.png' " | ||
10958 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | 10875 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
10959 | msgstr "" | 10876 | msgstr "" | ||
n | 10960 | "external ref='figures/dialogs_messagedialog.png' " | n | 10877 | "external ref='figures/dialogs_alertdialog.png' " |
10961 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 10878 | "md5='88fa2103ad6d842eeebc68cc8cfd94ef'" | ||
10962 | 10879 | ||||
10963 | #. (itstool) path: section/para | 10880 | #. (itstool) path: section/para | ||
10964 | #: C/index-in.docbook:4532 | 10881 | #: C/index-in.docbook:4532 | ||
n | 10965 | #, fuzzy | n | ||
10966 | #| msgid "" | ||||
10967 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
10968 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
10969 | msgid "" | 10882 | msgid "" | ||
10970 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10883 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
10971 | "master/examples/book/dialogs/alertdialog\">Source Code</link>" | 10884 | "master/examples/book/dialogs/alertdialog\">Source Code</link>" | ||
10972 | msgstr "" | 10885 | msgstr "" | ||
10973 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10886 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 10974 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 10887 | "master/examples/book/dialogs/alertdialog\">Källkod</link>" |
10975 | 10888 | ||||
10976 | #. (itstool) path: section/title | 10889 | #. (itstool) path: section/title | ||
10977 | #: C/index-in.docbook:4537 | 10890 | #: C/index-in.docbook:4537 | ||
n | 10978 | #, fuzzy | n | ||
10979 | #| msgid "FileChooserDialog" | ||||
10980 | msgid "FileDialog and FileChooserDialog" | 10891 | msgid "FileDialog and FileChooserDialog" | ||
n | 10981 | msgstr "FileChooserDialog" | n | 10892 | msgstr "FileDialog och FileChooserDialog" |
10982 | 10893 | ||||
10983 | #. (itstool) path: section/para | 10894 | #. (itstool) path: section/para | ||
10984 | #: C/index-in.docbook:4538 | 10895 | #: C/index-in.docbook:4538 | ||
10985 | msgid "" | 10896 | msgid "" | ||
10986 | "The <classname>FileChooserDialog</classname> (deprecated since " | 10897 | "The <classname>FileChooserDialog</classname> (deprecated since " | ||
10987 | "<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> " | 10898 | "<application>gtkmm</application> 4.10) and <classname>FileDialog</classname> " | ||
10988 | "(available since <application>gtkmm</application> 4.10) are suitable for use " | 10899 | "(available since <application>gtkmm</application> 4.10) are suitable for use " | ||
10989 | "with \"Open\" or \"Save\" menu items." | 10900 | "with \"Open\" or \"Save\" menu items." | ||
10990 | 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”." | ||||
10991 | 10906 | ||||
10992 | #. (itstool) path: section/para | 10907 | #. (itstool) path: section/para | ||
10993 | #: C/index-in.docbook:4543 | 10908 | #: C/index-in.docbook:4543 | ||
n | 10994 | #, fuzzy | n | ||
10995 | #| msgid "" | ||||
10996 | #| "Most of the useful member methods for this class are actually in the " | ||||
10997 | #| "<classname>Gtk::FileChooser</classname> base class." | ||||
10998 | msgid "" | 10909 | msgid "" | ||
10999 | "Most of the useful member methods for <classname>FileChooserDialog</" | 10910 | "Most of the useful member methods for <classname>FileChooserDialog</" | ||
11000 | "classname> are actually in the <classname>Gtk::FileChooser</classname> base " | 10911 | "classname> are actually in the <classname>Gtk::FileChooser</classname> base " | ||
11001 | "class." | 10912 | "class." | ||
11002 | msgstr "" | 10913 | msgstr "" | ||
n | 11003 | "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 " | ||||
11004 | "basklassen <classname>Gtk::FileChooser</classname>." | 10916 | "<classname>Gtk::FileChooser</classname>." | ||
11005 | 10917 | ||||
11006 | #. (itstool) path: section/para | 10918 | #. (itstool) path: section/para | ||
11007 | #: C/index-in.docbook:4548 | 10919 | #: C/index-in.docbook:4548 | ||
n | 11008 | #, fuzzy | n | ||
11009 | #| msgid "" | ||||
11010 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11011 | #| "classGtk_1_1Dialog.html\">Reference</link>" | ||||
11012 | msgid "" | 10920 | msgid "" | ||
11013 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10921 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11014 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | 10922 | "classGtk_1_1FileDialog.html\">FileDialog Reference</link>" | ||
11015 | msgstr "" | 10923 | msgstr "" | ||
n | 11016 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10924 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11017 | "classGtk_1_1Dialog.html\">Referens</link>" | 10925 | "classGtk_1_1FileDialog.html\">FileDialog-referens</link>" | ||
11018 | 10926 | ||||
n | n | 10927 | # TODO: FileChooseDialog Reference | ||
11019 | #. (itstool) path: section/para | 10928 | #. (itstool) path: section/para | ||
11020 | #: C/index-in.docbook:4549 | 10929 | #: C/index-in.docbook:4549 | ||
11021 | #, fuzzy | 10930 | #, fuzzy | ||
11022 | #| msgid "" | 10931 | #| msgid "" | ||
n | 11023 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10932 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11024 | #| "classGtk_1_1FileChooserDialog.html\">Reference</link>" | 10933 | #| "classGtk_1_1FileChooserDialog.html\">FileChooserDialogReference</link>" | ||
11025 | msgid "" | 10934 | msgid "" | ||
11026 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10935 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11027 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | 10936 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog Reference</link>" | ||
11028 | msgstr "" | 10937 | msgstr "" | ||
n | 11029 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 10938 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11030 | "classGtk_1_1FileChooserDialog.html\">Referens</link>" | 10939 | "classGtk_1_1FileChooserDialog.html\">FileChooserDialog-referens</link>" | ||
11031 | 10940 | ||||
11032 | #. (itstool) path: figure/title | 10941 | #. (itstool) path: figure/title | ||
11033 | #: C/index-in.docbook:4555 | 10942 | #: C/index-in.docbook:4555 | ||
n | 11034 | #, fuzzy | n | ||
11035 | #| msgid "FileChooserDialog" | ||||
11036 | msgid "FileDialog" | 10943 | msgid "FileDialog" | ||
n | 11037 | msgstr "FileChooserDialog" | n | 10944 | msgstr "FileDialog" |
11038 | 10945 | ||||
11039 | #. (itstool) path: imageobject/imagedata | 10946 | #. (itstool) path: imageobject/imagedata | ||
11040 | #. 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 | ||
11041 | #. 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 | ||
11042 | #. 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 | ||
11046 | msgctxt "_" | 10953 | msgctxt "_" | ||
11047 | msgid "" | 10954 | msgid "" | ||
11048 | "external ref='figures/dialogs_filedialog.png' " | 10955 | "external ref='figures/dialogs_filedialog.png' " | ||
11049 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10956 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
11050 | msgstr "" | 10957 | msgstr "" | ||
n | 11051 | "external ref='figures/dialogs_filechooser.png' " | n | 10958 | "external ref='figures/dialogs_filedialog.png' " |
11052 | "md5='15ecc452482112428259d0dcd8d0394a'" | 10959 | "md5='15ecc452482112428259d0dcd8d0394a'" | ||
11053 | 10960 | ||||
11054 | #. (itstool) path: section/para | 10961 | #. (itstool) path: section/para | ||
11055 | #: C/index-in.docbook:4561 | 10962 | #: C/index-in.docbook:4561 | ||
n | 11056 | #, fuzzy | n | ||
11057 | #| msgid "" | ||||
11058 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11059 | #| "tree/master/examples/book/dialogs/filechooserdialog\">Source Code</link>" | ||||
11060 | msgid "" | 10963 | msgid "" | ||
11061 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10964 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11062 | "master/examples/book/dialogs/filedialog\">Source Code</link>" | 10965 | "master/examples/book/dialogs/filedialog\">Source Code</link>" | ||
11063 | msgstr "" | 10966 | msgstr "" | ||
11064 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 10967 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11065 | "master/examples/book/dialogs/filechooserdialog\">Källkod</link>" | n | 10968 | "master/examples/book/dialogs/filedialog\">Källkod</link>" |
11066 | 10969 | ||||
11067 | #. (itstool) path: section/title | 10970 | #. (itstool) path: section/title | ||
11068 | #: C/index-in.docbook:4566 | 10971 | #: C/index-in.docbook:4566 | ||
n | 11069 | #, fuzzy | n | ||
11070 | #| msgid "ColorChooserDialog" | ||||
11071 | msgid "ColorDialog and ColorChooserDialog" | 10972 | msgid "ColorDialog and ColorChooserDialog" | ||
n | 11072 | msgstr "ColorChooserDialog" | n | 10973 | msgstr "ColorDialog och ColorChooserDialog" |
11073 | 10974 | ||||
11074 | #. (itstool) path: section/para | 10975 | #. (itstool) path: section/para | ||
11075 | #: C/index-in.docbook:4567 | 10976 | #: C/index-in.docbook:4567 | ||
11076 | msgid "" | 10977 | msgid "" | ||
11077 | "The <classname>ColorChooserDialog</classname> (deprecated since " | 10978 | "The <classname>ColorChooserDialog</classname> (deprecated since " | ||
11081 | "since <application>gtkmm</application> 4.10) and " | 10982 | "since <application>gtkmm</application> 4.10) and " | ||
11082 | "<classname>ColorDialogButton</classname> (available since " | 10983 | "<classname>ColorDialogButton</classname> (available since " | ||
11083 | "<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 " | ||
11084 | "is clicked." | 10985 | "is clicked." | ||
11085 | 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å." | ||||
11086 | 10995 | ||||
11087 | #. (itstool) path: section/para | 10996 | #. (itstool) path: section/para | ||
11088 | #: C/index-in.docbook:4575 | 10997 | #: C/index-in.docbook:4575 | ||
n | 11089 | #, fuzzy | n | ||
11090 | #| msgid "" | ||||
11091 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11092 | #| "classGtk_1_1ColorChooserDialog.html\">Reference</link>" | ||||
11093 | msgid "" | 10998 | msgid "" | ||
11094 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 10999 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11095 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | 11000 | "classGtk_1_1ColorDialog.html\">ColorDialog Reference</link>" | ||
11096 | msgstr "" | 11001 | msgstr "" | ||
n | 11097 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11002 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11098 | "classGtk_1_1ColorChooserDialog.html\">Referens</link>" | 11003 | "classGtk_1_1ColorDialog.html\">ColorDialog-referens</link>" | ||
11099 | 11004 | ||||
11100 | #. (itstool) path: section/para | 11005 | #. (itstool) path: section/para | ||
11101 | #: C/index-in.docbook:4576 | 11006 | #: C/index-in.docbook:4576 | ||
n | 11102 | #, fuzzy | n | ||
11103 | #| msgid "" | ||||
11104 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11105 | #| "classGtk_1_1ColorChooserDialog.html\">Reference</link>" | ||||
11106 | msgid "" | 11007 | msgid "" | ||
11107 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11008 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11108 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | 11009 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog Reference</link>" | ||
11109 | msgstr "" | 11010 | msgstr "" | ||
n | 11110 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11011 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11111 | "classGtk_1_1ColorChooserDialog.html\">Referens</link>" | 11012 | "classGtk_1_1ColorChooserDialog.html\">ColorChooserDialog-referens</link>" | ||
11112 | 11013 | ||||
11113 | #. (itstool) path: figure/title | 11014 | #. (itstool) path: figure/title | ||
11114 | #: C/index-in.docbook:4582 | 11015 | #: C/index-in.docbook:4582 | ||
n | 11115 | #, fuzzy | n | ||
11116 | #| msgid "ColorChooserDialog" | ||||
11117 | msgid "ColorDialog" | 11016 | msgid "ColorDialog" | ||
n | 11118 | msgstr "ColorChooserDialog" | n | 11017 | msgstr "ColorDialog" |
11119 | 11018 | ||||
11120 | #. (itstool) path: imageobject/imagedata | 11019 | #. (itstool) path: imageobject/imagedata | ||
11121 | #. 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 | ||
11122 | #. 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 | ||
11123 | #. 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 | ||
11127 | msgctxt "_" | 11026 | msgctxt "_" | ||
11128 | msgid "" | 11027 | msgid "" | ||
11129 | "external ref='figures/dialogs_colordialog.png' " | 11028 | "external ref='figures/dialogs_colordialog.png' " | ||
11130 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 11029 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
11131 | msgstr "" | 11030 | msgstr "" | ||
n | 11132 | "external ref='figures/dialogs_colorchooserdialog.png' " | n | 11031 | "external ref='figures/dialogs_colordialog.png' " |
11133 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | 11032 | "md5='029761e82cf06d3cbeaac2b7ccd70e57'" | ||
11134 | 11033 | ||||
11135 | #. (itstool) path: section/para | 11034 | #. (itstool) path: section/para | ||
11136 | #: C/index-in.docbook:4588 | 11035 | #: C/index-in.docbook:4588 | ||
n | 11137 | #, fuzzy | n | ||
11138 | #| msgid "" | ||||
11139 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11140 | #| "tree/master/examples/book/dialogs/colorchooserdialog\">Source Code</link>" | ||||
11141 | msgid "" | 11036 | msgid "" | ||
11142 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11037 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11143 | "master/examples/book/dialogs/colordialog\">Source Code</link>" | 11038 | "master/examples/book/dialogs/colordialog\">Source Code</link>" | ||
11144 | msgstr "" | 11039 | msgstr "" | ||
11145 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11040 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11146 | "master/examples/book/dialogs/colorchooserdialog\">Källkod</link>" | n | 11041 | "master/examples/book/dialogs/colordialog\">Källkod</link>" |
11147 | 11042 | ||||
11148 | #. (itstool) path: section/title | 11043 | #. (itstool) path: section/title | ||
11149 | #: C/index-in.docbook:4593 | 11044 | #: C/index-in.docbook:4593 | ||
n | 11150 | #, fuzzy | n | ||
11151 | #| msgid "FontChooserDialog" | ||||
11152 | msgid "FontDialog and FontChooserDialog" | 11045 | msgid "FontDialog and FontChooserDialog" | ||
n | 11153 | msgstr "FontChooserDialog" | n | 11046 | msgstr "FontDialog och FontChooserDialog" |
11154 | 11047 | ||||
11155 | #. (itstool) path: section/para | 11048 | #. (itstool) path: section/para | ||
11156 | #: C/index-in.docbook:4594 | 11049 | #: C/index-in.docbook:4594 | ||
11157 | msgid "" | 11050 | msgid "" | ||
11158 | "The <classname>FontChooserDialog</classname> (deprecated since " | 11051 | "The <classname>FontChooserDialog</classname> (deprecated since " | ||
11161 | "choose a font. The <classname>FontButton</classname> (deprecated since " | 11054 | "choose a font. The <classname>FontButton</classname> (deprecated since " | ||
11162 | "<application>gtkmm</application> 4.10) and <classname>FontDialogButton</" | 11055 | "<application>gtkmm</application> 4.10) and <classname>FontDialogButton</" | ||
11163 | "classname> (available since <application>gtkmm</application> 4.10) open a " | 11056 | "classname> (available since <application>gtkmm</application> 4.10) open a " | ||
11164 | "font chooser dialog when it is clicked." | 11057 | "font chooser dialog when it is clicked." | ||
11165 | 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å." | ||||
11166 | 11066 | ||||
11167 | #. (itstool) path: section/para | 11067 | #. (itstool) path: section/para | ||
11168 | #: C/index-in.docbook:4602 | 11068 | #: C/index-in.docbook:4602 | ||
n | 11169 | #, fuzzy | n | ||
11170 | #| msgid "" | ||||
11171 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11172 | #| "classGtk_1_1AboutDialog.html\">Reference</link>" | ||||
11173 | msgid "" | 11069 | msgid "" | ||
11174 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11070 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11175 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | 11071 | "classGtk_1_1FontDialog.html\">FontDialog Reference</link>" | ||
11176 | msgstr "" | 11072 | msgstr "" | ||
n | 11177 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11073 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11178 | "classGtk_1_1AboutDialog.html\">Referens</link>" | 11074 | "classGtk_1_1FontDialog.html\">FontDialog-referens</link>" | ||
11179 | 11075 | ||||
11180 | #. (itstool) path: section/para | 11076 | #. (itstool) path: section/para | ||
11181 | #: C/index-in.docbook:4603 | 11077 | #: C/index-in.docbook:4603 | ||
n | 11182 | #, fuzzy | n | ||
11183 | #| msgid "" | ||||
11184 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11185 | #| "classGtk_1_1FontChooserDialog.html\">Reference</link>" | ||||
11186 | msgid "" | 11078 | msgid "" | ||
11187 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11079 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11188 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | 11080 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog Reference</link>" | ||
11189 | msgstr "" | 11081 | msgstr "" | ||
n | 11190 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11082 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11191 | "classGtk_1_1FontChooserDialog.html\">Referens</link>" | 11083 | "classGtk_1_1FontChooserDialog.html\">FontChooserDialog-referens</link>" | ||
11192 | 11084 | ||||
11193 | #. (itstool) path: figure/title | 11085 | #. (itstool) path: figure/title | ||
11194 | #: C/index-in.docbook:4609 | 11086 | #: C/index-in.docbook:4609 | ||
n | 11195 | #, fuzzy | n | ||
11196 | #| msgid "AboutDialog" | ||||
11197 | msgid "FontDialog" | 11087 | msgid "FontDialog" | ||
n | 11198 | msgstr "AboutDialog" | n | 11088 | msgstr "FontDialog" |
11199 | 11089 | ||||
11200 | #. (itstool) path: imageobject/imagedata | 11090 | #. (itstool) path: imageobject/imagedata | ||
11201 | #. 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 | ||
11202 | #. 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 | ||
11203 | #. 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 | ||
11207 | msgctxt "_" | 11097 | msgctxt "_" | ||
11208 | msgid "" | 11098 | msgid "" | ||
11209 | "external ref='figures/dialogs_fontdialog.png' " | 11099 | "external ref='figures/dialogs_fontdialog.png' " | ||
11210 | "md5='e35e05429468fa8823416b8a0deff342'" | 11100 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11211 | msgstr "" | 11101 | msgstr "" | ||
n | 11212 | "external ref='figures/dialogs_fontchooserdialog.png' " | n | 11102 | "external ref='figures/dialogs_fontdialog.png' " |
11213 | "md5='e35e05429468fa8823416b8a0deff342'" | 11103 | "md5='e35e05429468fa8823416b8a0deff342'" | ||
11214 | 11104 | ||||
11215 | #. (itstool) path: section/para | 11105 | #. (itstool) path: section/para | ||
11216 | #: C/index-in.docbook:4615 | 11106 | #: C/index-in.docbook:4615 | ||
n | 11217 | #, fuzzy | n | ||
11218 | #| msgid "" | ||||
11219 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11220 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11221 | msgid "" | 11107 | msgid "" | ||
11222 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11108 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11223 | "master/examples/book/dialogs/fontdialog\">Source Code</link>" | 11109 | "master/examples/book/dialogs/fontdialog\">Source Code</link>" | ||
11224 | msgstr "" | 11110 | msgstr "" | ||
11225 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11111 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11226 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 11112 | "master/examples/book/dialogs/fontdialog\">Källkod</link>" |
11227 | 11113 | ||||
11228 | #. (itstool) path: section/title | 11114 | #. (itstool) path: section/title | ||
11229 | #: C/index-in.docbook:4620 | 11115 | #: C/index-in.docbook:4620 | ||
11230 | #, fuzzy | 11116 | #, fuzzy | ||
11231 | msgid "Non-modal AboutDialog" | 11117 | msgid "Non-modal AboutDialog" | ||
11262 | "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 " | ||
11263 | "<application>gedit</application>s sök-och-ersättdialog icke-modal." | 11149 | "<application>gedit</application>s sök-och-ersättdialog icke-modal." | ||
11264 | 11150 | ||||
11265 | #. (itstool) path: section/para | 11151 | #. (itstool) path: section/para | ||
11266 | #: C/index-in.docbook:4635 | 11152 | #: C/index-in.docbook:4635 | ||
n | 11267 | #, fuzzy | n | ||
11268 | #| msgid "" | ||||
11269 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
11270 | #| "classGtk_1_1AboutDialog.html\">Reference</link>" | ||||
11271 | msgid "" | 11153 | msgid "" | ||
11272 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11154 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11273 | "classGtk_1_1AboutDialog.html\">Reference</link>" | 11155 | "classGtk_1_1AboutDialog.html\">Reference</link>" | ||
11274 | msgstr "" | 11156 | msgstr "" | ||
n | 11275 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11157 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11276 | "classGtk_1_1AboutDialog.html\">Referens</link>" | 11158 | "classGtk_1_1AboutDialog.html\">Referens</link>" | ||
11277 | 11159 | ||||
11278 | #. (itstool) path: figure/title | 11160 | #. (itstool) path: figure/title | ||
11279 | #: C/index-in.docbook:4641 | 11161 | #: C/index-in.docbook:4641 | ||
11280 | msgid "AboutDialog" | 11162 | msgid "AboutDialog" | ||
11305 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | 11187 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | ||
11306 | 11188 | ||||
11307 | #. (itstool) path: section/title | 11189 | #. (itstool) path: section/title | ||
11308 | #: C/index-in.docbook:4652 | 11190 | #: C/index-in.docbook:4652 | ||
11309 | #, fuzzy | 11191 | #, fuzzy | ||
n | 11310 | #| msgid "Custom Widget" | n | ||
11311 | msgid "Custom Dialog" | 11192 | msgid "Custom Dialog" | ||
n | 11312 | msgstr "Anpassad komponent" | n | 11193 | msgstr "Anpassad dialogruta" |
11313 | 11194 | ||||
11314 | #. (itstool) path: section/para | 11195 | #. (itstool) path: section/para | ||
11315 | #: C/index-in.docbook:4653 | 11196 | #: C/index-in.docbook:4653 | ||
n | n | 11197 | #, fuzzy | ||
11316 | msgid "" | 11198 | msgid "" | ||
11317 | "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 " | ||
11318 | "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 " | ||
11319 | "fill it with the widgets you need." | 11201 | "fill it with the widgets you need." | ||
11320 | 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." | ||||
11321 | 11206 | ||||
11322 | #. (itstool) path: section/para | 11207 | #. (itstool) path: section/para | ||
11323 | #: C/index-in.docbook:4659 | 11208 | #: C/index-in.docbook:4659 | ||
n | 11324 | #, fuzzy | n | ||
11325 | msgid "" | 11209 | msgid "" | ||
11326 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 11210 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
11327 | "classGtk_1_1Window.html\">Window Reference</link>" | 11211 | "classGtk_1_1Window.html\">Window Reference</link>" | ||
11328 | msgstr "" | 11212 | msgstr "" | ||
n | 11329 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 11213 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
11330 | "classGtk_1_1Widget.html\">Widget-referens</link>" | 11214 | "classGtk_1_1Window.html\">Window-referens</link>" | ||
11331 | 11215 | ||||
11332 | #. (itstool) path: figure/title | 11216 | #. (itstool) path: figure/title | ||
11333 | #: C/index-in.docbook:4665 | 11217 | #: C/index-in.docbook:4665 | ||
11334 | #, fuzzy | 11218 | #, fuzzy | ||
n | 11335 | #| msgid "Dialogs" | n | ||
11336 | msgid "Window Dialog" | 11219 | msgid "Window Dialog" | ||
n | 11337 | msgstr "Dialogrutor" | n | 11220 | msgstr "Fönsterdialog" |
11338 | 11221 | ||||
11339 | #. (itstool) path: imageobject/imagedata | 11222 | #. (itstool) path: imageobject/imagedata | ||
11340 | #. 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 | ||
11341 | #. 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 | ||
11342 | #. 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 | ||
11346 | msgctxt "_" | 11229 | msgctxt "_" | ||
11347 | msgid "" | 11230 | msgid "" | ||
11348 | "external ref='figures/dialogs_windowdialog.png' " | 11231 | "external ref='figures/dialogs_windowdialog.png' " | ||
11349 | "md5='53deb18153f6903fe45d015fc06ccef3'" | 11232 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11350 | msgstr "" | 11233 | msgstr "" | ||
n | 11351 | "external ref='figures/dialogs_messagedialog.png' " | n | 11234 | "external ref='figures/dialogs_windowdialog.png' " |
11352 | "md5='58151003c2b562b9f27b064c3193f7b1'" | 11235 | "md5='53deb18153f6903fe45d015fc06ccef3'" | ||
11353 | 11236 | ||||
11354 | #. (itstool) path: section/para | 11237 | #. (itstool) path: section/para | ||
11355 | #: C/index-in.docbook:4671 | 11238 | #: C/index-in.docbook:4671 | ||
n | 11356 | #, fuzzy | n | ||
11357 | #| msgid "" | ||||
11358 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
11359 | #| "tree/master/examples/book/dialogs/aboutdialog\">Source Code</link>" | ||||
11360 | msgid "" | 11239 | msgid "" | ||
11361 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11240 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
11362 | "master/examples/book/dialogs/windowdialog\">Source Code</link>" | 11241 | "master/examples/book/dialogs/windowdialog\">Source Code</link>" | ||
11363 | msgstr "" | 11242 | msgstr "" | ||
11364 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11243 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 11365 | "master/examples/book/dialogs/aboutdialog\">Källkod</link>" | n | 11244 | "master/examples/book/dialogs/windowdialog\">Källkod</link>" |
11366 | 11245 | ||||
11367 | #. (itstool) path: chapter/title | 11246 | #. (itstool) path: chapter/title | ||
11368 | #: C/index-in.docbook:4678 | 11247 | #: C/index-in.docbook:4678 | ||
11369 | msgid "The DrawingArea Widget" | 11248 | msgid "The DrawingArea Widget" | ||
11370 | msgstr "DrawingArea-komponenten" | 11249 | msgstr "DrawingArea-komponenten" | ||
11437 | msgid "Cairo and Pango" | 11316 | msgid "Cairo and Pango" | ||
11438 | msgstr "Cairo och Pango" | 11317 | msgstr "Cairo och Pango" | ||
11439 | 11318 | ||||
11440 | #. (itstool) path: note/para | 11319 | #. (itstool) path: note/para | ||
11441 | #: C/index-in.docbook:4707 | 11320 | #: C/index-in.docbook:4707 | ||
n | 11442 | #, fuzzy | n | ||
11443 | msgid "" | 11321 | msgid "" | ||
11444 | "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 " | ||
11445 | "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 " | ||
11446 | "rendering such as wrapping or ellipsizing text. Drawing text with Cairo " | 11324 | "rendering such as wrapping or ellipsizing text. Drawing text with Cairo " | ||
11447 | "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." | ||
11465 | "någorlunda detaljerat (med exempel), och sedan presentera ett enkelt program " | 11343 | "någorlunda detaljerat (med exempel), och sedan presentera ett enkelt program " | ||
11466 | "som använder Cairo för att rita en anpassad klockkomponent." | 11344 | "som använder Cairo för att rita en anpassad klockkomponent." | ||
11467 | 11345 | ||||
11468 | #. (itstool) path: section/title | 11346 | #. (itstool) path: section/title | ||
11469 | #: C/index-in.docbook:4720 | 11347 | #: C/index-in.docbook:4720 | ||
n | 11470 | #, fuzzy | n | ||
11471 | msgid "The Cairo Drawing Model" | 11348 | msgid "The Cairo Drawing Model" | ||
11472 | msgstr "Cairo-ritmodellen" | 11349 | msgstr "Cairo-ritmodellen" | ||
11473 | 11350 | ||||
11474 | #. (itstool) path: section/para | 11351 | #. (itstool) path: section/para | ||
11475 | #: C/index-in.docbook:4721 | 11352 | #: C/index-in.docbook:4721 | ||
11476 | #, fuzzy | 11353 | #, fuzzy | ||
11477 | msgid "" | 11354 | msgid "" | ||
11478 | "The basic concept of drawing in Cairo involves defining 'invisible' paths " | 11355 | "The basic concept of drawing in Cairo involves defining 'invisible' paths " | ||
11479 | "and then stroking or filling them to make them visible." | 11356 | "and then stroking or filling them to make them visible." | ||
11480 | msgstr "" | 11357 | msgstr "" | ||
n | 11481 | "Det grundläggande konceptet av att rita i Cairo involverar att definiera " | n | 11358 | "Det grundläggande konceptet för att rita i Cairo involverar att definiera " |
11482 | "”osynliga” banor och sedan strecka eller fylla dem för att göra dem synliga." | 11359 | "”osynliga” banor och sedan strecka eller fylla dem för att göra dem synliga." | ||
11483 | 11360 | ||||
11484 | #. (itstool) path: section/para | 11361 | #. (itstool) path: section/para | ||
11485 | #: C/index-in.docbook:4725 | 11362 | #: C/index-in.docbook:4725 | ||
11486 | #, fuzzy | 11363 | #, fuzzy | ||
11575 | "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å " | ||
11576 | "radera ändrar kontextens grafiktillstånd." | 11453 | "radera ändrar kontextens grafiktillstånd." | ||
11577 | 11454 | ||||
11578 | #. (itstool) path: section/para | 11455 | #. (itstool) path: section/para | ||
11579 | #: C/index-in.docbook:4761 | 11456 | #: C/index-in.docbook:4761 | ||
n | 11580 | #, fuzzy | n | ||
11581 | msgid "" | 11457 | msgid "" | ||
11582 | "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 " | ||
11583 | "context. The most common context attributes are color (using " | 11459 | "context. The most common context attributes are color (using " | ||
11584 | "<methodname>set_source_rgb()</methodname> or <methodname>set_source_rgba()</" | 11460 | "<methodname>set_source_rgb()</methodname> or <methodname>set_source_rgba()</" | ||
11585 | "methodname> for translucent colors), line width (using " | 11461 | "methodname> for translucent colors), line width (using " | ||
11594 | "cairographics.org/cairomm/\">cairomm</link> API documentation." | 11470 | "cairographics.org/cairomm/\">cairomm</link> API documentation." | ||
11595 | msgstr "" | 11471 | msgstr "" | ||
11596 | "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 " | ||
11597 | "Cairo-kontext. De vanligaste kontextattributen är färg (med " | 11473 | "Cairo-kontext. De vanligaste kontextattributen är färg (med " | ||
11598 | "<methodname>set_source_rgb()</methodname> eller " | 11474 | "<methodname>set_source_rgb()</methodname> eller " | ||
n | 11599 | "<methodname>set_source_rgba()</methodname> för genomskinliga färge), " | n | 11475 | "<methodname>set_source_rgba()</methodname> för genomskinliga färger), " |
11600 | "linjebredd (med <methodname>set_line_width()</methodname>), " | 11476 | "linjebredd (med <methodname>set_line_width()</methodname>), " | ||
11601 | "linjestreckningsmönster (med <methodname>set_dash()</methodname>), stil på " | 11477 | "linjestreckningsmönster (med <methodname>set_dash()</methodname>), stil på " | ||
11602 | "linjeände (med <methodname>set_line_cap()</methodname>), " | 11478 | "linjeände (med <methodname>set_line_cap()</methodname>), " | ||
11603 | "linjesammankopplingsstil (med <methodname>set_line_join()</methodname>) och " | 11479 | "linjesammankopplingsstil (med <methodname>set_line_join()</methodname>) och " | ||
11604 | "typsnittsstilar (med <methodname>set_font_size()</methodname>, " | 11480 | "typsnittsstilar (med <methodname>set_font_size()</methodname>, " | ||
11605 | "<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 " | ||
11606 | "andra inställningar, såsom transformationsmatriser, fyllnadsregler, huruvida " | 11482 | "andra inställningar, såsom transformationsmatriser, fyllnadsregler, huruvida " | ||
11607 | "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 | 11608 | "documentationen för <link xlink:href=\"http://www.cairographics.org/cairomm/" | n | 11484 | "dokumentationen för <link xlink:href=\"http://www.cairographics.org/cairomm/" |
11609 | "\">cairomm</link>." | 11485 | "\">cairomm</link>." | ||
11610 | 11486 | ||||
11611 | #. (itstool) path: tip/para | 11487 | #. (itstool) path: tip/para | ||
11612 | #: C/index-in.docbook:4793 | 11488 | #: C/index-in.docbook:4793 | ||
n | 11613 | #, fuzzy | n | ||
11614 | msgid "" | 11489 | msgid "" | ||
11615 | "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 " | ||
11616 | "<methodname>save()</methodname>/<methodname>restore()</methodname> function " | 11491 | "<methodname>save()</methodname>/<methodname>restore()</methodname> function " | ||
11617 | "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::" | ||
11618 | "Context</classname> reference as an argument, you might implement it as " | 11493 | "Context</classname> reference as an argument, you might implement it as " | ||
11620 | msgstr "" | 11495 | msgstr "" | ||
11621 | "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 " | ||
11622 | "<methodname>save()</methodname>/<methodname>restore()</methodname>-" | 11497 | "<methodname>save()</methodname>/<methodname>restore()</methodname>-" | ||
11623 | "funktionsanrop. Om du exempelvis har en funktion som tar en " | 11498 | "funktionsanrop. Om du exempelvis har en funktion som tar en " | ||
11624 | "<classname>Cairo::Context</classname>-referens som ett argument kanske du " | 11499 | "<classname>Cairo::Context</classname>-referens som ett argument kanske du " | ||
n | 11625 | "implementerar den som följande:" | n | 11500 | "implementerar den enligt följande:" |
11626 | 11501 | ||||
11627 | #. (itstool) path: tip/programlisting | 11502 | #. (itstool) path: tip/programlisting | ||
11628 | #: C/index-in.docbook:4799 | 11503 | #: C/index-in.docbook:4799 | ||
11629 | #, 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 | #| "}" | ||||
11630 | msgid "" | 11513 | msgid "" | ||
11631 | "<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" | ||
11632 | "{\n" | 11515 | "{\n" | ||
11633 | " context->save();\n" | 11516 | " context->save();\n" | ||
11634 | " // change graphics state\n" | 11517 | " // change graphics state\n" | ||
11665 | "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 " | ||
11666 | "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 " | ||
11667 | "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 " | ||
11668 | "metoderna <methodname>save()</methodname> och <methodname>restore()</" | 11551 | "metoderna <methodname>save()</methodname> och <methodname>restore()</" | ||
11669 | "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 | 11670 | "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 " |
11671 | "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 " | ||
11672 | "bör du anropa <methodname>Cairo::Context::save()</methodname>, ändra " | 11555 | "bör du anropa <methodname>Cairo::Context::save()</methodname>, ändra " | ||
11673 | "grafikinställningarna, rita linjerna, och sedan anropa <methodname>Cairo::" | 11556 | "grafikinställningarna, rita linjerna, och sedan anropa <methodname>Cairo::" | ||
11674 | "Context::restore()</methodname> för att återställa det ursprungliga " | 11557 | "Context::restore()</methodname> för att återställa det ursprungliga " | ||
11675 | "grafiktillståndet. Flera anrop till <methodname>save()</methodname> och " | 11558 | "grafiktillståndet. Flera anrop till <methodname>save()</methodname> och " | ||
11677 | "<methodname>restore()</methodname> återställer tillståndet från den " | 11560 | "<methodname>restore()</methodname> återställer tillståndet från den " | ||
11678 | "matchande <methodname>save()</methodname> i paret. <_:tip-1/>" | 11561 | "matchande <methodname>save()</methodname> i paret. <_:tip-1/>" | ||
11679 | 11562 | ||||
11680 | #. (itstool) path: section/para | 11563 | #. (itstool) path: section/para | ||
11681 | #: C/index-in.docbook:4808 | 11564 | #: C/index-in.docbook:4808 | ||
n | 11682 | #, fuzzy | n | ||
11683 | msgid "" | 11565 | msgid "" | ||
11684 | "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()</" | ||
11685 | "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 " | ||
11686 | "the <classname>Gtk::DrawingArea</classname> widget. It is not necessary to " | 11568 | "the <classname>Gtk::DrawingArea</classname> widget. It is not necessary to " | ||
11687 | "save and restore this Cairo context in the draw function." | 11569 | "save and restore this Cairo context in the draw function." | ||
11711 | "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 " | ||
11712 | "the <methodname>Cairo::Context::scale()</methodname> function." | 11594 | "the <methodname>Cairo::Context::scale()</methodname> function." | ||
11713 | msgstr "" | 11595 | msgstr "" | ||
11714 | "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 " | ||
11715 | "(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 | 11716 | "koordinater i användar- och enhetsrymedn. Mappningen mellan dessa två " | n | 11598 | "koordinater i användar- och enhetsrymden. Mappningen mellan dessa två " |
11717 | "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 " | ||
11718 | "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å " | ||
11719 | "ö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 " | ||
11720 | "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 " | ||
11721 | "(”enhetskvadraten”) eller någon annan mappning som fungerar för ditt " | 11603 | "(”enhetskvadraten”) eller någon annan mappning som fungerar för ditt " | ||
11722 | "program. Detta kan göras med funktionen <methodname>Cairo::Context::scale()</" | 11604 | "program. Detta kan göras med funktionen <methodname>Cairo::Context::scale()</" | ||
11723 | "methodname>." | 11605 | "methodname>." | ||
11724 | 11606 | ||||
11725 | #. (itstool) path: section/para | 11607 | #. (itstool) path: section/para | ||
11726 | #: C/index-in.docbook:4817 | 11608 | #: C/index-in.docbook:4817 | ||
n | 11727 | #, fuzzy | n | ||
11728 | msgid "" | 11609 | msgid "" | ||
11729 | "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 " | ||
11730 | "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 " | ||
11731 | "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 " | ||
11732 | "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 " | ||
11733 | "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 " | ||
11734 | "right and positive y values going down. <_:tip-1/>" | 11615 | "right and positive y values going down. <_:tip-1/>" | ||
11735 | msgstr "" | 11616 | msgstr "" | ||
11736 | "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 " | ||
11737 | "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 | 11738 | "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 " |
11739 | "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 | 11740 | "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/>" |
11741 | 11622 | ||||
11742 | #. (itstool) path: section/para | 11623 | #. (itstool) path: section/para | ||
11743 | #: C/index-in.docbook:4841 | 11624 | #: C/index-in.docbook:4841 | ||
11744 | #, fuzzy | 11625 | #, fuzzy | ||
11745 | msgid "" | 11626 | msgid "" | ||
11772 | "<methodname>stroke()</methodname> which will stroke the current path with " | 11653 | "<methodname>stroke()</methodname> which will stroke the current path with " | ||
11773 | "the line width and style specified in your <classname>Cairo::Context</" | 11654 | "the line width and style specified in your <classname>Cairo::Context</" | ||
11774 | "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 " | ||
11775 | "you can start on your next path." | 11656 | "you can start on your next path." | ||
11776 | msgstr "" | 11657 | msgstr "" | ||
n | 11777 | "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 " |
11778 | "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 " | ||
11779 | "<methodname>stroke()</methodname> som kommer stryka den aktuella banan med " | 11660 | "<methodname>stroke()</methodname> som kommer stryka den aktuella banan med " | ||
11780 | "linjebredden och stilen som angivits i ditt <classname>Cairo::Context</" | 11661 | "linjebredden och stilen som angivits i ditt <classname>Cairo::Context</" | ||
11781 | "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å " | ||
11782 | "du kan börja på din nästa bana." | 11663 | "du kan börja på din nästa bana." | ||
11783 | 11664 | ||||
11846 | "functions <methodname>move_to()</methodname> and <methodname>line_to()</" | 11727 | "functions <methodname>move_to()</methodname> and <methodname>line_to()</" | ||
11847 | "methodname>, and then stroked this path with <methodname>stroke()</" | 11728 | "methodname>, and then stroked this path with <methodname>stroke()</" | ||
11848 | "methodname>." | 11729 | "methodname>." | ||
11849 | msgstr "" | 11730 | msgstr "" | ||
11850 | "Detta program innehåller en ensam klass, <classname>MyArea</classname>, som " | 11731 | "Detta program innehåller en ensam klass, <classname>MyArea</classname>, som " | ||
n | 11851 | "är en underkalss till <classname>Gtk::DrawingArea</classname> och innehåller " | n | 11732 | "är en underklass till <classname>Gtk::DrawingArea</classname> och innehåller " |
11852 | "en <methodname>on_draw()</methodname>-medlemsfunktion. Denna funktion blir " | 11733 | "en <methodname>on_draw()</methodname>-medlemsfunktion. Denna funktion blir " | ||
11853 | "ritfunktionen av ett anrop till <methodname>set_draw_func()</methodname> i " | 11734 | "ritfunktionen av ett anrop till <methodname>set_draw_func()</methodname> i " | ||
11854 | "<classname>MyArea</classname>s konstruktor. <methodname>on_draw()</" | 11735 | "<classname>MyArea</classname>s konstruktor. <methodname>on_draw()</" | ||
11855 | "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 " | ||
11856 | "skickas en <classname>Cairo::RefPtr</classname>-pekare till en " | 11737 | "skickas en <classname>Cairo::RefPtr</classname>-pekare till en " | ||
11857 | "<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 " | ||
11858 | "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 " | ||
11859 | "använda <methodname>set_source_rgb()</methodname> vilken tar argument som " | 11740 | "använda <methodname>set_source_rgb()</methodname> vilken tar argument som " | ||
n | 11860 | "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 " |
11861 | "(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 " | ||
11862 | "en ny bana med funktionerna <methodname>move_to()</methodname> och " | 11743 | "med funktionerna <methodname>move_to()</methodname> och " | ||
11863 | "<methodname>line_to()</methodname>, och strök sedan denna bana med " | 11744 | "<methodname>line_to()</methodname>, och strök sedan denna bana med " | ||
11864 | "<methodname>stroke()</methodname>." | 11745 | "<methodname>stroke()</methodname>." | ||
11865 | 11746 | ||||
11866 | #. (itstool) path: tip/title | 11747 | #. (itstool) path: tip/title | ||
11867 | #: C/index-in.docbook:4899 | 11748 | #: C/index-in.docbook:4899 | ||
11890 | "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 " | ||
11891 | "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 " | ||
11892 | "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." | ||
11893 | msgstr "" | 11774 | msgstr "" | ||
11894 | "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 | 11895 | "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 " |
11896 | "färg och bredd, men det finns även annat." | 11777 | "färg och bredd, men det finns även annat." | ||
11897 | 11778 | ||||
n | n | 11779 | # TODO: are show*n* | ||
11898 | #. (itstool) path: section/para | 11780 | #. (itstool) path: section/para | ||
11899 | #: C/index-in.docbook:4914 | 11781 | #: C/index-in.docbook:4914 | ||
11900 | #, fuzzy | 11782 | #, fuzzy | ||
11901 | msgid "" | 11783 | msgid "" | ||
11902 | "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 " | ||
11907 | "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 " | ||
11908 | "linjer: Miter, Bevel, och Round. Dessa visas nedan:" | 11790 | "linjer: Miter, Bevel, och Round. Dessa visas nedan:" | ||
11909 | 11791 | ||||
11910 | #. (itstool) path: figure/title | 11792 | #. (itstool) path: figure/title | ||
11911 | #: C/index-in.docbook:4921 | 11793 | #: C/index-in.docbook:4921 | ||
n | 11912 | #, fuzzy | n | ||
11913 | msgid "Different join types in Cairo" | 11794 | msgid "Different join types in Cairo" | ||
11914 | msgstr "Olika sammankopplingstyper i Cairo" | 11795 | msgstr "Olika sammankopplingstyper i Cairo" | ||
11915 | 11796 | ||||
11916 | #. (itstool) path: imageobject/imagedata | 11797 | #. (itstool) path: imageobject/imagedata | ||
11917 | #. 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 | ||
11925 | msgstr "" | 11806 | msgstr "" | ||
11926 | "external ref='figures/cairo_joins.png' md5='1b1e2a28e976039f1e4a0aa523ac40fb'" | 11807 | "external ref='figures/cairo_joins.png' md5='1b1e2a28e976039f1e4a0aa523ac40fb'" | ||
11927 | 11808 | ||||
11928 | #. (itstool) path: section/para | 11809 | #. (itstool) path: section/para | ||
11929 | #: C/index-in.docbook:4926 | 11810 | #: C/index-in.docbook:4926 | ||
n | 11930 | #, fuzzy | n | ||
11931 | msgid "" | 11811 | msgid "" | ||
11932 | "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::" | ||
11933 | "set_line_join()</methodname>." | 11813 | "set_line_join()</methodname>." | ||
11934 | msgstr "" | 11814 | msgstr "" | ||
11935 | "Linjesammankopplingsstilen ställs in med funktionen <methodname>Cairo::" | 11815 | "Linjesammankopplingsstilen ställs in med funktionen <methodname>Cairo::" | ||
12052 | "best explained using an example, so let's dive in." | 11932 | "best explained using an example, so let's dive in." | ||
12053 | msgstr "" | 11933 | msgstr "" | ||
12054 | "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 " | ||
12055 | "(tekniskt sett en kubisk Bézier-spline) med funktionerna <methodname>Cairo::" | 11935 | "(tekniskt sett en kubisk Bézier-spline) med funktionerna <methodname>Cairo::" | ||
12056 | "Context::curve_to()</methodname> och <methodname>Cairo::Context::" | 11936 | "Context::curve_to()</methodname> och <methodname>Cairo::Context::" | ||
n | 12057 | "rel_curve_to()</methodname>. Dessa funktioner tar koordinates för en " | n | 11937 | "rel_curve_to()</methodname>. Dessa funktioner tar koordinater för en " |
12058 | "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 " | ||
12059 | "bäst med ett exempel, så nu kör vi." | 11939 | "bäst med ett exempel, så nu kör vi." | ||
12060 | 11940 | ||||
12061 | #. (itstool) path: section/para | 11941 | #. (itstool) path: section/para | ||
12062 | #: C/index-in.docbook:4992 | 11942 | #: C/index-in.docbook:4992 | ||
12063 | #, fuzzy | 11943 | #, fuzzy | ||
12064 | msgid "" | 11944 | msgid "" | ||
12065 | "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 " | ||
12066 | "points for each end of the curve." | 11946 | "points for each end of the curve." | ||
12067 | msgstr "" | 11947 | msgstr "" | ||
n | 12068 | "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 " |
12069 | "varje ände av kurvan." | 11949 | "varje ände av kurvan." | ||
12070 | 11950 | ||||
12071 | #. (itstool) path: figure/title | 11951 | #. (itstool) path: figure/title | ||
12072 | #: C/index-in.docbook:4997 | 11952 | #: C/index-in.docbook:4997 | ||
12073 | #, fuzzy | 11953 | #, fuzzy | ||
12103 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 11983 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
12104 | "master/examples/book/drawingarea/curve\">Källkod</link>" | 11984 | "master/examples/book/drawingarea/curve\">Källkod</link>" | ||
12105 | 11985 | ||||
12106 | #. (itstool) path: section/para | 11986 | #. (itstool) path: section/para | ||
12107 | #: C/index-in.docbook:5004 | 11987 | #: C/index-in.docbook:5004 | ||
n | 12108 | #, fuzzy | n | ||
12109 | msgid "" | 11988 | msgid "" | ||
12110 | "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 " | ||
12111 | "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 " | ||
12112 | "concepts and functions introduced here, so let's examine them briefly." | 11991 | "concepts and functions introduced here, so let's examine them briefly." | ||
12113 | msgstr "" | 11992 | msgstr "" | ||
12233 | "context->arc(0.0, 0.0, 1.0, 0.0, 2 * M_PI);\n" | 12112 | "context->arc(0.0, 0.0, 1.0, 0.0, 2 * M_PI);\n" | ||
12234 | "context->restore();" | 12113 | "context->restore();" | ||
12235 | 12114 | ||||
12236 | #. (itstool) path: section/para | 12115 | #. (itstool) path: section/para | ||
12237 | #: C/index-in.docbook:5073 | 12116 | #: C/index-in.docbook:5073 | ||
n | 12238 | #, fuzzy | n | ||
12239 | msgid "" | 12117 | msgid "" | ||
12240 | "Here's an example of a simple program that draws an arc, a circle and an " | 12118 | "Here's an example of a simple program that draws an arc, a circle and an " | ||
12241 | "ellipse into a drawing area." | 12119 | "ellipse into a drawing area." | ||
12242 | msgstr "" | 12120 | msgstr "" | ||
12243 | "Här är ett exempel på ett enkelt program som ritar en båge, en cirkel och en " | 12121 | "Här är ett exempel på ett enkelt program som ritar en båge, en cirkel och en " | ||
12340 | "exactly the same as <methodname>Cairo::Context::arc()</methodname> but the " | 12218 | "exactly the same as <methodname>Cairo::Context::arc()</methodname> but the " | ||
12341 | "angles go the opposite direction." | 12219 | "angles go the opposite direction." | ||
12342 | msgstr "" | 12220 | msgstr "" | ||
12343 | "Funktionen <methodname>Cairo::Context::arc_negative()</methodname> är exakt " | 12221 | "Funktionen <methodname>Cairo::Context::arc_negative()</methodname> är exakt " | ||
12344 | "densamma som <methodname>Cairo::Context::arc()</methodname> men vinklarna " | 12222 | "densamma som <methodname>Cairo::Context::arc()</methodname> men vinklarna " | ||
n | 12345 | "går i motsatt rikning." | n | 12223 | "går i motsatt riktning." |
12346 | 12224 | ||||
12347 | #. (itstool) path: section/title | 12225 | #. (itstool) path: section/title | ||
12348 | #: C/index-in.docbook:5129 | 12226 | #: C/index-in.docbook:5129 | ||
12349 | msgid "Drawing Text" | 12227 | msgid "Drawing Text" | ||
12350 | msgstr "Rita text" | 12228 | msgstr "Rita text" | ||
12367 | msgstr "" | 12245 | msgstr "" | ||
12368 | "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 " | ||
12369 | "<classname>Pango::Layout</classname> är att använda <methodname>Gtk::Widget::" | 12247 | "<classname>Pango::Layout</classname> är att använda <methodname>Gtk::Widget::" | ||
12370 | "create_pango_layout()</methodname>. När den skapats kan layouten manipuleras " | 12248 | "create_pango_layout()</methodname>. När den skapats kan layouten manipuleras " | ||
12371 | "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 | 12372 | "layouten rendereras med metoden <methodname>Pango::Layout::" | n | 12250 | "layouten renderas med metoden <methodname>Pango::Layout::" |
12373 | "show_in_cairo_context()</methodname>." | 12251 | "show_in_cairo_context()</methodname>." | ||
12374 | 12252 | ||||
12375 | #. (itstool) path: section/para | 12253 | #. (itstool) path: section/para | ||
12376 | #: C/index-in.docbook:5146 | 12254 | #: C/index-in.docbook:5146 | ||
12377 | #, fuzzy | 12255 | #, fuzzy | ||
12505 | " cr->fill();\n" | 12383 | " cr->fill();\n" | ||
12506 | "}" | 12384 | "}" | ||
12507 | 12385 | ||||
12508 | #. (itstool) path: para/screen | 12386 | #. (itstool) path: para/screen | ||
12509 | #: C/index-in.docbook:5219 | 12387 | #: C/index-in.docbook:5219 | ||
n | 12510 | #, fuzzy, no-wrap | n | 12388 | #, no-wrap |
12511 | 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" | ||
12512 | 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" | ||
12513 | 12391 | ||||
12514 | #. (itstool) path: section/para | 12392 | #. (itstool) path: section/para | ||
12515 | #: C/index-in.docbook:5213 | 12393 | #: C/index-in.docbook:5213 | ||
12562 | msgid "Example Application: Creating a Clock with Cairo" | 12440 | msgid "Example Application: Creating a Clock with Cairo" | ||
12563 | msgstr "Exempelprogram: Skapa en klocka med Cairo" | 12441 | msgstr "Exempelprogram: Skapa en klocka med Cairo" | ||
12564 | 12442 | ||||
12565 | #. (itstool) path: section/para | 12443 | #. (itstool) path: section/para | ||
12566 | #: C/index-in.docbook:5244 | 12444 | #: C/index-in.docbook:5244 | ||
n | 12567 | #, fuzzy | n | ||
12568 | msgid "" | 12445 | msgid "" | ||
12569 | "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 " | ||
12570 | "all together and create a simple application that actually does something. " | 12447 | "all together and create a simple application that actually does something. " | ||
12571 | "The following example uses Cairo to create a custom <classname>Clock</" | 12448 | "The following example uses Cairo to create a custom <classname>Clock</" | ||
12572 | "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 " | ||
12574 | msgstr "" | 12451 | msgstr "" | ||
12575 | "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 " | ||
12576 | "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 " | ||
12577 | "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</" | ||
12578 | "classname>. Klockan har en sekundvisare, en minutvisare och en timvisare, " | 12455 | "classname>. Klockan har en sekundvisare, en minutvisare och en timvisare, " | ||
n | 12579 | "och uppdatear sig själv varje sekund." | n | 12456 | "och uppdaterar sig själv varje sekund." |
12580 | 12457 | ||||
12581 | #. (itstool) path: imageobject/imagedata | 12458 | #. (itstool) path: imageobject/imagedata | ||
12582 | #. 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 | ||
12583 | #. 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 | ||
12584 | #. 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 | ||
12622 | "Denna funktions enda ansvar är att invalidera fönstret så att " | 12499 | "Denna funktions enda ansvar är att invalidera fönstret så att " | ||
12623 | "<application>gtkmm</application> kommer tvingas rita om det." | 12500 | "<application>gtkmm</application> kommer tvingas rita om det." | ||
12624 | 12501 | ||||
12625 | #. (itstool) path: section/para | 12502 | #. (itstool) path: section/para | ||
12626 | #: C/index-in.docbook:5266 | 12503 | #: C/index-in.docbook:5266 | ||
n | 12627 | #, fuzzy | n | ||
12628 | msgid "" | 12504 | msgid "" | ||
12629 | "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 " | ||
12630 | "first section of <methodname>on_draw()</methodname> should be pretty " | 12506 | "first section of <methodname>on_draw()</methodname> should be pretty " | ||
12631 | "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 " | ||
12632 | "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 " | ||
12635 | "0) coordinate is in the very center of the window." | 12511 | "0) coordinate is in the very center of the window." | ||
12636 | msgstr "" | 12512 | msgstr "" | ||
12637 | "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 " | ||
12638 | "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 " | ||
12639 | "exempel skalar igen koordinatsystemet till en enhetskvadrat så att det är " | 12515 | "exempel skalar igen koordinatsystemet till en enhetskvadrat så att det är " | ||
n | 12640 | "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 " |
12641 | "automatiskt kommer skalas ner när fönsterstorleken justeras. Vidare skalas " | 12517 | "automatiskt kommer skalas när fönsterstorleken justeras. Vidare skalas och " | ||
12642 | "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." | ||
12643 | "fönstret." | ||||
12644 | 12519 | ||||
12645 | #. (itstool) path: section/para | 12520 | #. (itstool) path: section/para | ||
12646 | #: C/index-in.docbook:5276 | 12521 | #: C/index-in.docbook:5276 | ||
12647 | #, fuzzy | 12522 | #, fuzzy | ||
12648 | msgid "" | 12523 | msgid "" | ||
12666 | "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 " | ||
12667 | "utanför klockans kontur." | 12542 | "utanför klockans kontur." | ||
12668 | 12543 | ||||
12669 | #. (itstool) path: section/para | 12544 | #. (itstool) path: section/para | ||
12670 | #: C/index-in.docbook:5288 | 12545 | #: C/index-in.docbook:5288 | ||
n | 12671 | #, fuzzy | n | ||
12672 | msgid "" | 12546 | msgid "" | ||
12673 | "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 " | ||
12674 | "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 " | ||
12675 | "implement the time-keeping functionality of the clock, which simply involves " | 12549 | "implement the time-keeping functionality of the clock, which simply involves " | ||
12676 | "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 " | ||
12677 | "hands at the correct angles." | 12551 | "hands at the correct angles." | ||
12678 | msgstr "" | 12552 | msgstr "" | ||
12679 | "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 | 12680 | "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 " |
12681 | "implementera klockans tidtagande, vilket helt enkelt innefattar att få de " | 12555 | "implementera klockans tidtagande, vilket helt enkelt innefattar att få de " | ||
12682 | "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 " | ||
12683 | "vinklar." | 12557 | "vinklar." | ||
12684 | 12558 | ||||
12685 | #. (itstool) path: chapter/para | 12559 | #. (itstool) path: chapter/para | ||
12719 | "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 " | ||
12720 | "vilket format som användes." | 12594 | "vilket format som användes." | ||
12721 | 12595 | ||||
12722 | #. (itstool) path: section/para | 12596 | #. (itstool) path: section/para | ||
12723 | #: C/index-in.docbook:5315 | 12597 | #: C/index-in.docbook:5315 | ||
n | 12724 | #, fuzzy | n | ||
12725 | msgid "" | 12598 | msgid "" | ||
12726 | "<classname>Gdk::ContentFormats</classname> objects contain information about " | 12599 | "<classname>Gdk::ContentFormats</classname> objects contain information about " | ||
12727 | "available <type>GType</type>s and mime types (media types)." | 12600 | "available <type>GType</type>s and mime types (media types)." | ||
12728 | msgstr "" | 12601 | msgstr "" | ||
12729 | "<classname>Gdk::ContentFormats</classname>-objekt innehåller information om " | 12602 | "<classname>Gdk::ContentFormats</classname>-objekt innehåller information om " | ||
12736 | "<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 " | ||
12737 | "<classname>Gtk::DragSource</classname> and <classname>Gtk::DropTarget</" | 12610 | "<classname>Gtk::DragSource</classname> and <classname>Gtk::DropTarget</" | ||
12738 | "classname> event controllers." | 12611 | "classname> event controllers." | ||
12739 | msgstr "" | 12612 | msgstr "" | ||
12740 | "<classname>Widget</classname>-komponenter kan identifieras som källor eller " | 12613 | "<classname>Widget</classname>-komponenter kan identifieras som källor eller " | ||
n | 12741 | "mål med hänsdelsekontrollerna <classname>Gtk::DragSource</classname> och " | n | 12614 | "mål med händelsekontrollerna <classname>Gtk::DragSource</classname> och " |
12742 | "<classname>Gtk::DropTarget</classname>." | 12615 | "<classname>Gtk::DropTarget</classname>." | ||
12743 | 12616 | ||||
12744 | #. (itstool) path: section/programlisting | 12617 | #. (itstool) path: section/programlisting | ||
12745 | #: C/index-in.docbook:5330 | 12618 | #: C/index-in.docbook:5330 | ||
12746 | #, fuzzy, no-wrap | 12619 | #, fuzzy, no-wrap | ||
12754 | "auto source = Gtk::DragSource::create();\n" | 12627 | "auto source = Gtk::DragSource::create();\n" | ||
12755 | "m_source_widget.add_controller(source);" | 12628 | "m_source_widget.add_controller(source);" | ||
12756 | 12629 | ||||
12757 | #. (itstool) path: listitem/para | 12630 | #. (itstool) path: listitem/para | ||
12758 | #: C/index-in.docbook:5337 | 12631 | #: C/index-in.docbook:5337 | ||
n | 12759 | #, fuzzy | n | ||
12760 | msgid "" | 12632 | msgid "" | ||
12761 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | 12633 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | ||
12762 | "& content)</literal>: Sets a content provider on the drag source." | 12634 | "& content)</literal>: Sets a content provider on the drag source." | ||
12763 | msgstr "" | 12635 | msgstr "" | ||
12764 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | 12636 | "<literal>void set_content(const Glib::RefPtr<Gdk::ContentProvider>" | ||
12765 | "& content)</literal>: Ställer in en innehållstillhandahållare på " | 12637 | "& content)</literal>: Ställer in en innehållstillhandahållare på " | ||
12766 | "dragkällan." | 12638 | "dragkällan." | ||
12767 | 12639 | ||||
12768 | #. (itstool) path: listitem/para | 12640 | #. (itstool) path: listitem/para | ||
12769 | #: C/index-in.docbook:5343 | 12641 | #: C/index-in.docbook:5343 | ||
n | 12770 | #, fuzzy | n | ||
12771 | msgid "" | 12642 | msgid "" | ||
12772 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | 12643 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | ||
12773 | "actions on the drag source. For instance <literal>Gdk::DragAction::COPY | " | 12644 | "actions on the drag source. For instance <literal>Gdk::DragAction::COPY | " | ||
12774 | "Gdk::DragAction::MOVE</literal>." | 12645 | "Gdk::DragAction::MOVE</literal>." | ||
12775 | msgstr "" | 12646 | msgstr "" | ||
n | 12776 | "<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 " |
12777 | "å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::" | ||
12778 | "DragAction::MOVE</literal>." | 12649 | "DragAction::MOVE</literal>." | ||
12779 | 12650 | ||||
12780 | #. (itstool) path: listitem/para | 12651 | #. (itstool) path: listitem/para | ||
12781 | #: C/index-in.docbook:5350 | 12652 | #: C/index-in.docbook:5350 | ||
n | 12782 | #, fuzzy | n | ||
12783 | msgid "" | 12653 | msgid "" | ||
12784 | "<literal>void set_icon(const Glib::RefPtr<const Gdk::Paintable>& " | 12654 | "<literal>void set_icon(const Glib::RefPtr<const Gdk::Paintable>& " | ||
12785 | "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 " | ||
12786 | "during DND operations." | 12656 | "during DND operations." | ||
12787 | msgstr "" | 12657 | msgstr "" | ||
12804 | "auto target = Gtk::DropTarget::create(gtype, actions);\n" | 12674 | "auto target = Gtk::DropTarget::create(gtype, actions);\n" | ||
12805 | "m_target_widget.add_controller(target);" | 12675 | "m_target_widget.add_controller(target);" | ||
12806 | 12676 | ||||
12807 | #. (itstool) path: listitem/para | 12677 | #. (itstool) path: listitem/para | ||
12808 | #: C/index-in.docbook:5365 | 12678 | #: C/index-in.docbook:5365 | ||
n | 12809 | #, fuzzy | n | ||
12810 | msgid "" | 12679 | msgid "" | ||
12811 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | 12680 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | ||
12812 | "literal>: Sets the supported types for this drop target." | 12681 | "literal>: Sets the supported types for this drop target." | ||
12813 | msgstr "" | 12682 | msgstr "" | ||
12814 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | 12683 | "<literal>void set_gtypes(const std::vector<GType>& types)</" | ||
12815 | "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." | ||
12816 | 12685 | ||||
12817 | #. (itstool) path: listitem/para | 12686 | #. (itstool) path: listitem/para | ||
12818 | #: C/index-in.docbook:5371 | 12687 | #: C/index-in.docbook:5371 | ||
n | 12819 | #, fuzzy | n | ||
12820 | msgid "" | 12688 | msgid "" | ||
12821 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | 12689 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Sets the " | ||
12822 | "actions that this drop target supports." | 12690 | "actions that this drop target supports." | ||
12823 | msgstr "" | 12691 | msgstr "" | ||
12824 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Ställer in " | 12692 | "<literal>void set_actions(Gdk::DragAction actions)</literal>: Ställer in " | ||
12825 | "åtgärderna som detta släppmål stöder." | 12693 | "åtgärderna som detta släppmål stöder." | ||
12826 | 12694 | ||||
12827 | #. (itstool) path: listitem/para | 12695 | #. (itstool) path: listitem/para | ||
12828 | #: C/index-in.docbook:5377 | 12696 | #: C/index-in.docbook:5377 | ||
n | 12829 | #, fuzzy | n | ||
12830 | msgid "" | 12697 | msgid "" | ||
12831 | "<literal>Glib::ValueBase get_value() const</literal>: Gets the current drop " | 12698 | "<literal>Glib::ValueBase get_value() const</literal>: Gets the current drop " | ||
12832 | "data, as a <classname>Glib::Value</classname>." | 12699 | "data, as a <classname>Glib::Value</classname>." | ||
12833 | msgstr "" | 12700 | msgstr "" | ||
12834 | "<literal>Glib::ValueBase get_value() const</literal>: Erhåller aktuella " | 12701 | "<literal>Glib::ValueBase get_value() const</literal>: Erhåller aktuella " | ||
12835 | "släppdata, som ett <classname>Glib::Value</classname>." | 12702 | "släppdata, som ett <classname>Glib::Value</classname>." | ||
12836 | 12703 | ||||
12837 | #. (itstool) path: listitem/para | 12704 | #. (itstool) path: listitem/para | ||
12838 | #: C/index-in.docbook:5383 | 12705 | #: C/index-in.docbook:5383 | ||
n | 12839 | #, fuzzy | n | ||
12840 | msgid "" | 12706 | msgid "" | ||
12841 | "<literal>void reject()</literal>: Rejects the ongoing drop operation. This " | 12707 | "<literal>void reject()</literal>: Rejects the ongoing drop operation. This " | ||
12842 | "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 " | ||
12843 | "drag or not until after reading the data." | 12709 | "drag or not until after reading the data." | ||
12844 | msgstr "" | 12710 | msgstr "" | ||
12879 | "<literal>drag_begin</literal>: Tillhandahåller en <classname>Gdk::Drag</" | 12745 | "<literal>drag_begin</literal>: Tillhandahåller en <classname>Gdk::Drag</" | ||
12880 | "classname>." | 12746 | "classname>." | ||
12881 | 12747 | ||||
12882 | #. (itstool) path: listitem/para | 12748 | #. (itstool) path: listitem/para | ||
12883 | #: C/index-in.docbook:5411 | 12749 | #: C/index-in.docbook:5411 | ||
n | 12884 | #, fuzzy | n | ||
12885 | msgid "" | 12750 | msgid "" | ||
12886 | "<literal>prepare</literal>: Shall return a <classname>Gdk::ContentProvider</" | 12751 | "<literal>prepare</literal>: Shall return a <classname>Gdk::ContentProvider</" | ||
12887 | "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." | ||
12888 | msgstr "" | 12753 | msgstr "" | ||
12889 | "<literal>prepare</literal>: Ska returnera en <classname>Gdk::" | 12754 | "<literal>prepare</literal>: Ska returnera en <classname>Gdk::" | ||
12902 | "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 " | ||
12903 | "<literal>move</literal> och att data ska tas bort." | 12768 | "<literal>move</literal> och att data ska tas bort." | ||
12904 | 12769 | ||||
12905 | #. (itstool) path: listitem/para | 12770 | #. (itstool) path: listitem/para | ||
12906 | #: C/index-in.docbook:5416 | 12771 | #: C/index-in.docbook:5416 | ||
n | 12907 | #, fuzzy | n | ||
12908 | msgid "" | 12772 | msgid "" | ||
12909 | "<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 " | ||
12910 | "failed." | 12774 | "failed." | ||
12911 | msgstr "" | 12775 | msgstr "" | ||
n | 12912 | "<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 " |
12913 | "misslyckats." | 12777 | "misslyckats." | ||
12914 | 12778 | ||||
12915 | #. (itstool) path: section/para | 12779 | #. (itstool) path: section/para | ||
12916 | #: C/index-in.docbook:5407 | 12780 | #: C/index-in.docbook:5407 | ||
12917 | msgid "" | 12781 | msgid "" | ||
12940 | "<literal>motion</literal>: Tillhandahåller koordinater. Ska returnera " | 12804 | "<literal>motion</literal>: Tillhandahåller koordinater. Ska returnera " | ||
12941 | "föredragen <type>Gdk::DragAction</type>." | 12805 | "föredragen <type>Gdk::DragAction</type>." | ||
12942 | 12806 | ||||
12943 | #. (itstool) path: listitem/para | 12807 | #. (itstool) path: listitem/para | ||
12944 | #: C/index-in.docbook:5426 | 12808 | #: C/index-in.docbook:5426 | ||
n | 12945 | #, fuzzy | n | ||
12946 | msgid "" | 12809 | msgid "" | ||
12947 | "<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 " | ||
12948 | "the widget." | 12811 | "the widget." | ||
12949 | msgstr "" | 12812 | msgstr "" | ||
12950 | "<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 " | ||
12962 | "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 " | ||
12963 | "kommer accepteras." | 12826 | "kommer accepteras." | ||
12964 | 12827 | ||||
12965 | #. (itstool) path: listitem/para | 12828 | #. (itstool) path: listitem/para | ||
12966 | #: C/index-in.docbook:5431 | 12829 | #: C/index-in.docbook:5431 | ||
n | 12967 | #, fuzzy | n | ||
12968 | msgid "" | 12830 | msgid "" | ||
12969 | "<literal>drop</literal>: Provides the data being dropped and coordinates. " | 12831 | "<literal>drop</literal>: Provides the data being dropped and coordinates. " | ||
12970 | "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." | ||
12971 | msgstr "" | 12833 | msgstr "" | ||
12972 | "<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. " | ||
13007 | msgid "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | 12869 | msgid "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | ||
13008 | msgstr "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | 12870 | msgstr "<methodname>Gtk::DropTarget::signal_drop()</methodname>" | ||
13009 | 12871 | ||||
13010 | #. (itstool) path: section/para | 12872 | #. (itstool) path: section/para | ||
13011 | #: C/index-in.docbook:5435 | 12873 | #: C/index-in.docbook:5435 | ||
n | 13012 | #, fuzzy | n | ||
13013 | msgid "" | 12874 | msgid "" | ||
13014 | "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 " | ||
13015 | "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 " | ||
13016 | "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 " | ||
13017 | "the <literal>after</literal> parameter in <methodname>connect()</methodname> " | 12878 | "the <literal>after</literal> parameter in <methodname>connect()</methodname> " | ||
13018 | "to <literal>false</literal>. <_:itemizedlist-1/>" | 12879 | "to <literal>false</literal>. <_:itemizedlist-1/>" | ||
13019 | msgstr "" | 12880 | msgstr "" | ||
13020 | "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 " | ||
13021 | "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 | 13022 | "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. " |
13023 | "Ställ in parametern <literal>after</literal> i <methodname>connect()</" | 12884 | "Ställ in parametern <literal>after</literal> i <methodname>connect()</" | ||
13024 | "methodname> till <literal>false</literal>. <_:itemizedlist-1/>" | 12885 | "methodname> till <literal>false</literal>. <_:itemizedlist-1/>" | ||
13025 | 12886 | ||||
13026 | #. (itstool) path: section/para | 12887 | #. (itstool) path: section/para | ||
13027 | #: C/index-in.docbook:5454 | 12888 | #: C/index-in.docbook:5454 | ||
13068 | msgid "The Clipboard" | 12929 | msgid "The Clipboard" | ||
13069 | msgstr "Urklipp" | 12930 | msgstr "Urklipp" | ||
13070 | 12931 | ||||
13071 | #. (itstool) path: chapter/para | 12932 | #. (itstool) path: chapter/para | ||
13072 | #: C/index-in.docbook:5476 | 12933 | #: C/index-in.docbook:5476 | ||
n | 13073 | #, fuzzy | n | ||
13074 | msgid "" | 12934 | msgid "" | ||
13075 | "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 " | ||
13076 | "<classname>Gtk::Entry</classname> and <classname>Gtk::TextView</classname>, " | 12936 | "<classname>Gtk::Entry</classname> and <classname>Gtk::TextView</classname>, " | ||
13077 | "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 " | ||
13078 | "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 " | ||
13079 | "within a view, or between documents." | 12939 | "within a view, or between documents." | ||
13080 | msgstr "" | 12940 | msgstr "" | ||
n | 13081 | "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 " |
13082 | "komponenter som <classname>Gtk::Entry</classname> och <classname>Gtk::" | 12942 | "komponenter som <classname>Gtk::Entry</classname> och <classname>Gtk::" | ||
n | 13083 | "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 " |
13084 | "egna dataformat. Exempelvis skulle ett ritprogram behöva specialkod för att " | 12944 | "dataformat. Exempelvis skulle ett ritprogram behöva specialkod för att " | ||
13085 | "tillåta kopiering och inklistring i en vy, eller mellan dokument." | 12945 | "tillåta kopiering och inklistring i en vy, eller mellan dokument." | ||
13086 | 12946 | ||||
13087 | #. (itstool) path: chapter/para | 12947 | #. (itstool) path: chapter/para | ||
13088 | #: C/index-in.docbook:5482 | 12948 | #: C/index-in.docbook:5482 | ||
13089 | #, fuzzy | 12949 | #, fuzzy | ||
13113 | "classname> är redo kommer det anropa dessa metoder, och tillhandahålla " | 12973 | "classname> är redo kommer det anropa dessa metoder, och tillhandahålla " | ||
13114 | "begärda data." | 12974 | "begärda data." | ||
13115 | 12975 | ||||
13116 | #. (itstool) path: chapter/para | 12976 | #. (itstool) path: chapter/para | ||
13117 | #: C/index-in.docbook:5495 | 12977 | #: C/index-in.docbook:5495 | ||
n | 13118 | #, fuzzy | n | ||
13119 | #| msgid "" | ||||
13120 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
13121 | #| "classGdk_1_1Clipboard.html\">Reference</link>" | ||||
13122 | msgid "" | 12978 | msgid "" | ||
13123 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 12979 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
13124 | "classGdk_1_1Clipboard.html\">Reference</link>" | 12980 | "classGdk_1_1Clipboard.html\">Reference</link>" | ||
13125 | msgstr "" | 12981 | msgstr "" | ||
n | 13126 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 12982 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
13127 | "classGdk_1_1Clipboard.html\">Referens</link>" | 12983 | "classGdk_1_1Clipboard.html\">Referens</link>" | ||
13128 | 12984 | ||||
13129 | #. (itstool) path: section/title | 12985 | #. (itstool) path: section/title | ||
13130 | #: C/index-in.docbook:5498 | 12986 | #: C/index-in.docbook:5498 | ||
13131 | msgid "Formats" | 12987 | msgid "Formats" | ||
13351 | msgid "Ideal" | 13207 | msgid "Ideal" | ||
13352 | msgstr "Idealiskt" | 13208 | msgstr "Idealiskt" | ||
13353 | 13209 | ||||
13354 | #. (itstool) path: listitem/simpara | 13210 | #. (itstool) path: listitem/simpara | ||
13355 | #: C/index-in.docbook:5599 | 13211 | #: C/index-in.docbook:5599 | ||
n | 13356 | #, fuzzy | n | ||
13357 | 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." | ||
13358 | msgstr "Definierar ett anpassat urklippsmål, men formatet är fortfarande text." | 13213 | msgstr "Definierar ett anpassat urklippsmål, men formatet är fortfarande text." | ||
13359 | 13214 | ||||
13360 | #. (itstool) path: listitem/simpara | 13215 | #. (itstool) path: listitem/simpara | ||
13361 | #: C/index-in.docbook:5600 | 13216 | #: C/index-in.docbook:5600 | ||
13568 | "Metoden <methodname>PrintOperation::run()</methodname> startar " | 13423 | "Metoden <methodname>PrintOperation::run()</methodname> startar " | ||
13569 | "utskriftsslingan, under vilken olika signaler sänds ut: <_:itemizedlist-1/>" | 13424 | "utskriftsslingan, under vilken olika signaler sänds ut: <_:itemizedlist-1/>" | ||
13570 | 13425 | ||||
13571 | #. (itstool) path: section/para | 13426 | #. (itstool) path: section/para | ||
13572 | #: C/index-in.docbook:5727 | 13427 | #: C/index-in.docbook:5727 | ||
n | 13573 | #, fuzzy | n | ||
13574 | #| msgid "" | ||||
13575 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
13576 | #| "classGtk_1_1PrintOperation.html\">Reference</link>" | ||||
13577 | msgid "" | 13428 | msgid "" | ||
13578 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 13429 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
13579 | "classGtk_1_1PrintOperation.html\">Reference</link>" | 13430 | "classGtk_1_1PrintOperation.html\">Reference</link>" | ||
13580 | msgstr "" | 13431 | msgstr "" | ||
n | 13581 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 13432 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
13582 | "classGtk_1_1PrintOperation.html\">Referens</link>" | 13433 | "classGtk_1_1PrintOperation.html\">Referens</link>" | ||
13583 | 13434 | ||||
13584 | #. (itstool) path: section/title | 13435 | #. (itstool) path: section/title | ||
13585 | #: C/index-in.docbook:5736 | 13436 | #: C/index-in.docbook:5736 | ||
13586 | msgid "Page setup" | 13437 | msgid "Page setup" | ||
13609 | "att komma åt vald <classname>Gtk::PaperSize</classname>, <literal>Gtk::" | 13460 | "att komma åt vald <classname>Gtk::PaperSize</classname>, <literal>Gtk::" | ||
13610 | "PageOrientation</literal> och skrivarspecifika marginaler." | 13461 | "PageOrientation</literal> och skrivarspecifika marginaler." | ||
13611 | 13462 | ||||
13612 | #. (itstool) path: section/para | 13463 | #. (itstool) path: section/para | ||
13613 | #: C/index-in.docbook:5748 | 13464 | #: C/index-in.docbook:5748 | ||
n | 13614 | #, fuzzy | n | ||
13615 | msgid "" | 13465 | msgid "" | ||
13616 | "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 " | ||
13617 | "use it again if the page setup dialog is shown again." | 13467 | "use it again if the page setup dialog is shown again." | ||
13618 | msgstr "" | 13468 | msgstr "" | ||
13619 | "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 " | ||
13641 | "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" | ||
13642 | "m_refPageSetup = new_page_setup;\n" | 13492 | "m_refPageSetup = new_page_setup;\n" | ||
13643 | 13493 | ||||
13644 | #. (itstool) path: section/para | 13494 | #. (itstool) path: section/para | ||
13645 | #: C/index-in.docbook:5758 | 13495 | #: C/index-in.docbook:5758 | ||
n | 13646 | #, fuzzy | n | ||
13647 | #| msgid "" | ||||
13648 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
13649 | #| "classGtk_1_1PageSetup.html\">Reference</link>" | ||||
13650 | msgid "" | 13496 | msgid "" | ||
13651 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 13497 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
13652 | "classGtk_1_1PageSetup.html\">Reference</link>" | 13498 | "classGtk_1_1PageSetup.html\">Reference</link>" | ||
13653 | msgstr "" | 13499 | msgstr "" | ||
n | 13654 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 13500 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
13655 | "classGtk_1_1PageSetup.html\">Referens</link>" | 13501 | "classGtk_1_1PageSetup.html\">Referens</link>" | ||
13656 | 13502 | ||||
13657 | #. (itstool) path: section/para | 13503 | #. (itstool) path: section/para | ||
13658 | #: C/index-in.docbook:5762 | 13504 | #: C/index-in.docbook:5762 | ||
13659 | #, fuzzy | 13505 | #, fuzzy | ||
13740 | "stöds på alla plattformar, men signalen <literal>done</literal> kommer " | 13586 | "stöds på alla plattformar, men signalen <literal>done</literal> kommer " | ||
13741 | "fortfarande sändas ut." | 13587 | "fortfarande sändas ut." | ||
13742 | 13588 | ||||
13743 | #. (itstool) path: section/para | 13589 | #. (itstool) path: section/para | ||
13744 | #: C/index-in.docbook:5808 | 13590 | #: C/index-in.docbook:5808 | ||
n | 13745 | #, fuzzy | n | ||
13746 | msgid "" | 13591 | msgid "" | ||
13747 | "<methodname>run()</methodname> may return <literal>PrintOperation::Result::" | 13592 | "<methodname>run()</methodname> may return <literal>PrintOperation::Result::" | ||
13748 | "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 " | ||
13749 | "need to implement signal handlers for the <literal>done</literal> and " | 13594 | "need to implement signal handlers for the <literal>done</literal> and " | ||
13750 | "<literal>status_changed</literal> signals:" | 13595 | "<literal>status_changed</literal> signals:" | ||
13751 | msgstr "" | 13596 | msgstr "" | ||
13752 | "<methodname>run()</methodname> kan returnera <literal>PrintOperation::" | 13597 | "<methodname>run()</methodname> kan returnera <literal>PrintOperation::" | ||
13753 | "Result::IN_PROGRESS</literal>. För att övervaka status och hantera " | 13598 | "Result::IN_PROGRESS</literal>. För att övervaka status och hantera " | ||
n | 13754 | "resultatet eller fel behöver du implementera signalhandterare för signalerna " | n | 13599 | "resultatet eller fel behöver du implementera signalhanterare för signalerna " |
13755 | "<literal>done</literal> och <literal>status_changed</literal>:" | 13600 | "<literal>done</literal> och <literal>status_changed</literal>:" | ||
13756 | 13601 | ||||
13757 | #. (itstool) path: section/programlisting | 13602 | #. (itstool) path: section/programlisting | ||
13758 | #: C/index-in.docbook:5816 | 13603 | #: C/index-in.docbook:5816 | ||
13759 | #, fuzzy, no-wrap | 13604 | #, fuzzy, no-wrap | ||
13774 | " *this, &ExampleWindow::on_printoperation_done), op));\n" | 13619 | " *this, &ExampleWindow::on_printoperation_done), op));\n" | ||
13775 | "// kör op\n" | 13620 | "// kör op\n" | ||
13776 | 13621 | ||||
13777 | #. (itstool) path: section/para | 13622 | #. (itstool) path: section/para | ||
13778 | #: C/index-in.docbook:5824 | 13623 | #: C/index-in.docbook:5824 | ||
n | 13779 | #, fuzzy | n | ||
13780 | msgid "" | 13624 | msgid "" | ||
13781 | "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</" | ||
13782 | "literal> signal. For instance:" | 13626 | "literal> signal. For instance:" | ||
13783 | msgstr "" | 13627 | msgstr "" | ||
n | 13784 | "Kontrollera sedan för ett fel och anslut till signalen " | n | 13628 | "Kontrollera sedan för fel och anslut till signalen <literal>status_changed</" |
13785 | "<literal>status_changed</literal>. Till exempel:" | 13629 | "literal>. Till exempel:" | ||
13786 | 13630 | ||||
13787 | #. (itstool) path: section/programlisting | 13631 | #. (itstool) path: section/programlisting | ||
13788 | #: C/index-in.docbook:5826 | 13632 | #: C/index-in.docbook:5826 | ||
13789 | #, 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" | ||||
13790 | msgid "" | 13648 | msgid "" | ||
13791 | "<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" | ||
13792 | " const Glib::RefPtr<PrintOperation>& op)\n" | 13650 | " const Glib::RefPtr<PrintOperation>& op)\n" | ||
13793 | "{\n" | 13651 | "{\n" | ||
13794 | " if (result == Gtk::PrintOperation::Result::ERROR)\n" | 13652 | " if (result == Gtk::PrintOperation::Result::ERROR)\n" | ||
14051 | "advanced." | 13909 | "advanced." | ||
14052 | 13910 | ||||
14053 | #. (itstool) path: section/title | 13911 | #. (itstool) path: section/title | ||
14054 | #: C/index-in.docbook:5952 C/index-in.docbook:5989 | 13912 | #: C/index-in.docbook:5952 C/index-in.docbook:5989 | ||
14055 | #, fuzzy | 13913 | #, fuzzy | ||
n | 14056 | #| msgid "Printing" | n | 13914 | #| msgid "FontDialog" |
14057 | msgid "PrintDialog" | 13915 | msgid "PrintDialog" | ||
n | 14058 | msgstr "Utskrift" | n | 13916 | msgstr "FontDialog" |
14059 | 13917 | ||||
14060 | #. (itstool) path: section/para | 13918 | #. (itstool) path: section/para | ||
14061 | #: C/index-in.docbook:5954 | 13919 | #: C/index-in.docbook:5954 | ||
14062 | msgid "" | 13920 | msgid "" | ||
14063 | "Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</" | 13921 | "Since <application>gtkmm</application> 4.14 <classname>Gtk::PrintDialog</" | ||
14082 | "literal> och <literal>on_draw_page</literal>, såväl som att spåra " | 13940 | "literal> och <literal>on_draw_page</literal>, såväl som att spåra " | ||
14083 | "utskriftsstatus och uppdatera utskriftsinställningarna." | 13941 | "utskriftsstatus och uppdatera utskriftsinställningarna." | ||
14084 | 13942 | ||||
14085 | #. (itstool) path: figure/title | 13943 | #. (itstool) path: figure/title | ||
14086 | #: C/index-in.docbook:5978 | 13944 | #: C/index-in.docbook:5978 | ||
n | 14087 | #, fuzzy | n | ||
14088 | msgid "Printing - Simple" | 13945 | msgid "Printing - Simple" | ||
14089 | msgstr "Utskrift - Enkel" | 13946 | msgstr "Utskrift - Enkel" | ||
14090 | 13947 | ||||
14091 | #. (itstool) path: imageobject/imagedata | 13948 | #. (itstool) path: imageobject/imagedata | ||
14092 | #. This is a reference to an external file such as an image or video. When | 13949 | #. This is a reference to an external file such as an image or video. When | ||
14125 | "utskriftsstatus och uppdatera utskriftsinställningarna." | 13982 | "utskriftsstatus och uppdatera utskriftsinställningarna." | ||
14126 | 13983 | ||||
14127 | #. (itstool) path: figure/title | 13984 | #. (itstool) path: figure/title | ||
14128 | #: C/index-in.docbook:5998 | 13985 | #: C/index-in.docbook:5998 | ||
14129 | #, fuzzy | 13986 | #, fuzzy | ||
n | n | 13987 | #| msgid "Printing - Simple" | ||
14130 | msgid "Printing - PrintDialog" | 13988 | msgid "Printing - PrintDialog" | ||
14131 | msgstr "Utskrift - Enkel" | 13989 | msgstr "Utskrift - Enkel" | ||
14132 | 13990 | ||||
14133 | #. (itstool) path: imageobject/imagedata | 13991 | #. (itstool) path: imageobject/imagedata | ||
14134 | #. This is a reference to an external file such as an image or video. When | 13992 | #. This is a reference to an external file such as an image or video. When | ||
14498 | "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 " | ||
14499 | "ändrar bara listan över senaste filer." | 14357 | "ändrar bara listan över senaste filer." | ||
14500 | 14358 | ||||
14501 | #. (itstool) path: section/title | 14359 | #. (itstool) path: section/title | ||
14502 | #: C/index-in.docbook:6167 | 14360 | #: C/index-in.docbook:6167 | ||
n | 14503 | #, fuzzy | n | ||
14504 | #| msgid "FileChooserDialog" | ||||
14505 | msgid "FileChooser and FileDialog" | 14361 | msgid "FileChooser and FileDialog" | ||
n | 14506 | msgstr "FileChooserDialog" | n | 14362 | msgstr "FileChooser och FileDialog" |
14507 | 14363 | ||||
14508 | #. (itstool) path: section/para | 14364 | #. (itstool) path: section/para | ||
14509 | #: C/index-in.docbook:6169 | 14365 | #: C/index-in.docbook:6169 | ||
14510 | msgid "" | 14366 | msgid "" | ||
14511 | "<classname>FileChooser</classname> is an interface that can be implemented " | 14367 | "<classname>FileChooser</classname> is an interface that can be implemented " | ||
14530 | "list of recently used files or other files. <classname>FileChooserWidget</" | 14386 | "list of recently used files or other files. <classname>FileChooserWidget</" | ||
14531 | "classname> is the basic building block for <classname>FileChooserDialog</" | 14387 | "classname> is the basic building block for <classname>FileChooserDialog</" | ||
14532 | "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." | ||
14533 | msgstr "" | 14389 | msgstr "" | ||
14534 | "<classname>FileChooserWidget</classname> är ett enkelt gränssnitt för att " | 14390 | "<classname>FileChooserWidget</classname> är ett enkelt gränssnitt för att " | ||
n | 14535 | "visa en lista med senast använda filereller andra filer. " | n | 14391 | "visa en lista med senast använda filer eller andra filer. " |
14536 | "<classname>FileChooserWidget</classname> är grundblocket för " | 14392 | "<classname>FileChooserWidget</classname> är grundblocket för " | ||
14537 | "<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 " | ||
14538 | "användargränssnitt om du vill." | 14394 | "användargränssnitt om du vill." | ||
14539 | 14395 | ||||
14540 | #. (itstool) path: note/para | 14396 | #. (itstool) path: note/para | ||
14543 | "<classname>FileChooser</classname> and the classes that implement it are " | 14399 | "<classname>FileChooser</classname> and the classes that implement it are " | ||
14544 | "deprecated since <application>gtkmm</application> 4.10. They have been " | 14400 | "deprecated since <application>gtkmm</application> 4.10. They have been " | ||
14545 | "replaced by <classname>FileDialog</classname>, which is available since " | 14401 | "replaced by <classname>FileDialog</classname>, which is available since " | ||
14546 | "<application>gtkmm</application> 4.10." | 14402 | "<application>gtkmm</application> 4.10." | ||
14547 | 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." | ||||
14548 | 14408 | ||||
14549 | #. (itstool) path: section/title | 14409 | #. (itstool) path: section/title | ||
14550 | #: C/index-in.docbook:6191 | 14410 | #: C/index-in.docbook:6191 | ||
n | 14551 | #, fuzzy | n | ||
14552 | #| msgid "Simple FileChooserDialog example" | ||||
14553 | msgid "Simple FileDialog example" | 14411 | msgid "Simple FileDialog example" | ||
n | 14554 | msgstr "Enkelt FileChooserDialog-exempel" | n | 14412 | msgstr "Enkelt FileDialog-exempel" |
14555 | 14413 | ||||
14556 | #. (itstool) path: section/para | 14414 | #. (itstool) path: section/para | ||
14557 | #: C/index-in.docbook:6193 | 14415 | #: C/index-in.docbook:6193 | ||
14558 | #, fuzzy | 14416 | #, fuzzy | ||
14559 | msgid "" | 14417 | msgid "" | ||
14567 | "Nedan visas ett enkelt exempel på hur du använder " | 14425 | "Nedan visas ett enkelt exempel på hur du använder " | ||
14568 | "<classname>FileChooserDialog</classname>-klassen i ett program. Detta enkla " | 14426 | "<classname>FileChooserDialog</classname>-klassen i ett program. Detta enkla " | ||
14569 | "program har en menyrad med ett menyobjekt <guimenuitem>File Chooser Dialog</" | 14427 | "program har en menyrad med ett menyobjekt <guimenuitem>File Chooser Dialog</" | ||
14570 | "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 " | ||
14571 | "visar en fillista. Om du väljer <guimenuitem>Recent</guimenuitem> i " | 14429 | "visar en fillista. Om du väljer <guimenuitem>Recent</guimenuitem> i " | ||
n | 14572 | "sidopenelen visas listan över senast använda filer." | n | 14430 | "sidopanelen visas listan över senast använda filer." |
14573 | 14431 | ||||
14574 | #. (itstool) path: note/para | 14432 | #. (itstool) path: note/para | ||
14575 | #: C/index-in.docbook:6203 | 14433 | #: C/index-in.docbook:6203 | ||
14576 | #, fuzzy | 14434 | #, fuzzy | ||
14577 | msgid "" | 14435 | msgid "" | ||
14949 | "underordnade, etiketten med tangentbordsfokus. I målfasen går händelsen " | 14807 | "underordnade, etiketten med tangentbordsfokus. I målfasen går händelsen " | ||
14950 | "endast till komponenten med tangentbordsfokus (etiketten). I bubbelfasen går " | 14808 | "endast till komponenten med tangentbordsfokus (etiketten). I bubbelfasen går " | ||
14951 | "händelsen först till komponenten med tangentbordsfokus (etiketten), sedan " | 14809 | "händelsen först till komponenten med tangentbordsfokus (etiketten), sedan " | ||
14952 | "till dess överordnade (boxen). sedan till boxens överordnade (fönstret). Om " | 14810 | "till dess överordnade (boxen). sedan till boxens överordnade (fönstret). Om " | ||
14953 | "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 | 14954 | "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</" |
14955 | "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." | ||
14956 | 14814 | ||||
14957 | #. (itstool) path: figure/title | 14815 | #. (itstool) path: figure/title | ||
14958 | #: C/index-in.docbook:6376 | 14816 | #: C/index-in.docbook:6376 | ||
14959 | #, fuzzy | 14817 | #, fuzzy | ||
15050 | 14908 | ||||
15051 | #. (itstool) path: section/para | 14909 | #. (itstool) path: section/para | ||
15052 | #: C/index-in.docbook:6411 | 14910 | #: C/index-in.docbook:6411 | ||
15053 | #, fuzzy | 14911 | #, fuzzy | ||
15054 | #| msgid "" | 14912 | #| msgid "" | ||
n | 15055 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 14913 | #| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
15056 | #| "classGtk_1_1Entry.html\">Reference</link>" | 14914 | #| "classGtk_1_1Entry.html\">Reference</link>" | ||
15057 | msgid "" | 14915 | msgid "" | ||
15058 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 14916 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
15059 | "classGtk_1_1EventController.html\">Reference</link>" | 14917 | "classGtk_1_1EventController.html\">Reference</link>" | ||
15060 | msgstr "" | 14918 | msgstr "" | ||
n | 15061 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 14919 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
15062 | "classGtk_1_1Entry.html\">Referens</link>" | 14920 | "classGtk_1_1Entry.html\">Referens</link>" | ||
15063 | 14921 | ||||
15064 | #. (itstool) path: section/para | 14922 | #. (itstool) path: section/para | ||
15065 | #: C/index-in.docbook:6415 | 14923 | #: C/index-in.docbook:6415 | ||
15066 | 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." | ||
15100 | msgid "Timeouts, I/O and Idle Functions" | 14958 | msgid "Timeouts, I/O and Idle Functions" | ||
15101 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | 14959 | msgstr "Timeout, I/O och inaktivitetsfunktioner" | ||
15102 | 14960 | ||||
15103 | #. (itstool) path: section/title | 14961 | #. (itstool) path: section/title | ||
15104 | #: C/index-in.docbook:6435 | 14962 | #: C/index-in.docbook:6435 | ||
n | 15105 | #, fuzzy | n | ||
15106 | msgid "Timeouts" | 14963 | msgid "Timeouts" | ||
15107 | msgstr "Timeout" | 14964 | msgstr "Timeout" | ||
15108 | 14965 | ||||
15109 | #. (itstool) path: section/para | 14966 | #. (itstool) path: section/para | ||
15110 | #: C/index-in.docbook:6437 | 14967 | #: C/index-in.docbook:6437 | ||
15506 | "(det vill säga konstruktionen och förstörandet) av alla komponenter på samma " | 15363 | "(det vill säga konstruktionen och förstörandet) av alla komponenter på samma " | ||
15507 | "sätt som andra C++-objekt. Denna flexibilitet låter dig använda " | 15364 | "sätt som andra C++-objekt. Denna flexibilitet låter dig använda " | ||
15508 | "<literal>new</literal> och <literal>delete</literal> för att skapa och " | 15365 | "<literal>new</literal> och <literal>delete</literal> för att skapa och " | ||
15509 | "förstöra objekt dynamiskt eller använda vanliga klassmedlemmar (som förstörs " | 15366 | "förstöra objekt dynamiskt eller använda vanliga klassmedlemmar (som förstörs " | ||
15510 | "automatiskt när klassen förstörs) eller använda lokala instanser (som " | 15367 | "automatiskt när klassen förstörs) eller använda lokala instanser (som " | ||
n | 15511 | "förstörs när instansen lämnar omfånget). Denna flexibilitet finns inte i " | n | 15368 | "förstörs när instansen lämnar räckvidden). Denna flexibilitet finns inte i " |
15512 | "vissa C++-GUI-verktygslådor, vilket begränsar programmeraren till bara en " | 15369 | "vissa C++-GUI-verktygslådor, vilket begränsar programmeraren till bara en " | ||
15513 | "delmängd av C++:s minneshanteringsfunktioner." | 15370 | "delmängd av C++:s minneshanteringsfunktioner." | ||
15514 | 15371 | ||||
15515 | #. (itstool) path: section/para | 15372 | #. (itstool) path: section/para | ||
15516 | #: C/index-in.docbook:6633 | 15373 | #: C/index-in.docbook:6633 | ||
15547 | "in class scope may be used. One advantage of automatic widgets in class " | 15404 | "in class scope may be used. One advantage of automatic widgets in class " | ||
15548 | "scope is that memory management is grouped in one place. The programmer does " | 15405 | "scope is that memory management is grouped in one place. The programmer does " | ||
15549 | "not risk memory leaks from failing to <literal>delete</literal> a widget." | 15406 | "not risk memory leaks from failing to <literal>delete</literal> a widget." | ||
15550 | msgstr "" | 15407 | msgstr "" | ||
15551 | "Om en programmerare inte behöver dynamisk minnesallokering kan automatiska " | 15408 | "Om en programmerare inte behöver dynamisk minnesallokering kan automatiska " | ||
n | 15552 | "komponenter i klassomfång användas. En fördel med automatiska komponenter i " | n | 15409 | "komponenter i klassräckvidd användas. En fördel med automatiska komponenter " |
15553 | "klassomfång är att minneshantering grupperas på ett ställe. Programmeraren " | 15410 | "i klassräckvidd är att minneshantering grupperas på ett ställe. " | ||
15554 | "behöver inte riskera minnesläckor från att missa <literal>delete</literal> " | 15411 | "Programmeraren behöver inte riskera minnesläckor från att missa " | ||
15555 | "för en komponent." | 15412 | "<literal>delete</literal> för en komponent." | ||
15556 | 15413 | ||||
15557 | #. (itstool) path: section/para | 15414 | #. (itstool) path: section/para | ||
15558 | #: C/index-in.docbook:6650 | 15415 | #: C/index-in.docbook:6650 | ||
15559 | #, fuzzy | 15416 | #, fuzzy | ||
15560 | msgid "" | 15417 | msgid "" | ||
15561 | "The primary disadvantage of using class scope widgets is revealing the class " | 15418 | "The primary disadvantage of using class scope widgets is revealing the class " | ||
15562 | "implementation rather than the class interface in the class header." | 15419 | "implementation rather than the class interface in the class header." | ||
15563 | msgstr "" | 15420 | msgstr "" | ||
n | 15564 | "Den primära fördelen med att använda klassomfångskomponenter är att avslöja " | n | 15421 | "Den primära fördelen med att använda klassräckviddskomponenter är att " |
15565 | "klassimplementationen snarare än klassgränssnittet i klasshuvudet." | 15422 | "avslöja klassimplementationen snarare än klassgränssnittet i klasshuvudet." | ||
15566 | 15423 | ||||
15567 | #. (itstool) path: section/programlisting | 15424 | #. (itstool) path: section/programlisting | ||
15568 | #: C/index-in.docbook:6654 | 15425 | #: C/index-in.docbook:6654 | ||
15569 | #, fuzzy, no-wrap | 15426 | #, fuzzy, no-wrap | ||
15570 | msgid "" | 15427 | msgid "" | ||
15600 | msgid "" | 15457 | msgid "" | ||
15601 | "If a programmer does not need a class scope widget, a function scope widget " | 15458 | "If a programmer does not need a class scope widget, a function scope widget " | ||
15602 | "may also be used. The advantages to function scope over class scope are the " | 15459 | "may also be used. The advantages to function scope over class scope are the " | ||
15603 | "increased data hiding and reduced dependencies." | 15460 | "increased data hiding and reduced dependencies." | ||
15604 | msgstr "" | 15461 | msgstr "" | ||
n | 15605 | "Om en programmerare inte behöver en klassomfångskomponent kan en " | n | 15462 | "Om en programmerare inte behöver en klassräckviddskomponent kan en " |
15606 | "funktionsomfångskomponent också användas. Fördelarna med funktionsomfång " | 15463 | "funktionsräckviddskomponent också användas. Fördelarna med funktionsräckvidd " | ||
15607 | "över klassomfång är det ökade datadöljandet och minskade beroendena." | 15464 | "över klassräckvidd är det ökade datadöljandet och minskade beroendena." | ||
15608 | 15465 | ||||
15609 | #. (itstool) path: section/programlisting | 15466 | #. (itstool) path: section/programlisting | ||
15610 | #: C/index-in.docbook:6672 | 15467 | #: C/index-in.docbook:6672 | ||
15611 | #, 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" | ||||
15612 | msgid "" | 15477 | msgid "" | ||
15613 | "<code>{\n" | 15478 | "<code>{\n" | ||
15614 | " Gtk::Button aButton;\n" | 15479 | " Gtk::Button aButton;\n" | ||
15615 | " aButton.set_visible(true);\n" | 15480 | " aButton.set_visible(true);\n" | ||
15616 | " ...\n" | 15481 | " ...\n" | ||
15619 | "</code>" | 15484 | "</code>" | ||
15620 | msgstr "" | 15485 | msgstr "" | ||
15621 | "\n" | 15486 | "\n" | ||
15622 | "{\n" | 15487 | "{\n" | ||
15623 | " Gtk::Button aButton;\n" | 15488 | " Gtk::Button aButton;\n" | ||
n | 15624 | " aButton.show();\n" | n | 15489 | " aButton.set_visible(true);\n" |
15625 | " ...\n" | 15490 | " ...\n" | ||
15626 | " app->run();\n" | 15491 | " app->run();\n" | ||
15627 | "}\n" | 15492 | "}\n" | ||
15628 | 15493 | ||||
15629 | #. (itstool) path: section/para | 15494 | #. (itstool) path: section/para | ||
15666 | "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å " | ||
15667 | "operatorerna <literal>new</literal> och <literal>delete</literal> också kan " | 15532 | "operatorerna <literal>new</literal> och <literal>delete</literal> också kan " | ||
15668 | "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 " | ||
15669 | "minneshanteringsmodeller, så det är bättre att skapa komponenter med " | 15534 | "minneshanteringsmodeller, så det är bättre att skapa komponenter med " | ||
15670 | "<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 | 15671 | "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 " |
15672 | "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 " | ||
15673 | "minnesläcka." | 15538 | "minnesläcka." | ||
15674 | 15539 | ||||
15675 | #. (itstool) path: section/programlisting | 15540 | #. (itstool) path: section/programlisting | ||
15676 | #: C/index-in.docbook:6699 | 15541 | #: C/index-in.docbook:6699 | ||
15702 | "leak." | 15567 | "leak." | ||
15703 | msgstr "" | 15568 | msgstr "" | ||
15704 | 15569 | ||||
15705 | #. (itstool) path: section/title | 15570 | #. (itstool) path: section/title | ||
15706 | #: C/index-in.docbook:6710 | 15571 | #: C/index-in.docbook:6710 | ||
n | 15707 | #, fuzzy | n | ||
15708 | msgid "Managed Widgets" | 15572 | msgid "Managed Widgets" | ||
15709 | msgstr "Hanterade komponenter" | 15573 | msgstr "Hanterade komponenter" | ||
15710 | 15574 | ||||
15711 | #. (itstool) path: section/para | 15575 | #. (itstool) path: section/para | ||
15712 | #: C/index-in.docbook:6712 | 15576 | #: C/index-in.docbook:6712 | ||
15789 | "ö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 " | ||
15790 | "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 " | ||
15791 | "krävdes då en nyss skapad komponent skickades till <function>manage()</" | 15655 | "krävdes då en nyss skapad komponent skickades till <function>manage()</" | ||
15792 | "function>. <application>gtkmm</application> har därför lagt till " | 15656 | "function>. <application>gtkmm</application> har därför lagt till " | ||
15793 | "<function>make_managed()</function> som kombinerar skapande och markerande " | 15657 | "<function>make_managed()</function> som kombinerar skapande och markerande " | ||
n | 15794 | "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 " |
15795 | "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++-" | ||
15796 | "stil, och mer tydligt uttrycker avsikten att skapa en hanterad komponent." | 15660 | "stil, och mer tydligt uttrycker avsikten att skapa en hanterad komponent." | ||
15797 | 15661 | ||||
15798 | #. (itstool) path: section/programlisting | 15662 | #. (itstool) path: section/programlisting | ||
15799 | #: C/index-in.docbook:6751 | 15663 | #: C/index-in.docbook:6751 | ||
15904 | msgid "" | 15768 | msgid "" | ||
15905 | "<code>auto pixbuf = Gdk::Pixbuf::create_from_file(filename);\n" | 15769 | "<code>auto pixbuf = Gdk::Pixbuf::create_from_file(filename);\n" | ||
15906 | "</code>" | 15770 | "</code>" | ||
15907 | msgstr "" | 15771 | msgstr "" | ||
15908 | "\n" | 15772 | "\n" | ||
n | 15909 | "auto pixbuf = Gdk::Pixbuf::create_from_file(filnamm);\n" | n | 15773 | "auto pixbuf = Gdk::Pixbuf::create_from_file(filnamn);\n" |
15910 | 15774 | ||||
15911 | #. (itstool) path: section/para | 15775 | #. (itstool) path: section/para | ||
15912 | #: C/index-in.docbook:6802 | 15776 | #: C/index-in.docbook:6802 | ||
15913 | #, fuzzy | 15777 | #, fuzzy | ||
15914 | msgid "" | 15778 | msgid "" | ||
15960 | "inget <literal>delete</literal>." | 15824 | "inget <literal>delete</literal>." | ||
15961 | 15825 | ||||
15962 | #. (itstool) path: section/para | 15826 | #. (itstool) path: section/para | ||
15963 | #: C/index-in.docbook:6820 | 15827 | #: C/index-in.docbook:6820 | ||
15964 | #, fuzzy | 15828 | #, fuzzy | ||
n | n | 15829 | #| msgid "" | ||
15830 | #| "You can cast <classname>RefPtr</classname>s to base types, just like " | ||||
15831 | #| "normal pointers." | ||||
15965 | msgid "If you copy a <classname>RefPtr</classname>, for instance" | 15832 | msgid "If you copy a <classname>RefPtr</classname>, for instance" | ||
15966 | msgstr "" | 15833 | msgstr "" | ||
15967 | "Du kan typkonvertera <classname>RefPtr</classname>-pekare till bastyper, " | 15834 | "Du kan typkonvertera <classname>RefPtr</classname>-pekare till bastyper, " | ||
15968 | "precis som vanliga pekare." | 15835 | "precis som vanliga pekare." | ||
15969 | 15836 | ||||
16005 | "Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad " | 15872 | "Se <link linkend=\"chapter-refptr\">bilagan</link> för detaljerad " | ||
16006 | "information om RefPtr." | 15873 | "information om RefPtr." | ||
16007 | 15874 | ||||
16008 | #. (itstool) path: listitem/para | 15875 | #. (itstool) path: listitem/para | ||
16009 | #: C/index-in.docbook:6834 | 15876 | #: C/index-in.docbook:6834 | ||
n | 16010 | #, fuzzy | n | ||
16011 | #| msgid "" | ||||
16012 | #| "Bjarne Stroustrup, \"The C++ Programming Language\" Forth Edition - " | ||||
16013 | #| "section 34.3" | ||||
16014 | msgid "" | 15877 | msgid "" | ||
16015 | "Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section " | 15878 | "Bjarne Stroustrup, \"The C++ Programming Language\" Fourth Edition - section " | ||
16016 | "34.3" | 15879 | "34.3" | ||
16017 | msgstr "" | 15880 | msgstr "" | ||
16018 | "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" | ||
16022 | msgid "Nicolai M. Josuttis, \"The C++ Standard Library\" - section 4.2" | 15885 | msgid "Nicolai M. Josuttis, \"The C++ Standard Library\" - section 4.2" | ||
16023 | msgstr "Nicolai M. Josuttis, ”The C++ Standard Library” - avsnitt 4.2" | 15886 | msgstr "Nicolai M. Josuttis, ”The C++ Standard Library” - avsnitt 4.2" | ||
16024 | 15887 | ||||
16025 | #. (itstool) path: section/para | 15888 | #. (itstool) path: section/para | ||
16026 | #: C/index-in.docbook:6830 | 15889 | #: C/index-in.docbook:6830 | ||
n | 16027 | #, fuzzy | n | ||
16028 | msgid "" | 15890 | msgid "" | ||
16029 | "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 " | ||
16030 | "books: <_:itemizedlist-1/>" | 15892 | "books: <_:itemizedlist-1/>" | ||
16031 | msgstr "" | 15893 | msgstr "" | ||
16032 | "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: <_:" | ||
16158 | #: C/index-in.docbook:6893 | 16020 | #: C/index-in.docbook:6893 | ||
16159 | msgid "" | 16021 | msgid "" | ||
16160 | "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 " | ||
16161 | "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," | ||
16162 | msgstr "" | 16024 | msgstr "" | ||
n | 16163 | "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 " |
16164 | "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. " | ||
16165 | "Till exempel," | 16027 | "Till exempel," | ||
16166 | 16028 | ||||
16167 | #. (itstool) path: section/programlisting | 16029 | #. (itstool) path: section/programlisting | ||
16168 | #: C/index-in.docbook:6895 | 16030 | #: C/index-in.docbook:6895 | ||
16187 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | 16049 | "<methodname>get_widget()</methodname> method, providing the widget's name. " | ||
16188 | "This name should be specified in the <application>Cambalache</application> " | 16050 | "This name should be specified in the <application>Cambalache</application> " | ||
16189 | "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 " | ||
16190 | "pointer will be set to <literal>nullptr</literal>." | 16052 | "pointer will be set to <literal>nullptr</literal>." | ||
16191 | msgstr "" | 16053 | msgstr "" | ||
n | 16192 | "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, " |
16193 | "<methodname>show()</methodname>, använder du metoden " | 16055 | "använder du metoden <methodname>get_widget()</methodname> och " | ||
16194 | "<methodname>get_widget()</methodname> och tillhandahåller komponentens namn. " | 16056 | "tillhandahåller komponentens namn. Detta namn bör anges i " | ||
16195 | "Detta namn bör anges i <application>Glade</application>s egenskapsfönster. " | 16057 | "<application>Glade</application>s egenskapsfönster. Om komponenten inte " | ||
16196 | "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." | ||
16197 | "sättas till nullptr." | ||||
16198 | 16059 | ||||
16199 | #. (itstool) path: section/para | 16060 | #. (itstool) path: section/para | ||
16200 | #: C/index-in.docbook:6910 | 16061 | #: C/index-in.docbook:6910 | ||
n | 16201 | #, fuzzy | n | ||
16202 | msgid "" | 16062 | msgid "" | ||
16203 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | 16063 | "The dialogs in this chapter are derived from <classname>Gtk::Window</" | ||
16204 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | 16064 | "classname> because <classname>Gtk::Dialog</classname> is deprecated since " | ||
16205 | "<application>gtkmm</application> 4.10." | 16065 | "<application>gtkmm</application> 4.10." | ||
16206 | msgstr "" | 16066 | msgstr "" | ||
n | 16207 | "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</" |
16208 | "att associera en <classname>Gtk::Builder</classname>-ui-fil med vår " | 16068 | "classname> eftersom <classname>Gtk::Dialog</classname> är föråldrat sedan " | ||
16209 | "programfönsterklass." | 16069 | "<application>gtkmm</application> 4.10." | ||
16210 | 16070 | ||||
16211 | #. (itstool) path: section/programlisting | 16071 | #. (itstool) path: section/programlisting | ||
16212 | #: C/index-in.docbook:6914 | 16072 | #: C/index-in.docbook:6914 | ||
16213 | #, fuzzy, no-wrap | 16073 | #, fuzzy, no-wrap | ||
16214 | msgid "" | 16074 | msgid "" | ||
16224 | msgid "" | 16084 | msgid "" | ||
16225 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | 16085 | "<classname>Gtk::Builder</classname> checks for a null pointer, and checks " | ||
16226 | "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 " | ||
16227 | "command line about these." | 16087 | "command line about these." | ||
16228 | msgstr "" | 16088 | msgstr "" | ||
n | 16229 | "<application>Gtk::Builder</application> tittar efter en null-pekare, och " | n | 16089 | "<classname>Gtk::Builder</classname> tittar efter en null-pekare, och " |
16230 | "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 " | ||
16231 | "på kommandoraden om dessa." | 16091 | "på kommandoraden om dessa." | ||
16232 | 16092 | ||||
16233 | #. (itstool) path: section/para | 16093 | #. (itstool) path: section/para | ||
16234 | #: C/index-in.docbook:6923 | 16094 | #: C/index-in.docbook:6923 | ||
16271 | "<classname>Gtk::Builder</classname> har mer att säga om minneshanteringen " | 16131 | "<classname>Gtk::Builder</classname> har mer att säga om minneshanteringen " | ||
16272 | "för olika sorters objekt." | 16132 | "för olika sorters objekt." | ||
16273 | 16133 | ||||
16274 | #. (itstool) path: section/para | 16134 | #. (itstool) path: section/para | ||
16275 | #: C/index-in.docbook:6942 | 16135 | #: C/index-in.docbook:6942 | ||
n | 16276 | #, fuzzy | n | ||
16277 | #| msgid "" | ||||
16278 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
16279 | #| "classGtk_1_1Builder.html\">Reference</link>" | ||||
16280 | msgid "" | 16136 | msgid "" | ||
16281 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 16137 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
16282 | "classGtk_1_1Builder.html\">Reference</link>" | 16138 | "classGtk_1_1Builder.html\">Reference</link>" | ||
16283 | msgstr "" | 16139 | msgstr "" | ||
n | 16284 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 16140 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
16285 | "classGtk_1_1Builder.html\">Referens</link>" | 16141 | "classGtk_1_1Builder.html\">Referens</link>" | ||
16286 | 16142 | ||||
16287 | #. (itstool) path: section/para | 16143 | #. (itstool) path: section/para | ||
16288 | #: C/index-in.docbook:6947 | 16144 | #: C/index-in.docbook:6947 | ||
16289 | #, fuzzy | 16145 | #, fuzzy | ||
16440 | "}\n" | 16296 | "}\n" | ||
16441 | 16297 | ||||
16442 | #. (itstool) path: section/para | 16298 | #. (itstool) path: section/para | ||
16443 | #: C/index-in.docbook:7009 | 16299 | #: C/index-in.docbook:7009 | ||
16444 | #, 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" | ||||
16445 | msgid "" | 16307 | msgid "" | ||
16446 | "It's possible to pass additional arguments from " | 16308 | "It's possible to pass additional arguments from " | ||
16447 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | 16309 | "<methodname>get_widget_derived()</methodname> to the constructor of the " | ||
16448 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | 16310 | "derived widget. For instance, this call to <methodname>get_widget_derived()</" | ||
16449 | "methodname>" | 16311 | "methodname>" | ||
16450 | msgstr "" | 16312 | msgstr "" | ||
16451 | "Det är möjligt att skicka ytterligare argument från " | 16313 | "Det är möjligt att skicka ytterligare argument från " | ||
16452 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | 16314 | "<methodname>get_widget_derived()</methodname> till konstruktorn för den " | ||
16453 | "härledda komponenten. Exempelvis kan detta anrop till " | 16315 | "härledda komponenten. Exempelvis kan detta anrop till " | ||
16454 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | 16316 | "<methodname>get_widget_derived()</methodname> <_:programlisting-1/> starta " | ||
n | 16455 | "denna konstruktor <_:programlisting-2/>" | n | 16317 | "denna konstruktor" |
16456 | 16318 | ||||
16457 | #. (itstool) path: section/programlisting | 16319 | #. (itstool) path: section/programlisting | ||
16458 | #: C/index-in.docbook:7014 | 16320 | #: C/index-in.docbook:7014 | ||
16459 | #, fuzzy, no-wrap | 16321 | #, fuzzy, no-wrap | ||
16460 | msgid "" | 16322 | msgid "" | ||
16806 | "<literal>LINGUAS</literal> innehåller en alfabetiskt sorterad lista med " | 16668 | "<literal>LINGUAS</literal> innehåller en alfabetiskt sorterad lista med " | ||
16807 | "koder som identifierar språken som ditt program översatts till " | 16669 | "koder som identifierar språken som ditt program översatts till " | ||
16808 | "(kommentarsrader startar med <literal>#</literal> och ignoreras). Varje " | 16670 | "(kommentarsrader startar med <literal>#</literal> och ignoreras). Varje " | ||
16809 | "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 " | ||
16810 | "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 | 16811 | "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 " |
16812 | "så här:" | 16674 | "så här:" | ||
16813 | 16675 | ||||
16814 | #. (itstool) path: section/programlisting | 16676 | #. (itstool) path: section/programlisting | ||
16815 | #: C/index-in.docbook:7179 | 16677 | #: C/index-in.docbook:7179 | ||
16816 | #, fuzzy, no-wrap | 16678 | #, fuzzy, no-wrap | ||
17040 | #| "code such as <_:programlisting-1/>" | 16902 | #| "code such as <_:programlisting-1/>" | ||
17041 | msgid "" | 16903 | msgid "" | ||
17042 | "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 " | ||
17043 | "such as" | 16905 | "such as" | ||
17044 | msgstr "" | 16906 | msgstr "" | ||
n | 17045 | "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 " |
17046 | "lägger du till kod som <_:programlisting-1/>" | 16908 | "till kod som <_:programlisting-1/>" | ||
17047 | 16909 | ||||
17048 | #. (itstool) path: listitem/programlisting | 16910 | #. (itstool) path: listitem/programlisting | ||
17049 | #: C/index-in.docbook:7282 | 16911 | #: C/index-in.docbook:7282 | ||
17050 | #, fuzzy, no-wrap | 16912 | #, fuzzy, no-wrap | ||
17051 | msgid "" | 16913 | msgid "" | ||
17102 | "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 " | ||
17103 | "should be surrounded by a call to the <function>gettext()</function> " | 16965 | "should be surrounded by a call to the <function>gettext()</function> " | ||
17104 | "function. These strings will be extracted for translation and the " | 16966 | "function. These strings will be extracted for translation and the " | ||
17105 | "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." | ||
17106 | msgstr "" | 16968 | msgstr "" | ||
n | 17107 | "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 " |
17108 | "ett anrop till <function>gettext()</function>-funktionen. Dessa strängar " | 16970 | "ett anrop till <function>gettext()</function>-funktionen. Dessa strängar " | ||
17109 | "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 " | ||
17110 | "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." | ||
17111 | 16973 | ||||
17112 | #. (itstool) path: section/para | 16974 | #. (itstool) path: section/para | ||
17775 | "underkatalogen <filename>po/</filename> (<command>intltool-update -m</" | 17637 | "underkatalogen <filename>po/</filename> (<command>intltool-update -m</" | ||
17776 | "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 " | ||
17777 | "uppdaterade <filename>mittprogram.pot</filename>-filer, och fryser helt " | 17639 | "uppdaterade <filename>mittprogram.pot</filename>-filer, och fryser helt " | ||
17778 | "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 " | ||
17779 | "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 | 17780 | "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 " |
17781 | "rassla in som <filename>språknamn.po</filename>-filer." | 17643 | "rassla in som <filename>språknamn.po</filename>-filer." | ||
17782 | 17644 | ||||
17783 | #. (itstool) path: section/para | 17645 | #. (itstool) path: section/para | ||
17784 | #: C/index-in.docbook:7621 | 17646 | #: C/index-in.docbook:7621 | ||
17785 | msgid "" | 17647 | msgid "" | ||
18173 | "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-" | ||
18174 | "example\">custom CSS name example</link> shows how that's done." | 18036 | "example\">custom CSS name example</link> shows how that's done." | ||
18175 | msgstr "" | 18037 | msgstr "" | ||
18176 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | 18038 | "Vissa <application>GTK</application>-funktioner måste, om de anropas över " | ||
18177 | "huvud taget, anropas från klassens init-funktion. Några andra " | 18039 | "huvud taget, anropas från klassens init-funktion. Några andra " | ||
n | 18178 | "<application>GTK</application>-funktioner måste, om de anropas , anropas " | n | 18040 | "<application>GTK</application>-funktioner måste, om de anropas, anropas från " |
18179 | "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 " | ||
18180 | "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::" | ||
18181 | "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</" | ||
18182 | "Följande exempel visar hur detta görs." | 18045 | "link> visar hur detta görs." | ||
18183 | 18046 | ||||
18184 | #. (itstool) path: section/para | 18047 | #. (itstool) path: section/para | ||
18185 | #: C/index-in.docbook:7780 | 18048 | #: C/index-in.docbook:7780 | ||
18186 | msgid "This example implements a widget which draws Penrose triangles." | 18049 | msgid "This example implements a widget which draws Penrose triangles." | ||
18187 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | 18050 | msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar." | ||
18215 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18078 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18216 | "master/examples/book/custom/custom_widget/\">Källkod</link>" | 18079 | "master/examples/book/custom/custom_widget/\">Källkod</link>" | ||
18217 | 18080 | ||||
18218 | #. (itstool) path: section/title | 18081 | #. (itstool) path: section/title | ||
18219 | #: C/index-in.docbook:7794 | 18082 | #: C/index-in.docbook:7794 | ||
n | 18220 | #, fuzzy | n | ||
18221 | #| msgid "Custom Containers" | ||||
18222 | msgid "Custom CSS Names" | 18083 | msgid "Custom CSS Names" | ||
n | 18223 | msgstr "Anpassade behållare" | n | 18084 | msgstr "Anpassade CSS-namn" |
18224 | 18085 | ||||
n | n | 18086 | # TODO: controlled | ||
18225 | #. (itstool) path: section/para | 18087 | #. (itstool) path: section/para | ||
18226 | #: C/index-in.docbook:7796 | 18088 | #: C/index-in.docbook:7796 | ||
n | n | 18089 | #, fuzzy | ||
18227 | msgid "" | 18090 | msgid "" | ||
18228 | "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 " | ||
18229 | "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, " | ||
18230 | "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 " | ||
18231 | "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 " | ||
18232 | "buttons, without affecting other similar widgets." | 18095 | "buttons, without affecting other similar widgets." | ||
18233 | 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." | ||||
18234 | 18102 | ||||
18235 | #. (itstool) path: section/title | 18103 | #. (itstool) path: section/title | ||
18236 | #: C/index-in.docbook:7803 | 18104 | #: C/index-in.docbook:7803 | ||
18237 | msgid "CSS Node Name, Widget Name, CSS Class Name" | 18105 | msgid "CSS Node Name, Widget Name, CSS Class Name" | ||
n | 18238 | msgstr "" | n | 18106 | msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn" |
18239 | 18107 | ||||
18240 | #. (itstool) path: listitem/para | 18108 | #. (itstool) path: listitem/para | ||
18241 | #: C/index-in.docbook:7807 | 18109 | #: C/index-in.docbook:7807 | ||
n | n | 18110 | #, fuzzy | ||
18242 | msgid "" | 18111 | msgid "" | ||
18243 | "<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 " | ||
18244 | "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 " | ||
18245 | "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 " | ||
18246 | "Init and Instance Init Functions</link> section." | 18115 | "Init and Instance Init Functions</link> section." | ||
18247 | 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>." | ||||
18248 | 18121 | ||||
18249 | #. (itstool) path: listitem/para | 18122 | #. (itstool) path: listitem/para | ||
18250 | #: 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." | ||||
18251 | msgid "" | 18128 | msgid "" | ||
18252 | "<methodname>Gtk::Widget::set_name()</methodname> can be called from a " | 18129 | "<methodname>Gtk::Widget::set_name()</methodname> can be called from a " | ||
18253 | "<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 " | ||
18254 | "widget instance." | 18131 | "widget instance." | ||
18255 | 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." | ||||
18256 | 18135 | ||||
18257 | #. (itstool) path: listitem/para | 18136 | #. (itstool) path: listitem/para | ||
18258 | #: 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." | ||||
18259 | msgid "" | 18143 | msgid "" | ||
18260 | "<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 " | ||
18261 | "<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 " | ||
18262 | "class, used by a widget instance." | 18146 | "class, used by a widget instance." | ||
18263 | 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." | ||||
18264 | 18151 | ||||
18265 | #. (itstool) path: section/para | 18152 | #. (itstool) path: section/para | ||
18266 | #: C/index-in.docbook:7805 | 18153 | #: C/index-in.docbook:7805 | ||
n | n | 18154 | #, fuzzy | ||
18267 | msgid "" | 18155 | msgid "" | ||
18268 | "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: <_:" | ||
18269 | "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 " | ||
18270 | "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." | ||
18271 | 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." | ||||
18272 | 18163 | ||||
18273 | #. (itstool) path: section/title | 18164 | #. (itstool) path: section/title | ||
18274 | #: C/index-in.docbook:7823 | 18165 | #: C/index-in.docbook:7823 | ||
18275 | msgid "Custom Style Information" | 18166 | msgid "Custom Style Information" | ||
18276 | msgstr "Anpassad stilinformation" | 18167 | msgstr "Anpassad stilinformation" | ||
18285 | "StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::" | 18176 | "StyleContext::add_provider_for_display()</methodname>. <classname>Gtk::" | ||
18286 | "StyleContext</classname> also contains methods to read some style " | 18177 | "StyleContext</classname> also contains methods to read some style " | ||
18287 | "information, but this class is deprecated since <application>gtkmm</" | 18178 | "information, but this class is deprecated since <application>gtkmm</" | ||
18288 | "application> 4.10." | 18179 | "application> 4.10." | ||
18289 | 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." | ||||
18290 | 18189 | ||||
18291 | #. (itstool) path: section/para | 18190 | #. (itstool) path: section/para | ||
18292 | #: C/index-in.docbook:7832 | 18191 | #: C/index-in.docbook:7832 | ||
18293 | msgid "CSS files are described in the documentation of GTK." | 18192 | msgid "CSS files are described in the documentation of GTK." | ||
n | 18294 | msgstr "" | n | 18193 | msgstr "CSS-filer beskrivs i dokumentationen för GTK." |
18295 | 18194 | ||||
18296 | #. (itstool) path: section/para | 18195 | #. (itstool) path: section/para | ||
18297 | #: C/index-in.docbook:7838 | 18196 | #: C/index-in.docbook:7838 | ||
18298 | msgid "" | 18197 | msgid "" | ||
18299 | "This example implements a button and two labels with custom style " | 18198 | "This example implements a button and two labels with custom style " | ||
18300 | "information." | 18199 | "information." | ||
18301 | msgstr "" | 18200 | msgstr "" | ||
n | n | 18201 | "Detta exempel implementerar en knapp och två etiketter med anpassad " | ||
18202 | "stilinformation." | ||||
18302 | 18203 | ||||
18303 | #. (itstool) path: figure/title | 18204 | #. (itstool) path: figure/title | ||
18304 | #: C/index-in.docbook:7841 | 18205 | #: C/index-in.docbook:7841 | ||
18305 | #, fuzzy | 18206 | #, fuzzy | ||
n | 18306 | #| msgid "Custom Container" | n | ||
18307 | msgid "Custom CSS Name" | 18207 | msgid "Custom CSS Name" | ||
n | 18308 | msgstr "Anpassad behållare" | n | 18208 | msgstr "Anpassat CSS-namn" |
18309 | 18209 | ||||
18310 | #. (itstool) path: imageobject/imagedata | 18210 | #. (itstool) path: imageobject/imagedata | ||
18311 | #. 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 | ||
18312 | #. 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 | ||
18313 | #. 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 | ||
18317 | msgctxt "_" | 18217 | msgctxt "_" | ||
18318 | msgid "" | 18218 | msgid "" | ||
18319 | "external ref='figures/custom_css_name.png' " | 18219 | "external ref='figures/custom_css_name.png' " | ||
18320 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | 18220 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18321 | msgstr "" | 18221 | msgstr "" | ||
n | 18322 | "external ref='figures/custom_container.png' " | n | 18222 | "external ref='figures/custom_css_name.png' " |
18323 | "md5='5b4ae318725b6efbf5c6e1f7c94e6e04'" | 18223 | "md5='fb3d968b1fd40eb219e5a78946adff0f'" | ||
18324 | 18224 | ||||
18325 | #. (itstool) path: section/para | 18225 | #. (itstool) path: section/para | ||
18326 | #: C/index-in.docbook:7847 | 18226 | #: C/index-in.docbook:7847 | ||
n | 18327 | #, fuzzy | n | ||
18328 | #| msgid "" | ||||
18329 | #| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
18330 | #| "tree/master/examples/book/custom/custom_container/\">Source Code</link>" | ||||
18331 | msgid "" | 18227 | msgid "" | ||
18332 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18228 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
18333 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | 18229 | "master/examples/book/custom/custom_css_name/\">Source Code</link>" | ||
18334 | msgstr "" | 18230 | msgstr "" | ||
18335 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | 18231 | "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/" | ||
n | 18336 | "master/examples/book/custom/custom_container/\">Källkod</link>" | n | 18232 | "master/examples/book/custom/custom_css_name/\">Källkod</link>" |
18337 | 18233 | ||||
18338 | #. (itstool) path: chapter/title | 18234 | #. (itstool) path: chapter/title | ||
18339 | #: C/index-in.docbook:7854 | 18235 | #: C/index-in.docbook:7854 | ||
18340 | msgid "Multi-threaded programs" | 18236 | msgid "Multi-threaded programs" | ||
18341 | msgstr "Flertrådade program" | 18237 | msgstr "Flertrådade program" | ||
18670 | msgstr "" | 18566 | msgstr "" | ||
18671 | "Ett <classname>Glib::Dispatcher</classname>-objekt kan sändas ut av " | 18567 | "Ett <classname>Glib::Dispatcher</classname>-objekt kan sändas ut av " | ||
18672 | "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 " | ||
18673 | "rimliga gränser. På unix-liknande system delar <classname>Glib::Dispatcher</" | 18569 | "rimliga gränser. På unix-liknande system delar <classname>Glib::Dispatcher</" | ||
18674 | "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 | 18675 | "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 " |
18676 | "program med ett väldigt stort antal <classname>Dispatcher</classname>-objekt " | 18572 | "program med ett väldigt stort antal <classname>Dispatcher</classname>-objekt " | ||
18677 | "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 " | ||
18678 | "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 " | ||
18679 | "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å " | ||
18680 | "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 " | ||
18781 | "each other, and generates <filename>build.ninja</filename> or an equivalent " | 18677 | "each other, and generates <filename>build.ninja</filename> or an equivalent " | ||
18782 | "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</" | ||
18783 | "application> permits automatic configuration of software installation, " | 18679 | "application> permits automatic configuration of software installation, " | ||
18784 | "handling a large number of system quirks to increase portability." | 18680 | "handling a large number of system quirks to increase portability." | ||
18785 | msgstr "" | 18681 | msgstr "" | ||
n | 18786 | "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- " |
18787 | "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." | ||
18788 | "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 | 18789 | "riktig ordning. <application>Meson</application> tillåter automatisk " | n | 18685 | "rätt ordning. <application>Meson</application> tillåter automatisk " |
18790 | "konfiguration av programvaruinstallation, och hanterar ett stort antal " | 18686 | "konfiguration av programvaruinstallation, och hanterar ett stort antal " | ||
18791 | "systemabrovinkar för att öka portabilitet." | 18687 | "systemabrovinkar för att öka portabilitet." | ||
18792 | 18688 | ||||
18793 | #. (itstool) path: chapter/para | 18689 | #. (itstool) path: chapter/para | ||
18794 | #: C/index-in.docbook:8115 | 18690 | #: C/index-in.docbook:8115 | ||
18847 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | 18743 | "endast ett huvudfönster. Dessa program kan använda <methodname>Gtk::" | ||
18848 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | 18744 | "Application::make_window_and_run(int argc, char** argv, T_Args&&... " | ||
18849 | "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 " | ||
18850 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | 18746 | "tar <methodname>make_window_and_run()</methodname> bort fönstret och " | ||
18851 | "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 | 18852 | "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 " |
18853 | "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 " | ||
18854 | "(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 " | ||
18855 | "<methodname>Gtk::Window::on_close_request()</methodname>." | 18751 | "att åsidosätta <methodname>Gtk::Window::on_close_request()</methodname>." | ||
18856 | 18752 | ||||
18857 | #. (itstool) path: section/para | 18753 | #. (itstool) path: section/para | ||
18858 | #: C/index-in.docbook:8139 | 18754 | #: C/index-in.docbook:8139 | ||
18859 | msgid "Most of our examples use this technique." | 18755 | msgid "Most of our examples use this technique." | ||
18860 | msgstr "De flesta av våra exempel använder denna teknik." | 18756 | msgstr "De flesta av våra exempel använder denna teknik." | ||
18915 | "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::" | ||
18916 | "Box::append()</methodname>." | 18812 | "Box::append()</methodname>." | ||
18917 | 18813 | ||||
18918 | #. (itstool) path: section/para | 18814 | #. (itstool) path: section/para | ||
18919 | #: C/index-in.docbook:8187 | 18815 | #: C/index-in.docbook:8187 | ||
n | 18920 | #, fuzzy | n | ||
18921 | msgid "" | 18816 | msgid "" | ||
18922 | "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::" | ||
18923 | "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. " | ||
18924 | "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, " | ||
18925 | "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 " | ||
18926 | "child widgets." | 18821 | "child widgets." | ||
18927 | msgstr "" | 18822 | msgstr "" | ||
18928 | "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 | 18929 | "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 " |
18930 | "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 " | ||
18931 | "dolda, även om <methodname>hide()</methodname> inte anropas på de " | 18826 | "komponenter dolda, även om <methodname>set_visible(false)</methodname> inte " | ||
18932 | "underordnade komponenterna." | 18827 | "anropas på de underordnade komponenterna." | ||
18933 | 18828 | ||||
18934 | #. (itstool) path: chapter/title | 18829 | #. (itstool) path: chapter/title | ||
18935 | #: C/index-in.docbook:8198 | 18830 | #: C/index-in.docbook:8198 | ||
18936 | msgid "Building applications" | 18831 | msgid "Building applications" | ||
18937 | msgstr "Bygga program" | 18832 | msgstr "Bygga program" | ||
19138 | "kommandoradsargument, och <methodname>signal_open()</methodname>:s " | 19033 | "kommandoradsargument, och <methodname>signal_open()</methodname>:s " | ||
19139 | "standardhanterare, som anropas när programmet körs med kommandoradsargument." | 19034 | "standardhanterare, som anropas när programmet körs med kommandoradsargument." | ||
19140 | 19035 | ||||
19141 | #. (itstool) path: section/para | 19036 | #. (itstool) path: section/para | ||
19142 | #: C/index-in.docbook:8286 | 19037 | #: C/index-in.docbook:8286 | ||
n | 19143 | #, fuzzy | n | ||
19144 | #| msgid "" | ||||
19145 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
19146 | #| "classGio_1_1Application.html\">Gio::Application Reference</link>" | ||||
19147 | msgid "" | 19038 | msgid "" | ||
19148 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | 19039 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" | ||
19149 | "classGio_1_1Application.html\">Gio::Application Reference</link>" | 19040 | "classGio_1_1Application.html\">Gio::Application Reference</link>" | ||
19150 | msgstr "" | 19041 | msgstr "" | ||
n | 19151 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 19042 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
19152 | "classGio_1_1Application.html\">Referens för Gio::Application</link>" | 19043 | "classGio_1_1Application.html\">Referens för Gio::Application</link>" | ||
19153 | 19044 | ||||
19154 | #. (itstool) path: section/para | 19045 | #. (itstool) path: section/para | ||
19155 | #: C/index-in.docbook:8287 | 19046 | #: C/index-in.docbook:8287 | ||
n | 19156 | #, fuzzy | n | ||
19157 | #| msgid "" | ||||
19158 | #| "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | ||||
19159 | #| "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||||
19160 | msgid "" | 19047 | msgid "" | ||
19161 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | 19048 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" | ||
19162 | "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | 19049 | "classGtk_1_1Application.html\">Gtk::Application Reference</link>" | ||
19163 | msgstr "" | 19050 | msgstr "" | ||
n | 19164 | "<link xlink:href=\"http://developer.gnome.org/gtkmm/unstable/" | n | 19051 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/" |
19165 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | 19052 | "classGtk_1_1Application.html\">Referens för Gtk::Application</link>" | ||
19166 | 19053 | ||||
19167 | #. (itstool) path: section/para | 19054 | #. (itstool) path: section/para | ||
19168 | #: C/index-in.docbook:8289 | 19055 | #: C/index-in.docbook:8289 | ||
19169 | #, fuzzy | 19056 | #, fuzzy | ||
19256 | #, fuzzy | 19143 | #, fuzzy | ||
19257 | msgid "" | 19144 | msgid "" | ||
19258 | "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::" | ||
19259 | "Stack</classname> widget as the main content." | 19146 | "Stack</classname> widget as the main content." | ||
19260 | msgstr "" | 19147 | msgstr "" | ||
n | 19261 | "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</" |
19262 | "classname>-komponent som huvudinnehållet." | 19149 | "classname>-komponent som huvudinnehållet." | ||
19263 | 19150 | ||||
19264 | #. (itstool) path: section/para | 19151 | #. (itstool) path: section/para | ||
19265 | #: C/index-in.docbook:8334 | 19152 | #: C/index-in.docbook:8334 | ||
19266 | #, fuzzy | 19153 | #, fuzzy | ||
19583 | "module.html\">GNOME module</link>." | 19470 | "module.html\">GNOME module</link>." | ||
19584 | msgstr "" | 19471 | msgstr "" | ||
19585 | "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 " | ||
19586 | "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. " | ||
19587 | "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 | 19588 | "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." |
19589 | "Settings.html\">GSettings</link>. Meson tillhandahåller funktionen " | 19476 | "Settings.html\">GSettings</link>. Meson tillhandahåller funktionen " | ||
19590 | "<function>compile_schemas()</function> i <link xlink:href=\"https://" | 19477 | "<function>compile_schemas()</function> i <link xlink:href=\"https://" | ||
19591 | "mesonbuild.com/Gnome-module.html\">GNOME-modulen</link>." | 19478 | "mesonbuild.com/Gnome-module.html\">GNOME-modulen</link>." | ||
19592 | 19479 | ||||
19593 | #. (itstool) path: section/para | 19480 | #. (itstool) path: section/para | ||
19661 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | 19548 | "FontDialogButton</classname> and <classname>Gtk::DropDown</classname> in the " | ||
19662 | "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 " | ||
19663 | "automatically converted to the string type that <classname>Gio::Settings</" | 19550 | "automatically converted to the string type that <classname>Gio::Settings</" | ||
19664 | "classname> requires." | 19551 | "classname> requires." | ||
19665 | msgstr "" | 19552 | msgstr "" | ||
n | 19666 | "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 " |
19667 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | 19554 | "inställningarna, exempelvis genom att använda kommandoradsverktyget " | ||
19668 | "<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 " | ||
19669 | "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 " | ||
19670 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | 19557 | "inställningsdialog kommer vara en underklass av <classname>Gtk::Dialog</" | ||
19671 | "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 " | ||
19672 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | 19559 | "<classname>ExampleAppWindow</classname>: en <classname>Gtk::Builder</" | ||
n | 19673 | "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." | ||||
19674 | 19565 | ||||
19675 | #. (itstool) path: section/para | 19566 | #. (itstool) path: section/para | ||
19676 | #: C/index-in.docbook:8525 | 19567 | #: C/index-in.docbook:8525 | ||
19677 | #, fuzzy | 19568 | #, fuzzy | ||
19678 | msgid "" | 19569 | msgid "" | ||
19682 | "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." | ||
19683 | msgstr "" | 19574 | msgstr "" | ||
19684 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | 19575 | "När vi skapat filen <filename>prefs.ui</filename> och klassen " | ||
19685 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | 19576 | "<classname>ExampleAppPrefs</classname> besöker vi åter metoden " | ||
19686 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | 19577 | "<methodname>ExampleApplication::on_action_preferences()</methodname> i vår " | ||
n | 19687 | "programklass, och får den öppna en ny inställningsdialog." | n | 19578 | "programklass, och får den att öppna en ny inställningsdialog." |
19688 | 19579 | ||||
19689 | #. (itstool) path: section/programlisting | 19580 | #. (itstool) path: section/programlisting | ||
19690 | #: C/index-in.docbook:8530 | 19581 | #: C/index-in.docbook:8530 | ||
19691 | #, fuzzy, no-wrap | 19582 | #, fuzzy, no-wrap | ||
19692 | #| msgid "" | 19583 | #| msgid "" | ||
20219 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | 20110 | "filename>. Denna fil finns i modulen <literal>gtkmm-documentation</literal> " | ||
20220 | "i GNOME git." | 20111 | "i GNOME git." | ||
20221 | 20112 | ||||
20222 | #. (itstool) path: chapter/para | 20113 | #. (itstool) path: chapter/para | ||
20223 | #: C/index-in.docbook:8760 | 20114 | #: C/index-in.docbook:8760 | ||
n | 20224 | #, fuzzy | n | ||
20225 | msgid "" | 20115 | msgid "" | ||
20226 | "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 " | ||
20227 | "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-" | ||
20228 | "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 " | ||
20229 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | 20119 | "<link xlink:href=\"https://discourse.gnome.org\">Discourse</link> instance, " | ||
20233 | "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, " | ||
20234 | "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, " | ||
20235 | "and copies of this document (including your contribution) may be distributed " | 20125 | "and copies of this document (including your contribution) may be distributed " | ||
20236 | "freely." | 20126 | "freely." | ||
20237 | msgstr "" | 20127 | msgstr "" | ||
n | 20238 | "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 " |
20239 | "för <application>gtkmm</application> på <link xlink:href=\"mailto:gtkmm-" | ||||
20240 | "list@gnome.org\"><gtkmm-list@gnome.org></link> eller som ett ärende " | ||||
20241 | "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 | 20242 | "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 " | ||||
20243 | "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 " | ||
20244 | "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 " | ||
20245 | "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 " | ||
20246 | "fritt." | 20138 | "fritt." | ||
20247 | 20139 | ||||
20248 | #. (itstool) path: appendix/title | 20140 | #. (itstool) path: appendix/title | ||
20249 | #: C/index-in.docbook:8775 | 20141 | #: C/index-in.docbook:8775 | ||
n | 20250 | #, fuzzy | n | ||
20251 | msgid "The RefPtr smartpointer" | 20142 | msgid "The RefPtr smartpointer" | ||
20252 | msgstr "RefPtr-smartpekaren" | 20143 | msgstr "RefPtr-smartpekaren" | ||
20253 | 20144 | ||||
20254 | #. (itstool) path: appendix/para | 20145 | #. (itstool) path: appendix/para | ||
20255 | #: C/index-in.docbook:8777 | 20146 | #: C/index-in.docbook:8777 | ||
20303 | "methods." | 20194 | "methods." | ||
20304 | msgstr "" | 20195 | msgstr "" | ||
20305 | 20196 | ||||
20306 | #. (itstool) path: appendix/para | 20197 | #. (itstool) path: appendix/para | ||
20307 | #: C/index-in.docbook:8802 | 20198 | #: C/index-in.docbook:8802 | ||
n | 20308 | #, fuzzy | n | ||
20309 | #| msgid "" | ||||
20310 | #| "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | ||||
20311 | #| "classGlib_1_1RefPtr.html\">Reference</link>" | ||||
20312 | msgid "" | 20199 | msgid "" | ||
20313 | "<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." | ||
20314 | "html\">Reference</link>" | 20201 | "html\">Reference</link>" | ||
20315 | msgstr "" | 20202 | msgstr "" | ||
n | 20316 | "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 20203 | "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/group__RefPtr." |
20317 | "classGlib_1_1RefPtr.html\">Referens</link>" | 20204 | "html\">Referens</link>" | ||
20318 | 20205 | ||||
20319 | #. (itstool) path: appendix/para | 20206 | #. (itstool) path: appendix/para | ||
20320 | #: C/index-in.docbook:8804 | 20207 | #: C/index-in.docbook:8804 | ||
n | 20321 | #, fuzzy | n | ||
20322 | msgid "" | 20208 | msgid "" | ||
20323 | "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." | ||
20324 | msgstr "" | 20210 | msgstr "" | ||
20325 | "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 " | ||
20326 | "exempel." | 20212 | "exempel." | ||
20438 | "auto refPixbuf = Gdk::Pixbuf::create_from_file(filnamn);\n" | 20324 | "auto refPixbuf = Gdk::Pixbuf::create_from_file(filnamn);\n" | ||
20439 | "auto& underlying = *refPixbuf; // Möjligt, men rekommenderas inte\n" | 20325 | "auto& underlying = *refPixbuf; // Möjligt, men rekommenderas inte\n" | ||
20440 | 20326 | ||||
20441 | #. (itstool) path: section/title | 20327 | #. (itstool) path: section/title | ||
20442 | #: C/index-in.docbook:8845 | 20328 | #: C/index-in.docbook:8845 | ||
n | 20443 | #, fuzzy | n | ||
20444 | msgid "Casting" | 20329 | msgid "Casting" | ||
20445 | msgstr "Typkonvertering" | 20330 | msgstr "Typkonvertering" | ||
20446 | 20331 | ||||
20447 | #. (itstool) path: section/para | 20332 | #. (itstool) path: section/para | ||
20448 | #: C/index-in.docbook:8846 | 20333 | #: C/index-in.docbook:8846 | ||
n | 20449 | #, fuzzy | n | ||
20450 | msgid "" | 20334 | msgid "" | ||
20451 | "You can cast <classname>RefPtr</classname>s to base types, just like normal " | 20335 | "You can cast <classname>RefPtr</classname>s to base types, just like normal " | ||
20452 | "pointers." | 20336 | "pointers." | ||
20453 | msgstr "" | 20337 | msgstr "" | ||
20454 | "Du kan typkonvertera <classname>RefPtr</classname>-pekare till bastyper, " | 20338 | "Du kan typkonvertera <classname>RefPtr</classname>-pekare till bastyper, " | ||
20476 | "would be for a normal pointer." | 20360 | "would be for a normal pointer." | ||
20477 | msgstr "" | 20361 | msgstr "" | ||
20478 | "Detta betyder att alla metoder som tar ett <type>const Glib::RefPtr<" | 20362 | "Detta betyder att alla metoder som tar ett <type>const Glib::RefPtr<" | ||
20479 | "BaseType>&</type>-argument också kan ta en <type>const Glib::" | 20363 | "BaseType>&</type>-argument också kan ta en <type>const Glib::" | ||
20480 | "RefPtr<DerivedType>&</type>. Typkonverteringen är implicit, precis " | 20364 | "RefPtr<DerivedType>&</type>. Typkonverteringen är implicit, precis " | ||
n | 20481 | "som den skulle vara för en vanlig pointer." | n | 20365 | "som den skulle vara för en vanlig pekare." |
20482 | 20366 | ||||
20483 | #. (itstool) path: section/para | 20367 | #. (itstool) path: section/para | ||
20484 | #: C/index-in.docbook:8857 | 20368 | #: C/index-in.docbook:8857 | ||
n | 20485 | #, fuzzy | n | ||
20486 | msgid "" | 20369 | msgid "" | ||
20487 | "You can also cast to a derived type, but the syntax is a little different " | 20370 | "You can also cast to a derived type, but the syntax is a little different " | ||
20488 | "than with a normal pointer." | 20371 | "than with a normal pointer." | ||
20489 | msgstr "" | 20372 | msgstr "" | ||
20490 | "Du kan också typkonvertera till en härledd typ, men syntaxen är lite annars " | 20373 | "Du kan också typkonvertera till en härledd typ, men syntaxen är lite annars " | ||
20542 | " ...\n" | 20425 | " ...\n" | ||
20543 | "}\n" | 20426 | "}\n" | ||
20544 | 20427 | ||||
20545 | #. (itstool) path: section/para | 20428 | #. (itstool) path: section/para | ||
20546 | #: C/index-in.docbook:8878 | 20429 | #: C/index-in.docbook:8878 | ||
n | 20547 | #, fuzzy | n | ||
20548 | msgid "" | 20430 | msgid "" | ||
20549 | "But unlike normal pointers, <classname>RefPtr</classname>s are automatically " | 20431 | "But unlike normal pointers, <classname>RefPtr</classname>s are automatically " | ||
20550 | "initialized to <literal>nullptr</literal> so you don't need to remember to " | 20432 | "initialized to <literal>nullptr</literal> so you don't need to remember to " | ||
20551 | "do that yourself." | 20433 | "do that yourself." | ||
20552 | msgstr "" | 20434 | msgstr "" | ||
20553 | "Men till skillnad från vanliga pekare så initieras <classname>RefPtr</" | 20435 | "Men till skillnad från vanliga pekare så initieras <classname>RefPtr</" | ||
n | 20554 | "classname>-pekare till <literal>nullptr</literal>, så du behöver inte komma " | n | 20436 | "classname>-pekare automatiskt till <literal>nullptr</literal>, så du behöver " |
20555 | "ihåg att göra det själv." | 20437 | "inte komma ihåg att göra det själv." | ||
20556 | 20438 | ||||
20557 | #. (itstool) path: section/title | 20439 | #. (itstool) path: section/title | ||
20558 | #: C/index-in.docbook:8885 | 20440 | #: C/index-in.docbook:8885 | ||
20559 | #, fuzzy | 20441 | #, fuzzy | ||
20560 | msgid "Constness" | 20442 | msgid "Constness" | ||
20758 | "generates a slot for a member method of a particular instance." | 20640 | "generates a slot for a member method of a particular instance." | ||
20759 | msgstr "" | 20641 | msgstr "" | ||
20760 | "<function>sigc::ptr_fun()</function> genererar en <classname>sigc::slot</" | 20642 | "<function>sigc::ptr_fun()</function> genererar en <classname>sigc::slot</" | ||
20761 | "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 " | ||
20762 | "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 | 20763 | "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 " |
20764 | "fristående funktion eller statisk metod. <function>sigc::mem_fun()</" | 20646 | "fristående funktion eller statisk metod. <function>sigc::mem_fun()</" | ||
20765 | "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." | ||
20766 | 20648 | ||||
20767 | #. (itstool) path: section/para | 20649 | #. (itstool) path: section/para | ||
20768 | #: C/index-in.docbook:9003 | 20650 | #: C/index-in.docbook:9003 | ||
21195 | "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 " | ||
21196 | "komponenter kan du vilja att den signalhanteraren erhåller lite extra " | 21078 | "komponenter kan du vilja att den signalhanteraren erhåller lite extra " | ||
21197 | "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å. " | ||
21198 | "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 " | ||
21199 | "från <link linkend=\"sec-helloworld2\">helloworld2</link>-exemplet. <_:" | 21081 | "från <link linkend=\"sec-helloworld2\">helloworld2</link>-exemplet. <_:" | ||
n | 21200 | "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 " |
21201 | "extra <classname>Glib::ustring</classname>-argument till signalhanteraren, " | 21083 | "<classname>Glib::ustring</classname>-argument till signalhanteraren, och att " | ||
21202 | "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 " | ||
21203 | "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: " | ||
21204 | "signalhanterare: <_:programlisting-2/> En vanlig ”clicked”-signalhanterare " | 21086 | "<_:programlisting-2/> En vanlig ”clicked”-signalhanterare skulle förstås " | ||
21205 | "skulle förstås inte ha några argument." | 21087 | "inte ha några argument." | ||
21206 | 21088 | ||||
21207 | #. (itstool) path: section/programlisting | 21089 | #. (itstool) path: section/programlisting | ||
21208 | #: C/index-in.docbook:9206 | 21090 | #: C/index-in.docbook:9206 | ||
21209 | #, fuzzy, no-wrap | 21091 | #, fuzzy, no-wrap | ||
21210 | msgid "" | 21092 | msgid "" | ||
21617 | "}\n" | 21499 | "}\n" | ||
21618 | 21500 | ||||
21619 | #. (itstool) path: section/para | 21501 | #. (itstool) path: section/para | ||
21620 | #: C/index-in.docbook:9383 | 21502 | #: C/index-in.docbook:9383 | ||
21621 | #, fuzzy | 21503 | #, fuzzy | ||
n | 21622 | #| msgid "Using the git version of <application>gtkmm</application>" | n | 21504 | #| msgid "Deprecations in <application>gtkmm</application> 4.10" |
21623 | 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 | 21624 | msgstr "Använda git-versionen av <application>gtkmm</application>" | n | 21506 | msgstr "Föråldringar i <application>gtkmm</application> 4.10" |
21625 | 21507 | ||||
21626 | #. (itstool) path: section/programlisting | 21508 | #. (itstool) path: section/programlisting | ||
21627 | #: C/index-in.docbook:9386 | 21509 | #: C/index-in.docbook:9386 | ||
21628 | #, fuzzy, no-wrap | 21510 | #, fuzzy, no-wrap | ||
21629 | msgid "" | 21511 | msgid "" | ||
21729 | "<application>gdb</application> commands." | 21611 | "<application>gdb</application> commands." | ||
21730 | msgstr "" | 21612 | msgstr "" | ||
21731 | "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 " | ||
21732 | "denna metod vara långrandig. Den kan automatiseras med följande " | 21614 | "denna metod vara långrandig. Den kan automatiseras med följande " | ||
21733 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | 21615 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | ||
n | 21734 | "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 " |
21735 | "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) " | ||
21736 | "<code>throw</code> innan programmet stoppar är den som är intressant." | 21618 | "<code>throw</code> innan programmet stoppar är den som är intressant." | ||
21737 | 21619 | ||||
21738 | #. (itstool) path: section/programlisting | 21620 | #. (itstool) path: section/programlisting | ||
21739 | #: C/index-in.docbook:9429 | 21621 | #: C/index-in.docbook:9429 | ||
21766 | "<code>throw</code> before the program stops, is the interesting one." | 21648 | "<code>throw</code> before the program stops, is the interesting one." | ||
21767 | msgstr "" | 21649 | msgstr "" | ||
21768 | "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 " | ||
21769 | "denna metod vara långrandig. Den kan automatiseras med följande " | 21651 | "denna metod vara långrandig. Den kan automatiseras med följande " | ||
21770 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | 21652 | "<application>gdb</application>-kommandon. <_:programlisting-1/> Dessa " | ||
n | 21771 | "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 " |
21772 | "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) " | ||
21773 | "<code>throw</code> innan programmet stoppar är den som är intressant." | 21655 | "<code>throw</code> innan programmet stoppar är den som är intressant." | ||
21774 | 21656 | ||||
21775 | #. (itstool) path: appendix/title | 21657 | #. (itstool) path: appendix/title | ||
21776 | #: C/index-in.docbook:9446 | 21658 | #: C/index-in.docbook:9446 | ||
21807 | "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 " | ||
21808 | "rena C++-signaler med mallen <classname>sigc::signal<></classname>." | 21690 | "rena C++-signaler med mallen <classname>sigc::signal<></classname>." | ||
21809 | 21691 | ||||
21810 | #. (itstool) path: appendix/para | 21692 | #. (itstool) path: appendix/para | ||
21811 | #: C/index-in.docbook:9461 | 21693 | #: C/index-in.docbook:9461 | ||
n | 21812 | #, fuzzy | n | ||
21813 | msgid "" | 21694 | msgid "" | ||
21814 | "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</" | ||
21815 | "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</" | ||
21816 | "classname>, like so:" | 21697 | "classname>, like so:" | ||
21817 | msgstr "" | 21698 | msgstr "" | ||
21818 | "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 | 21819 | "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::" |
21820 | "signal</classname>, så här:" | 21701 | "signal</classname>, så här:" | ||
21821 | 21702 | ||||
21822 | #. (itstool) path: appendix/programlisting | 21703 | #. (itstool) path: appendix/programlisting | ||
21823 | #: C/index-in.docbook:9466 | 21704 | #: C/index-in.docbook:9466 | ||
21824 | #, fuzzy, no-wrap | 21705 | #, fuzzy, no-wrap | ||
22115 | msgstr "" | 21996 | msgstr "" | ||
22116 | "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/" | ||
22117 | "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://" | ||
22118 | "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>-" | ||
22119 | "filerna i <application>gtkmm</application>, pangomm och glibmm för " | 22000 | "filerna i <application>gtkmm</application>, pangomm och glibmm för " | ||
n | 22120 | "instruktioner om du bygger <application>gtkmm</application> på Windows." | n | 22001 | "instruktioner om hur du bygger <application>gtkmm</application> på Windows." |
22121 | 22002 | ||||
22122 | #. (itstool) path: appendix/title | 22003 | #. (itstool) path: appendix/title | ||
22123 | #: C/index-in.docbook:9597 | 22004 | #: C/index-in.docbook:9597 | ||
22124 | msgid "Working with gtkmm's Source Code" | 22005 | msgid "Working with gtkmm's Source Code" | ||
22125 | msgstr "Arbeta med gtkmm:s källkod" | 22006 | msgstr "Arbeta med gtkmm:s källkod" | ||
22212 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22093 | msgid "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22213 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | 22094 | msgstr "$ cp examples/sample.jhbuildrc ~/.config/jhbuildrc" | ||
22214 | 22095 | ||||
22215 | #. (itstool) path: section/para | 22096 | #. (itstool) path: section/para | ||
22216 | #: C/index-in.docbook:9632 | 22097 | #: C/index-in.docbook:9632 | ||
n | 22217 | #, fuzzy | n | ||
22218 | msgid "" | 22098 | msgid "" | ||
22219 | "To set up <application>jhbuild</application>, follow the basic installation " | 22099 | "To set up <application>jhbuild</application>, follow the basic installation " | ||
22220 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | 22100 | "instructions from the <link xlink:href=\"https://gnome.pages.gitlab.gnome." | ||
22221 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | 22101 | "org/jhbuild/\">jhbuild manual</link>. After you have installed " | ||
22222 | "<application>jhbuild</application>, you should copy the sample " | 22102 | "<application>jhbuild</application>, you should copy the sample " | ||
22223 | "<application>jhbuild</application> configuration file into your home " | 22103 | "<application>jhbuild</application> configuration file into your home " | ||
22224 | "directory by executing the following command from the <application>jhbuild</" | 22104 | "directory by executing the following command from the <application>jhbuild</" | ||
22225 | "application> directory: <_:screen-1/>" | 22105 | "application> directory: <_:screen-1/>" | ||
22226 | msgstr "" | 22106 | msgstr "" | ||
22227 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | 22107 | "Följ de grundläggande installationsinstruktionerna från <link xlink:" | ||
n | 22228 | "href=\"http://developer-old.gnome.org/jhbuild/unstable/\">handboken för " | n | 22108 | "href=\"https://gnome.pages.gitlab.gnome.org/jhbuild/\">handboken för " |
22229 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | 22109 | "jhbuild</link> för att konfigurera <application>jhbuild</application>. Efter " | ||
22230 | "att du har installerat <application>jhbuild</application> bör du kopiera " | 22110 | "att du har installerat <application>jhbuild</application> bör du kopiera " | ||
22231 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | 22111 | "<application>jhbuild</application>-exempelkonfigurationsfilen till din " | ||
22232 | "hemkatalog genom att exekvera följande kommando från katalogen " | 22112 | "hemkatalog genom att exekvera följande kommando från katalogen " | ||
22233 | "<application>jhbuild</application>: <_:screen-1/>" | 22113 | "<application>jhbuild</application>: <_:screen-1/>" | ||
22292 | "kommandoraden. Du kan alltid bygga en annan moduluppsättning senare genom " | 22172 | "kommandoraden. Du kan alltid bygga en annan moduluppsättning senare genom " | ||
22293 | "att ange den på kommandoraden (t.ex. <command>jhbuild build gtkmm</command>)." | 22173 | "att ange den på kommandoraden (t.ex. <command>jhbuild build gtkmm</command>)." | ||
22294 | 22174 | ||||
22295 | #. (itstool) path: important/title | 22175 | #. (itstool) path: important/title | ||
22296 | #: C/index-in.docbook:9664 | 22176 | #: C/index-in.docbook:9664 | ||
n | 22297 | #, fuzzy | n | ||
22298 | msgid "Setting a prefix" | 22177 | msgid "Setting a prefix" | ||
n | 22299 | msgstr "Konfigurera ett prefix" | n | 22178 | msgstr "Sätta ett prefix" |
22300 | 22179 | ||||
22301 | #. (itstool) path: important/para | 22180 | #. (itstool) path: important/para | ||
22302 | #: C/index-in.docbook:9665 | 22181 | #: C/index-in.docbook:9665 | ||
22303 | #, fuzzy | 22182 | #, fuzzy | ||
22304 | msgid "" | 22183 | msgid "" | ||
22472 | "hitta de nya biblioteken. Turligt nog erbjuder <application>jhbuild</" | 22351 | "hitta de nya biblioteken. Turligt nog erbjuder <application>jhbuild</" | ||
22473 | "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 " | ||
22474 | "<command>jhbuild shell</command> kommer starta ett nytt skal med alla " | 22353 | "<command>jhbuild shell</command> kommer starta ett nytt skal med alla " | ||
22475 | "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 " | ||
22476 | "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 | 22477 | "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 " |
22478 | "du helt enkelt <application>jhbuild</application>-skalet." | 22357 | "du helt enkelt <application>jhbuild</application>-skalet." | ||
22479 | 22358 | ||||
22480 | #. (itstool) path: section/para | 22359 | #. (itstool) path: section/para | ||
22481 | #: C/index-in.docbook:9747 | 22360 | #: C/index-in.docbook:9747 | ||
22482 | #, fuzzy | 22361 | #, fuzzy | ||
22500 | "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 " | ||
22501 | "returnera till din föregående miljö efter programmet avslutas." | 22380 | "returnera till din föregående miljö efter programmet avslutas." | ||
22502 | 22381 | ||||
22503 | #. (itstool) path: appendix/title | 22382 | #. (itstool) path: appendix/title | ||
22504 | #: C/index-in.docbook:9764 | 22383 | #: C/index-in.docbook:9764 | ||
n | 22505 | #, fuzzy | n | ||
22506 | msgid "Wrapping C Libraries with gmmproc" | 22384 | msgid "Wrapping C Libraries with gmmproc" | ||
22507 | msgstr "Omsluta C-bibliotek med gmmproc" | 22385 | msgstr "Omsluta C-bibliotek med gmmproc" | ||
22508 | 22386 | ||||
22509 | #. (itstool) path: appendix/para | 22387 | #. (itstool) path: appendix/para | ||
22510 | #: C/index-in.docbook:9766 | 22388 | #: C/index-in.docbook:9766 | ||
22552 | "av verktyg som <command>gmmproc</command> och <filename>generate_wrap_init." | 22430 | "av verktyg som <command>gmmproc</command> och <filename>generate_wrap_init." | ||
22553 | "pl</filename> som är inkluderade i <application>glibmm</application>. I " | 22431 | "pl</filename> som är inkluderade i <application>glibmm</application>. I " | ||
22554 | "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 " | ||
22555 | "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 " | ||
22556 | "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 | 22557 | "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 " |
22558 | "exempel att titta på." | 22436 | "exempel att titta på." | ||
22559 | 22437 | ||||
22560 | #. (itstool) path: section/para | 22438 | #. (itstool) path: section/para | ||
22561 | #: C/index-in.docbook:9786 | 22439 | #: C/index-in.docbook:9786 | ||
22562 | #, fuzzy | 22440 | #, fuzzy | ||
22610 | " $ git clone https://gitlab.gnome.org/GNOME/mm-common.git\n" | 22488 | " $ git clone https://gitlab.gnome.org/GNOME/mm-common.git\n" | ||
22611 | " $ cp -a mm-common/skeletonmm libsomethingmm\n" | 22489 | " $ cp -a mm-common/skeletonmm libsomethingmm\n" | ||
22612 | 22490 | ||||
22613 | #. (itstool) path: listitem/para | 22491 | #. (itstool) path: listitem/para | ||
22614 | #: C/index-in.docbook:9808 | 22492 | #: C/index-in.docbook:9808 | ||
n | 22615 | #, fuzzy | n | ||
22616 | msgid "<filename>libsomethingmm</filename>: The top-level directory." | 22493 | msgid "<filename>libsomethingmm</filename>: The top-level directory." | ||
22617 | msgstr "<filename>libsomethingmm</filename>: Toppnivåkatalogen." | 22494 | msgstr "<filename>libsomethingmm</filename>: Toppnivåkatalogen." | ||
22618 | 22495 | ||||
22619 | #. (itstool) path: listitem/para | 22496 | #. (itstool) path: listitem/para | ||
22620 | #: C/index-in.docbook:9810 | 22497 | #: C/index-in.docbook:9810 | ||
22631 | msgid "<filename>src</filename>: Contains .hg and .ccg source files." | 22508 | msgid "<filename>src</filename>: Contains .hg and .ccg source files." | ||
22632 | msgstr "<filename>src</filename>: Innehåller .hg- och .ccg-källfiler." | 22509 | msgstr "<filename>src</filename>: Innehåller .hg- och .ccg-källfiler." | ||
22633 | 22510 | ||||
22634 | #. (itstool) path: listitem/para | 22511 | #. (itstool) path: listitem/para | ||
22635 | #: C/index-in.docbook:9813 | 22512 | #: C/index-in.docbook:9813 | ||
n | 22636 | #, fuzzy | n | ||
22637 | msgid "" | 22513 | msgid "" | ||
22638 | "<filename>libsomethingmm</filename>: Contains hand-written .h and .cc files." | 22514 | "<filename>libsomethingmm</filename>: Contains hand-written .h and .cc files." | ||
22639 | msgstr "" | 22515 | msgstr "" | ||
22640 | "<filename>libsomethingmm</filename>: Innehåller handskrivna .h- och .cc-" | 22516 | "<filename>libsomethingmm</filename>: Innehåller handskrivna .h- och .cc-" | ||
22641 | "filer." | 22517 | "filer." | ||
22705 | "files with the same name but without the <filename>.in</filename> suffix, by " | 22581 | "files with the same name but without the <filename>.in</filename> suffix, by " | ||
22706 | "replacing some variables with actual values during the configure stage." | 22582 | "replacing some variables with actual values during the configure stage." | ||
22707 | msgstr "" | 22583 | msgstr "" | ||
22708 | "Observera att filer som slutar med <filename>.in</filename> kommer användas " | 22584 | "Observera att filer som slutar med <filename>.in</filename> kommer användas " | ||
22709 | "för att generera filer med samma namn men utan ändelsen <filename>.in</" | 22585 | "för att generera filer med samma namn men utan ändelsen <filename>.in</" | ||
n | 22710 | "filename>, gemp, att ersätta några variabler med faktiska värden under " | n | 22586 | "filename>, genom att ersätta några variabler med faktiska värden under " |
22711 | "konfigurationssteget." | 22587 | "konfigurationssteget." | ||
22712 | 22588 | ||||
22713 | #. (itstool) path: section/para | 22589 | #. (itstool) path: section/para | ||
22714 | #: C/index-in.docbook:9833 | 22590 | #: C/index-in.docbook:9833 | ||
22715 | #, fuzzy | 22591 | #, fuzzy | ||
22831 | "<filename>skeleton/meson.build</filename>: Kanske inte mycket att ändra här " | 22707 | "<filename>skeleton/meson.build</filename>: Kanske inte mycket att ändra här " | ||
22832 | "förutom de globala namnsubstitutionerna." | 22708 | "förutom de globala namnsubstitutionerna." | ||
22833 | 22709 | ||||
22834 | #. (itstool) path: listitem/para | 22710 | #. (itstool) path: listitem/para | ||
22835 | #: C/index-in.docbook:9879 | 22711 | #: C/index-in.docbook:9879 | ||
n | 22836 | #, fuzzy | n | ||
22837 | msgid "<filename>skeleton/skeletonmm/meson.build</filename>" | 22712 | msgid "<filename>skeleton/skeletonmm/meson.build</filename>" | ||
22838 | msgstr "<filename>skeleton/skeletonmm/meson.build</filename>" | 22713 | msgstr "<filename>skeleton/skeletonmm/meson.build</filename>" | ||
22839 | 22714 | ||||
22840 | #. (itstool) path: varlistentry/term | 22715 | #. (itstool) path: varlistentry/term | ||
22841 | #: C/index-in.docbook:9882 | 22716 | #: C/index-in.docbook:9882 | ||
22843 | msgid "<varname>defs_basefiles</varname>" | 22718 | msgid "<varname>defs_basefiles</varname>" | ||
22844 | msgstr "<varname>defs_basefiles</varname>" | 22719 | msgstr "<varname>defs_basefiles</varname>" | ||
22845 | 22720 | ||||
22846 | #. (itstool) path: listitem/para | 22721 | #. (itstool) path: listitem/para | ||
22847 | #: C/index-in.docbook:9883 | 22722 | #: C/index-in.docbook:9883 | ||
n | 22848 | #, fuzzy | n | ||
22849 | msgid "If we have more .defs and docs.xml files, we add them here." | 22723 | msgid "If we have more .defs and docs.xml files, we add them here." | ||
22850 | msgstr "Om vi har fler .defs- och docs.xml-filer så lägger vi till dem här." | 22724 | msgstr "Om vi har fler .defs- och docs.xml-filer så lägger vi till dem här." | ||
22851 | 22725 | ||||
22852 | #. (itstool) path: varlistentry/term | 22726 | #. (itstool) path: varlistentry/term | ||
22853 | #: C/index-in.docbook:9887 | 22727 | #: C/index-in.docbook:9887 | ||
23064 | "glibmm:s <filename>tools/defs_gen</filename>-katalog. Till exempel," | 22938 | "glibmm:s <filename>tools/defs_gen</filename>-katalog. Till exempel," | ||
23065 | 22939 | ||||
23066 | #. (itstool) path: section/programlisting | 22940 | #. (itstool) path: section/programlisting | ||
23067 | #: C/index-in.docbook:9968 | 22941 | #: C/index-in.docbook:9968 | ||
23068 | #, 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" | ||||
23069 | msgid "" | 22946 | msgid "" | ||
23070 | "<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" | ||
23071 | "</code>" | 22948 | "</code>" | ||
23072 | msgstr "" | 22949 | msgstr "" | ||
23073 | "\n" | 22950 | "\n" | ||
23094 | "filename>-katalog. Till exempel," | 22971 | "filename>-katalog. Till exempel," | ||
23095 | 22972 | ||||
23096 | #. (itstool) path: section/programlisting | 22973 | #. (itstool) path: section/programlisting | ||
23097 | #: C/index-in.docbook:9979 | 22974 | #: C/index-in.docbook:9979 | ||
23098 | #, 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" | ||||
23099 | msgid "" | 22979 | msgid "" | ||
23100 | "<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" | ||
23101 | "</code>" | 22981 | "</code>" | ||
23102 | msgstr "" | 22982 | msgstr "" | ||
23103 | "\n" | 22983 | "\n" | ||
23124 | "extra_defs_gen/</filename>. Till exempel" | 23004 | "extra_defs_gen/</filename>. Till exempel" | ||
23125 | 23005 | ||||
23126 | #. (itstool) path: section/programlisting | 23006 | #. (itstool) path: section/programlisting | ||
23127 | #: C/index-in.docbook:9991 | 23007 | #: C/index-in.docbook:9991 | ||
23128 | #, 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" | ||||
23129 | msgid "" | 23013 | msgid "" | ||
23130 | "<code>$ cd tools/extra_defs_gen\n" | 23014 | "<code>$ cd tools/extra_defs_gen\n" | ||
23131 | "$ ./generate_extra_defs > gtk_signals.defs\n" | 23015 | "$ ./generate_extra_defs > gtk_signals.defs\n" | ||
23132 | "</code>" | 23016 | "</code>" | ||
23133 | msgstr "" | 23017 | msgstr "" | ||
23150 | msgstr "" | 23034 | msgstr "" | ||
23151 | "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</" | ||
23152 | "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 " | ||
23153 | "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 " | ||
23154 | "namnet <filename>tools/extra_defs_gen/generate_defs_skeleton.cc</filename>. " | 23038 | "namnet <filename>tools/extra_defs_gen/generate_defs_skeleton.cc</filename>. " | ||
n | 23155 | "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 " |
23156 | "bindning ersätter platshållaren <varname>skeleton</varname>. Filen " | 23040 | "bindning ersätter platshållaren <varname>skeleton</varname>. Filen " | ||
23157 | "<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 " | ||
23158 | "nya källfilnamnet." | 23042 | "nya källfilnamnet." | ||
23159 | 23043 | ||||
23160 | #. (itstool) path: section/para | 23044 | #. (itstool) path: section/para | ||
23168 | "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:" | ||
23169 | 23053 | ||||
23170 | #. (itstool) path: section/programlisting | 23054 | #. (itstool) path: section/programlisting | ||
23171 | #: C/index-in.docbook:10004 | 23055 | #: C/index-in.docbook:10004 | ||
23172 | #, 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" | ||||
23173 | msgid "" | 23071 | msgid "" | ||
23174 | "<code>#include <glibmm_generate_extra_defs/generate_extra_defs.h>\n" | 23072 | "<code>#include <glibmm_generate_extra_defs/generate_extra_defs.h>\n" | ||
23175 | "#include <libsomething.h>\n" | 23073 | "#include <libsomething.h>\n" | ||
23176 | "#include <iostream>\n" | 23074 | "#include <iostream>\n" | ||
23177 | "\n" | 23075 | "\n" | ||
23227 | msgstr ".hg- och .ccg-filerna" | 23125 | msgstr ".hg- och .ccg-filerna" | ||
23228 | 23126 | ||||
23229 | #. (itstool) path: section/para | 23127 | #. (itstool) path: section/para | ||
23230 | #: C/index-in.docbook:10034 | 23128 | #: C/index-in.docbook:10034 | ||
23231 | #, 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." | ||||
23232 | msgid "" | 23137 | msgid "" | ||
23233 | "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 " | ||
23234 | "role=\"nowrap\">C++</phrase> source files, but they contain extra macros, " | 23139 | "role=\"nowrap\">C++</phrase> source files, but they contain extra macros, " | ||
23235 | "such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</" | 23140 | "such as <function>_CLASS_GOBJECT()</function> and <function>_WRAP_METHOD()</" | ||
23236 | "function>, from which <command>gmmproc</command> generates appropriate " | 23141 | "function>, from which <command>gmmproc</command> generates appropriate " | ||
23237 | "<phrase role=\"nowrap\">C++</phrase> source code, usually at the same " | 23142 | "<phrase role=\"nowrap\">C++</phrase> source code, usually at the same " | ||
23238 | "position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> " | 23143 | "position in the header. Any additional <phrase role=\"nowrap\">C++</phrase> " | ||
23239 | "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." | ||
23240 | msgstr "" | 23145 | msgstr "" | ||
n | 23241 | ".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 " |
23242 | "innehåller extra makron som <function>_CLASS_GOBJECT()</function> och " | 23147 | "innehåller extra makron som <function>_CLASS_GOBJECT()</function> och " | ||
23243 | "<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> " | 23148 | "<function>_WRAP_METHOD()</function> från vilka <command>gmmproc</command> " | ||
23244 | "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 " | ||
23245 | "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 ." | ||
23246 | "cc-fil." | 23151 | "cc-fil." | ||
23674 | "<varname>gobject_</varname>, typedefs, the <function>gobj()</function> " | 23579 | "<varname>gobject_</varname>, typedefs, the <function>gobj()</function> " | ||
23675 | "accessors, type registration, and the <function>Glib::wrap()</function> " | 23580 | "accessors, type registration, and the <function>Glib::wrap()</function> " | ||
23676 | "method, among other things." | 23581 | "method, among other things." | ||
23677 | msgstr "" | 23582 | msgstr "" | ||
23678 | "Klassmakrot deklarerar själva klassen och dess relation med den " | 23583 | "Klassmakrot deklarerar själva klassen och dess relation med den " | ||
n | 23679 | "inderliggande C-typen. Det genererar några interna konstruktorer, " | n | 23584 | "underliggande C-typen. Det genererar några interna konstruktorer, " |
23680 | "medlemmarnas <varname>gobject_</varname>, typedef, <function>gobj()</" | 23585 | "medlemmarnas <varname>gobject_</varname>, typedef, <function>gobj()</" | ||
23681 | "function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</" | 23586 | "function>-åtkommarna, typregistrering och metoden <function>Glib::wrap()</" | ||
23682 | "function> med mera." | 23587 | "function> med mera." | ||
23683 | 23588 | ||||
23684 | #. (itstool) path: section/para | 23589 | #. (itstool) path: section/para | ||
23685 | #: C/index-in.docbook:10193 | 23590 | #: C/index-in.docbook:10193 | ||
n | 23686 | #, fuzzy | n | ||
23687 | msgid "" | 23591 | msgid "" | ||
23688 | "Other macros, such as <function>_WRAP_METHOD()</function> and " | 23592 | "Other macros, such as <function>_WRAP_METHOD()</function> and " | ||
23689 | "<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 " | ||
23690 | "<function>_CLASS_*</function> macro." | 23594 | "<function>_CLASS_*</function> macro." | ||
23691 | msgstr "" | 23595 | msgstr "" | ||
n | 23692 | "Andra makron, som <function>_WRAP_METHOD()</function> and " | n | 23596 | "Andra makron, som <function>_WRAP_METHOD()</function> och " |
23693 | "<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 " | ||
23694 | "ett <function>_CLASS_*</function>-makro." | 23598 | "ett <function>_CLASS_*</function>-makro." | ||
23695 | 23599 | ||||
23696 | #. (itstool) path: section/para | 23600 | #. (itstool) path: section/para | ||
23697 | #: C/index-in.docbook:10196 | 23601 | #: C/index-in.docbook:10196 | ||
23757 | msgid "_CLASS_GTKOBJECT" | 23661 | msgid "_CLASS_GTKOBJECT" | ||
23758 | msgstr "_CLASS_GTKOBJECT" | 23662 | msgstr "_CLASS_GTKOBJECT" | ||
23759 | 23663 | ||||
23760 | #. (itstool) path: section/para | 23664 | #. (itstool) path: section/para | ||
23761 | #: C/index-in.docbook:10218 | 23665 | #: C/index-in.docbook:10218 | ||
n | 23762 | #, fuzzy | n | ||
23763 | msgid "" | 23666 | msgid "" | ||
23764 | "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 " | ||
23765 | "<classname>Gtk::Object</classname>, such as a widget or dialog." | 23668 | "<classname>Gtk::Object</classname>, such as a widget or dialog." | ||
23766 | msgstr "" | 23669 | msgstr "" | ||
23767 | "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 " | ||
23768 | "<classname>Gtk::Object</classname>, som en komponent eller dialogruta." | 23671 | "<classname>Gtk::Object</classname>, som en komponent eller dialogruta." | ||
23769 | 23672 | ||||
23770 | #. (itstool) path: section/para | 23673 | #. (itstool) path: section/para | ||
23771 | #: C/index-in.docbook:10220 | 23674 | #: C/index-in.docbook:10220 | ||
23772 | #, 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>" | ||||
23773 | msgid "" | 23679 | msgid "" | ||
23774 | "<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 " | ||
23775 | "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 )</" | ||
23776 | "function>" | 23682 | "function>" | ||
23777 | msgstr "" | 23683 | msgstr "" | ||
23808 | "wrapping a GTK Widget, because <classname>Gtk::Widget</classname> derives " | 23714 | "wrapping a GTK Widget, because <classname>Gtk::Widget</classname> derives " | ||
23809 | "from <classname>Gtk::Object</classname>." | 23715 | "from <classname>Gtk::Object</classname>." | ||
23810 | msgstr "" | 23716 | msgstr "" | ||
23811 | "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 " | ||
23812 | "<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 | 23813 | "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 " |
23814 | "från <classname>Gtk::Object</classname>." | 23720 | "från <classname>Gtk::Object</classname>." | ||
23815 | 23721 | ||||
23816 | #. (itstool) path: section/para | 23722 | #. (itstool) path: section/para | ||
23817 | #: C/index-in.docbook:10230 | 23723 | #: C/index-in.docbook:10230 | ||
23818 | #, fuzzy | 23724 | #, fuzzy | ||
23933 | "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 " | ||
23934 | "default constructor, copy constructor and destructor." | 23840 | "default constructor, copy constructor and destructor." | ||
23935 | msgstr "" | 23841 | msgstr "" | ||
23936 | "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- " | ||
23937 | "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 | 23938 | "att instansiera standardkonstruktorn, konstructor och destruktor för copy." | n | 23844 | "att instansiera standardkonstruktorn, konstruktor och destruktor för copy." |
23939 | 23845 | ||||
23940 | #. (itstool) path: section/para | 23846 | #. (itstool) path: section/para | ||
23941 | #: C/index-in.docbook:10271 | 23847 | #: C/index-in.docbook:10271 | ||
23942 | #, fuzzy | 23848 | #, fuzzy | ||
23943 | msgid "" | 23849 | msgid "" | ||
24225 | "constructor with the same argument types. It takes a <phrase " | 24131 | "constructor with the same argument types. It takes a <phrase " | ||
24226 | "role=\"nowrap\">C++</phrase> constructor signature, and a C function name." | 24132 | "role=\"nowrap\">C++</phrase> constructor signature, and a C function name." | ||
24227 | msgstr "" | 24133 | msgstr "" | ||
24228 | "Detta makro skapar en konstruktor med argument, motsvarande en " | 24134 | "Detta makro skapar en konstruktor med argument, motsvarande en " | ||
24229 | "<function>*_new()</function>-funktion i C. Den kommer inte faktiskt anropa " | 24135 | "<function>*_new()</function>-funktion i C. Den kommer inte faktiskt anropa " | ||
n | 24230 | "<function>*_new()</function>-funktionen, utan kommer helt skapa en " | n | 24136 | "<function>*_new()</function>-funktionen, utan kommer helt enkelt skapa en " |
24231 | "motsvarande konstruktor med samma argumenttyper. Den tar en C++-" | 24137 | "motsvarande konstruktor med samma argumenttyper. Den tar en C++-" | ||
24232 | "konstruktorsignatur och ett C-funktionsnamn." | 24138 | "konstruktorsignatur och ett C-funktionsnamn." | ||
24233 | 24139 | ||||
24234 | #. (itstool) path: varlistentry/term | 24140 | #. (itstool) path: varlistentry/term | ||
24235 | #: C/index-in.docbook:10376 C/index-in.docbook:10887 | 24141 | #: C/index-in.docbook:10376 C/index-in.docbook:10887 | ||
24247 | "Detta säger till <command>gmmproc</command> att <function>*_new()</function> " | 24153 | "Detta säger till <command>gmmproc</command> att <function>*_new()</function> " | ||
24248 | "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." | ||
24249 | 24155 | ||||
24250 | #. (itstool) path: section/para | 24156 | #. (itstool) path: section/para | ||
24251 | #: C/index-in.docbook:10373 | 24157 | #: C/index-in.docbook:10373 | ||
n | 24252 | #, fuzzy | n | ||
24253 | msgid "It also takes an optional extra argument: <_:variablelist-1/>" | 24158 | msgid "It also takes an optional extra argument: <_:variablelist-1/>" | ||
n | 24254 | msgstr "Den tar också ett valfritt extra argument: <_:variablelist-1/>" | n | 24159 | msgstr "Det tar också ett valfritt extra argument: <_:variablelist-1/>" |
24255 | 24160 | ||||
24256 | #. (itstool) path: section/title | 24161 | #. (itstool) path: section/title | ||
24257 | #: C/index-in.docbook:10387 | 24162 | #: C/index-in.docbook:10387 | ||
24258 | msgid "Hand-coding constructors" | 24163 | msgid "Hand-coding constructors" | ||
24259 | msgstr "Koda konstruktorer för hand" | 24164 | msgstr "Koda konstruktorer för hand" | ||
24271 | "property names and values. For instance, from <filename>button.ccg</" | 24176 | "property names and values. For instance, from <filename>button.ccg</" | ||
24272 | "filename>:" | 24177 | "filename>:" | ||
24273 | msgstr "" | 24178 | msgstr "" | ||
24274 | "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, " | ||
24275 | "<function>*_new()</function>-funktionens parametrar i C inte direkt " | 24180 | "<function>*_new()</function>-funktionens parametrar i C inte direkt " | ||
n | 24276 | "motsvarar objektegenskaper, eller flr att because the <function>*_new()</" | n | 24181 | "motsvarar objektegenskaper, eller för att <function>*_new()</function>-" |
24277 | "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å " | ||
24278 | "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 " | ||
24279 | "filen för att spara lite arbete. Makrot <function>_CONSTRUCT</function> tar " | 24184 | "spara lite arbete. Makrot <function>_CONSTRUCT</function> tar en serie " | ||
24280 | "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>:" | ||
24281 | "filename>:" | ||||
24282 | 24186 | ||||
24283 | #. (itstool) path: section/programlisting | 24187 | #. (itstool) path: section/programlisting | ||
24284 | #: C/index-in.docbook:10397 | 24188 | #: C/index-in.docbook:10397 | ||
24285 | #, fuzzy, no-wrap | 24189 | #, fuzzy, no-wrap | ||
24286 | msgid "" | 24190 | msgid "" | ||
24296 | " _CONSTRUCT(\"label\", label.c_str(), \"use_underline\", gboolean(mnemonic))\n | 24200 | " _CONSTRUCT(\"label\", label.c_str(), \"use_underline\", gboolean(mnemonic))\n | ||
> | " | > | " | ||
24297 | "{}\n" | 24201 | "{}\n" | ||
24298 | 24202 | ||||
24299 | #. (itstool) path: section/title | 24203 | #. (itstool) path: section/title | ||
24300 | #: C/index-in.docbook:10407 | 24204 | #: C/index-in.docbook:10407 | ||
n | 24301 | #, fuzzy | n | ||
24302 | msgid "Macros that suppress generation of some code" | 24205 | msgid "Macros that suppress generation of some code" | ||
n | 24303 | msgstr "Makron som åsidosätter generering av viss kod" | n | 24206 | msgstr "Makron som undertrycker generering av viss kod" |
24304 | 24207 | ||||
24305 | #. (itstool) path: section/para | 24208 | #. (itstool) path: section/para | ||
24306 | #: C/index-in.docbook:10409 | 24209 | #: C/index-in.docbook:10409 | ||
n | 24307 | #, fuzzy | n | ||
24308 | msgid "" | 24210 | msgid "" | ||
24309 | "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 " | ||
24310 | "<function>_CLASS_*</function> macro. Some suppress the definition in the " | 24212 | "<function>_CLASS_*</function> macro. Some suppress the definition in the " | ||
24311 | "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 " | ||
24312 | "the definition in the .cc file." | 24214 | "the definition in the .cc file." | ||
24313 | msgstr "" | 24215 | msgstr "" | ||
n | 24314 | "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 " |
24315 | "<function>_CLASS_*</function>-makro. Vissa åsidosätter definitionen i den " | 24217 | "<function>_CLASS_*</function>-makro. Vissa undertrycker definitionen i den " | ||
24316 | "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 " | ||
24317 | "definitionen i .cc-filen." | 24219 | "definitionen i .cc-filen." | ||
24318 | 24220 | ||||
24319 | #. (itstool) path: section/title | 24221 | #. (itstool) path: section/title | ||
24320 | #: C/index-in.docbook:10416 | 24222 | #: C/index-in.docbook:10416 | ||
24321 | msgid "_CUSTOM_DEFAULT_CTOR" | 24223 | msgid "_CUSTOM_DEFAULT_CTOR" | ||
24322 | msgstr "_CUSTOM_DEFAULT_CTOR" | 24224 | msgstr "_CUSTOM_DEFAULT_CTOR" | ||
24323 | 24225 | ||||
24324 | #. (itstool) path: section/para | 24226 | #. (itstool) path: section/para | ||
24325 | #: C/index-in.docbook:10418 | 24227 | #: C/index-in.docbook:10418 | ||
n | 24326 | #, fuzzy | n | ||
24327 | msgid "" | 24228 | msgid "" | ||
24328 | "Suppresses declaration and definition of default constructor in " | 24229 | "Suppresses declaration and definition of default constructor in " | ||
24329 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | 24230 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | ||
24330 | "function> and <function>_CLASS_OPAQUE_COPYABLE</function>." | 24231 | "function> and <function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24331 | msgstr "" | 24232 | msgstr "" | ||
n | 24332 | "Åsidosätter deklaration och definition av standardkonstruktor i " | n | 24233 | "Undertrycker deklaration och definition av standardkonstruktorn i " |
24333 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | 24234 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | ||
24334 | "function> och <function>_CLASS_OPAQUE_COPYABLE</function>." | 24235 | "function> och <function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24335 | 24236 | ||||
24336 | #. (itstool) path: section/title | 24237 | #. (itstool) path: section/title | ||
24337 | #: C/index-in.docbook:10425 | 24238 | #: C/index-in.docbook:10425 | ||
24344 | msgid "" | 24245 | msgid "" | ||
24345 | "Suppresses declaration and definition of the constructor that takes a " | 24246 | "Suppresses declaration and definition of the constructor that takes a " | ||
24346 | "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 " | ||
24347 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | 24248 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | ||
24348 | msgstr "" | 24249 | msgstr "" | ||
n | 24349 | "Åsidosätter deklaration och definition av konstruktorn som tar en pekare " | n | 24250 | "Undertrycker deklaration och definition av konstruktorn som tar en pekare " |
24350 | "till det omslutna C-objektet i <function>_CLASS_BOXEDTYPE</function> och " | 24251 | "till det omslutna C-objektet i <function>_CLASS_BOXEDTYPE</function> och " | ||
24351 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | 24252 | "<function>_CLASS_BOXEDTYPE_STATIC</function>." | ||
24352 | 24253 | ||||
24353 | #. (itstool) path: section/para | 24254 | #. (itstool) path: section/para | ||
24354 | #: C/index-in.docbook:10431 | 24255 | #: C/index-in.docbook:10431 | ||
24356 | msgid "" | 24257 | msgid "" | ||
24357 | "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 " | ||
24358 | "C object in <function>_CLASS_INTERFACE</function> and " | 24259 | "C object in <function>_CLASS_INTERFACE</function> and " | ||
24359 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | 24260 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24360 | msgstr "" | 24261 | msgstr "" | ||
n | 24361 | "Å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 " |
24362 | "objektet i <function>_CLASS_INTERFACE</function> och " | 24263 | "C-objektet i <function>_CLASS_INTERFACE</function> och " | ||
24363 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | 24264 | "<function>_CLASS_OPAQUE_COPYABLE</function>." | ||
24364 | 24265 | ||||
24365 | #. (itstool) path: section/para | 24266 | #. (itstool) path: section/para | ||
24366 | #: C/index-in.docbook:10435 | 24267 | #: C/index-in.docbook:10435 | ||
24367 | #, fuzzy | 24268 | #, fuzzy | ||
24369 | "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 " | ||
24370 | "C object and the constructor that takes construct_params in " | 24271 | "C object and the constructor that takes construct_params in " | ||
24371 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | 24272 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | ||
24372 | "function>." | 24273 | "function>." | ||
24373 | msgstr "" | 24274 | msgstr "" | ||
n | 24374 | "Å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 " |
24375 | "objektet och konstruktorn som tar construct_params i " | 24276 | "C-objektet och konstruktorn som tar construct_params i " | ||
24376 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | 24277 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | ||
24377 | "function>." | 24278 | "function>." | ||
24378 | 24279 | ||||
24379 | #. (itstool) path: section/title | 24280 | #. (itstool) path: section/title | ||
24380 | #: C/index-in.docbook:10442 | 24281 | #: C/index-in.docbook:10442 | ||
24381 | msgid "_CUSTOM_DTOR" | 24282 | msgid "_CUSTOM_DTOR" | ||
24382 | msgstr "_CUSTOM_DTOR" | 24283 | msgstr "_CUSTOM_DTOR" | ||
24383 | 24284 | ||||
24384 | #. (itstool) path: section/para | 24285 | #. (itstool) path: section/para | ||
24385 | #: C/index-in.docbook:10444 | 24286 | #: C/index-in.docbook:10444 | ||
n | 24386 | #, fuzzy | n | ||
24387 | msgid "" | 24287 | msgid "" | ||
24388 | "Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> " | 24288 | "Suppresses definition of destructor in <function>_CLASS_GOBJECT</function> " | ||
24389 | "and <function>_CLASS_GTKOBJECT</function>." | 24289 | "and <function>_CLASS_GTKOBJECT</function>." | ||
24390 | msgstr "" | 24290 | msgstr "" | ||
n | 24391 | "Åsidosätter definition av destruktorn i <function>_CLASS_GOBJECT</function> " | n | 24291 | "Undertrycker definition av destruktorn i <function>_CLASS_GOBJECT</function> " |
24392 | "and <function>_CLASS_GTKOBJECT</function>." | 24292 | "och <function>_CLASS_GTKOBJECT</function>." | ||
24393 | 24293 | ||||
24394 | #. (itstool) path: section/title | 24294 | #. (itstool) path: section/title | ||
24395 | #: C/index-in.docbook:10450 | 24295 | #: C/index-in.docbook:10450 | ||
24396 | msgid "_CUSTOM_MOVE_OPERATIONS" | 24296 | msgid "_CUSTOM_MOVE_OPERATIONS" | ||
24397 | msgstr "_CUSTOM_MOVE_OPERATIONS" | 24297 | msgstr "_CUSTOM_MOVE_OPERATIONS" | ||
24402 | msgid "" | 24302 | msgid "" | ||
24403 | "Suppresses declaration and definition of move constructor and move " | 24303 | "Suppresses declaration and definition of move constructor and move " | ||
24404 | "assignment operator in <function>_CLASS_GOBJECT</function> and " | 24304 | "assignment operator in <function>_CLASS_GOBJECT</function> and " | ||
24405 | "<function>_CLASS_GTKOBJECT</function>." | 24305 | "<function>_CLASS_GTKOBJECT</function>." | ||
24406 | msgstr "" | 24306 | msgstr "" | ||
n | 24407 | "Åsidosätter deklaration och definition av move-konstruktor och move-" | n | 24307 | "Undertrycker deklaration och definition av move-konstruktor och move-" |
24408 | "tilldelningsoperator i <function>_CLASS_GOBJECT</function> och " | 24308 | "tilldelningsoperator i <function>_CLASS_GOBJECT</function> och " | ||
24409 | "<function>_CLASS_GTKOBJECT</function>." | 24309 | "<function>_CLASS_GTKOBJECT</function>." | ||
24410 | 24310 | ||||
24411 | #. (itstool) path: section/para | 24311 | #. (itstool) path: section/para | ||
24412 | #: C/index-in.docbook:10456 | 24312 | #: C/index-in.docbook:10456 | ||
24448 | msgid "_CUSTOM_WRAP_NEW" | 24348 | msgid "_CUSTOM_WRAP_NEW" | ||
24449 | msgstr "_CUSTOM_WRAP_NEW" | 24349 | msgstr "_CUSTOM_WRAP_NEW" | ||
24450 | 24350 | ||||
24451 | #. (itstool) path: section/para | 24351 | #. (itstool) path: section/para | ||
24452 | #: C/index-in.docbook:10474 | 24352 | #: C/index-in.docbook:10474 | ||
n | 24453 | #, fuzzy | n | ||
24454 | msgid "" | 24353 | msgid "" | ||
24455 | "Suppresses definition of <function>Glib::wrap_new()</function> function in " | 24354 | "Suppresses definition of <function>Glib::wrap_new()</function> function in " | ||
24456 | "<function>_CLASS_GOBJECT</function>." | 24355 | "<function>_CLASS_GOBJECT</function>." | ||
24457 | msgstr "" | 24356 | msgstr "" | ||
n | 24458 | "Åsidosätter definition av <function>Glib::wrap_new()</function>-funktionen i " | n | 24357 | "Undertrycker definition av <function>Glib::wrap_new()</function>-funktionen " |
24459 | "<function>_CLASS_GOBJECT</function>." | 24358 | "i <function>_CLASS_GOBJECT</function>." | ||
24460 | 24359 | ||||
24461 | #. (itstool) path: section/title | 24360 | #. (itstool) path: section/title | ||
24462 | #: C/index-in.docbook:10480 | 24361 | #: C/index-in.docbook:10480 | ||
24463 | msgid "_CUSTOM_WRAP_FUNCTION" | 24362 | msgid "_CUSTOM_WRAP_FUNCTION" | ||
24464 | msgstr "_CUSTOM_WRAP_FUNCTION" | 24363 | msgstr "_CUSTOM_WRAP_FUNCTION" | ||
24465 | 24364 | ||||
24466 | #. (itstool) path: section/para | 24365 | #. (itstool) path: section/para | ||
24467 | #: C/index-in.docbook:10482 | 24366 | #: C/index-in.docbook:10482 | ||
n | 24468 | #, fuzzy | n | ||
24469 | msgid "" | 24367 | msgid "" | ||
24470 | "Suppresses definition of <function>Glib::wrap()</function> function in " | 24368 | "Suppresses definition of <function>Glib::wrap()</function> function in " | ||
24471 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | 24369 | "<function>_CLASS_GOBJECT</function> and <function>_CLASS_GTKOBJECT</" | ||
24472 | "function>." | 24370 | "function>." | ||
24473 | msgstr "" | 24371 | msgstr "" | ||
n | 24474 | "Åsidosätter definition av <function>Glib::wrap()</function>-funktionen i " | n | 24372 | "Undertrycker definition av <function>Glib::wrap()</function>-funktionen i " |
24475 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | 24373 | "<function>_CLASS_GOBJECT</function> och <function>_CLASS_GTKOBJECT</" | ||
24476 | "function>." | 24374 | "function>." | ||
24477 | 24375 | ||||
24478 | #. (itstool) path: section/title | 24376 | #. (itstool) path: section/title | ||
24479 | #: C/index-in.docbook:10488 | 24377 | #: C/index-in.docbook:10488 | ||
24480 | msgid "_NO_WRAP_FUNCTION" | 24378 | msgid "_NO_WRAP_FUNCTION" | ||
24481 | msgstr "_NO_WRAP_FUNCTION" | 24379 | msgstr "_NO_WRAP_FUNCTION" | ||
24482 | 24380 | ||||
24483 | #. (itstool) path: section/para | 24381 | #. (itstool) path: section/para | ||
24484 | #: C/index-in.docbook:10490 | 24382 | #: C/index-in.docbook:10490 | ||
n | 24485 | #, fuzzy | n | ||
24486 | msgid "" | 24383 | msgid "" | ||
24487 | "Suppresses declaration and definition of <function>Glib::wrap()</function> " | 24384 | "Suppresses declaration and definition of <function>Glib::wrap()</function> " | ||
24488 | "function in <function>_CLASS_GOBJECT</function>, <function>_CLASS_BOXEDTYPE</" | 24385 | "function in <function>_CLASS_GOBJECT</function>, <function>_CLASS_BOXEDTYPE</" | ||
24489 | "function>, <function>_CLASS_BOXEDTYPE_STATIC</function>, " | 24386 | "function>, <function>_CLASS_BOXEDTYPE_STATIC</function>, " | ||
24490 | "<function>_CLASS_OPAQUE_COPYABLE</function>, <function>_CLASS_INTERFACE</" | 24387 | "<function>_CLASS_OPAQUE_COPYABLE</function>, <function>_CLASS_INTERFACE</" | ||
24491 | "function> and <function>_CLASS_GTKOBJECT</function>." | 24388 | "function> and <function>_CLASS_GTKOBJECT</function>." | ||
24492 | msgstr "" | 24389 | msgstr "" | ||
n | 24493 | "Åsidosätter deklaration och definition av <function>Glib::wrap()</function>-" | n | 24390 | "Undertrycker deklaration och definition av <function>Glib::wrap()</function>-" |
24494 | "funktionen i <function>_CLASS_GOBJECT</function>, " | 24391 | "funktionen i <function>_CLASS_GOBJECT</function>, " | ||
24495 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | 24392 | "<function>_CLASS_BOXEDTYPE</function>, <function>_CLASS_BOXEDTYPE_STATIC</" | ||
24496 | "function>, <function>_CLASS_OPAQUE_COPYABLE</function>, " | 24393 | "function>, <function>_CLASS_OPAQUE_COPYABLE</function>, " | ||
24497 | "<function>_CLASS_INTERFACE</function> och <function>_CLASS_GTKOBJECT</" | 24394 | "<function>_CLASS_INTERFACE</function> och <function>_CLASS_GTKOBJECT</" | ||
24498 | "function>." | 24395 | "function>." | ||
24572 | "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-" | ||
24573 | "funktionen inte tillhandahåller en referens." | 24470 | "funktionen inte tillhandahåller en referens." | ||
24574 | 24471 | ||||
24575 | #. (itstool) path: varlistentry/term | 24472 | #. (itstool) path: varlistentry/term | ||
24576 | #: C/index-in.docbook:10526 C/index-in.docbook:10656 | 24473 | #: C/index-in.docbook:10526 C/index-in.docbook:10656 | ||
n | 24577 | #, fuzzy | n | ||
24578 | msgid "errthrow [\"<exceptions>\"]" | 24474 | msgid "errthrow [\"<exceptions>\"]" | ||
24579 | msgstr "errthrow [\"<undantag>\"]" | 24475 | msgstr "errthrow [\"<undantag>\"]" | ||
24580 | 24476 | ||||
24581 | #. (itstool) path: listitem/para | 24477 | #. (itstool) path: listitem/para | ||
24582 | #: C/index-in.docbook:10528 | 24478 | #: C/index-in.docbook:10528 | ||
24599 | "Hello\\, world, Glib::ConvertError\"</code>" | 24495 | "Hello\\, world, Glib::ConvertError\"</code>" | ||
24600 | 24496 | ||||
24601 | #. (itstool) path: varlistentry/term | 24497 | #. (itstool) path: varlistentry/term | ||
24602 | #: 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 | ||
24603 | #: C/index-in.docbook:11074 | 24499 | #: C/index-in.docbook:11074 | ||
n | 24604 | #, fuzzy | n | ||
24605 | msgid "deprecated [\"<text>\"]" | 24500 | msgid "deprecated [\"<text>\"]" | ||
24606 | msgstr "deprecated [\"<text>\"]" | 24501 | msgstr "deprecated [\"<text>\"]" | ||
24607 | 24502 | ||||
24608 | #. (itstool) path: listitem/para | 24503 | #. (itstool) path: listitem/para | ||
24609 | #: 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 | ||
24610 | #: C/index-in.docbook:11076 | 24505 | #: C/index-in.docbook:11076 | ||
n | 24611 | #, fuzzy | n | ||
24612 | msgid "" | 24506 | msgid "" | ||
24613 | "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 " | ||
24614 | "specified as an optional parameter." | 24508 | "specified as an optional parameter." | ||
24615 | msgstr "" | 24509 | msgstr "" | ||
24616 | "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 " | ||
24617 | "som en valfri parameter." | 24511 | "som en valfri parameter." | ||
24618 | 24512 | ||||
24619 | #. (itstool) path: varlistentry/term | 24513 | #. (itstool) path: varlistentry/term | ||
24620 | #: C/index-in.docbook:10547 | 24514 | #: C/index-in.docbook:10547 | ||
n | 24621 | #, fuzzy | n | ||
24622 | msgid "ignore_deprecations" | 24515 | msgid "ignore_deprecations" | ||
24623 | msgstr "ignore_deprecations" | 24516 | msgstr "ignore_deprecations" | ||
24624 | 24517 | ||||
24625 | #. (itstool) path: listitem/para | 24518 | #. (itstool) path: listitem/para | ||
24626 | #: C/index-in.docbook:10549 | 24519 | #: C/index-in.docbook:10549 | ||
n | 24627 | #, fuzzy | n | ||
24628 | msgid "" | 24520 | msgid "" | ||
24629 | "Puts the generated code in the .cc file in a " | 24521 | "Puts the generated code in the .cc file in a " | ||
24630 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS block. " | 24522 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS block. " | ||
24631 | "(Only in glibmm >= 2.70.1)" | 24523 | "(Only in glibmm >= 2.70.1)" | ||
24632 | msgstr "" | 24524 | msgstr "" | ||
24634 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS-block. " | 24526 | "G_GNUC_BEGIN_IGNORE_DEPRECATIONS / G_GNUC_END_IGNORE_DEPRECATIONS-block. " | ||
24635 | "(Endast i glibmm >= 2.70.1)" | 24527 | "(Endast i glibmm >= 2.70.1)" | ||
24636 | 24528 | ||||
24637 | #. (itstool) path: varlistentry/term | 24529 | #. (itstool) path: varlistentry/term | ||
24638 | #: C/index-in.docbook:10555 | 24530 | #: C/index-in.docbook:10555 | ||
n | 24639 | #, fuzzy | n | ||
24640 | msgid "constversion" | 24531 | msgid "constversion" | ||
24641 | msgstr "constversion" | 24532 | msgstr "constversion" | ||
24642 | 24533 | ||||
24643 | #. (itstool) path: listitem/para | 24534 | #. (itstool) path: listitem/para | ||
24644 | #: C/index-in.docbook:10557 | 24535 | #: C/index-in.docbook:10557 | ||
24668 | "@newin-kommandot som genererats från C-dokumentationen." | 24559 | "@newin-kommandot som genererats från C-dokumentationen." | ||
24669 | 24560 | ||||
24670 | #. (itstool) path: varlistentry/term | 24561 | #. (itstool) path: varlistentry/term | ||
24671 | #: 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 | ||
24672 | #: C/index-in.docbook:10996 | 24563 | #: C/index-in.docbook:10996 | ||
n | 24673 | #, fuzzy | n | ||
24674 | msgid "ifdef <identifier>" | 24564 | msgid "ifdef <identifier>" | ||
24675 | msgstr "ifdef <identifierare>" | 24565 | msgstr "ifdef <identifierare>" | ||
24676 | 24566 | ||||
24677 | #. (itstool) path: listitem/para | 24567 | #. (itstool) path: listitem/para | ||
24678 | #: 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 | ||
24718 | "function that the method wraps." | 24608 | "function that the method wraps." | ||
24719 | msgstr "" | 24609 | msgstr "" | ||
24720 | "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 " | ||
24721 | "ange namnet på limåteranropsfunktionen som hanterar extrahering av facket " | 24611 | "ange namnet på limåteranropsfunktionen som hanterar extrahering av facket " | ||
24722 | "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 | 24723 | "funktioen som metoden omsluter." | n | 24613 | "funktionen som metoden omsluter." |
24724 | 24614 | ||||
24725 | #. (itstool) path: varlistentry/term | 24615 | #. (itstool) path: varlistentry/term | ||
24726 | #: C/index-in.docbook:10597 C/index-in.docbook:10937 | 24616 | #: C/index-in.docbook:10597 C/index-in.docbook:10937 | ||
24727 | msgid "no_slot_copy" | 24617 | msgid "no_slot_copy" | ||
24728 | msgstr "no_slot_copy" | 24618 | msgstr "no_slot_copy" | ||
24806 | "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 " | ||
24807 | "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 " | ||
24808 | "on the function rather than the type. For instance:" | 24698 | "on the function rather than the type. For instance:" | ||
24809 | msgstr "" | 24699 | msgstr "" | ||
24810 | "Omsluta <classname>GList*</classname>- och <classname>GSList*</classname>-" | 24700 | "Omsluta <classname>GList*</classname>- och <classname>GSList*</classname>-" | ||
n | 24811 | "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 " |
24812 | "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 " | ||
24813 | "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 " | ||
24814 | "ägarskapet (none, shallow eller deep) för m4-konverteringsregeln, vilket du " | 24704 | "ägarskapet (none, shallow eller deep) för m4-konverteringsregeln, vilket du " | ||
24815 | "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 " | ||
24816 | "snarare än typen. Till exempel: <_:programlisting-1/>" | 24706 | "snarare än typen. Till exempel: <_:programlisting-1/>" | ||
24817 | 24707 | ||||
24818 | #. (itstool) path: listitem/programlisting | 24708 | #. (itstool) path: listitem/programlisting | ||
24819 | #: C/index-in.docbook:10637 | 24709 | #: C/index-in.docbook:10637 | ||
24820 | #, 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)')" | ||||
24821 | 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>" | ||
24822 | 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)')" | ||
24823 | 24714 | ||||
24824 | #. (itstool) path: section/para | 24715 | #. (itstool) path: section/para | ||
24825 | #: C/index-in.docbook:10608 | 24716 | #: C/index-in.docbook:10608 | ||
24910 | "wrapped C function returns a value, but the corresponding <phrase " | 24801 | "wrapped C function returns a value, but the corresponding <phrase " | ||
24911 | "role=\"nowrap\">C++</phrase> method returns <type>void</type>." | 24802 | "role=\"nowrap\">C++</phrase> method returns <type>void</type>." | ||
24912 | msgstr "" | 24803 | msgstr "" | ||
24913 | "Inkludera inte ett @return-Doxygenkommando i dokumentationen. Användbart om " | 24804 | "Inkludera inte ett @return-Doxygenkommando i dokumentationen. Användbart om " | ||
24914 | "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 | 24915 | "metoden returerar <type>void</type>." | n | 24806 | "metoden returnerar <type>void</type>." |
24916 | 24807 | ||||
24917 | #. (itstool) path: section/title | 24808 | #. (itstool) path: section/title | ||
24918 | #: C/index-in.docbook:10688 | 24809 | #: C/index-in.docbook:10688 | ||
24919 | msgid "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | 24810 | msgid "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | ||
24920 | msgstr "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | 24811 | msgstr "_IGNORE, _IGNORE_SIGNAL, _IGNORE_PROPERTY" | ||
24938 | "kan du använda makrona _IGNORE(), _IGNORE_SIGNAL() eller _IGNORE_PROPERTY() " | 24829 | "kan du använda makrona _IGNORE(), _IGNORE_SIGNAL() eller _IGNORE_PROPERTY() " | ||
24939 | "för att få <command>gmmproc</command> att sluta klaga." | 24830 | "för att få <command>gmmproc</command> att sluta klaga." | ||
24940 | 24831 | ||||
24941 | #. (itstool) path: para/literallayout | 24832 | #. (itstool) path: para/literallayout | ||
24942 | #: C/index-in.docbook:10698 | 24833 | #: C/index-in.docbook:10698 | ||
n | 24943 | #, fuzzy, no-wrap | n | 24834 | #, no-wrap |
24944 | msgid "" | 24835 | msgid "" | ||
24945 | "<function>_IGNORE(C function name 1, C function name 2, etc)\n" | 24836 | "<function>_IGNORE(C function name 1, C function name 2, etc)\n" | ||
24946 | "_IGNORE_SIGNAL(C signal name 1, C signal name 2, etc)\n" | 24837 | "_IGNORE_SIGNAL(C signal name 1, C signal name 2, etc)\n" | ||
24947 | "_IGNORE_PROPERTY(C property name 1, C property name 2, etc)</function>" | 24838 | "_IGNORE_PROPERTY(C property name 1, C property name 2, etc)</function>" | ||
24948 | msgstr "" | 24839 | msgstr "" | ||
25008 | msgstr "Till exempel, från <filename>button.hg</filename>:" | 24899 | msgstr "Till exempel, från <filename>button.hg</filename>:" | ||
25009 | 24900 | ||||
25010 | #. (itstool) path: section/programlisting | 24901 | #. (itstool) path: section/programlisting | ||
25011 | #: C/index-in.docbook:10719 | 24902 | #: C/index-in.docbook:10719 | ||
25012 | #, fuzzy, no-wrap | 24903 | #, fuzzy, no-wrap | ||
n | n | 24904 | #| msgid "" | ||
24905 | #| "\n" | ||||
24906 | #| "_WRAP_SIGNAL(void clicked(),\"clicked\")\n" | ||||
25013 | msgid "" | 24907 | msgid "" | ||
25014 | "<code>_WRAP_SIGNAL(void clicked(),\"clicked\")\n" | 24908 | "<code>_WRAP_SIGNAL(void clicked(),\"clicked\")\n" | ||
25015 | "</code>" | 24909 | "</code>" | ||
25016 | msgstr "" | 24910 | msgstr "" | ||
25017 | "\n" | 24911 | "\n" | ||
25033 | msgid "no_default_handler" | 24927 | msgid "no_default_handler" | ||
25034 | msgstr "no_default_handler" | 24928 | msgstr "no_default_handler" | ||
25035 | 24929 | ||||
25036 | #. (itstool) path: listitem/para | 24930 | #. (itstool) path: listitem/para | ||
25037 | #: C/index-in.docbook:10729 | 24931 | #: C/index-in.docbook:10729 | ||
n | 25038 | #, fuzzy | n | ||
25039 | msgid "" | 24932 | msgid "" | ||
25040 | "Do not generate an <function>on_something()</function> virtual method to " | 24933 | "Do not generate an <function>on_something()</function> virtual method to " | ||
25041 | "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 " | ||
25042 | "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 " | ||
25043 | "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 " | ||
25044 | "a public C default handler." | 24937 | "a public C default handler." | ||
25045 | msgstr "" | 24938 | msgstr "" | ||
25046 | "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 " | ||
25047 | "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 | 25048 | "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 " |
25049 | "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 " | ||
25050 | "en signal utan en öppen C-standardhanterare." | 24943 | "en signal utan en öppen C-standardhanterare." | ||
25051 | 24944 | ||||
25052 | #. (itstool) path: varlistentry/term | 24945 | #. (itstool) path: varlistentry/term | ||
25053 | #: C/index-in.docbook:10738 | 24946 | #: C/index-in.docbook:10738 | ||
25094 | "virtuella metoden <function>on_something()</function>, ifall C-funktionen " | 24987 | "virtuella metoden <function>on_something()</function>, ifall C-funktionen " | ||
25095 | "inte tillhandahåller en referens." | 24988 | "inte tillhandahåller en referens." | ||
25096 | 24989 | ||||
25097 | #. (itstool) path: varlistentry/term | 24990 | #. (itstool) path: varlistentry/term | ||
25098 | #: C/index-in.docbook:10782 C/index-in.docbook:10963 | 24991 | #: C/index-in.docbook:10782 C/index-in.docbook:10963 | ||
n | 25099 | #, fuzzy | n | ||
25100 | msgid "exception_handler <method_name>" | 24992 | msgid "exception_handler <method_name>" | ||
25101 | msgstr "exception_handler <metodnamn>" | 24993 | msgstr "exception_handler <metodnamn>" | ||
25102 | 24994 | ||||
25103 | #. (itstool) path: listitem/para | 24995 | #. (itstool) path: listitem/para | ||
25104 | #: C/index-in.docbook:10784 C/index-in.docbook:10965 | 24996 | #: C/index-in.docbook:10784 C/index-in.docbook:10965 | ||
25112 | "standard. Undantag kan kastas igen av användardefinierade hanteraren och " | 25004 | "standard. Undantag kan kastas igen av användardefinierade hanteraren och " | ||
25113 | "kommer fångas av standardhanteraren." | 25005 | "kommer fångas av standardhanteraren." | ||
25114 | 25006 | ||||
25115 | #. (itstool) path: varlistentry/term | 25007 | #. (itstool) path: varlistentry/term | ||
25116 | #: C/index-in.docbook:10790 | 25008 | #: C/index-in.docbook:10790 | ||
n | 25117 | #, fuzzy | n | ||
25118 | msgid "detail_name <parameter_name>" | 25009 | msgid "detail_name <parameter_name>" | ||
25119 | msgstr "detail_name <parameternamn>" | 25010 | msgstr "detail_name <parameternamn>" | ||
25120 | 25011 | ||||
25121 | #. (itstool) path: listitem/para | 25012 | #. (itstool) path: listitem/para | ||
25122 | #: C/index-in.docbook:10792 | 25013 | #: C/index-in.docbook:10792 | ||
25182 | msgstr "<function>_WRAP_PROPERTY(C-egenskapsnamn, C++-typ)</function>" | 25073 | msgstr "<function>_WRAP_PROPERTY(C-egenskapsnamn, C++-typ)</function>" | ||
25183 | 25074 | ||||
25184 | #. (itstool) path: section/programlisting | 25075 | #. (itstool) path: section/programlisting | ||
25185 | #: C/index-in.docbook:10823 | 25076 | #: C/index-in.docbook:10823 | ||
25186 | #, fuzzy, no-wrap | 25077 | #, fuzzy, no-wrap | ||
n | n | 25078 | #| msgid "" | ||
25079 | #| "\n" | ||||
25080 | #| "_WRAP_PROPERTY(\"label\", Glib::ustring)\n" | ||||
25187 | msgid "" | 25081 | msgid "" | ||
25188 | "<code>_WRAP_PROPERTY(\"label\", Glib::ustring)\n" | 25082 | "<code>_WRAP_PROPERTY(\"label\", Glib::ustring)\n" | ||
25189 | "</code>" | 25083 | "</code>" | ||
25190 | msgstr "" | 25084 | msgstr "" | ||
25191 | "\n" | 25085 | "\n" | ||
25298 | #, fuzzy | 25192 | #, fuzzy | ||
25299 | msgid "" | 25193 | msgid "" | ||
25300 | "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) " | ||
25301 | "to throw an exception." | 25195 | "to throw an exception." | ||
25302 | msgstr "" | 25196 | msgstr "" | ||
n | 25303 | "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 " |
25304 | "finns någon) för att kasta ett undantag." | 25198 | "finns någon) för att kasta ett undantag." | ||
25305 | 25199 | ||||
25306 | #. (itstool) path: varlistentry/term | 25200 | #. (itstool) path: varlistentry/term | ||
25307 | #: C/index-in.docbook:10894 | 25201 | #: C/index-in.docbook:10894 | ||
25308 | msgid "custom_vfunc" | 25202 | msgid "custom_vfunc" | ||
25476 | "enums should be registered as GTypes." | 25370 | "enums should be registered as GTypes." | ||
25477 | msgstr "" | 25371 | msgstr "" | ||
25478 | "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</" | ||
25479 | "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()</" | ||
25480 | "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 | 25481 | "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å " |
25482 | "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 " | ||
25483 | "GType-typer." | 25377 | "GType-typer." | ||
25484 | 25378 | ||||
25485 | #. (itstool) path: listitem/para | 25379 | #. (itstool) path: listitem/para | ||
25486 | #: C/index-in.docbook:11023 | 25380 | #: C/index-in.docbook:11023 | ||
25514 | "_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n" | 25408 | "_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags, NO_GTYPE)\n" | ||
25515 | " " | 25409 | " " | ||
25516 | 25410 | ||||
25517 | #. (itstool) path: varlistentry/term | 25411 | #. (itstool) path: varlistentry/term | ||
25518 | #: C/index-in.docbook:11032 | 25412 | #: C/index-in.docbook:11032 | ||
n | 25519 | #, fuzzy | n | ||
25520 | msgid "gtype_func <function_name>" | 25413 | msgid "gtype_func <function_name>" | ||
25521 | msgstr "gtype_func <funktionsnamn>" | 25414 | msgstr "gtype_func <funktionsnamn>" | ||
25522 | 25415 | ||||
25523 | #. (itstool) path: listitem/para | 25416 | #. (itstool) path: listitem/para | ||
25524 | #: C/index-in.docbook:11034 | 25417 | #: C/index-in.docbook:11034 | ||
25653 | "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 " | ||
25654 | "same options (though NO_GTYPE, gtype_func <function_name> and " | 25547 | "same options (though NO_GTYPE, gtype_func <function_name> and " | ||
25655 | "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 " | ||
25656 | "the enum's documentation)." | 25549 | "the enum's documentation)." | ||
25657 | msgstr "" | 25550 | msgstr "" | ||
n | 25658 | "Detta makro genererar bara ett Doxygen-documentationsblock för uppräkningen. " | n | 25551 | "Detta makro genererar bara ett Doxygen-dokumentationsblock för uppräkningen. " |
25659 | "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 " | ||
25660 | "<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 " | ||
25661 | "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 " | ||
25662 | "genererade uppräkningsdokumentationen. Det används med samma syntax som " | 25555 | "genererade uppräkningsdokumentationen. Det används med samma syntax som " | ||
25663 | "<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även " | 25556 | "<function>_WRAP_ENUM()</function> och bearbetar även samma alternativ (även " | ||
25664 | "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 | 25665 | "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 " |
25666 | "genereras)." | 25559 | "genereras)." | ||
25667 | 25560 | ||||
25668 | #. (itstool) path: section/title | 25561 | #. (itstool) path: section/title | ||
25669 | #: C/index-in.docbook:11106 | 25562 | #: C/index-in.docbook:11106 | ||
25670 | msgid "_WRAP_GERROR" | 25563 | msgid "_WRAP_GERROR" | ||
25804 | "hg</filename>:" | 25697 | "hg</filename>:" | ||
25805 | 25698 | ||||
25806 | #. (itstool) path: section/programlisting | 25699 | #. (itstool) path: section/programlisting | ||
25807 | #: C/index-in.docbook:11146 | 25700 | #: C/index-in.docbook:11146 | ||
25808 | #, 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" | ||||
25809 | msgid "" | 25706 | msgid "" | ||
25810 | "<code>// _MEMBER_GET_PTR(engine_lang, lang_engine, EngineLang*, PangoEngineLang | 25707 | "<code>// _MEMBER_GET_PTR(engine_lang, lang_engine, EngineLang*, PangoEngineLang | ||
> | *)\n" | > | *)\n" | ||
25811 | "// 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" | ||
25812 | "</code>" | 25709 | "</code>" | ||
25813 | msgstr "" | 25710 | msgstr "" | ||
25852 | msgstr "Till exempel, i Pangomm, <filename>layoutline.hg</filename>:" | 25749 | msgstr "Till exempel, i Pangomm, <filename>layoutline.hg</filename>:" | ||
25853 | 25750 | ||||
25854 | #. (itstool) path: section/programlisting | 25751 | #. (itstool) path: section/programlisting | ||
25855 | #: C/index-in.docbook:11161 | 25752 | #: C/index-in.docbook:11161 | ||
25856 | #, fuzzy, no-wrap | 25753 | #, fuzzy, no-wrap | ||
n | n | 25754 | #| msgid "" | ||
25755 | #| "\n" | ||||
25756 | #| "_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | ||||
25857 | msgid "" | 25757 | msgid "" | ||
25858 | "<code>_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | 25758 | "<code>_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | ||
25859 | "</code>" | 25759 | "</code>" | ||
25860 | msgstr "" | 25760 | msgstr "" | ||
25861 | "\n" | 25761 | "\n" | ||
25862 | "_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | 25762 | "_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n" | ||
25863 | 25763 | ||||
25864 | #. (itstool) path: section/title | 25764 | #. (itstool) path: section/title | ||
25865 | #: C/index-in.docbook:11168 | 25765 | #: C/index-in.docbook:11168 | ||
n | 25866 | #, fuzzy | n | ||
25867 | msgid "gmmproc Parameter Processing" | 25766 | msgid "gmmproc Parameter Processing" | ||
25868 | msgstr "Parameterbearbetning med gmmproc" | 25767 | msgstr "Parameterbearbetning med gmmproc" | ||
25869 | 25768 | ||||
25870 | #. (itstool) path: section/para | 25769 | #. (itstool) path: section/para | ||
25871 | #: C/index-in.docbook:11169 | 25770 | #: C/index-in.docbook:11169 | ||
25881 | "<function>_WRAP_METHOD()</function>, <function>_WRAP_CTOR()</function> och " | 25780 | "<function>_WRAP_METHOD()</function>, <function>_WRAP_CTOR()</function> och " | ||
25882 | "<function>_WRAP_CREATE()</function>) på ett antal sätt:" | 25781 | "<function>_WRAP_CREATE()</function>) på ett antal sätt:" | ||
25883 | 25782 | ||||
25884 | #. (itstool) path: section/title | 25783 | #. (itstool) path: section/title | ||
25885 | #: C/index-in.docbook:11176 | 25784 | #: C/index-in.docbook:11176 | ||
n | 25886 | #, fuzzy | n | ||
25887 | msgid "Parameter Reordering" | 25785 | msgid "Parameter Reordering" | ||
25888 | msgstr "Ändra ordning på parametrar" | 25786 | msgstr "Ändra ordning på parametrar" | ||
25889 | 25787 | ||||
25890 | #. (itstool) path: section/para | 25788 | #. (itstool) path: section/para | ||
25891 | #: C/index-in.docbook:11178 | 25789 | #: C/index-in.docbook:11178 | ||
25980 | "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 " | ||
25981 | "skrivet för tillfället." | 25879 | "skrivet för tillfället." | ||
25982 | 25880 | ||||
25983 | #. (itstool) path: section/title | 25881 | #. (itstool) path: section/title | ||
25984 | #: C/index-in.docbook:11217 | 25882 | #: C/index-in.docbook:11217 | ||
n | 25985 | #, fuzzy | n | ||
25986 | msgid "Optional Parameter Processing" | 25883 | msgid "Optional Parameter Processing" | ||
25987 | msgstr "Valfri parameterbearbetning" | 25884 | msgstr "Valfri parameterbearbetning" | ||
25988 | 25885 | ||||
25989 | #. (itstool) path: section/para | 25886 | #. (itstool) path: section/para | ||
25990 | #: C/index-in.docbook:11219 | 25887 | #: C/index-in.docbook:11219 | ||
26148 | "<parameter>out_mime_type</parameter>:" | 26045 | "<parameter>out_mime_type</parameter>:" | ||
26149 | msgstr "" | 26046 | msgstr "" | ||
26150 | 26047 | ||||
26151 | #. (itstool) path: section/programlisting | 26048 | #. (itstool) path: section/programlisting | ||
26152 | #: C/index-in.docbook:11279 | 26049 | #: C/index-in.docbook:11279 | ||
n | 26153 | #, 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" | ||||
26154 | msgid "" | 26055 | msgid "" | ||
26155 | "<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | 26056 | "<code>GInputStream* gdk_clipboard_read_finish(GdkClipboard* clipboard,\n" | ||
26156 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | 26057 | " GAsyncResult* result, const char** out_mime_type, GError** error)\n" | ||
26157 | "</code>" | 26058 | "</code>" | ||
26158 | 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" | ||||
26159 | 26063 | ||||
26160 | #. (itstool) path: section/para | 26064 | #. (itstool) path: section/para | ||
26161 | #: C/index-in.docbook:11282 | 26065 | #: C/index-in.docbook:11282 | ||
26162 | msgid "" | 26066 | msgid "" | ||
26163 | "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 " | ||
26166 | "macro could be used:" | 26070 | "macro could be used:" | ||
26167 | msgstr "" | 26071 | msgstr "" | ||
26168 | 26072 | ||||
26169 | #. (itstool) path: section/programlisting | 26073 | #. (itstool) path: section/programlisting | ||
26170 | #: C/index-in.docbook:11286 | 26074 | #: C/index-in.docbook:11286 | ||
n | 26171 | #, no-wrap | n | 26075 | #, fuzzy, no-wrap |
26172 | msgid "" | 26076 | msgid "" | ||
26173 | "<code>\n" | 26077 | "<code>\n" | ||
26174 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | 26078 | "_WRAP_METHOD(Glib::RefPtr<Gio::InputStream> read_finish(\n" | ||
26175 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | 26079 | " const Glib::RefPtr<Gio::AsyncResult>& result,\n" | ||
26176 | " 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" | ||
26177 | "</code>" | 26081 | "</code>" | ||
26178 | 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" | ||||
26179 | 26087 | ||||
26180 | #. (itstool) path: section/para | 26088 | #. (itstool) path: section/para | ||
26181 | #: C/index-in.docbook:11291 | 26089 | #: C/index-in.docbook:11291 | ||
26182 | #, fuzzy | 26090 | #, fuzzy | ||
26183 | msgid "" | 26091 | msgid "" | ||
26193 | "char**</classname> such as the following:" | 26101 | "char**</classname> such as the following:" | ||
26194 | msgstr "" | 26102 | msgstr "" | ||
26195 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | 26103 | "<function>_WRAP_METHOD()</function> stöder också att sätta C++-" | ||
26196 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | 26104 | "utdataparametrar från C- utdataparametrar om den omslutna C-funktionen har " | ||
26197 | "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 | 26198 | "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</" |
26199 | "programlisting-1/> För att <command>gmmproc</command> ska placera det " | 26107 | "parameter>: <_:programlisting-1/> För att <command>gmmproc</command> ska " | ||
26200 | "returnerade värdet i C++-utdataparametern <parameter>rect</parameter> ska " | 26108 | "placera det returnerade värdet i C++-utdataparametern " | ||
26201 | "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 " | ||
26202 | "användas: <_:programlisting-2/> Den <literal>{>>}</literal> som följer " | 26110 | "<function>_WRAP_METHOD()</function>-makro användas: <_:programlisting-2/> " | ||
26203 | "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 " | ||||
26204 | "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. " | ||
26205 | "C-funktionen. <command>gmmproc</command> kommer att generera en deklaration " | 26114 | "<command>gmmproc</command> kommer att generera en deklaration av en temporär " | ||
26206 | "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++-" | ||
26207 | "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 " | ||
26208 | "vara nödvändigt att ha en <function>_INITIALIZATION()</function> som " | 26117 | "nödvändigt att ha en <function>_INITIALIZATION()</function> som beskriver " | ||
26209 | "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 " | ||
26210 | "en <classname>GdkRectangle*</classname> som i det följande: <_:" | 26119 | "<classname>const char**</classname> som i det följande: <_:programlisting-3/>" | ||
26211 | "programlisting-3/>" | ||||
26212 | 26120 | ||||
26213 | #. (itstool) path: section/programlisting | 26121 | #. (itstool) path: section/programlisting | ||
26214 | #: C/index-in.docbook:11301 | 26122 | #: C/index-in.docbook:11301 | ||
26215 | #, fuzzy, no-wrap | 26123 | #, fuzzy, no-wrap | ||
26216 | #| msgid "" | 26124 | #| msgid "" | ||
26217 | #| "\n" | 26125 | #| "\n" | ||
n | 26218 | #| "_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" | ||||
26219 | msgid "" | 26127 | msgid "" | ||
26220 | "<code>\n" | 26128 | "<code>\n" | ||
26221 | "_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" | ||
26222 | "</code>" | 26130 | "</code>" | ||
26223 | msgstr "" | 26131 | msgstr "" | ||
26224 | "\n" | 26132 | "\n" | ||
n | 26225 | "_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" | ||||
26226 | 26134 | ||||
26227 | #. (itstool) path: section/title | 26135 | #. (itstool) path: section/title | ||
26228 | #: C/index-in.docbook:11307 | 26136 | #: C/index-in.docbook:11307 | ||
26229 | #, fuzzy | 26137 | #, fuzzy | ||
26230 | msgid "String Parameter Processing" | 26138 | msgid "String Parameter Processing" | ||
26292 | "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 " | ||
26293 | "ett blanksteg: <literal>{c_param_name NULL}</literal>." | 26201 | "ett blanksteg: <literal>{c_param_name NULL}</literal>." | ||
26294 | 26202 | ||||
26295 | #. (itstool) path: section/title | 26203 | #. (itstool) path: section/title | ||
26296 | #: C/index-in.docbook:11338 | 26204 | #: C/index-in.docbook:11338 | ||
n | 26297 | #, fuzzy | n | ||
26298 | msgid "Basic Types" | 26205 | msgid "Basic Types" | ||
26299 | msgstr "Grundläggande typer" | 26206 | msgstr "Grundläggande typer" | ||
26300 | 26207 | ||||
26301 | #. (itstool) path: section/para | 26208 | #. (itstool) path: section/para | ||
26302 | #: C/index-in.docbook:11339 | 26209 | #: C/index-in.docbook:11339 | ||
26303 | #, 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." | ||||
26304 | msgid "" | 26217 | msgid "" | ||
26305 | "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 " | ||
26306 | "<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 " | ||
26307 | "<type>gboolean</type> type since <phrase role=\"nowrap\">C++</phrase> has " | 26220 | "<type>gboolean</type> type since <phrase role=\"nowrap\">C++</phrase> has " | ||
26308 | "<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 " | ||
26420 | "and <application>gtkmm</application>) and call your generated " | 26333 | "and <application>gtkmm</application>) and call your generated " | ||
26421 | "<function>wrap_init()</function> function. For instance:" | 26334 | "<function>wrap_init()</function> function. For instance:" | ||
26422 | msgstr "" | 26335 | msgstr "" | ||
26423 | "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 " | ||
26424 | "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 | 26425 | "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 " |
26426 | "<function>init()</function>-funktion som du kan placera i handkodade " | 26339 | "<function>init()</function>-funktion som du kan placera i handkodade " | ||
26427 | "<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna " | 26340 | "<filename>init.h</filename>- och <filename>init.cc</filename>-filer. Denna " | ||
n | 26428 | "funktion ska initiera dina beroenden (som C funktionen and " | n | 26341 | "funktion ska initiera dina beroenden (som C-funktionen och " |
26429 | "<application>gtkmm</application>) och anropa din genererade " | 26342 | "<application>gtkmm</application>) och anropa din genererade " | ||
26430 | "<function>wrap_init()</function>-funktion. Till exempel:" | 26343 | "<function>wrap_init()</function>-funktion. Till exempel:" | ||
26431 | 26344 | ||||
26432 | #. (itstool) path: section/programlisting | 26345 | #. (itstool) path: section/programlisting | ||
26433 | #: C/index-in.docbook:11381 | 26346 | #: C/index-in.docbook:11381 | ||
26725 | msgstr "Dokumentation" | 26638 | msgstr "Dokumentation" | ||
26726 | 26639 | ||||
26727 | #. (itstool) path: section/para | 26640 | #. (itstool) path: section/para | ||
26728 | #: C/index-in.docbook:11478 | 26641 | #: C/index-in.docbook:11478 | ||
26729 | #, 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." | ||||
26730 | msgid "" | 26647 | msgid "" | ||
26731 | "In general, gtkmm-style projects use Doxygen, which reads specially " | 26648 | "In general, gtkmm-style projects use Doxygen, which reads specially " | ||
26732 | "formatted <phrase role=\"nowrap\">C++</phrase> comments and generates HTML " | 26649 | "formatted <phrase role=\"nowrap\">C++</phrase> comments and generates HTML " | ||
26733 | "documentation. You may write these doxygen comments directly in the header " | 26650 | "documentation. You may write these doxygen comments directly in the header " | ||
26734 | "files." | 26651 | "files." | ||
27509 | "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 " | ||
27510 | "software." | 27427 | "software." | ||
27511 | msgstr "" | 27428 | msgstr "" | ||
27512 | 27429 | ||||
27513 | #~ msgid "" | 27430 | #~ msgid "" | ||
n | 27514 | #~ "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 27431 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
27515 | #~ "namespaceGlib.html\">Reference</link>" | 27432 | #~ "namespaceGlib.html\">Reference</link>" | ||
27516 | #~ msgstr "" | 27433 | #~ msgstr "" | ||
n | 27517 | #~ "<link xlink:href=\"http://developer.gnome.org/glibmm/unstable/" | n | 27434 | #~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/" |
27518 | #~ "namespaceGlib.html\">Referens</link>" | 27435 | #~ "namespaceGlib.html\">Referens</link>" | ||
n | 27519 | n | |||
27520 | #~ msgid "" | ||||
27521 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27522 | #~ "tree/master/examples/book/iconview\">Source Code, IconView</link>" | ||||
27523 | #~ msgstr "" | ||||
27524 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27525 | #~ "tree/master/examples/book/iconview\">Källkod, IconView</link>" | ||||
27526 | |||||
27527 | #~ msgid "" | ||||
27528 | #~ "At the time of writing (July 2022) drag-and-drop in <classname>Gtk::" | ||||
27529 | #~ "TreeView</classname>s does not work. See the <link xlink:href=\"https://" | ||||
27530 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">gtk#3649 issue</link> for the " | ||||
27531 | #~ "latest info." | ||||
27532 | #~ msgstr "" | ||||
27533 | #~ "I skrivande stund (juli 2022) fungerar inte dra-och-släpp i " | ||||
27534 | #~ "<classname>Gtk::TreeView</classname>. Se <link xlink:href=\"https://" | ||||
27535 | #~ "gitlab.gnome.org/GNOME/gtk/-/issues/3649\">ärendet gtk#3649</link> för " | ||||
27536 | #~ "den senaste informationen." | ||||
27537 | |||||
27538 | #, fuzzy | ||||
27539 | #~ msgid "" | ||||
27540 | #~ "<classname>MessageDialog</classname> is a convenience class, used to " | ||||
27541 | #~ "create simple, standard message dialogs, with a message and buttons for " | ||||
27542 | #~ "user response. You can specify the type of message and the text in the " | ||||
27543 | #~ "constructor, as well as specifying standard buttons via the <type>Gtk::" | ||||
27544 | #~ "ButtonsType</type> enum." | ||||
27545 | #~ msgstr "" | ||||
27546 | #~ "<classname>MessageDialog</classname> är en bekvämlighetsklass, som " | ||||
27547 | #~ "används för att skapa enkla standardmeddelandedialoger med ett meddelande " | ||||
27548 | #~ "och knappar för svar från användaren. Du kan ange meddelandetypen och " | ||||
27549 | #~ "texten i konstruktorn, såväl som att ange standardknappar via <type>Gtk::" | ||||
27550 | #~ "ButtonsType</type>-uppräkningen." | ||||
27551 | |||||
27552 | #~ msgid "" | ||||
27553 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27554 | #~ "tree/master/examples/book/dialogs/messagedialog\">Source Code</link>" | ||||
27555 | #~ msgstr "" | ||||
27556 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27557 | #~ "tree/master/examples/book/dialogs/messagedialog\">Källkod</link>" | ||||
27558 | |||||
27559 | #~ msgid "" | ||||
27560 | #~ "The <classname>FileChooserDialog</classname> is suitable for use with " | ||||
27561 | #~ "\"Open\" or \"Save\" menu items." | ||||
27562 | #~ msgstr "" | ||||
27563 | #~ "<classname>FileChooserDialog</classname> är lämplig för användning med " | ||||
27564 | #~ "menyobjekten ”Öppna” eller ”Spara”." | ||||
27565 | |||||
27566 | #~ msgid "FileChooser" | ||||
27567 | #~ msgstr "FileChooser" | ||||
27568 | |||||
27569 | #, fuzzy | ||||
27570 | #~ msgid "" | ||||
27571 | #~ "The <classname>ColorChooserDialog</classname> allows the user to choose a " | ||||
27572 | #~ "color. The <classname>ColorButton</classname> opens a color selection " | ||||
27573 | #~ "dialog when it is clicked." | ||||
27574 | #~ msgstr "" | ||||
27575 | #~ "<classname>ColorChooserDialog</classname> låter användaren välja en färg. " | ||||
27576 | #~ "<classname>ColorButton</classname> öppnar en färgvalsdialog när den " | ||||
27577 | #~ "klickas på." | ||||
27578 | |||||
27579 | #, fuzzy | ||||
27580 | #~ msgid "" | ||||
27581 | #~ "The <classname>FontChooserDialog</classname> allows the user to choose a " | ||||
27582 | #~ "font. The <classname>FontButton</classname> opens a font chooser dialog " | ||||
27583 | #~ "when it is clicked." | ||||
27584 | #~ msgstr "" | ||||
27585 | #~ "<classname>FontChooserDialog</classname> låter användaren välja ett " | ||||
27586 | #~ "typsnitt. <classname>FontButton</classname>-knappen öppnar en " | ||||
27587 | #~ "typsnittsväljardialog när den klickas på." | ||||
27588 | |||||
27589 | #~ msgid "" | ||||
27590 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27591 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Source Code</link>" | ||||
27592 | #~ msgstr "" | ||||
27593 | #~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/" | ||||
27594 | #~ "tree/master/examples/book/dialogs/fontchooserdialog\">Källkod</link>" | ||||
27595 | 27436 | ||||
27596 | #, no-wrap | 27437 | #, no-wrap | ||
27597 | #~ msgid "intltool-update --pot" | 27438 | #~ msgid "intltool-update --pot" | ||
27598 | #~ msgstr "intltool-update --pot" | 27439 | #~ msgstr "intltool-update --pot" | ||
27599 | 27440 | ||||
27608 | #~ "<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/" | ||
27609 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | 27450 | #~ "\"><literal>gnomemm_hello</literal> example package</link>" | ||
27610 | #~ msgstr "" | 27451 | #~ msgstr "" | ||
27611 | #~ "<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/" | ||
27612 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | 27453 | #~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>" | ||
n | 27613 | n | |||
27614 | #, fuzzy | ||||
27615 | #~ msgid "" | ||||
27616 | #~ "Your widget class, whether it's derived directly from <classname>Gtk::" | ||||
27617 | #~ "Widget</classname> or from another widget class, can read some style " | ||||
27618 | #~ "information from a CSS (Cascading Style Sheets) file. The users of your " | ||||
27619 | #~ "widget, or the users of an application program with your widget, can then " | ||||
27620 | #~ "modify the style of your widget without modifying the source code. Useful " | ||||
27621 | #~ "classes are <classname>Gtk::StyleContext</classname> and <classname>Gtk::" | ||||
27622 | #~ "CssProvider</classname>. With the methods of <classname>Gtk::" | ||||
27623 | #~ "StyleContext</classname> you can read the values of your widget's style " | ||||
27624 | #~ "information. CSS files are described in the documentation of " | ||||
27625 | #~ "<application>GTK</application>. The following example shows a simple use " | ||||
27626 | #~ "of <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27627 | #~ msgstr "" | ||||
27628 | #~ "Din komponentklass kan läsa viss stilinformation från en CSS-fil " | ||||
27629 | #~ "(Cascading Style Sheets), oavsett om den härleds direkt från " | ||||
27630 | #~ "<classname>Gtk::Widget</classname> eller från en annan komponentklass. " | ||||
27631 | #~ "Användarna av din komponent, eller användarna av ett program med din " | ||||
27632 | #~ "komponent, kan sedan ändra stilen för din komponent utan att ändra " | ||||
27633 | #~ "källkoden. Användbara klasser är <classname>Gtk::StyleContext</classname> " | ||||
27634 | #~ "och <classname>Gtk::CssProvider</classname>. Med metoderna i " | ||||
27635 | #~ "<classname>Gtk::StyleContext</classname> kan du läsa värden för din " | ||||
27636 | #~ "komponents stilinformation. CSS-filer beskrivs i dokumentationen för " | ||||
27637 | #~ "<application>GTK</application>. Följande exempel visar enkel användning " | ||||
27638 | #~ "av <methodname>Gtk::StyleContext::get_padding()</methodname>." | ||||
27639 | |||||
27640 | #~ msgid "An preference dialog" | ||||
27641 | #~ msgstr "En inställningsdialog" | ||||
27642 | 27454 | ||||
27643 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | 27455 | #~ msgid "For instance, from <filename>adjustment.hg</filename>:" | ||
27644 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | 27456 | #~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:" | ||
27645 | 27457 | ||||
27646 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | 27458 | #~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:" | ||
27745 | #~ "Om exempelvis <function>gtk_widget_get_request_mode()</function> " | 27557 | #~ "Om exempelvis <function>gtk_widget_get_request_mode()</function> " | ||
27746 | #~ "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 " | ||
27747 | #~ "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 " | ||
27748 | #~ "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 " | ||
27749 | #~ "användas: <_:programlisting-2/> <literal>{OUT}</literal> som läggs till " | 27561 | #~ "användas: <_:programlisting-2/> <literal>{OUT}</literal> som läggs till " | ||
n | 27750 | #~ "namnet på utdataparameterna <parameter>mode</parameter> säger till " | n | 27562 | #~ "namnet på utdataparametern <parameter>mode</parameter> säger till " |
27751 | #~ "<command>gmmproc</command> att placera C-funktionens returvärde i den " | 27563 | #~ "<command>gmmproc</command> att placera C-funktionens returvärde i den " | ||
27752 | #~ "utdataparametern. I detta fall kommer dock ett nödvändigt " | 27564 | #~ "utdataparametern. I detta fall kommer dock ett nödvändigt " | ||
27753 | #~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/" | 27565 | #~ "initieringsmakro som det följande också behöva anges: <_:programlisting-3/" | ||
27754 | #~ "> 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>." | ||||
27755 | 27661 | ||||
27756 | #, no-wrap | 27662 | #, no-wrap | ||
27757 | #~ msgid "" | 27663 | #~ msgid "" | ||
27758 | #~ "\n" | 27664 | #~ "\n" | ||
27759 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | 27665 | #~ "gboolean gtk_icon_view_get_cell_rect(GtkIconView* icon_view,\n" | ||
27781 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | 27687 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||
> | $4))')\n" | > | $4))')\n" | ||
27782 | #~ msgstr "" | 27688 | #~ msgstr "" | ||
27783 | #~ "\n" | 27689 | #~ "\n" | ||
27784 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | 27690 | #~ "_INITIALIZATION(`Gdk::Rectangle&',`GdkRectangle',`$3 = Glib::wrap(&( | ||
> | $4))')\n" | > | $4))')\n" | ||
27785 | 27691 | ||||
n | n | 27692 | # TODO: Fixed sep 2022? | ||
27786 | #~ msgid "" | 27693 | #~ msgid "" | ||
n | 27787 | #~ "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::" |
27788 | #~ "<_: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." | ||||
27789 | #~ msgstr "" | 27698 | #~ msgstr "" | ||
t | 27790 | #~ "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 " |
27791 | #~ "<_: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.