gtkmm-documentation - master - Tutorial - Swedish

← Back to actions


Uploaded file by Anders Jonsson on 2023-03-05 01:03:36+00:00
Uploaded file by Anders Jonsson on 2023-03-05 10:31:54+00:00
5#5#
6msgid ""6msgid ""
7msgstr ""7msgstr ""
8"Project-Id-Version: gtkmm-documentation master\n"8"Project-Id-Version: gtkmm-documentation master\n"
9"POT-Creation-Date: 2025-07-08 14:05+0000\n"9"POT-Creation-Date: 2025-07-08 14:05+0000\n"
n10"PO-Revision-Date: 2023-03-05 02:03+0100\n"n10"PO-Revision-Date: 2023-03-05 11:31+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"
2830msgid "Push buttons"2830msgid "Push buttons"
2831msgstr "Tryckknappar"2831msgstr "Tryckknappar"
28322832
2833#. (itstool) path: listitem/para2833#. (itstool) path: listitem/para
2834#: C/index-in.docbook:9222834#: C/index-in.docbook:922
n2835#, fuzzyn
2836msgid ""2835msgid ""
2837"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"2836"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2838"classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "2837"classGtk_1_1Button.html\"><classname>Gtk::Button</classname></link>. "
2839"Standard buttons, usually marked with a label or picture. Pushing one "2838"Standard buttons, usually marked with a label or picture. Pushing one "
2840"triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> "2839"triggers an action. See the <link linkend=\"sec-pushbuttons\">Button</link> "
2873msgid "Check buttons"2872msgid "Check buttons"
2874msgstr "Kryssrutor"2873msgstr "Kryssrutor"
28752874
2876#. (itstool) path: listitem/para2875#. (itstool) path: listitem/para
2877#: C/index-in.docbook:9412876#: C/index-in.docbook:941
n2878#, fuzzyn
2879msgid ""2877msgid ""
2880"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"2878"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
2881"classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"2879"classGtk_1_1CheckButton.html\"><classname>Gtk::CheckButton</classname></"
2882"link>. These act like ToggleButtons, but show their state in small squares, "2880"link>. These act like ToggleButtons, but show their state in small squares, "
2883"with their label at the side. They should be used in most situations which "2881"with their label at the side. They should be used in most situations which "
3789msgid "Entry Completion"3787msgid "Entry Completion"
3790msgstr "Inmatningskomplettering"3788msgstr "Inmatningskomplettering"
37913789
3792#. (itstool) path: note/para3790#. (itstool) path: note/para
3793#: C/index-in.docbook:13813791#: C/index-in.docbook:1381
n3794#, fuzzyn
3795#| msgid ""
3796#| "Some new classes were added in <application>gtkmm</application> 4 and "
3797#| "<application>glibmm</application> 2.68:"
3798msgid ""3792msgid ""
3799"<classname>Gtk::EntryCompletion</classname> is deprecated since "3793"<classname>Gtk::EntryCompletion</classname> is deprecated since "
3800"<application>gtkmm</application> 4.10. There is no replacement in "3794"<application>gtkmm</application> 4.10. There is no replacement in "
3801"<application>gtkmm</application>."3795"<application>gtkmm</application>."
3802msgstr ""3796msgstr ""
n3803"Några nya klasser lades till i <application>gtkmm</application> 4 och "n3797"<classname>Gtk::EntryCompletion</classname> är föråldrad sedan "
3798"<application>gtkmm</application> 4.10. Det finns ingen ersättning i "
3804"<application>glibmm</application> 2.68:"3799"<application>gtkmm</application>."
38053800
3806#. (itstool) path: section/para3801#. (itstool) path: section/para
3807#: C/index-in.docbook:13853802#: C/index-in.docbook:1385
3808msgid ""3803msgid ""
3809"An <classname>Entry</classname> widget can offer a drop-down list of pre-"3804"An <classname>Entry</classname> widget can offer a drop-down list of pre-"
5614"<application>gtkmm</application> 4.10. There is no replacement in "5609"<application>gtkmm</application> 4.10. There is no replacement in "
5615"<application>gtkmm</application>. libadwaita (a C library) has replacement "5610"<application>gtkmm</application>. libadwaita (a C library) has replacement "
5616"parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</"5611"parts (like AdwCarousel). In some cases, a <classname>Gtk::Notebook</"
5617"classname> might be an acceptable replacement."5612"classname> might be an acceptable replacement."
5618msgstr ""5613msgstr ""
nn5614"<classname>Gtk::Assistant</classname> är föråldrad sedan <application>gtkmm</"
5615"application> 4.10. Det finns ingen ersättning i <application>gtkmm</"
5616"application>. libadwaita (ett C-bibliotek) har ersättningsdelar (som "
5617"AdwCarousel). I vissa fall kan en <classname>Gtk::Notebook</classname> vara "
5618"en acceptabel ersättning."
56195619
5620#. (itstool) path: section/para5620#. (itstool) path: section/para
5621#: C/index-in.docbook:22975621#: C/index-in.docbook:2297
5622#, fuzzy5622#, fuzzy
5623msgid ""5623msgid ""
5742"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"5742"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
5743"master/examples/book/actionbar\">Källkod, ActionBar</link>"5743"master/examples/book/actionbar\">Källkod, ActionBar</link>"
57445744
5745#. (itstool) path: section/para5745#. (itstool) path: section/para
5746#: C/index-in.docbook:23455746#: C/index-in.docbook:2345
n5747#, fuzzyn
5748#| msgid ""
5749#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
5750#| "tree/master/examples/book/flowbox\">Source Code, FlowBox</link>"
5751msgid ""5747msgid ""
5752"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"5748"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
5753"master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>"5749"master/examples/book/listbox_flowbox/flowbox\">Source Code, FlowBox</link>"
5754msgstr ""5750msgstr ""
5755"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"5751"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n5756"master/examples/book/flowbox\">Källkod, FlowBox</link>"n5752"master/examples/book/listbox_flowbox/flowbox\">Källkod, FlowBox</link>"
57575753
5758#. (itstool) path: chapter/title5754#. (itstool) path: chapter/title
5759#: C/index-in.docbook:23525755#: C/index-in.docbook:2352
5760msgid "ListView, GridView, ColumnView"5756msgid "ListView, GridView, ColumnView"
5761msgstr ""5757msgstr ""
5843"<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med "5839"<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med "
5844"ett heltal och en textkolumn, så här:"5840"ett heltal och en textkolumn, så här:"
58455841
5846#. (itstool) path: section/programlisting5842#. (itstool) path: section/programlisting
5847#: C/index-in.docbook:2393 C/index-in.docbook:33915843#: C/index-in.docbook:2393 C/index-in.docbook:3391
n5848#, no-wrapn5844#, fuzzy, no-wrap
5845#| msgid ""
5846#| "class ModelColumns : public Glib::Object\n"
5847#| "{\n"
5848#| "public:\n"
5849#| "  int m_col_id;\n"
5850#| "  Glib::ustring m_col_name;\n"
5851#| "\n"
5852#| "  static Glib::RefPtr&lt;ModelColumns&gt; create(\n"
5853#| "    int col_id, const Glib::ustring&amp; col_name)\n"
5854#| "  {\n"
5855#| "    return Glib::make_refptr_for_instance&lt;ModelColumns&gt;(\n"
5856#| "      new ModelColumns(col_id, col_name));\n"
5857#| "  }\n"
5858#| "\n"
5859#| "protected:\n"
5860#| "  ModelColumns(int col_id, const Glib::ustring&amp; col_name)\n"
5861#| "  : m_col_id(col_id), m_col_name(col_name)\n"
5862#| "  {}\n"
5863#| "};\n"
5864#| "\n"
5865#| "Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"
5849msgid ""5866msgid ""
5850"<code>class ModelColumns : public Glib::Object\n"5867"<code>class ModelColumns : public Glib::Object\n"
5851"{\n"5868"{\n"
5852"public:\n"5869"public:\n"
5853"  int m_col_id;\n"5870"  int m_col_id;\n"
5867"};\n"5884"};\n"
5868"\n"5885"\n"
5869"Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"5886"Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"
5870"</code>"5887"</code>"
5871msgstr ""5888msgstr ""
nn5889"class ModelColumns : public Glib::Object\n"
5890"{\n"
5891"public:\n"
5892"  int m_col_id;\n"
5893"  Glib::ustring m_col_name;\n"
5894"\n"
5895"  static Glib::RefPtr&lt;ModelColumns&gt; create(\n"
5896"    int col_id, const Glib::ustring&amp; col_name)\n"
5897"  {\n"
5898"    return Glib::make_refptr_for_instance&lt;ModelColumns&gt;(\n"
5899"      new ModelColumns(col_id, col_name));\n"
5900"  }\n"
5901"\n"
5902"protected:\n"
5903"  ModelColumns(int col_id, const Glib::ustring&amp; col_name)\n"
5904"  : m_col_id(col_id), m_col_name(col_name)\n"
5905"  {}\n"
5906"};\n"
5907"\n"
5908"Glib::RefPtr&lt;Gio::ListStore&lt;ModelColumns&gt;&gt; m_ListStore;\n"
58725909
5873#. (itstool) path: section/para5910#. (itstool) path: section/para
5874#: C/index-in.docbook:24155911#: C/index-in.docbook:2415
5875msgid ""5912msgid ""
5876"Every item in a model has a position which is the unsigned integer that "5913"Every item in a model has a position which is the unsigned integer that "
6098#. (itstool) path: section/para6135#. (itstool) path: section/para
6099#: C/index-in.docbook:24906136#: C/index-in.docbook:2490
6100#, fuzzy6137#, fuzzy
6101#| msgid ""6138#| msgid ""
6102#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6139#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6103#| "tree/master/examples/book/treeview/list/\">Source Code</link>"n6140#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6141#| "GridView</link>"
6104msgid ""6142msgid ""
6105"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6143"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6106"master/examples/book/listmodelviews/list_listview\">Source Code</link>"6144"master/examples/book/listmodelviews/list_listview\">Source Code</link>"
6107msgstr ""6145msgstr ""
6108"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6146"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6109"master/examples/book/treeview/list/\">Källkod</link>"n6147"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
61106148
6111#. (itstool) path: section/title6149#. (itstool) path: section/title
6112#. (itstool) path: figure/title6150#. (itstool) path: figure/title
6113#: C/index-in.docbook:2496 C/index-in.docbook:25086151#: C/index-in.docbook:2496 C/index-in.docbook:2508
6114#, fuzzy6152#, fuzzy
6154#. (itstool) path: section/para6192#. (itstool) path: section/para
6155#: C/index-in.docbook:25146193#: C/index-in.docbook:2514
6156#, fuzzy6194#, fuzzy
6157#| msgid ""6195#| msgid ""
6158#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6196#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6159#| "tree/master/examples/book/textview/\">Source Code</link>"n6197#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6198#| "GridView</link>"
6160msgid ""6199msgid ""
6161"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6200"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6162"master/examples/book/listmodelviews/gridview\">Source Code</link>"6201"master/examples/book/listmodelviews/gridview\">Source Code</link>"
6163msgstr ""6202msgstr ""
6164"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6203"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6165"master/examples/book/textview/\">Källkod</link>"n6204"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
61666205
6167#. (itstool) path: section/title6206#. (itstool) path: section/title
6168#. (itstool) path: figure/title6207#. (itstool) path: figure/title
6169#: C/index-in.docbook:2520 C/index-in.docbook:25326208#: C/index-in.docbook:2520 C/index-in.docbook:2532
6170msgid "ColumnView"6209msgid "ColumnView"
6213#. (itstool) path: section/para6252#. (itstool) path: section/para
6214#: C/index-in.docbook:25386253#: C/index-in.docbook:2538
6215#, fuzzy6254#, fuzzy
6216#| msgid ""6255#| msgid ""
6217#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6256#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6218#| "tree/master/examples/book/treeview/list/\">Source Code</link>"n6257#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6258#| "GridView</link>"
6219msgid ""6259msgid ""
6220"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6260"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6221"master/examples/book/listmodelviews/list_columnview\">Source Code</link>"6261"master/examples/book/listmodelviews/list_columnview\">Source Code</link>"
6222msgstr ""6262msgstr ""
6223"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6263"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6224"master/examples/book/treeview/list/\">Källkod</link>"n6264"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
62256265
6226#. (itstool) path: section/title6266#. (itstool) path: section/title
6227#: C/index-in.docbook:2545 C/index-in.docbook:31396267#: C/index-in.docbook:2545 C/index-in.docbook:3139
6228msgid "Sorting"6268msgid "Sorting"
6229msgstr "Sortering"6269msgstr "Sortering"
6494#. (itstool) path: section/para6534#. (itstool) path: section/para
6495#: C/index-in.docbook:26356535#: C/index-in.docbook:2635
6496#, fuzzy6536#, fuzzy
6497#| msgid ""6537#| msgid ""
6498#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"6538#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
n6499#| "tree/master/examples/book/treeview/tree/\">Source Code</link>"n6539#| "tree/master/examples/book/listmodelviews/gridview\">Source Code"
6540#| "GridView</link>"
6500msgid ""6541msgid ""
6501"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6542"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
6502"master/examples/book/listmodelviews/tree_columnview\">Source Code</link>"6543"master/examples/book/listmodelviews/tree_columnview\">Source Code</link>"
6503msgstr ""6544msgstr ""
6504"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"6545"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n6505"master/examples/book/treeview/tree/\">Källkod</link>"n6546"master/examples/book/listmodelviews/gridview\">Källkod, GridView</link>"
65066547
6507#. (itstool) path: chapter/title6548#. (itstool) path: chapter/title
6508#: C/index-in.docbook:26436549#: C/index-in.docbook:2643
6509msgid "The TreeView widget"6550msgid "The TreeView widget"
6510msgstr "TreeView-komponenten"6551msgstr "TreeView-komponenten"
8186"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8227"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8187"master/examples/book/treeview/popup/\">Källkod</link>"8228"master/examples/book/treeview/popup/\">Källkod</link>"
81888229
8189#. (itstool) path: chapter/title8230#. (itstool) path: chapter/title
8190#: C/index-in.docbook:33598231#: C/index-in.docbook:3359
n8191#, fuzzyn
8192#| msgid "The DrawingArea Widget"
8193msgid "The DropDown Widget"8232msgid "The DropDown Widget"
n8194msgstr "DrawingArea-komponenten"n8233msgstr "DropDown-komponenten"
81958234
8196#. (itstool) path: chapter/para8235#. (itstool) path: chapter/para
8197#: C/index-in.docbook:33618236#: C/index-in.docbook:3361
8198msgid ""8237msgid ""
8199"The <classname>DropDown</classname> widget is an alternative to the "8238"The <classname>DropDown</classname> widget is an alternative to the "
8200"deprecated <classname>ComboBox</classname>. It uses list models instead of "8239"deprecated <classname>ComboBox</classname>. It uses list models instead of "
8201"tree models, and the content is displayed using widgets instead of cell "8240"tree models, and the content is displayed using widgets instead of cell "
8202"renderers."8241"renderers."
8203msgstr ""8242msgstr ""
nn8243"Komponenten <classname>DropDown</classname> är ett alternativ till den "
8244"föråldrade <classname>ComboBox</classname>. Den använder listmodeller i "
8245"stället för trädmodeller, och innehållet visas med komponenter i stället för "
8246"cellrenderare."
82048247
8205#. (itstool) path: chapter/para8248#. (itstool) path: chapter/para
8206#: C/index-in.docbook:33668249#: C/index-in.docbook:3366
8207#, fuzzy8250#, fuzzy
8208#| msgid ""8251#| msgid ""
8246"classname>-klassen tillhandahåller en enklare textbaserad specialisering om "8289"classname>-klassen tillhandahåller en enklare textbaserad specialisering om "
8247"den flexibiliteten inte behövs."8290"den flexibiliteten inte behövs."
82488291
8249#. (itstool) path: chapter/para8292#. (itstool) path: chapter/para
8250#: C/index-in.docbook:33808293#: C/index-in.docbook:3380
n8251#, fuzzyn
8252#| msgid ""
8253#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
8254#| "classGtk_1_1Box.html\">Reference</link>"
8255msgid ""8294msgid ""
8256"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"8295"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
8257"classGtk_1_1DropDown.html\">Reference</link>"8296"classGtk_1_1DropDown.html\">Reference</link>"
8258msgstr ""8297msgstr ""
8259"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"8298"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
n8260"classGtk_1_1Box.html\">Referens</link>"n8299"classGtk_1_1DropDown.html\">Referens</link>"
82618300
8262#. (itstool) path: section/title8301#. (itstool) path: section/title
8263#: C/index-in.docbook:3383 C/index-in.docbook:35588302#: C/index-in.docbook:3383 C/index-in.docbook:3558
n8264#, fuzzyn
8265msgid "The model"8303msgid "The model"
8266msgstr "Modellen"8304msgstr "Modellen"
82678305
8268#. (itstool) path: section/para8306#. (itstool) path: section/para
8269#: C/index-in.docbook:33858307#: C/index-in.docbook:3385
8283"<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med "8321"<classname>TreeView</classname>. Exempelvis kan du härleda en ComboBox med "
8284"ett heltal och en textkolumn, så här:"8322"ett heltal och en textkolumn, så här:"
82858323
8286#. (itstool) path: section/para8324#. (itstool) path: section/para
8287#: C/index-in.docbook:34138325#: C/index-in.docbook:3413
nn8326#, fuzzy
8288msgid ""8327msgid ""
8289"After appending rows to this model, you should provide the model to the "8328"After appending rows to this model, you should provide the model to the "
8290"<classname>DropDown</classname> with the <methodname>set_model()</"8329"<classname>DropDown</classname> with the <methodname>set_model()</"
8291"methodname> method. Unless you use the <classname>StringList</classname> "8330"methodname> method. Unless you use the <classname>StringList</classname> "
8292"model, you also need to set a <classname>ListItemFactory</classname> with "8331"model, you also need to set a <classname>ListItemFactory</classname> with "
8294"dropdown menu to look different from the item in the <classname>DropDown</"8333"dropdown menu to look different from the item in the <classname>DropDown</"
8295"classname> widget, you also need to set a separate "8334"classname> widget, you also need to set a separate "
8296"<classname>ListItemFactory</classname> with <methodname>set_list_factory()</"8335"<classname>ListItemFactory</classname> with <methodname>set_list_factory()</"
8297"methodname>."8336"methodname>."
8298msgstr ""8337msgstr ""
nn8338"Efter att ha lagt till rader till denna modell bör du tillhandahålla "
8339"modellen till vår <classname>DropDown</classname> med metoden "
8340"<methodname>set_model()</methodname>. Om du inte använder modellen "
8341"<classname>StringList</classname> så kommer du också behöva ställa in en "
8342"<classname>ListItemFactory</classname> med <methodname>set_factory()</"
8343"methodname>. Om du vill att objekten i rullgardinsmenyn ska se annorlunda "
8344"från objektet i <classname>DropDown</classname>-komponenten så behöver du "
8345"också ställa in en separat <classname>ListItemFactory</classname> med "
8346"<methodname>set_list_factory()</methodname>."
82998347
8300#. (itstool) path: section/title8348#. (itstool) path: section/title
8301#: C/index-in.docbook:34248349#: C/index-in.docbook:3424
n8302#, fuzzyn
8303msgid "The selected item"8350msgid "The selected item"
n8304msgstr "De markerade raderna"n8351msgstr "Det valda objektet"
83058352
8306#. (itstool) path: section/para8353#. (itstool) path: section/para
8307#: C/index-in.docbook:34268354#: C/index-in.docbook:3426
8308#, fuzzy8355#, fuzzy
8309msgid ""8356msgid ""
8336"}\n"8383"}\n"
8337"else\n"8384"else\n"
8338"  set_nothing_chosen(); // Your own function.\n"8385"  set_nothing_chosen(); // Your own function.\n"
8339"</code>"8386"</code>"
8340msgstr ""8387msgstr ""
n8341"Gtk::TreeModel::iterator iter = m_Combo.get_active();\n"n8388"unsigned int sel = m_DropDown.get_selected();\n"
8342"if(iter)\n"8389"if (sel != GTK_INVALID_LIST_POSITION)\n"
8343"{\n"8390"{\n"
n8344"  auto row = *iter;\n"n
8345"\n"
8346"  //Få data för markerad rad, med vår kunskap\n"8391"  // Få data för markerad rad, med vår kunskap om listmodellen:\n"
8347"  //om trädmodellen:\n"8392"  auto id = m_ListStore-&gt;get_item(sel).m_col_id;\n"
8348"  auto id = row[m_Columns.m_col_id];\n"
8349"  set_something_id_chosen(id); //Din egen funktion.\n"8393"  set_some_id_chosen(id); // Din egen funktion.\n"
8350"}\n"8394"}\n"
8351"else\n"8395"else\n"
n8352"  set_nothing_chosen(); //Din egen funktion."n8396"  set_nothing_chosen(); // Din egen funktion.\n"
83538397
8354#. (itstool) path: section/title8398#. (itstool) path: section/title
8355#: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:36588399#: C/index-in.docbook:3446 C/index-in.docbook:3597 C/index-in.docbook:3658
8356msgid "Responding to changes"8400msgid "Responding to changes"
8357msgstr "Svara på ändringar"8401msgstr "Svara på ändringar"
83718415
8372#. (itstool) path: section/programlisting8416#. (itstool) path: section/programlisting
8373#: C/index-in.docbook:34528417#: C/index-in.docbook:3452
8374#, fuzzy, no-wrap8418#, fuzzy, no-wrap
8375#| msgid ""8419#| msgid ""
n8376#| "m_combo.signal_changed().connect( sigc::mem_fun(*this,\n"n8420#| "m_DropDown.property_selected().signal_changed().connect(\n"
8377#| "      &amp;ExampleWindow::on_combo_changed) );"8421#| "  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"
8378msgid ""8422msgid ""
8379"<code>m_DropDown.property_selected().signal_changed().connect(\n"8423"<code>m_DropDown.property_selected().signal_changed().connect(\n"
8380"  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"8424"  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"
8381"</code>"8425"</code>"
8382msgstr ""8426msgstr ""
n8383"m_combo.signal_changed().connect( sigc::mem_fun(*this,\n"n8427"m_DropDown.property_selected().signal_changed().connect(\n"
8384"      &amp;ExampleWindow::on_combo_changed) );"8428"  sigc::mem_fun(*this, &amp;ExampleWindow::on_dropdown_changed));\n"
83858429
8386#. (itstool) path: section/title8430#. (itstool) path: section/title
8387#: C/index-in.docbook:34588431#: C/index-in.docbook:3458
n8388#, fuzzyn
8389msgid "Simple String Example"8432msgid "Simple String Example"
n8390msgstr "Enkelt inmatningsexempel"n8433msgstr "Enkelt stngexempel"
83918434
8392#. (itstool) path: figure/title8435#. (itstool) path: figure/title
8393#: C/index-in.docbook:34618436#: C/index-in.docbook:3461
8394msgid "Simple DropDown"8437msgid "Simple DropDown"
n8395msgstr ""n8438msgstr "Enkel DropDown"
83968439
8397#. (itstool) path: imageobject/imagedata8440#. (itstool) path: imageobject/imagedata
8398#. This is a reference to an external file such as an image or video. When8441#. This is a reference to an external file such as an image or video. When
8399#. the file changes, the md5 hash will change to let you know you need to8442#. the file changes, the md5 hash will change to let you know you need to
8400#. update your localized copy. The msgstr is not used at all. Set it to8443#. update your localized copy. The msgstr is not used at all. Set it to
8404msgctxt "_"8447msgctxt "_"
8405msgid ""8448msgid ""
8406"external ref='figures/dropdown_string.png' "8449"external ref='figures/dropdown_string.png' "
8407"md5='b1689605c645e1ada3040f6df3335c56'"8450"md5='b1689605c645e1ada3040f6df3335c56'"
8408msgstr ""8451msgstr ""
n8409"external ref='figures/printing.png' md5='d4565328475ec89edf5f2230cb3fc5d0'"n8452"external ref='figures/dropdown_string.png' "
8453"md5='b1689605c645e1ada3040f6df3335c56'"
84108454
8411#. (itstool) path: section/para8455#. (itstool) path: section/para
8412#: C/index-in.docbook:34678456#: C/index-in.docbook:3467
n8413#, fuzzyn
8414#| msgid ""
8415#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8416#| "tree/master/examples/book/entry/icon\">Source Code</link>"
8417msgid ""8457msgid ""
8418"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8458"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8419"master/examples/book/dropdown/string\">Source Code</link>"8459"master/examples/book/dropdown/string\">Source Code</link>"
8420msgstr ""8460msgstr ""
8421"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8461"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8422"master/examples/book/entry/icon\">Källkod</link>"n8462"master/examples/book/dropdown/string\">Källkod</link>"
84238463
8424#. (itstool) path: section/title8464#. (itstool) path: section/title
8425#: C/index-in.docbook:34718465#: C/index-in.docbook:3471
8426msgid "Examples with a Search Entry"8466msgid "Examples with a Search Entry"
n8427msgstr ""n8467msgstr "Exempel med ett sökfält"
84288468
8429#. (itstool) path: section/para8469#. (itstool) path: section/para
8430#: C/index-in.docbook:34738470#: C/index-in.docbook:3473
n8431#, fuzzyn
8432#| msgid ""
8433#| "<classname>Gtk::Grid</classname> arranges its child widgets in rows and "
8434#| "columns. Use <methodname>attach()</methodname> and "
8435#| "<methodname>attach_next_to()</methodname> to insert child widgets."
8436msgid ""8471msgid ""
8437"The dropdown menu may contain an <classname>Entry</classname> that allows to "8472"The dropdown menu may contain an <classname>Entry</classname> that allows to "
8438"search for items in the list. Call <methodname>set_enable_search()</"8473"search for items in the list. Call <methodname>set_enable_search()</"
8439"methodname> and <methodname>set_expression()</methodname>. For instance:"8474"methodname> and <methodname>set_expression()</methodname>. For instance:"
8440msgstr ""8475msgstr ""
n8441"<classname>Gtk::Grid</classname> arrangerar sina underordnade komponenter i "n8476"Rullgardinsmeny kan innehålla ett <classname>Entry</classname> som tillåter "
8442"rader och kolumner. Använd <methodname>attach()</methodname> och "8477"sökning efter objekt i listan. Anropa <methodname>set_enable_search()</"
8443"<methodname>attach_next_to()</methodname> för att infoga underordnade "8478"methodname> och <methodname>set_expression()</methodname>. Till exempel:"
8444"komponenter."
84458479
8446#. (itstool) path: section/programlisting8480#. (itstool) path: section/programlisting
8447#: C/index-in.docbook:34778481#: C/index-in.docbook:3477
n8448#, no-wrapn8482#, fuzzy, no-wrap
8483#| msgid ""
8484#| "m_DropDown.set_enable_search(true);\n"
8485#| "auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"
8486#| "  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"
8487#| "m_DropDown.set_expression(expression);\n"
8488#| "\n"
8489#| "//-------\n"
8490#| "Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr&lt;Glib::Object
 >Base&gt;&amp; item)\n"
