gtkmm-documentation - master - Tutorial - Swedish

← Back to actions


Uploaded file by Anders Jonsson on 2023-03-05 11:22:43+00:00
Uploaded file by Anders Jonsson on 2023-03-05 11:30:32+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 12:22+0100\n"n10"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"
36"<personname><firstname>Murray</firstname><surname>Cumming</surname></"36"<personname><firstname>Murray</firstname><surname>Cumming</surname></"
37"personname>"37"personname>"
3838
39#. (itstool) path: authorgroup/author39#. (itstool) path: authorgroup/author
40#: C/index-in.docbook:5140#: C/index-in.docbook:51
n41#, fuzzyn
42msgid ""41msgid ""
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>"
45msgstr ""44msgstr ""
46"<personname><firstname>Bernhard</firstname><surname>Rieder</surname></"45"<personname><firstname>Bernhard</firstname><surname>Rieder</surname></"
717"du hämtat."716"du hämtat."
718717
719# TODO: root password for su, not sudo?718# TODO: root password for su, not sudo?
720#. (itstool) path: note/para719#. (itstool) path: note/para
721#: C/index-in.docbook:271720#: C/index-in.docbook:271
n722#, fuzzyn
723msgid ""721msgid ""
724"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 "
725"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 "
726"<command>sudo</command> command will allow you to enter the <literal>root</"724"<command>sudo</command> command will allow you to enter the <literal>root</"
727"literal> password and have <literal>root</literal> status temporarily."725"literal> password and have <literal>root</literal> status temporarily."
2048"kompatibilitet behölls. Om du aldrig använt <application>gtkmm</"2046"kompatibilitet behölls. Om du aldrig använt <application>gtkmm</"
2049"application>-2.4-API:t kan du lugnt ignorera detta kapitel."2047"application>-2.4-API:t kan du lugnt ignorera detta kapitel."
20502048
2051#. (itstool) path: chapter/para2049#. (itstool) path: chapter/para
2052#: C/index-in.docbook:6962050#: C/index-in.docbook:696
n2053#, fuzzyn
2054msgid ""2051msgid ""
2055"<application>gtkmm</application> 3's library is called "2052"<application>gtkmm</application> 3's library is called "
2056"<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> "
2057"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-"
2058"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 "
2115"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 "
2116"<application>gtkmm</application>-2.4. Här är en kort lista:"2113"<application>gtkmm</application>-2.4. Här är en kort lista:"
21172114
2118#. (itstool) path: listitem/simpara2115#. (itstool) path: listitem/simpara
2119#: C/index-in.docbook:7112116#: C/index-in.docbook:711
n2120#, fuzzyn
2121msgid ""2117msgid ""
2122"<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</"2118"<classname>Gtk::CellLayout</classname>, used by <classname>Gtk::IconView</"
2123"classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::"2119"classname>, <classname>Gtk::TreeView::Column</classname> and <classname>Gtk::"
2124"ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which "2120"ComboBox</classname>, now has a <classname>Gtk::CellArea</classname> which "
2125"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</"
2131"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 "
2132"<classname>CellRenderer</classname>-renderarna arrangeras och justeras."2128"<classname>CellRenderer</classname>-renderarna arrangeras och justeras."
21332129
2134#. (itstool) path: listitem/simpara2130#. (itstool) path: listitem/simpara
2135#: C/index-in.docbook:7132131#: C/index-in.docbook:713
n2136#, fuzzyn
2137msgid ""2132msgid ""
2138"Gtk::ComboBox now derives from CellLayout, allowing easier layout and "2133"Gtk::ComboBox now derives from CellLayout, allowing easier layout and "
2139"alignment of its <classname>Gtk::CellRenderer</classname>s."2134"alignment of its <classname>Gtk::CellRenderer</classname>s."
2140msgstr ""2135msgstr ""
2141"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 "
2172"vilket låter deras orientering (vertikal eller horisontell) anges utan att "2167"vilket låter deras orientering (vertikal eller horisontell) anges utan att "
2173"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>."
21742169
2175#. (itstool) path: listitem/simpara2170#. (itstool) path: listitem/simpara
2176#: C/index-in.docbook:7202171#: C/index-in.docbook:720
n2177#, fuzzyn
2178msgid ""2172msgid ""
2179"<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, "2173"<classname>Gtk::IconView</classname>, <classname>Gtk::TextView</classname>, "
2180"<classname>Gtk::TreeView</classname> and other widgets derive from "2174"<classname>Gtk::TreeView</classname> and other widgets derive from "
2181"Scrollable instead of having their own methods such as "2175"Scrollable instead of having their own methods such as "
2182"<methodname>get_vadjustment()</methodname> and instead of having their own "2176"<methodname>get_vadjustment()</methodname> and instead of having their own "
2188"<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 "
2189"set_scroll_adjustments-signal."2183"set_scroll_adjustments-signal."
21902184
2191#. (itstool) path: listitem/simpara2185#. (itstool) path: listitem/simpara
2192#: C/index-in.docbook:7222186#: C/index-in.docbook:722
n2193#, fuzzyn
2194msgid ""2187msgid ""
2195"<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were "2188"<classname>Gtk::Style</classname> and <classname>Gtk::Rc</classname> were "
2196"removed, replaced by <classname>Gtk::StyleContext</classname>, and "2189"removed, replaced by <classname>Gtk::StyleContext</classname>, and "
2197"<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::"2190"<classname>Gtk::StyleProvider</classname>s, such as <classname>Gtk::"
2198"CssProvider</classname>."2191"CssProvider</classname>."
2199msgstr ""2192msgstr ""
2200"<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs "2193"<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs "
2201"bort, ersatta av <classname>Gtk::StyleContext</classname> och olika "2194"bort, ersatta av <classname>Gtk::StyleContext</classname> och olika "
n2202"<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</"n2195"<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::"
2203"classname>."2196"CssProvider</classname>."
22042197
2205#. (itstool) path: listitem/simpara2198#. (itstool) path: listitem/simpara
2206#: C/index-in.docbook:7242199#: C/index-in.docbook:724
2207msgid ""2200msgid ""
2208"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 "
2215"classname> och kräver inte att du anropar <methodname>Cairo::Context::"2208"classname> och kräver inte att du anropar <methodname>Cairo::Context::"
2216"clip()</methodname>."2209"clip()</methodname>."
22172210
2218#. (itstool) path: listitem/simpara2211#. (itstool) path: listitem/simpara
2219#: C/index-in.docbook:7262212#: C/index-in.docbook:726
n2220#, fuzzyn
2221msgid ""2213msgid ""
2222"<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, "2214"<classname>Gdk::RGBA</classname> replaces <classname>Color</classname>, "
2223"adding an alpha component for opacity. <classname>Colormap</classname> was "2215"adding an alpha component for opacity. <classname>Colormap</classname> was "
2224"removed, along with its awkward use to allocate colors."2216"removed, along with its awkward use to allocate colors."
2225msgstr ""2217msgstr ""
2251"<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat "2243"<classname>Gdk::Drawable</classname> togs bort, dess metoder har flyttat "
2252"till <classname>Gdk::Window</classname>."2244"till <classname>Gdk::Window</classname>."
22532245
2254#. (itstool) path: listitem/simpara2246#. (itstool) path: listitem/simpara
2255#: C/index-in.docbook:7322247#: C/index-in.docbook:732
n2256#, fuzzyn
2257msgid ""2248msgid ""
2258"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 "
2259"*Handle types to make the API clearer."2250"*Handle types to make the API clearer."
2260msgstr ""2251msgstr ""
2261"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 "
2326"behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan "2317"behölls. Om du aldrig använt <application>gtkmm</application>-3.0-API:t kan "
2327"du lugnt ignorera detta kapitel."2318"du lugnt ignorera detta kapitel."
23282319
2329#. (itstool) path: chapter/para2320#. (itstool) path: chapter/para
2330#: C/index-in.docbook:7542321#: C/index-in.docbook:754
n2331#, fuzzyn
2332msgid ""2322msgid ""
2333"<application>gtkmm</application> 4's library is called "2323"<application>gtkmm</application> 4's library is called "
2334"<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> "
2335"and installs its headers in a similarly-versioned directory, so your "2325"and installs its headers in a similarly-versioned directory, so your "
2336"<application>pkg-config</application> check should ask for "2326"<application>pkg-config</application> check should ask for "
2343"<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>."
23442334
2345#. (itstool) path: chapter/para2335#. (itstool) path: chapter/para
2346#: C/index-in.docbook:7602336#: C/index-in.docbook:760
2347#, fuzzy2337#, fuzzy
nn2338#| 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>."
2348msgid ""2351msgid ""
2349"<application>gtkmm</application>-4.0 is used in combination with "2352"<application>gtkmm</application>-4.0 is used in combination with "
2350"<application>glibmm-2.68</application>, which sets the global locale for "2353"<application>glibmm-2.68</application>, which sets the global locale for "
2351"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 "
2352"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. "
2531"<classname>Gtk::FontButton</classname> implementerar gränssnittet "2534"<classname>Gtk::FontButton</classname> implementerar gränssnittet "
2532"<classname>Gtk::FontChooser</classname>."2535"<classname>Gtk::FontChooser</classname>."
25332536
2534#. (itstool) path: listitem/simpara2537#. (itstool) path: listitem/simpara
2535#: C/index-in.docbook:8222538#: C/index-in.docbook:822
n2536#, fuzzyn
2537msgid ""2539msgid ""
2538"<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</"2540"<classname>Gtk::Widget</classname>: The <methodname>get_preferred_*_vfunc()</"
2539"methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. "2541"methodname>s have been replaced by <methodname>measure_vfunc()</methodname>. "
2540"This change only affects custom widgets."2542"This change only affects custom widgets."
2541msgstr ""2543msgstr ""
n2542"<classname>Gtk::Widget</classname>: De olika "n2544"<classname>Gtk::Widget</classname>: De olika metoderna "
2543"<methodname>get_preferred_*_vfunc()</methodname> har ersatts med "2545"<methodname>get_preferred_*_vfunc()</methodname> har ersatts med "
2544"<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara "2546"<methodname>measure_vfunc()</methodname>. Denna ändring påverkar bara "
2545"anpassade komponenter."2547"anpassade komponenter."
25462548
2547#. (itstool) path: listitem/simpara2549#. (itstool) path: listitem/simpara
6374msgstr "Filtrera filer"6376msgstr "Filtrera filer"
63756377
6376#. (itstool) path: section/para6378#. (itstool) path: section/para
6377#: C/index-in.docbook:25846379#: C/index-in.docbook:2584
6378#, fuzzy6380#, fuzzy
nn6381#| 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>."
6379msgid ""6386msgid ""
6380"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</"
6381"classname>. Set a <classname>Filter</classname> such as a "6388"classname>. Set a <classname>Filter</classname> such as a "
6382"<classname>StringFilter</classname> or a <classname>BoolFilter</classname> "6389"<classname>StringFilter</classname> or a <classname>BoolFilter</classname> "
6383"to the <classname>FilterListModel</classname>."6390"to the <classname>FilterListModel</classname>."
6384msgstr ""6391msgstr ""
6385"<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs "6392"<classname>Gtk::Style</classname> och <classname>Gtk::Rc</classname> togs "
6386"bort, ersatta av <classname>Gtk::StyleContext</classname> och olika "6393"bort, ersatta av <classname>Gtk::StyleContext</classname> och olika "
n6387"<classname>Gtk::StyleProvider</classname>, som <classname>Gtk::CssProvider</"n6394"<classname>Gtk::StyleProvider</classname>-klasser, som <classname>Gtk::"
6388"classname>."6395"CssProvider</classname>."
63896396
6390#. (itstool) path: section/para6397#. (itstool) path: section/para
6391#: C/index-in.docbook:25906398#: C/index-in.docbook:2590
6392#, fuzzy6399#, fuzzy
6393#| msgid ""6400#| msgid ""
14951msgid "Timeouts, I/O and Idle Functions"14958msgid "Timeouts, I/O and Idle Functions"
14952msgstr "Timeout, I/O och inaktivitetsfunktioner"14959msgstr "Timeout, I/O och inaktivitetsfunktioner"
1495314960
14954#. (itstool) path: section/title14961#. (itstool) path: section/title
14955#: C/index-in.docbook:643514962#: C/index-in.docbook:6435
t14956#, fuzzyt
14957msgid "Timeouts"14963msgid "Timeouts"
14958msgstr "Timeout"14964msgstr "Timeout"
1495914965
14960#. (itstool) path: section/para14966#. (itstool) path: section/para
14961#: C/index-in.docbook:643714967#: C/index-in.docbook:6437

Note: both files are merged with latest POT file.