8491#| "{\n"
8492#| "  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"
8493#| "  return col ? col-&gt;m_col_name : \"\";\n"
8494#| "}\n"
8449msgid ""8495msgid ""
8450"<code>m_DropDown.set_enable_search(true);\n"8496"<code>m_DropDown.set_enable_search(true);\n"
8451"auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"8497"auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"
8452"  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"8498"  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"
8453"m_DropDown.set_expression(expression);\n"8499"m_DropDown.set_expression(expression);\n"
8458"  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"8504"  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"
8459"  return col ? col-&gt;m_col_name : \"\";\n"8505"  return col ? col-&gt;m_col_name : \"\";\n"
8460"}\n"8506"}\n"
8461"</code>"8507"</code>"
8462msgstr ""8508msgstr ""
nn8509"m_DropDown.set_enable_search(true);\n"
8510"auto expression = Gtk::ClosureExpression&lt;Glib::ustring&gt;::create(\n"
8511"  sigc::mem_fun(*this, &amp;ExampleWindow::get_col_name));\n"
8512"m_DropDown.set_expression(expression);\n"
8513"\n"
8514"//-------\n"
8515"Glib::ustring ExampleWindow::get_col_name(const Glib::RefPtr&lt;Glib::ObjectBas
 >e&gt;&amp; item)\n"
8516"{\n"
8517"  const auto col = std::dynamic_pointer_cast&lt;ModelColumns&gt;(item);\n"
8518"  return col ? col-&gt;m_col_name : \"\";\n"
8519"}\n"
84638520
8464#. (itstool) path: section/title8521#. (itstool) path: section/title
8465#: C/index-in.docbook:34918522#: C/index-in.docbook:3491
n8466#, fuzzyn
8467#| msgid "Simple Example"
8468msgid "String Example"8523msgid "String Example"
n8469msgstr "Enkelt exempel"n8524msgstr "Strängexempel"
84708525
8471#. (itstool) path: figure/title8526#. (itstool) path: figure/title
8472#: C/index-in.docbook:34948527#: C/index-in.docbook:3494
8473msgid "Search String"8528msgid "Search String"
n8474msgstr ""n8529msgstr "Sök sträng"
84758530
8476#. (itstool) path: imageobject/imagedata8531#. (itstool) path: imageobject/imagedata
8477#. This is a reference to an external file such as an image or video. When8532#. This is a reference to an external file such as an image or video. When
8478#. the file changes, the md5 hash will change to let you know you need to8533#. the file changes, the md5 hash will change to let you know you need to
8479#. update your localized copy. The msgstr is not used at all. Set it to8534#. update your localized copy. The msgstr is not used at all. Set it to
8487msgctxt "_"8542msgctxt "_"
8488msgid ""8543msgid ""
8489"external ref='figures/dropdown_search_string.png' "8544"external ref='figures/dropdown_search_string.png' "
8490"md5='e130e644e7cfb13a5b90ab1372b17503'"8545"md5='e130e644e7cfb13a5b90ab1372b17503'"
8491msgstr ""8546msgstr ""
n8492"external ref='figures/drawingarea_arcs.png' "n8547"external ref='figures/dropdown_search_string.png' "
8493"md5='d94b40e33b9fab7ea9e2c870b97fcf0c'"8548"md5='e130e644e7cfb13a5b90ab1372b17503'"
84948549
8495#. (itstool) path: section/para8550#. (itstool) path: section/para
8496#: C/index-in.docbook:35008551#: C/index-in.docbook:3500
n8497#, fuzzyn
8498#| msgid ""
8499#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8500#| "tree/master/examples/book/drawingarea/arcs\">Source Code</link>"
8501msgid ""8552msgid ""
8502"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8553"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8503"master/examples/book/dropdown/search_string\">Source Code</link>"8554"master/examples/book/dropdown/search_string\">Source Code</link>"
8504msgstr ""8555msgstr ""
8505"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8556"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8506"master/examples/book/drawingarea/arcs\">Källkod</link>"n8557"master/examples/book/dropdown/search_string\">Källkod</link>"
85078558
8508#. (itstool) path: section/title8559#. (itstool) path: section/title
8509#: C/index-in.docbook:35048560#: C/index-in.docbook:3504
n8510#, fuzzyn
8511#| msgid "Full Example"
8512msgid "Font Example"8561msgid "Font Example"
n8513msgstr "Fullständigt exempel"n8562msgstr "Typsnittsexempel"
85148563
8515#. (itstool) path: section/para8564#. (itstool) path: section/para
8516#: C/index-in.docbook:35068565#: C/index-in.docbook:3506
8517#, fuzzy8566#, fuzzy
8518#| msgid ""8567#| msgid ""
8533"för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet."8582"för det borttagna <classname>Gtk::Activatable</classname>-gränssnittet."
85348583
8535#. (itstool) path: figure/title8584#. (itstool) path: figure/title
8536#: C/index-in.docbook:3513 C/index-in.docbook:35328585#: C/index-in.docbook:3513 C/index-in.docbook:3532
8537msgid "Search Font"8586msgid "Search Font"
n8538msgstr ""n8587msgstr "Sök typsnitt"
85398588
8540#. (itstool) path: imageobject/imagedata8589#. (itstool) path: imageobject/imagedata
8541#. This is a reference to an external file such as an image or video. When8590#. This is a reference to an external file such as an image or video. When
8542#. the file changes, the md5 hash will change to let you know you need to8591#. the file changes, the md5 hash will change to let you know you need to
8543#. update your localized copy. The msgstr is not used at all. Set it to8592#. update your localized copy. The msgstr is not used at all. Set it to
8547msgctxt "_"8596msgctxt "_"
8548msgid ""8597msgid ""
8549"external ref='figures/dropdown_search_font.png' "8598"external ref='figures/dropdown_search_font.png' "
8550"md5='1733e29c88c19dc6c4cbd1114446ac18'"8599"md5='1733e29c88c19dc6c4cbd1114446ac18'"
8551msgstr ""8600msgstr ""
n8552"external ref='figures/drawingarea_pango_text.png' "n8601"external ref='figures/dropdown_search_font.png' "
8553"md5='07c39668c9dda2ac1f9455caf6e4d16a'"8602"md5='1733e29c88c19dc6c4cbd1114446ac18'"
85548603
8555#. (itstool) path: section/para8604#. (itstool) path: section/para
8556#: C/index-in.docbook:35198605#: C/index-in.docbook:3519
n8557#, fuzzyn
8558#| msgid ""
8559#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8560#| "tree/master/examples/book/paned\">Source Code</link>"
8561msgid ""8606msgid ""
8562"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8607"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8563"master/examples/book/dropdown/search_font\">Source Code</link>"8608"master/examples/book/dropdown/search_font\">Source Code</link>"
8564msgstr ""8609msgstr ""
8565"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8610"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8566"master/examples/book/paned\">Källkod</link>"n8611"master/examples/book/dropdown/search_font\">Källkod</link>"
85678612
8568#. (itstool) path: section/title8613#. (itstool) path: section/title
8569#: C/index-in.docbook:35248614#: C/index-in.docbook:3524
n8570#, fuzzyn
8571#| msgid "Simple Example"
8572msgid "Complex Example"8615msgid "Complex Example"
n8573msgstr "Enkelt exempel"n8616msgstr "Komplext exempel"
85748617
8575#. (itstool) path: section/para8618#. (itstool) path: section/para
8576#: C/index-in.docbook:35268619#: C/index-in.docbook:3526
8577msgid ""8620msgid ""
8578"This is a more complex example with two <classname>SignalListItemFactory</"8621"This is a more complex example with two <classname>SignalListItemFactory</"
8579"classname> objects and their signal handlers. This example would be simpler "8622"classname> objects and their signal handlers. This example would be simpler "
8580"without the checkmark in the dropdown menu."8623"without the checkmark in the dropdown menu."
8581msgstr ""8624msgstr ""
nn8625"Detta är ett mer komplext exempel med två <classname>SignalListItemFactory</"
8626"classname>-objekt och deras signalhanterare. Detta exempel skulle vara "
8627"enklare utan bocken i rullgardinsmenyn."
85828628
8583#. (itstool) path: imageobject/imagedata8629#. (itstool) path: imageobject/imagedata
8584#. This is a reference to an external file such as an image or video. When8630#. This is a reference to an external file such as an image or video. When
8585#. the file changes, the md5 hash will change to let you know you need to8631#. the file changes, the md5 hash will change to let you know you need to
8586#. update your localized copy. The msgstr is not used at all. Set it to8632#. update your localized copy. The msgstr is not used at all. Set it to
8590msgctxt "_"8636msgctxt "_"
8591msgid ""8637msgid ""
8592"external ref='figures/dropdown_complex.png' "8638"external ref='figures/dropdown_complex.png' "
8593"md5='2167fb44e42653aa7fd855604c4c1e65'"8639"md5='2167fb44e42653aa7fd855604c4c1e65'"
8594msgstr ""8640msgstr ""
n8595"external ref='figures/combobox_complex.png' "n8641"external ref='figures/dropdown_complex.png' "
8596"md5='ec96e29fe85caef072868284443e413e'"8642"md5='2167fb44e42653aa7fd855604c4c1e65'"
85978643
8598#. (itstool) path: section/para8644#. (itstool) path: section/para
8599#: C/index-in.docbook:35388645#: C/index-in.docbook:3538
n8600#, fuzzyn
8601#| msgid ""
8602#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
8603#| "tree/master/examples/book/combobox/complex\">Source Code</link>"
8604msgid ""8646msgid ""
8605"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8647"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
8606"master/examples/book/dropdown/complex\">Source Code</link>"8648"master/examples/book/dropdown/complex\">Source Code</link>"
8607msgstr ""8649msgstr ""
8608"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"8650"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n8609"master/examples/book/combobox/complex\">Källkod</link>"n8651"master/examples/book/dropdown/complex\">Källkod</link>"
86108652
8611#. (itstool) path: chapter/title8653#. (itstool) path: chapter/title
8612#: C/index-in.docbook:35438654#: C/index-in.docbook:3543
8613msgid "Combo Boxes"8655msgid "Combo Boxes"
8614msgstr "Kombinationsrutor"8656msgstr "Kombinationsrutor"
10852msgctxt "_"10894msgctxt "_"
10853msgid ""10895msgid ""
10854"external ref='figures/dialogs_alertdialog.png' "10896"external ref='figures/dialogs_alertdialog.png' "
10855"md5='88fa2103ad6d842eeebc68cc8cfd94ef'"10897"md5='88fa2103ad6d842eeebc68cc8cfd94ef'"
10856msgstr ""10898msgstr ""
n10857"external ref='figures/dialogs_messagedialog.png' "n10899"external ref='figures/dialogs_alertdialog.png' "
10858"md5='58151003c2b562b9f27b064c3193f7b1'"10900"md5='88fa2103ad6d842eeebc68cc8cfd94ef'"
1085910901
10860#. (itstool) path: section/para10902#. (itstool) path: section/para
10861#: C/index-in.docbook:453210903#: C/index-in.docbook:4532
10862msgid ""10904msgid ""
10863"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"10905"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
10933msgctxt "_"10975msgctxt "_"
10934msgid ""10976msgid ""
10935"external ref='figures/dialogs_filedialog.png' "10977"external ref='figures/dialogs_filedialog.png' "
10936"md5='15ecc452482112428259d0dcd8d0394a'"10978"md5='15ecc452482112428259d0dcd8d0394a'"
10937msgstr ""10979msgstr ""
n10938"external ref='figures/dialogs_filechooser.png' "n10980"external ref='figures/dialogs_filedialog.png' "
10939"md5='15ecc452482112428259d0dcd8d0394a'"10981"md5='15ecc452482112428259d0dcd8d0394a'"
1094010982
10941#. (itstool) path: section/para10983#. (itstool) path: section/para
10942#: C/index-in.docbook:456110984#: C/index-in.docbook:4561
10943msgid ""10985msgid ""
11006msgctxt "_"11048msgctxt "_"
11007msgid ""11049msgid ""
11008"external ref='figures/dialogs_colordialog.png' "11050"external ref='figures/dialogs_colordialog.png' "
11009"md5='029761e82cf06d3cbeaac2b7ccd70e57'"11051"md5='029761e82cf06d3cbeaac2b7ccd70e57'"
11010msgstr ""11052msgstr ""
n11011"external ref='figures/dialogs_colorchooserdialog.png' "n11053"external ref='figures/dialogs_colordialog.png' "
11012"md5='029761e82cf06d3cbeaac2b7ccd70e57'"11054"md5='029761e82cf06d3cbeaac2b7ccd70e57'"
1101311055
11014#. (itstool) path: section/para11056#. (itstool) path: section/para
11015#: C/index-in.docbook:458811057#: C/index-in.docbook:4588
11016msgid ""11058msgid ""
11077msgctxt "_"11119msgctxt "_"
11078msgid ""11120msgid ""
11079"external ref='figures/dialogs_fontdialog.png' "11121"external ref='figures/dialogs_fontdialog.png' "
11080"md5='e35e05429468fa8823416b8a0deff342'"11122"md5='e35e05429468fa8823416b8a0deff342'"
11081msgstr ""11123msgstr ""
n11082"external ref='figures/dialogs_fontchooserdialog.png' "n11124"external ref='figures/dialogs_fontdialog.png' "
11083"md5='e35e05429468fa8823416b8a0deff342'"11125"md5='e35e05429468fa8823416b8a0deff342'"
1108411126
11085#. (itstool) path: section/para11127#. (itstool) path: section/para
11086#: C/index-in.docbook:461511128#: C/index-in.docbook:4615
11087msgid ""11129msgid ""
11167"master/examples/book/dialogs/aboutdialog\">Källkod</link>"11209"master/examples/book/dialogs/aboutdialog\">Källkod</link>"
1116811210
11169#. (itstool) path: section/title11211#. (itstool) path: section/title
11170#: C/index-in.docbook:465211212#: C/index-in.docbook:4652
11171#, fuzzy11213#, fuzzy
n11172#| msgid "Custom Widget"n
11173msgid "Custom Dialog"11214msgid "Custom Dialog"
n11174msgstr "Anpassad komponent"n11215msgstr "Anpassad dialogruta"
1117511216
11176#. (itstool) path: section/para11217#. (itstool) path: section/para
11177#: C/index-in.docbook:465311218#: C/index-in.docbook:4653
11178#, fuzzy11219#, fuzzy
11179msgid ""11220msgid ""
11185"skapa din egen dialogruta genom att härleda en klass från <classname>Window</"11226"skapa din egen dialogruta genom att härleda en klass från <classname>Window</"
11186"classname> och fylla den med komponenterna som du behöver."11227"classname> och fylla den med komponenterna som du behöver."
1118711228
11188#. (itstool) path: section/para11229#. (itstool) path: section/para
11189#: C/index-in.docbook:465911230#: C/index-in.docbook:4659
n11190#, fuzzyn
11191#| msgid ""
11192#| "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11193#| "classGtk_1_1Widget.html\">Widget Reference</link>"
11194msgid ""11231msgid ""
11195"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11232"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
11196"classGtk_1_1Window.html\">Window Reference</link>"11233"classGtk_1_1Window.html\">Window Reference</link>"
11197msgstr ""11234msgstr ""
11198"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"11235"<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/gtkmm/"
n11199"classGtk_1_1Widget.html\">Widget-referens</link>"n11236"classGtk_1_1Window.html\">Window-referens</link>"
1120011237
11201#. (itstool) path: figure/title11238#. (itstool) path: figure/title
11202#: C/index-in.docbook:466511239#: C/index-in.docbook:4665
11203#, fuzzy11240#, fuzzy
n11204#| msgid "Dialogs"n
11205msgid "Window Dialog"11241msgid "Window Dialog"
n11206msgstr "Dialogrutor"n11242msgstr "Fönsterdialog"
1120711243
11208#. (itstool) path: imageobject/imagedata11244#. (itstool) path: imageobject/imagedata
11209#. This is a reference to an external file such as an image or video. When11245#. This is a reference to an external file such as an image or video. When
11210#. the file changes, the md5 hash will change to let you know you need to11246#. the file changes, the md5 hash will change to let you know you need to
11211#. update your localized copy. The msgstr is not used at all. Set it to11247#. update your localized copy. The msgstr is not used at all. Set it to
11215msgctxt "_"11251msgctxt "_"
11216msgid ""11252msgid ""
11217"external ref='figures/dialogs_windowdialog.png' "11253"external ref='figures/dialogs_windowdialog.png' "
11218"md5='53deb18153f6903fe45d015fc06ccef3'"11254"md5='53deb18153f6903fe45d015fc06ccef3'"
11219msgstr ""11255msgstr ""
n11220"external ref='figures/dialogs_messagedialog.png' "n11256"external ref='figures/dialogs_windowdialog.png' "
11221"md5='58151003c2b562b9f27b064c3193f7b1'"11257"md5='53deb18153f6903fe45d015fc06ccef3'"
1122211258
11223#. (itstool) path: section/para11259#. (itstool) path: section/para
11224#: C/index-in.docbook:467111260#: C/index-in.docbook:4671
11225msgid ""11261msgid ""
11226"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"11262"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
18010"your custom class from that class. The <link linkend=\"custom-css-name-"18046"your custom class from that class. The <link linkend=\"custom-css-name-"
18011"example\">custom CSS name example</link> shows how that's done."18047"example\">custom CSS name example</link> shows how that's done."
18012msgstr ""18048msgstr ""
18013"Vissa <application>GTK</application>-funktioner måste, om de anropas över "18049"Vissa <application>GTK</application>-funktioner måste, om de anropas över "
18014"huvud taget, anropas från klassens init-funktion. Några andra "18050"huvud taget, anropas från klassens init-funktion. Några andra "
n18015"<application>GTK</application>-funktioner måste, om de anropas , anropas "n18051"<application>GTK</application>-funktioner måste, om de anropas, anropas från "
18016"från instansens init-funktion. Om din anpassade komponent måste anropa någon "18052"instansens init-funktion. Om din anpassade komponent måste anropa någon av "
18017"av dessa funktioner kan du härleda en klass från <classname>Glib::"18053"dessa funktioner kan du härleda en klass från <classname>Glib::"
18018"ExtraClassInit</classname> och härleda din anpassade klass från den klassen. "18054"ExtraClassInit</classname> och härleda din anpassade klass från den klassen. "
18019"Följande exempel visar hur detta görs."18055"Följande exempel visar hur detta görs."
1802018056
18021#. (itstool) path: section/para18057#. (itstool) path: section/para
18022#: C/index-in.docbook:778018058#: C/index-in.docbook:7780
18074"som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan "18110"som endast tillämpas på dessa komponenter, exempelvis vissa knappar, utan "
18075"att påverka andra liknande komponenter."18111"att påverka andra liknande komponenter."
1807618112
18077#. (itstool) path: section/title18113#. (itstool) path: section/title
18078#: C/index-in.docbook:780318114#: C/index-in.docbook:7803
nn18115#, fuzzy
18079msgid "CSS Node Name, Widget Name, CSS Class Name"18116msgid "CSS Node Name, Widget Name, CSS Class Name"
n18080msgstr ""n18117msgstr "CSS-nodnamn, Komponentnamn, CSS-klassnamn"
1808118118
18082#. (itstool) path: listitem/para18119#. (itstool) path: listitem/para
18083#: C/index-in.docbook:780718120#: C/index-in.docbook:7807
18084#, fuzzy18121#, fuzzy
18085msgid ""18122msgid ""
18108"konstruktor. Den ställer in namnet för en komponentinstans."18145"konstruktor. Den ställer in namnet för en komponentinstans."
1810918146
18110#. (itstool) path: listitem/para18147#. (itstool) path: listitem/para
18111#: C/index-in.docbook:781418148#: C/index-in.docbook:7814
18112#, fuzzy18149#, fuzzy
n18113#| msgid ""n
18114#| "<methodname>Gtk::Widget::set_name()</methodname> can be called from a C++ "
18115#| "constructor. It sets the name of a widget instance."
18116msgid ""18150msgid ""
18117"<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a "18151"<methodname>Gtk::Widget::add_class_name()</methodname> can be called from a "
18118"<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS "18152"<phrase role=\"nowrap\">C++</phrase> constructor. It adds the name of a CSS "
18119"class, used by a widget instance."18153"class, used by a widget instance."
18120msgstr ""18154msgstr ""
18121"<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-"18155"<methodname>Gtk::Widget::set_name()</methodname> kan anropas från en C++-"
n18122"konstruktor. Den ställer in namnet för en komponentinstans."n18156"konstruktor. Den ställer in namnet för en CSS-klass, använd av en "
18157"komponentinstans."
1812318158
18124#. (itstool) path: section/para18159#. (itstool) path: section/para
18125#: C/index-in.docbook:780518160#: C/index-in.docbook:7805
18126#, fuzzy18161#, fuzzy
18127msgid ""18162msgid ""
18164msgid "CSS files are described in the documentation of GTK."18199msgid "CSS files are described in the documentation of GTK."
18165msgstr "CSS-filer beskrivs i dokumentationen för GTK."18200msgstr "CSS-filer beskrivs i dokumentationen för GTK."
1816618201
18167#. (itstool) path: section/para18202#. (itstool) path: section/para
18168#: C/index-in.docbook:783818203#: C/index-in.docbook:7838
n18169#, fuzzyn
18170#| msgid "This example implements a widget which draws Penrose triangles."
18171msgid ""18204msgid ""
18172"This example implements a button and two labels with custom style "18205"This example implements a button and two labels with custom style "
18173"information."18206"information."
n18174msgstr "Detta exempel implementerar en komponent som ritar Penrose-trianglar."n18207msgstr ""
18208"Detta exempel implementerar en knapp och två etiketter med anpassad "
18209"stilinformation."
1817518210
18176#. (itstool) path: figure/title18211#. (itstool) path: figure/title
18177#: C/index-in.docbook:784118212#: C/index-in.docbook:7841
18178#, fuzzy18213#, fuzzy
18179msgid "Custom CSS Name"18214msgid "Custom CSS Name"
18189msgctxt "_"18224msgctxt "_"
18190msgid ""18225msgid ""
18191"external ref='figures/custom_css_name.png' "18226"external ref='figures/custom_css_name.png' "
18192"md5='fb3d968b1fd40eb219e5a78946adff0f'"18227"md5='fb3d968b1fd40eb219e5a78946adff0f'"
18193msgstr ""18228msgstr ""
n18194"external ref='figures/frame.png' md5='e7b49b5f57afa5c0d4c487c187f1be55'"n18229"external ref='figures/custom_css_name.png' "
18230"md5='fb3d968b1fd40eb219e5a78946adff0f'"
1819518231
18196#. (itstool) path: section/para18232#. (itstool) path: section/para
18197#: C/index-in.docbook:784718233#: C/index-in.docbook:7847
n18198#, fuzzyn
18199#| msgid ""
18200#| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
18201#| "tree/master/examples/book/custom/custom_container/\">Source Code</link>"
18202msgid ""18234msgid ""
18203"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"18235"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
18204"master/examples/book/custom/custom_css_name/\">Source Code</link>"18236"master/examples/book/custom/custom_css_name/\">Source Code</link>"
18205msgstr ""18237msgstr ""
18206"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"18238"<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/tree/"
n18207"master/examples/book/custom/custom_container/\">Källkod</link>"n18239"master/examples/book/custom/custom_css_name/\">Källkod</link>"
1820818240
18209#. (itstool) path: chapter/title18241#. (itstool) path: chapter/title
18210#: C/index-in.docbook:785418242#: C/index-in.docbook:7854
18211msgid "Multi-threaded programs"18243msgid "Multi-threaded programs"
18212msgstr "Flertrådade program"18244msgstr "Flertrådade program"
27404#~ "namespaceGlib.html\">Reference</link>"27436#~ "namespaceGlib.html\">Reference</link>"
27405#~ msgstr ""27437#~ msgstr ""
27406#~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"27438#~ "<link xlink:href=\"https://gnome.pages.gitlab.gnome.org/glibmm/"
27407#~ "namespaceGlib.html\">Referens</link>"27439#~ "namespaceGlib.html\">Referens</link>"
2740827440
n27409#, fuzzyn
27410#~| msgid ""
27411#~| "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27412#~| "tree/master/examples/book/iconview\">Source Code, IconView</link>"
27413#~ msgid ""
27414#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27415#~ "tree/master/examples/book/gridview\">Source Code, GridView</link>"
27416#~ msgstr ""
27417#~ "<link xlink:href=\"https://gitlab.gnome.org/GNOME/gtkmm-documentation/"
27418#~ "tree/master/examples/book/iconview\">Källkod, IconView</link>"
27419 
27420#, no-wrap27441#, no-wrap
27421#~ msgid "intltool-update --pot"27442#~ msgid "intltool-update --pot"
27422#~ msgstr "intltool-update --pot"27443#~ msgstr "intltool-update --pot"
2742327444
27424#~ msgid ""27445#~ msgid ""
27432#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"27453#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"
27433#~ "\"><literal>gnomemm_hello</literal> example package</link>"27454#~ "\"><literal>gnomemm_hello</literal> example package</link>"
27434#~ msgstr ""27455#~ msgstr ""
27435#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"27456#~ "<link xlink:href=\"http://ftp.gnome.org/pub/GNOME/sources/gnomemm_hello/"
27436#~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>"27457#~ "\">Exempelpaketet <literal>gnomemm_hello</literal></link>"
n27437 n
27438#~ msgid "Widget Name and CSS Node Name"
27439#~ msgstr "Komponentnamn och CSS-nodnamn"
2744027458
27441#~ msgid "For instance, from <filename>adjustment.hg</filename>:"27459#~ msgid "For instance, from <filename>adjustment.hg</filename>:"
27442#~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:"27460#~ msgstr "Till exempel, från <filename>adjustment.hg</filename>:"
2744327461
27444#~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:"27462#~ msgid "For example, from <filename>iochannel.hg</filename> in glibmm:"
27556#~ "<_:programlisting-2/>"27574#~ "<_:programlisting-2/>"
27557#~ msgstr ""27575#~ msgstr ""
27558#~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så "27576#~ "Detta kompileringsfel kan se ut så här: <_:programlisting-1/> eller så "
27559#~ "här: <_:programlisting-2/>"27577#~ "här: <_:programlisting-2/>"
2756027578
tt27579#~ msgid "Widget Name and CSS Node Name"
27580#~ msgstr "Komponentnamn och CSS-nodnamn"
27581 
27561#, fuzzy27582#, fuzzy
27562#~ msgid ""27583#~ msgid ""
27563#~ "<classname>MessageDialog</classname> is a convenience class, used to "27584#~ "<classname>MessageDialog</classname> is a convenience class, used to "
27564#~ "create simple, standard message dialogs, with a message and buttons for "27585#~ "create simple, standard message dialogs, with a message and buttons for "
27565#~ "user response. You can specify the type of message and the text in the "27586#~ "user response. You can specify the type of message and the text in the "

Note: both files are merged with latest POT file.