[gtkmm-documentation] Updated Spanish translation
- From: Daniel Mustieles GarcÃa <dmustieles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm-documentation] Updated Spanish translation
- Date: Wed, 5 Oct 2011 16:02:07 +0000 (UTC)
commit b375120370582e089d931ec2b81d6f2e2b43e9dc
Author: Daniel Mustieles <daniel mustieles gmail com>
Date: Wed Oct 5 18:01:57 2011 +0200
Updated Spanish translation
docs/tutorial/es/es.po | 1810 ++++++++++++++++++++++++------------------------
1 files changed, 892 insertions(+), 918 deletions(-)
---
diff --git a/docs/tutorial/es/es.po b/docs/tutorial/es/es.po
index 9c5fc64..bc100f2 100644
--- a/docs/tutorial/es/es.po
+++ b/docs/tutorial/es/es.po
@@ -11,8 +11,8 @@
msgid ""
msgstr ""
"Project-Id-Version: gtkmm-documentation.tutorial.master\n"
-"POT-Creation-Date: 2011-09-27 15:05+0000\n"
-"PO-Revision-Date: 2011-10-01 12:25+0200\n"
+"POT-Creation-Date: 2011-10-04 15:29+0000\n"
+"PO-Revision-Date: 2011-10-05 17:57+0200\n"
"Last-Translator: Daniel Mustieles <daniel mustieles gmail com>\n"
"Language-Team: EspaÃol <gnome-es-list gnome org>\n"
"MIME-Version: 1.0\n"
@@ -122,8 +122,8 @@ msgid ""
"Section \"Build Structure\" of chapter on \"Wrapping C Libraries with gmmproc"
"\"."
msgstr ""
-"SecciÃn ÂConstruir la estructura del capÃtulo acerca de ÂEnvolver "
-"bibliotecas de C con gmmprocÂ."
+"SecciÃn ÂConstruir la estructura del capÃtulo acerca de ÂEnvolver bibliotecas "
+"de C con gmmprocÂ."
#: C/gtkmm-tutorial-in.xml:81(firstname)
msgid "David"
@@ -172,8 +172,8 @@ msgstr ""
"para el Software Libre; sin Secciones Invariantes, sin Textos de Portada y "
"sin Textos de Contraportada. Puede conseguir una copia de la Licencia de "
"DocumentaciÃn Libre de GNU, visitando la pÃgina oficial o escribiendo a: "
-"Free Software Fundation, Inc., 59 Temple Place - Suite 330, Boston, MA "
-"02111-1307, EE. UU."
+"Free Software Fundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-"
+"1307, EE. UU."
#: C/gtkmm-tutorial-in.xml:113(title)
msgid "Introduction"
@@ -646,11 +646,11 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:4601(ulink) C/gtkmm-tutorial-in.xml:4627(ulink)
#: C/gtkmm-tutorial-in.xml:4840(ulink) C/gtkmm-tutorial-in.xml:5000(ulink)
#: C/gtkmm-tutorial-in.xml:5020(ulink) C/gtkmm-tutorial-in.xml:5394(ulink)
-#: C/gtkmm-tutorial-in.xml:5602(ulink) C/gtkmm-tutorial-in.xml:5736(ulink)
-#: C/gtkmm-tutorial-in.xml:5842(ulink) C/gtkmm-tutorial-in.xml:5939(ulink)
-#: C/gtkmm-tutorial-in.xml:5976(ulink) C/gtkmm-tutorial-in.xml:6329(ulink)
-#: C/gtkmm-tutorial-in.xml:6397(ulink) C/gtkmm-tutorial-in.xml:7042(ulink)
-#: C/gtkmm-tutorial-in.xml:7099(ulink) C/gtkmm-tutorial-in.xml:7844(ulink)
+#: C/gtkmm-tutorial-in.xml:5615(ulink) C/gtkmm-tutorial-in.xml:5749(ulink)
+#: C/gtkmm-tutorial-in.xml:5855(ulink) C/gtkmm-tutorial-in.xml:5952(ulink)
+#: C/gtkmm-tutorial-in.xml:5989(ulink) C/gtkmm-tutorial-in.xml:6342(ulink)
+#: C/gtkmm-tutorial-in.xml:6410(ulink) C/gtkmm-tutorial-in.xml:7055(ulink)
+#: C/gtkmm-tutorial-in.xml:7112(ulink) C/gtkmm-tutorial-in.xml:7857(ulink)
msgid "Source Code"
msgstr "CÃdigo fuente"
@@ -795,7 +795,7 @@ msgstr ""
"Openismus tiene mÃs <ulink url=\"http://www.openismus.com/documents/linux/"
"automake/automake.shtml\">ayuda bÃsica con automake y autoconf</ulink>"
-#: C/gtkmm-tutorial-in.xml:390(title) C/gtkmm-tutorial-in.xml:5999(title)
+#: C/gtkmm-tutorial-in.xml:390(title) C/gtkmm-tutorial-in.xml:6012(title)
msgid "Widgets"
msgstr "Widgets"
@@ -866,7 +866,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:411(title) C/gtkmm-tutorial-in.xml:765(title)
#: C/gtkmm-tutorial-in.xml:4758(title) C/gtkmm-tutorial-in.xml:5049(title)
-#: C/gtkmm-tutorial-in.xml:7380(title)
+#: C/gtkmm-tutorial-in.xml:7393(title)
msgid "Signals"
msgstr "SeÃales"
@@ -910,7 +910,7 @@ msgid ""
"<link linkend=\"chapter-custom-signals\">appendix</link>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:432(title) C/gtkmm-tutorial-in.xml:9065(classname)
+#: C/gtkmm-tutorial-in.xml:432(title) C/gtkmm-tutorial-in.xml:9078(classname)
msgid "Glib::ustring"
msgstr "Glib::ustring"
@@ -994,7 +994,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:4024(ulink) C/gtkmm-tutorial-in.xml:4051(ulink)
#: C/gtkmm-tutorial-in.xml:4074(ulink) C/gtkmm-tutorial-in.xml:4098(ulink)
#: C/gtkmm-tutorial-in.xml:4868(ulink) C/gtkmm-tutorial-in.xml:5139(ulink)
-#: C/gtkmm-tutorial-in.xml:5171(ulink) C/gtkmm-tutorial-in.xml:7252(ulink)
+#: C/gtkmm-tutorial-in.xml:5171(ulink) C/gtkmm-tutorial-in.xml:7265(ulink)
msgid "Reference"
msgstr "Referencia"
@@ -1295,11 +1295,11 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:605(para)
msgid ""
-"<application>gtkmm</application> 3's library is called "
-"<literal>libgtkmm-3.0</literal> rather than <literal>libgtkmm-2.4</literal> "
-"and installs its headers in a similarly-versioned directory, so your pkg-"
-"config check should ask for <literal>gtkmm-3.0</literal> rather than "
-"<literal>gtkmm-2.4</literal>."
+"<application>gtkmm</application> 3's library is called <literal>libgtkmm-"
+"3.0</literal> rather than <literal>libgtkmm-2.4</literal> and installs its "
+"headers in a similarly-versioned directory, so your pkg-config check should "
+"ask for <literal>gtkmm-3.0</literal> rather than <literal>gtkmm-2.4</"
+"literal>."
msgstr ""
#: C/gtkmm-tutorial-in.xml:608(para)
@@ -1584,9 +1584,9 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:4101(title) C/gtkmm-tutorial-in.xml:4274(title)
#: C/gtkmm-tutorial-in.xml:4390(title) C/gtkmm-tutorial-in.xml:4465(title)
#: C/gtkmm-tutorial-in.xml:4590(title) C/gtkmm-tutorial-in.xml:4830(title)
-#: C/gtkmm-tutorial-in.xml:5375(title) C/gtkmm-tutorial-in.xml:6323(title)
-#: C/gtkmm-tutorial-in.xml:6392(title) C/gtkmm-tutorial-in.xml:7029(title)
-#: C/gtkmm-tutorial-in.xml:7088(title) C/gtkmm-tutorial-in.xml:7838(title)
+#: C/gtkmm-tutorial-in.xml:5375(title) C/gtkmm-tutorial-in.xml:6336(title)
+#: C/gtkmm-tutorial-in.xml:6405(title) C/gtkmm-tutorial-in.xml:7042(title)
+#: C/gtkmm-tutorial-in.xml:7101(title) C/gtkmm-tutorial-in.xml:7851(title)
msgid "Example"
msgstr "Ejemplo"
@@ -1849,6 +1849,7 @@ msgid ""
"The following example demonstrates the use of <classname>RadioButton</"
"classname>s:"
msgstr ""
+"El siguiente ejemplo muestra el uso de <classname>RadioButton</classname>:"
#: C/gtkmm-tutorial-in.xml:988(title) C/gtkmm-tutorial-in.xml:1137(title)
msgid "Range Widgets"
@@ -3237,11 +3238,11 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:2481(title) C/gtkmm-tutorial-in.xml:3025(title)
msgid "TreeView - ListStore"
-msgstr ""
+msgstr "TreeView - ListStore"
#: C/gtkmm-tutorial-in.xml:2492(title)
msgid "TreeStore, for a hierarchy"
-msgstr ""
+msgstr "TreeStore, para una jerarquÃa"
#: C/gtkmm-tutorial-in.xml:2493(para)
msgid ""
@@ -3251,7 +3252,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:2499(title) C/gtkmm-tutorial-in.xml:3044(title)
msgid "TreeView - TreeStore"
-msgstr ""
+msgstr "TreeView - TreeStore"
#: C/gtkmm-tutorial-in.xml:2510(title)
msgid "Model Columns"
@@ -3449,7 +3450,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:2622(programlisting)
#, no-wrap
msgid "m_TreeView.set_model(m_refListStore);"
-msgstr ""
+msgstr "m_TreeView.set_model(m_refListStore);"
#: C/gtkmm-tutorial-in.xml:2626(title)
msgid "Adding View Columns"
@@ -3931,11 +3932,11 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:2919(ulink)
msgid "TreeSortable Reference"
-msgstr ""
+msgstr "Referencia de TreeSortable"
#: C/gtkmm-tutorial-in.xml:2922(title)
msgid "Sorting by clicking on columns"
-msgstr ""
+msgstr "OrdenaciÃn al pulsar en columnas"
#: C/gtkmm-tutorial-in.xml:2923(para)
msgid ""
@@ -4033,7 +4034,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:2960(ulink)
msgid "TreeModelSort Reference"
-msgstr ""
+msgstr "Referencia de TreeModelSort"
#: C/gtkmm-tutorial-in.xml:2966(title) C/gtkmm-tutorial-in.xml:3073(title)
#: C/gtkmm-tutorial-in.xml:3705(title) C/gtkmm-tutorial-in.xml:4672(title)
@@ -4330,7 +4331,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:3211(programlisting)
#, no-wrap
msgid "m_combo.set_text_column(m_columns.m_col_name);"
-msgstr ""
+msgstr "m_combo.set_text_column(m_columns.m_col_name);"
#: C/gtkmm-tutorial-in.xml:3210(para)
msgid ""
@@ -4593,7 +4594,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:3445(title)
msgid "Widgets and ChildAnchors"
-msgstr ""
+msgstr "Widgets y ChildAnchors"
#: C/gtkmm-tutorial-in.xml:3446(para)
msgid ""
@@ -4622,7 +4623,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:3460(programlisting)
#, no-wrap
msgid "m_TextView.add_child_at_anchor(m_Button, refAnchor);"
-msgstr ""
+msgstr "m_TextView.add_child_at_anchor(m_Button, refAnchor);"
#: C/gtkmm-tutorial-in.xml:3486(title)
msgid "Menus and Toolbars"
@@ -4848,6 +4849,17 @@ msgid ""
" return false;\n"
"}"
msgstr ""
+"bool ExampleWindow::on_button_press_event(GdkEventButton* event)\n"
+"{\n"
+" if( (event->type == GDK_BUTTON_PRESS) &&\n"
+" (event->button == 3) )\n"
+" {\n"
+" m_Menu_Popup->popup(event->button, event->time);\n"
+" return true; //Se ha manejado.\n"
+" }\n"
+" else\n"
+" return false;\n"
+"}"
#: C/gtkmm-tutorial-in.xml:3643(title)
msgid "Main Menu example"
@@ -5193,33 +5205,6 @@ msgstr "Aquà hay una lista de estos widgets"
#: C/gtkmm-tutorial-in.xml:3896(programlisting)
#, no-wrap
-#| msgid ""
-#| "Gtk::Alignment\n"
-#| "Gtk::Arrow\n"
-#| "Gtk::Bin\n"
-#| "Gtk::Box\n"
-#| "Gtk::Button\n"
-#| "Gtk::CheckButton\n"
-#| "Gtk::Fixed\n"
-#| "Gtk::Image\n"
-#| "Gtk::Item\n"
-#| "Gtk::Label\n"
-#| "Gtk::MenuItem\n"
-#| "Gtk::Notebook\n"
-#| "Gtk::Paned\n"
-#| "Gtk::Pixmap\n"
-#| "Gtk::RadioButton\n"
-#| "Gtk::Range\n"
-#| "Gtk::ScrolledWindow\n"
-#| "Gtk::Separator\n"
-#| "Gtk::Table\n"
-#| "Gtk::Toolbar\n"
-#| "Gtk::AspectFrame\n"
-#| "Gtk::Frame\n"
-#| "Gtk::VBox\n"
-#| "Gtk::HBox\n"
-#| "Gtk::VSeparator\n"
-#| "Gtk::HSeparator"
msgid ""
"Gtk::Alignment\n"
"Gtk::Arrow\n"
@@ -5407,7 +5392,6 @@ msgid ""
msgstr ""
#: C/gtkmm-tutorial-in.xml:4091(title) C/gtkmm-tutorial-in.xml:4104(title)
-#| msgid "FileChooserDialog"
msgid "FontChooserDialog"
msgstr "FontChooserDialog"
@@ -5554,14 +5538,6 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:4234(programlisting)
#, no-wrap
-#| msgid ""
-#| "void doSomething(Cairo::RefPtr<Cairo::Context> context, int x)\n"
-#| "{\n"
-#| " context->save();\n"
-#| " // change graphics state\n"
-#| " // peform drawing operations\n"
-#| " context->restore();\n"
-#| "}"
msgid ""
"void doSomething(const Cairo::RefPtr<Cairo::Context>& context, int x)\n"
"{\n"
@@ -5574,8 +5550,8 @@ msgstr ""
"void hacerAlgo(const Cairo::RefPtr<Cairo::Context>& context, int x)\n"
"{\n"
" context->save();\n"
-" // change graphics state\n"
-" // peform drawing operations\n"
+" // cambiar el estado de los grÃficos\n"
+" // hacer operaciones de dibujo\n"
" context->restore();\n"
"}"
@@ -6096,6 +6072,10 @@ msgid ""
"<classname>std::vector<Gtk::TargetEntry></classname>, for instance) "
"elements."
msgstr ""
+"<literal>targets</literal> es un contenedor de elementos <classname>Gtk::"
+"TargetEntry</classname> (<classname>std::list<Gtk::TargetEntry></"
+"classname> or <classname>std::vector<Gtk::TargetEntry></classname>, "
+"por ejemplo)."
#: C/gtkmm-tutorial-in.xml:4720(para)
msgid ""
@@ -6151,7 +6131,7 @@ msgstr "Copiar"
#: C/gtkmm-tutorial-in.xml:4774(para)
msgid "<literal>drag_begin</literal>: Provides DragContext."
-msgstr ""
+msgstr "<literal>drag_begin</literal>: proporciona DragContext."
#: C/gtkmm-tutorial-in.xml:4775(para)
msgid ""
@@ -6173,7 +6153,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:4778(para)
msgid "<literal>drag_end</literal>: Provides DragContext."
-msgstr ""
+msgstr "<literal>drag_end</literal>: proporciona DragContext."
#: C/gtkmm-tutorial-in.xml:4771(para)
msgid ""
@@ -6327,7 +6307,7 @@ msgid ""
msgstr ""
"Glib::RefPtr<Gtk::Clipboard> refClipboard = Gtk::Clipboard::get();\n"
"\n"
-"//Targets:\n"
+"//Objetivos:\n"
"std::list<Gtk::TargetEntry> listTargets;\n"
"listTargets.push_back( Gtk::TargetEntry(\"example_custom_target\") );\n"
"listTargets.push_back( Gtk::TargetEntry(\"UTF8_STRING\") );\n"
@@ -6418,7 +6398,7 @@ msgstr ""
#: C/gtkmm-tutorial-in.xml:4953(title)
msgid "Discovering the available targets"
-msgstr ""
+msgstr "Descubrir los objetivos disponibles"
#: C/gtkmm-tutorial-in.xml:4954(para)
msgid ""
@@ -6634,7 +6614,7 @@ msgid ""
msgstr ""
#: C/gtkmm-tutorial-in.xml:5162(para) C/gtkmm-tutorial-in.xml:5227(para)
-#: C/gtkmm-tutorial-in.xml:9197(para)
+#: C/gtkmm-tutorial-in.xml:9210(para)
msgid "For instance, <placeholder-1/>"
msgstr "Por ejemplo, <placeholder-1/>"
@@ -6761,6 +6741,11 @@ msgid ""
"op->set_export_filename(\"test.pdf\");\n"
"Gtk::PrintOperationResult res = op->run(Gtk::PRINT_OPERATION_ACTION_EXPORT);\n"
msgstr ""
+"\n"
+"Glib::RefPtr<Gtk::PrintOperation> op = Gtk::PrintOperation::create();\n"
+"// ...configurar la operaciÃn...\n"
+"op->set_export_filename(\"test.pdf\");\n"
+"Gtk::PrintOperationResult res = op->run(Gtk::PRINT_OPERATION_ACTION_EXPORT);\n"
#: C/gtkmm-tutorial-in.xml:5270(para)
msgid ""
@@ -6869,6 +6854,11 @@ msgid ""
"// ...set up op...\n"
"op->run(Gtk::PRINT_OPERATION_ACTION_PREVIEW, *this);\n"
msgstr ""
+"\n"
+"// en una clase que hereda de Gtk::Window...\n"
+"Glib::RefPtr<PrintOperation> op = PrintOperation::create();\n"
+"// ...configurar la operaciÃn...\n"
+"op->run(Gtk::PRINT_OPERATION_ACTION_PREVIEW, *this);\n"
#: C/gtkmm-tutorial-in.xml:5353(para)
msgid ""
@@ -6906,11 +6896,11 @@ msgid ""
"used documents. The classes involved in implementing this functionality are "
"<classname>RecentManager</classname>, <classname>RecentChooserDialog</"
"classname>, <classname>RecentChooserMenu</classname>, "
-"<classname>RecentChooserWidget</classname>, and <classname>RecentFilter</"
-"classname>."
+"<classname>RecentChooserWidget</classname>, <classname>RecentAction</"
+"classname>, and <classname>RecentFilter</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5414(para)
+#: C/gtkmm-tutorial-in.xml:5415(para)
msgid ""
"Each item in the list of recently used files is identified by its URI, and "
"can have associated metadata. The metadata can be used to specify how the "
@@ -6919,18 +6909,19 @@ msgid ""
"application, and several other things."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5422(title)
+#: C/gtkmm-tutorial-in.xml:5423(title)
msgid "RecentManager"
msgstr "RecentManager"
-#: C/gtkmm-tutorial-in.xml:5423(para)
+#: C/gtkmm-tutorial-in.xml:5424(para)
msgid ""
-"<classname>RecentManager</classname> acts as the central database of "
-"recently used files. You use this class to register new files, remove files "
-"from the list, or look up recently used files."
+"<classname>RecentManager</classname> acts as a database of recently used "
+"files. You use this class to register new files, remove files from the list, "
+"or look up recently used files. There is one list of recently used files per "
+"user."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5428(para)
+#: C/gtkmm-tutorial-in.xml:5430(para)
msgid ""
"You can create a new <classname>RecentManager</classname>, but you'll most "
"likely just want to use the default one. You can get a reference to the "
@@ -6938,17 +6929,24 @@ msgid ""
"methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5435(title)
+#: C/gtkmm-tutorial-in.xml:5436(para)
+msgid ""
+"<classname>RecentManager</classname> is the model of a model-view pattern, "
+"where the view is a class that implements the <classname>RecentChooser</"
+"classname> interface."
+msgstr ""
+
+#: C/gtkmm-tutorial-in.xml:5442(title)
msgid "Adding Items to the List of Recent Files"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5436(para)
+#: C/gtkmm-tutorial-in.xml:5443(para)
msgid ""
"To add a new file to the list of recent documents, in the simplest case, you "
"only need to provide the URI. For example:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5440(programlisting)
+#: C/gtkmm-tutorial-in.xml:5447(programlisting)
#, no-wrap
msgid ""
"Glib::RefPtr<Gtk::RecentManager> recent_manager = Gtk::RecentManager::get_default();\n"
@@ -6957,7 +6955,7 @@ msgstr ""
"Glib::RefPtr<Gtk::RecentManager> recent_manager = Gtk::RecentManager::get_default();\n"
"recent_manager->add_item(uri);"
-#: C/gtkmm-tutorial-in.xml:5442(para)
+#: C/gtkmm-tutorial-in.xml:5449(para)
msgid ""
"If you want to register a file with metadata, you can pass a "
"<classname>RecentManager::Data</classname> parameter to <methodname>add_item"
@@ -6965,32 +6963,32 @@ msgid ""
"as follows:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5450(para)
+#: C/gtkmm-tutorial-in.xml:5457(para)
msgid ""
"<varname>app_exec</varname>: The command line to be used to launch this "
"resource. This string may contain the \"f\" and \"u\" escape characters "
"which will be expanded to the resource file path and URI respectively"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5456(para)
+#: C/gtkmm-tutorial-in.xml:5463(para)
msgid ""
"<varname>app_name</varname>: The name of the application that registered the "
"resource"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5460(para)
+#: C/gtkmm-tutorial-in.xml:5467(para)
msgid ""
-"<varname>description</varname>: A short description of the resource as a "
-"UTF-8 encoded string"
+"<varname>description</varname>: A short description of the resource as a UTF-"
+"8 encoded string"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5464(para)
+#: C/gtkmm-tutorial-in.xml:5471(para)
msgid ""
"<varname>display_name</varname>: The name of the resource to be used for "
"display as a UTF-8 encoded string"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5468(para)
+#: C/gtkmm-tutorial-in.xml:5475(para)
msgid ""
"<varname>groups</varname>: A list of groups associated with this item. "
"Groups are essentially arbitrary strings associated with a particular "
@@ -6998,89 +6996,102 @@ msgid ""
"\"graphics\", etc) or tags for the resource."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5474(para)
+#: C/gtkmm-tutorial-in.xml:5481(para)
msgid ""
"<varname>is_private</varname>: Whether this resource should be visible only "
"to applications that have registered it or not"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5478(para)
+#: C/gtkmm-tutorial-in.xml:5485(para)
msgid "<varname>mime_type</varname>: The MIME type of the resource"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5481(para)
+#: C/gtkmm-tutorial-in.xml:5488(para)
msgid ""
"In addition to adding items to the list, you can also look up items from the "
"list and modify or remove items."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5487(title)
+#: C/gtkmm-tutorial-in.xml:5494(title)
msgid "Looking up Items in the List of Recent Files"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5488(para)
+#: C/gtkmm-tutorial-in.xml:5495(para)
msgid ""
"To look up recently used files, <classname>RecentManager</classname> "
"provides several functions. To look up a specific item by its URI, you can "
"use the <methodname>lookup_item()</methodname> function, which will return a "
"<classname>RecentInfo</classname> class. If the specified URI did not exist "
-"in the list of recent files, the <classname>RecentInfo</classname> object "
-"will be invalid. <classname>RecentInfo</classname> provides an "
-"implementation for <methodname>operator bool()</methodname> which can be "
-"used to test for validity. For example:"
+"in the list of recent files, <methodname>lookup_item()</methodname> throws a "
+"<classname>RecentManagerError</classname> exception. For example:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5499(programlisting)
+#: C/gtkmm-tutorial-in.xml:5504(programlisting)
#, no-wrap
msgid ""
-"Gtk::RecentInfo info = recent_manager->lookup_item(uri);\n"
+"Glib::RefPtr<Gtk::RecentInfo> info;\n"
+"try\n"
+"{\n"
+" info = recent_manager->lookup_item(uri);\n"
+"}\n"
+"catch(const Gtk::RecentManagerError& ex)\n"
+"{\n"
+" std::cerr << \"RecentManagerError: \" << ex.what() << std::endl;\n"
+"}\n"
"if (info)\n"
"{\n"
" // item was found\n"
"}"
msgstr ""
-"Gtk::RecentInfo info = recent_manager->lookup_item(uri);\n"
+"Glib::RefPtr<Gtk::RecentInfo> info;\n"
+"try\n"
+"{\n"
+" info = recent_manager->lookup_item(uri);\n"
+"}\n"
+"catch(const Gtk::RecentManagerError& ex)\n"
+"{\n"
+" std::cerr << \"RecentManagerError: \" << ex.what() << std::endl;\n"
+"}\n"
"if (info)\n"
"{\n"
-" // se encontrà el elemento\n"
+" // No se encontrà el elemento\n"
"}"
-#: C/gtkmm-tutorial-in.xml:5504(para)
+#: C/gtkmm-tutorial-in.xml:5517(para)
msgid ""
"A <classname>RecentInfo</classname> object is essentially an object "
"containing all of the metadata about a single recently-used file. You can "
-"use this object to look up any of the properties listed above. FIXME - add "
-"cross-reference."
+"use this object to look up any of the properties listed <link linkend=\"list-"
+"file-metadata\">above</link>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5510(para)
+#: C/gtkmm-tutorial-in.xml:5523(para)
msgid ""
"If you don't want to look for a specific URI, but instead want to get a list "
"of all recently used items, <classname>RecentManager</classname> provides "
"the <methodname>get_items()</methodname> function. The return value of this "
-"function can be assigned to any standard C++ container (e.g. <classname>std::"
-"vector</classname>, <classname>std::list</classname>, etc) and contains a "
-"list of all recently-used files up to a user-defined limit (FIXME: what's "
-"the default limit?). The following code demonstrates how you might get a "
-"list of recently-used files:"
+"function is a <classname>std::vector</classname> of all recently used files. "
+"The following code demonstrates how you might get a list of recently used "
+"files:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5521(programlisting)
+#: C/gtkmm-tutorial-in.xml:5531(programlisting)
#, no-wrap
-msgid "std::vector<Gtk::RecentInfo> info_list = recent_manager->get_items();"
+msgid "std::vector< Glib::RefPtr<Gtk::RecentInfo> > info_list = recent_manager->get_items();"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5522(para)
+#: C/gtkmm-tutorial-in.xml:5532(para)
msgid ""
-"The limit on the number of items returned can be set by <methodname>set_limit"
-"()</methodname>, and queried with <methodname>get_limit()</methodname>."
+"The maximum age of items in the recently used files list can be set with "
+"<methodname>Gtk::Settings::property_gtk_recent_files_max_age()</methodname>. "
+"Default value: 30 days."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5529(title)
+#: C/gtkmm-tutorial-in.xml:5539(title)
msgid "Modifying the List of Recent Files"
msgstr "Modificar la lista de archivos recientes"
-#: C/gtkmm-tutorial-in.xml:5530(para)
+#: C/gtkmm-tutorial-in.xml:5540(para)
msgid ""
"There may be times when you need to modify the list of recent files. For "
"instance, if a file is moved or renamed, you may need to update the file's "
@@ -7089,15 +7100,15 @@ msgid ""
"</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5537(para)
+#: C/gtkmm-tutorial-in.xml:5547(para)
msgid ""
"In addition to changing a file's URI, you can also remove items from the "
-"list, either one at a time or by clearint them all at once. The former is "
+"list, either one at a time or by clearing them all at once. The former is "
"accomplished with <methodname>remove_item()</methodname>, the latter with "
"<methodname>purge_items()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5544(para)
+#: C/gtkmm-tutorial-in.xml:5554(para)
msgid ""
"The functions <methodname>move_item()</methodname>, <methodname>remove_item()"
"</methodname> and <methodname>purge_items()</methodname> have no effect on "
@@ -7105,21 +7116,21 @@ msgid ""
"of recent files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5556(title)
+#: C/gtkmm-tutorial-in.xml:5566(title)
msgid "RecentChooser"
msgstr "RecentChooser"
-#: C/gtkmm-tutorial-in.xml:5557(para)
+#: C/gtkmm-tutorial-in.xml:5567(para)
msgid ""
"<classname>RecentChooser</classname> is an interface that can be implemented "
"by widgets displaying the list of recently used files. <application>gtkmm</"
-"application> provides three built-in implementations for choosing recent "
+"application> provides four built-in implementations for choosing recent "
"files: <classname>RecentChooserWidget</classname>, "
-"<classname>RecentChooserDialog</classname>, and "
-"<classname>RecentChooserMenu</classname>."
+"<classname>RecentChooserDialog</classname>, <classname>RecentChooserMenu</"
+"classname>, and <classname>RecentAction</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5565(para)
+#: C/gtkmm-tutorial-in.xml:5576(para)
msgid ""
"<classname>RecentChooserWidget</classname> is a simple widget for displaying "
"a list of recently used files. <classname>RecentChooserWidget</classname> is "
@@ -7127,40 +7138,41 @@ msgid ""
"you can embed it into your user interface if you want to."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5572(para)
+#: C/gtkmm-tutorial-in.xml:5583(para)
msgid ""
-"The last class that implements the <classname>RecentChooser</classname> "
-"interface is <classname>RecentChooserMenu</classname>. This class allows you "
-"to list recently used files as a menu."
+"<classname>RecentChooserMenu</classname> and <classname>RecentAction</"
+"classname> allow you to list recently used files as a menu."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5578(title)
-msgid "Simple RecentChooserWidget example"
+#: C/gtkmm-tutorial-in.xml:5589(title)
+#, fuzzy
+#| msgid "Simple RecentChooserWidget example"
+msgid "Simple RecentChooserDialog example"
msgstr "Ejemplo de RecentChooserWidget"
-#: C/gtkmm-tutorial-in.xml:5579(para)
+#: C/gtkmm-tutorial-in.xml:5590(para)
msgid ""
"Shown below is a simple example of how to use the "
-"<classname>RecentChooserDialog</classname> class in a program. This simple "
-"program has a menubar with a \"Recent Files Dialog\" menu item. When you "
-"select this menu item, a dialog pops up showing the list of recently used "
-"files."
+"<classname>RecentChooserDialog</classname> and the <classname>RecentAction</"
+"classname> classes in a program. This simple program has a menubar with a "
+"<guimenuitem>Recent Files Dialog</guimenuitem> menu item. When you select "
+"this menu item, a dialog pops up showing the list of recently used files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5587(para)
+#: C/gtkmm-tutorial-in.xml:5600(para)
msgid ""
"If this is the first time you're using a program that uses the Recent Files "
"framework, the dialog may be empty at first. Otherwise it should show the "
"list of recently used documents registered by other applications."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5594(para)
+#: C/gtkmm-tutorial-in.xml:5607(para)
msgid ""
"After selecting the <guimenuitem>Recent Files Dialog</guimenuitem> menu "
"item, you should see something similar to the following window."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5603(para)
+#: C/gtkmm-tutorial-in.xml:5616(para)
msgid ""
"The constructor for <classname>ExampleWindow</classname> creates the menu "
"using <classname>UIManager</classname> (see <xref linkend=\"chapter-menus-"
@@ -7168,11 +7180,11 @@ msgid ""
"toolbar to the window."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5611(title)
+#: C/gtkmm-tutorial-in.xml:5624(title)
msgid "Filtering Recent Files"
msgstr "Filtrar los archivos recientes"
-#: C/gtkmm-tutorial-in.xml:5612(para)
+#: C/gtkmm-tutorial-in.xml:5625(para)
msgid ""
"For any of the <classname>RecentChooser</classname> classes, if you don't "
"wish to display all of the items in the list of recent files, you can filter "
@@ -7186,22 +7198,22 @@ msgid ""
"the file was modified and which groups it belongs to."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5625(para)
+#: C/gtkmm-tutorial-in.xml:5638(para)
msgid ""
"After you've created and set up the filter to match only the items you want, "
"you can apply a filter to a chooser widget with the "
"<methodname>RecentChooser::add_filter()</methodname> function."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5635(title)
+#: C/gtkmm-tutorial-in.xml:5648(title)
msgid "Plugs and Sockets"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5637(title)
+#: C/gtkmm-tutorial-in.xml:5650(title)
msgid "Overview"
msgstr "Vista general"
-#: C/gtkmm-tutorial-in.xml:5638(para)
+#: C/gtkmm-tutorial-in.xml:5651(para)
msgid ""
"From time to time, it may be useful to be able to embed a widget from "
"another application within your application. <application>gtkmm</"
@@ -7212,7 +7224,7 @@ msgid ""
"completely different process, these classes can be very helpful."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5647(para)
+#: C/gtkmm-tutorial-in.xml:5660(para)
msgid ""
"The communication between a <classname>Socket</classname> and a "
"<classname>Plug</classname> follows the XEmbed protocol. This protocol has "
@@ -7220,7 +7232,7 @@ msgid ""
"level of integration when embedding a Qt widget in GTK+ or vice versa."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5653(para)
+#: C/gtkmm-tutorial-in.xml:5666(para)
msgid ""
"The way that <classname>Sockets</classname> and <classname>Plugs</classname> "
"work together is through their window ids. Both a <classname>Socket</"
@@ -7230,22 +7242,22 @@ msgid ""
"sockets\"/>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5662(title)
+#: C/gtkmm-tutorial-in.xml:5675(title)
msgid "Sockets"
msgstr "Sockets"
-#: C/gtkmm-tutorial-in.xml:5663(para)
+#: C/gtkmm-tutorial-in.xml:5676(para)
msgid ""
"A <classname>Socket</classname> is a special kind of container widget that "
"provides the ability to embed widgets from one process into another process "
"in a way that is transparent to the user."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5670(title)
+#: C/gtkmm-tutorial-in.xml:5683(title)
msgid "Plugs"
msgstr "Plugs"
-#: C/gtkmm-tutorial-in.xml:5671(para)
+#: C/gtkmm-tutorial-in.xml:5684(para)
msgid ""
"A <classname>Plug</classname> is a special kind of Window that can be "
"plugged into a <classname>Socket</classname>. Besides the normal properties "
@@ -7255,18 +7267,18 @@ msgid ""
"into the <classname>Socket</classname> that matches that ID."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5680(para)
+#: C/gtkmm-tutorial-in.xml:5693(para)
msgid ""
"Since a <classname>Plug</classname> is just a special type of "
"<classname>Gtk::Window</classname> class, you can add containers or widgets "
"to it like you would to any other window."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5687(title)
+#: C/gtkmm-tutorial-in.xml:5700(title)
msgid "Connecting Plugs and Sockets"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5688(para)
+#: C/gtkmm-tutorial-in.xml:5701(para)
msgid ""
"After a <classname>Socket</classname> or <classname>Plug</classname> object "
"is realized, you can obtain its ID with its <methodname>get_id()</"
@@ -7274,7 +7286,7 @@ msgid ""
"that other processes know how to connect to eachother."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5699(para)
+#: C/gtkmm-tutorial-in.xml:5712(para)
msgid ""
"Create a <classname>Socket</classname> object in one process and pass the ID "
"of that <classname>Socket</classname> to another process so that it can "
@@ -7285,7 +7297,7 @@ msgid ""
"classname> ID to the <classname>Plug</classname>'s constructor."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5712(para)
+#: C/gtkmm-tutorial-in.xml:5725(para)
msgid ""
"Create a <classname>Plug</classname> independantly from any particular "
"<classname>Socket</classname> and pass the ID of the <classname>Plug</"
@@ -7295,15 +7307,15 @@ msgid ""
"methodname> function. This is the approach used in the example below."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5695(para)
+#: C/gtkmm-tutorial-in.xml:5708(para)
msgid "There are two basic strategies that can be used: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5727(title)
+#: C/gtkmm-tutorial-in.xml:5740(title)
msgid "Plugs and Sockets Example"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5728(para)
+#: C/gtkmm-tutorial-in.xml:5741(para)
msgid ""
"The following is a simple example of using sockets and plugs. The method of "
"communication between processes is deliberately kept very simple: The "
@@ -7313,7 +7325,7 @@ msgid ""
"method of inter-process communication."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5737(para)
+#: C/gtkmm-tutorial-in.xml:5750(para)
msgid ""
"This example creates two executable programs: <filename>socket</filename> "
"and <filename>plug</filename>. The idea is that <filename>socket</filename> "
@@ -7324,49 +7336,49 @@ msgid ""
"within the example directory:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5746(para)
+#: C/gtkmm-tutorial-in.xml:5759(para)
msgid ""
"Start the <filename>plug</filename> program and send it to the background "
"(or just use a different terminal)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5750(screen)
+#: C/gtkmm-tutorial-in.xml:5763(screen)
#, no-wrap
msgid "$ ./plug &"
msgstr "$ ./plug &"
-#: C/gtkmm-tutorial-in.xml:5751(para)
+#: C/gtkmm-tutorial-in.xml:5764(para)
msgid "After which you should see something like the following:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5754(screen)
+#: C/gtkmm-tutorial-in.xml:5767(screen)
#, no-wrap
msgid "The window ID is: 69206019"
msgstr "El ID de la ventana es: 69206019"
-#: C/gtkmm-tutorial-in.xml:5755(para)
+#: C/gtkmm-tutorial-in.xml:5768(para)
msgid "Then start the <filename>socket</filename> program:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5756(screen)
+#: C/gtkmm-tutorial-in.xml:5769(screen)
#, no-wrap
msgid "$ ./socket"
msgstr "$ ./socket"
-#: C/gtkmm-tutorial-in.xml:5757(para)
+#: C/gtkmm-tutorial-in.xml:5770(para)
msgid ""
"After starting <filename>socket</filename>, you should see the following "
"output in the terminal:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5761(screen)
+#: C/gtkmm-tutorial-in.xml:5774(screen)
#, no-wrap
msgid ""
"I've been embedded.\n"
"A plug was added"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5763(para)
+#: C/gtkmm-tutorial-in.xml:5776(para)
msgid ""
"The first line of output is from <filename>plug</filename>, after it has "
"been notified that it has been embedded inside of a <classname>Socket</"
@@ -7376,21 +7388,21 @@ msgid ""
"look roughly like the following:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5775(para)
+#: C/gtkmm-tutorial-in.xml:5788(para)
msgid ""
"If for some reason the <classname>Socket</classname> couldn't attach the "
"<classname>Plug</classname>, the window would look something like this:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5786(title)
+#: C/gtkmm-tutorial-in.xml:5799(title)
msgid "Timeouts, I/O and Idle Functions"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5789(title)
+#: C/gtkmm-tutorial-in.xml:5802(title)
msgid "Timeouts"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5791(para)
+#: C/gtkmm-tutorial-in.xml:5804(para)
msgid ""
"You may be wondering how to make <application>gtkmm</application> do useful "
"work while it's idling along (well, sleeping actually) in <methodname>Gtk::"
@@ -7399,7 +7411,7 @@ msgid ""
"few milliseconds."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5799(programlisting)
+#: C/gtkmm-tutorial-in.xml:5812(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7408,7 +7420,7 @@ msgstr ""
"\n"
"sigc::connection Glib::SignalTimeout::connect(const sigc::slot<bool>& slot, unsigned int interval, int priority = Glib::PRIORITY_DEFAULT);\n"
-#: C/gtkmm-tutorial-in.xml:5804(para)
+#: C/gtkmm-tutorial-in.xml:5817(para)
msgid ""
"The first argument is a <classname>slot</classname> you wish to have called "
"when the timeout occurs. The second argument is the number of milliseconds "
@@ -7417,7 +7429,7 @@ msgid ""
"<methodname>disconnect()</methodname> method:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5814(programlisting)
+#: C/gtkmm-tutorial-in.xml:5827(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7426,7 +7438,7 @@ msgstr ""
"\n"
"mi_conexion.disconnect();\n"
-#: C/gtkmm-tutorial-in.xml:5826(programlisting)
+#: C/gtkmm-tutorial-in.xml:5839(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7435,7 +7447,7 @@ msgstr ""
"\n"
"bool MyCallback() { std::cout << \"Hola Mundo\\n\" << std::endl; return true; }\n"
-#: C/gtkmm-tutorial-in.xml:5819(para)
+#: C/gtkmm-tutorial-in.xml:5832(para)
msgid ""
"Another way of destroying the connection is your signal handler. It has to "
"be of the type <classname>sigc::slot<bool></classname>. As you see "
@@ -7444,22 +7456,22 @@ msgid ""
"this: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5832(para)
+#: C/gtkmm-tutorial-in.xml:5845(para)
msgid ""
"You can stop the timeout method by returning <literal>false</literal> from "
"your signal handler. Therefore, if you want your method to be called "
"repeatedly, it should return <literal>true</literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5838(para)
+#: C/gtkmm-tutorial-in.xml:5851(para)
msgid "Here's an example of this technique:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5847(title)
+#: C/gtkmm-tutorial-in.xml:5860(title)
msgid "Monitoring I/O"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5849(para)
+#: C/gtkmm-tutorial-in.xml:5862(para)
msgid ""
"A nifty feature of Glib (one of the libraries underlying <application>gtkmm</"
"application>) is the ability to have it check for data on a file descriptor "
@@ -7467,7 +7479,7 @@ msgid ""
"following method is used to do this:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5857(programlisting)
+#: C/gtkmm-tutorial-in.xml:5870(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7480,7 +7492,7 @@ msgstr ""
" int fd, Glib::IOCondition condition,\n"
" int priority = Glib::PRIORITY_DEFAULT);\n"
-#: C/gtkmm-tutorial-in.xml:5864(para)
+#: C/gtkmm-tutorial-in.xml:5877(para)
msgid ""
"The first argument is a slot you wish to have called when then the specified "
"event (see argument 3) occurs on the file descriptor you specify using "
@@ -7488,37 +7500,37 @@ msgid ""
"of:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5874(para)
+#: C/gtkmm-tutorial-in.xml:5887(para)
msgid ""
"Glib::IO_IN - Call your method when there is data ready for reading on your "
"file descriptor."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5882(para)
+#: C/gtkmm-tutorial-in.xml:5895(para)
msgid ""
"Glib::IO_OUT - Call your method when the file descriptor is ready for "
"writing."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5890(para)
+#: C/gtkmm-tutorial-in.xml:5903(para)
msgid ""
"Glib::IO_PRI - Call your method when the file descriptor has urgent data to "
"be read."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5897(para)
+#: C/gtkmm-tutorial-in.xml:5910(para)
msgid ""
"Glib::IO_ERR - Call your method when an error has occurred on the file "
"descriptor."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5904(para)
+#: C/gtkmm-tutorial-in.xml:5917(para)
msgid ""
"Glib::IO_HUP - Call your method when hung up (the connection has been broken "
"usually for pipes and sockets)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5911(para)
+#: C/gtkmm-tutorial-in.xml:5924(para)
msgid ""
"The return value is a <classname>sigc::connection</classname> that may be "
"used to stop monitoring this file descriptor using its <methodname>disconnect"
@@ -7526,7 +7538,7 @@ msgid ""
"should be declared as follows:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5918(programlisting)
+#: C/gtkmm-tutorial-in.xml:5931(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7535,7 +7547,7 @@ msgstr ""
"\n"
"bool input_callback(Glib::IOCondition condition);\n"
-#: C/gtkmm-tutorial-in.xml:5923(para)
+#: C/gtkmm-tutorial-in.xml:5936(para)
msgid ""
"where <parameter>condition</parameter> is as specified above. As usual the "
"slot is created with <function>sigc::mem_fun()</function> (for a member "
@@ -7543,7 +7555,7 @@ msgid ""
"function)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5930(para)
+#: C/gtkmm-tutorial-in.xml:5943(para)
msgid ""
"A little example follows. To use the example just execute it from a "
"terminal; it doesn't create a window. It will create a pipe named "
@@ -7553,17 +7565,17 @@ msgid ""
"> testfifo</literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5944(title)
+#: C/gtkmm-tutorial-in.xml:5957(title)
msgid "Idle Functions"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5946(para)
+#: C/gtkmm-tutorial-in.xml:5959(para)
msgid ""
"If you want to specify a method that gets called when nothing else is "
"happening, use the following:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5951(programlisting)
+#: C/gtkmm-tutorial-in.xml:5964(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7572,7 +7584,7 @@ msgstr ""
"\n"
"sigc::connection Glib::SignalIdle::connect(const sigc::slot<bool>& slot, int priority = Glib::PRIORITY_DEFAULT_IDLE);\n"
-#: C/gtkmm-tutorial-in.xml:5956(para)
+#: C/gtkmm-tutorial-in.xml:5969(para)
msgid ""
"This causes <application>gtkmm</application> to call the specified method "
"whenever nothing else is happening. You can add a priority (lower numbers "
@@ -7582,7 +7594,7 @@ msgid ""
"signal handler, which should be declared as follows:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5966(programlisting)
+#: C/gtkmm-tutorial-in.xml:5979(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7591,13 +7603,13 @@ msgstr ""
"\n"
"bool idleFunc();\n"
-#: C/gtkmm-tutorial-in.xml:5971(para)
+#: C/gtkmm-tutorial-in.xml:5984(para)
msgid ""
"Since this is very similar to the methods above this explanation should be "
"sufficient to understand what's going on. However, here's a little example:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5978(para)
+#: C/gtkmm-tutorial-in.xml:5991(para)
msgid ""
"This example points out the difference of idle and timeout methods a little. "
"If you need methods that are called periodically, and speed is not very "
@@ -7606,21 +7618,21 @@ msgid ""
"use idle methods."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5986(para)
+#: C/gtkmm-tutorial-in.xml:5999(para)
msgid ""
"Try executing the example and increasing the system load. The upper progress "
"bar will increase steadily; the lower one will slow down."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:5996(title)
+#: C/gtkmm-tutorial-in.xml:6009(title)
msgid "Memory management"
msgstr "GestiÃn de la memoria"
-#: C/gtkmm-tutorial-in.xml:6002(title)
+#: C/gtkmm-tutorial-in.xml:6015(title)
msgid "Normal C++ memory management"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6004(para)
+#: C/gtkmm-tutorial-in.xml:6017(para)
msgid ""
"<application>gtkmm</application> allows the programmer to control the "
"lifetime (that is, the construction and destruction) of any widget in the "
@@ -7633,15 +7645,15 @@ msgid ""
"subset of C++'s memory management features."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6016(para)
+#: C/gtkmm-tutorial-in.xml:6029(para)
msgid "Here are some examples of normal C++ memory management:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6019(title)
+#: C/gtkmm-tutorial-in.xml:6032(title)
msgid "Class Scope widgets"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6021(para)
+#: C/gtkmm-tutorial-in.xml:6034(para)
msgid ""
"If a programmer does not need dynamic memory allocation, automatic widgets "
"in class scope may be used. One advantage of automatic widgets in class "
@@ -7649,7 +7661,7 @@ msgid ""
"not risk memory leaks from failing to <literal>delete</literal> a widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6028(para)
+#: C/gtkmm-tutorial-in.xml:6041(para)
msgid ""
"The primary disadvantages of using class scope widgets are revealing the "
"class implementation rather than the class interface in the class header. "
@@ -7657,7 +7669,7 @@ msgid ""
"same disadvantages as any other class scope automatic variable."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6036(programlisting)
+#: C/gtkmm-tutorial-in.xml:6049(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7678,11 +7690,11 @@ msgstr ""
" // se destruirà cuando se destruya el objeto Foo\n"
"};\n"
-#: C/gtkmm-tutorial-in.xml:6049(title)
+#: C/gtkmm-tutorial-in.xml:6062(title)
msgid "Function scope widgets"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6057(programlisting)
+#: C/gtkmm-tutorial-in.xml:6070(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7701,18 +7713,18 @@ msgstr ""
" kit.run();\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:6051(para)
+#: C/gtkmm-tutorial-in.xml:6064(para)
msgid ""
"If a programmer does not need a class scope widget, a function scope widget "
"may also be used. The advantages to function scope over class scope are the "
"increased data hiding and reduced dependencies. <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6069(title)
+#: C/gtkmm-tutorial-in.xml:6082(title)
msgid "Dynamic allocation with new and delete"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6071(para)
+#: C/gtkmm-tutorial-in.xml:6084(para)
msgid ""
"Although, in most cases, the programmer will prefer to allow containers to "
"automatically destroy their children using <function>manage()</function> "
@@ -7721,7 +7733,7 @@ msgid ""
"literal> operators may also be used."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6081(programlisting)
+#: C/gtkmm-tutorial-in.xml:6094(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7738,17 +7750,17 @@ msgstr ""
"\n"
"delete pButton;\n"
-#: C/gtkmm-tutorial-in.xml:6079(para)
+#: C/gtkmm-tutorial-in.xml:6092(para)
msgid ""
"<placeholder-1/> Here, the programmer deletes pButton to prevent a memory "
"leak."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6096(title)
+#: C/gtkmm-tutorial-in.xml:6109(title)
msgid "Managed Widgets"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6098(para)
+#: C/gtkmm-tutorial-in.xml:6111(para)
msgid ""
"Alternatively, you can let a widget's container control when the widget is "
"destroyed. In most cases, you want a widget to last only as long as the "
@@ -7758,11 +7770,11 @@ msgid ""
"be destroyed whenever its container is destroyed."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6108(title)
+#: C/gtkmm-tutorial-in.xml:6121(title)
msgid "Dynamic allocation with manage() and add()"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6110(para)
+#: C/gtkmm-tutorial-in.xml:6123(para)
msgid ""
"<application>gtkmm</application> provides the <function>manage()</function> "
"function and <methodname>add()</methodname> methods to create and destroy "
@@ -7772,7 +7784,7 @@ msgid ""
"container, the container becomes responsible for deleting the widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6120(programlisting)
+#: C/gtkmm-tutorial-in.xml:6133(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7789,7 +7801,7 @@ msgstr ""
" add(*pButton); //aÃadir un botÃn a MyWidget\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:6119(para)
+#: C/gtkmm-tutorial-in.xml:6132(para)
msgid ""
"<placeholder-1/> Now, when objects of type <classname>MyWidget</classname> "
"are destroyed, the button will also be deleted. It is no longer necessary to "
@@ -7797,26 +7809,26 @@ msgid ""
"to the <classname>MyWidget</classname> object."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6134(para)
+#: C/gtkmm-tutorial-in.xml:6147(para)
msgid ""
"<application>gtkmm</application> also provides the <methodname>set_manage()</"
"methodname> method for all widgets. This can be used to generate the same "
"result as <function>manage()</function>, but is more tedious:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6140(para)
+#: C/gtkmm-tutorial-in.xml:6153(para)
msgid "foo.add( (w=new Gtk::Label(\"Hello\"), w->set_manage(), &w) );"
msgstr "foo.add( (w=new Gtk::Label(\"Hola\"), w->set_manage(), &w) );"
-#: C/gtkmm-tutorial-in.xml:6144(para)
+#: C/gtkmm-tutorial-in.xml:6157(para)
msgid "is the same as"
msgstr "es lo mismo que"
-#: C/gtkmm-tutorial-in.xml:6148(para)
+#: C/gtkmm-tutorial-in.xml:6161(para)
msgid "foo.add( manage(new Gtk::Label(\"Hello\")) );"
msgstr "foo.add( manage(new Gtk::Label(\"Hola\")) );"
-#: C/gtkmm-tutorial-in.xml:6152(para)
+#: C/gtkmm-tutorial-in.xml:6165(para)
msgid ""
"Of course, a top level container will not be added to another container. The "
"programmer is responsible for destroying the top level container using one "
@@ -7824,11 +7836,11 @@ msgid ""
"just be an instance in your <function>main()</function> function.."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6164(title)
+#: C/gtkmm-tutorial-in.xml:6177(title)
msgid "Shared resources"
msgstr "Recursos compartidos"
-#: C/gtkmm-tutorial-in.xml:6166(para)
+#: C/gtkmm-tutorial-in.xml:6179(para)
msgid ""
"Some objects, such as <classname>Gdk::Pixbuf</classname>s and "
"<classname>Pango::Font</classname>s, are obtained from a shared store. "
@@ -7839,11 +7851,8 @@ msgid ""
"has its own smartpointer, <classname>Cairo::RefPtr<></classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6179(programlisting)
+#: C/gtkmm-tutorial-in.xml:6192(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "Glib::RefPtr<Gtk::Builder> builder = Gtk::Builder::create_from_file(\"basic.glade\");\n"
msgid ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> pixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
@@ -7851,21 +7860,15 @@ msgstr ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> pixbuf = Gdk::Pixbuf::create_from_file(nombre_de_archivo);\n"
-#: C/gtkmm-tutorial-in.xml:6176(para)
+#: C/gtkmm-tutorial-in.xml:6189(para)
msgid ""
"Objects such as <classname>Gdk::Pixbuf</classname> can only be instantiated "
"with a <methodname>create()</methodname> function. For instance, "
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6188(programlisting)
+#: C/gtkmm-tutorial-in.xml:6201(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "if(bitmap)\n"
-#| "{\n"
-#| " int depth = bitmap->get_depth().\n"
-#| "}\n"
msgid ""
"\n"
"int width = 0;\n"
@@ -7881,14 +7884,14 @@ msgstr ""
" width = pixbuf->get_width();\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:6184(para)
+#: C/gtkmm-tutorial-in.xml:6197(para)
msgid ""
"You have no way of getting a bare <classname>Gdk::Pixbuf</classname>. In the "
"example, <varname>pixbuf</varname> is a smart pointer, so you can do this, "
"much like a normal pointer: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6197(para)
+#: C/gtkmm-tutorial-in.xml:6210(para)
msgid ""
"When <varname>pixbuf</varname> goes out of scope an <methodname>unref()</"
"methodname> will happen in the background and you don't need to worry about "
@@ -7896,11 +7899,8 @@ msgid ""
"literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6205(programlisting)
+#: C/gtkmm-tutorial-in.xml:6218(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "Glib::RefPtr<Gdk::Bitmap> bitmap2 = bitmap.\n"
msgid ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> pixbuf2 = pixbuf;\n"
@@ -7908,7 +7908,7 @@ msgstr ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> pixbuf2 = pixbuf;\n"
-#: C/gtkmm-tutorial-in.xml:6203(para)
+#: C/gtkmm-tutorial-in.xml:6216(para)
msgid ""
"If you copy a <classname>RefPtr</classname>, for instance <placeholder-1/> , "
"or if you pass it as a method argument or a return type, then "
@@ -7917,31 +7917,31 @@ msgid ""
"classname> has gone out of scope."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6213(para)
+#: C/gtkmm-tutorial-in.xml:6226(para)
msgid ""
"See the <link linkend=\"chapter-refptr\">appendix</link> for detailed "
"information about RefPtr."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6218(para)
+#: C/gtkmm-tutorial-in.xml:6231(para)
msgid "Bjarne Stroustrup, \"The C++ Programming Language\" - section 14.4.2"
-msgstr ""
+msgstr "Bjarne Stroustrup, ÂThe C++ Programming LanguageÂ: secciÃn 14.4.2"
-#: C/gtkmm-tutorial-in.xml:6221(para)
+#: C/gtkmm-tutorial-in.xml:6234(para)
msgid "Nicolai M. Josuttis, \"The C++ Standard Library\" - section 4.2"
-msgstr ""
+msgstr "Nicolai M. Josuttis, ÂThe C++ Standard Library - secciÃn 4.2"
-#: C/gtkmm-tutorial-in.xml:6214(para)
+#: C/gtkmm-tutorial-in.xml:6227(para)
msgid ""
"If you wish to learn more about smartpointers, you might look in these "
"books: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6232(title)
+#: C/gtkmm-tutorial-in.xml:6245(title)
msgid "Glade and Gtk::Builder"
msgstr "Glade y Gtk::Builder"
-#: C/gtkmm-tutorial-in.xml:6233(para)
+#: C/gtkmm-tutorial-in.xml:6246(para)
msgid ""
"Although you can use C++ code to instantiate and arrange widgets, this can "
"soon become tedious and repetitive. And it requires a recompilation to show "
@@ -7952,34 +7952,34 @@ msgid ""
"specifically named widget instances."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6246(simpara)
+#: C/gtkmm-tutorial-in.xml:6259(simpara)
msgid "Less C++ code is required."
msgstr "Se requiere menos cÃdigo en C++"
-#: C/gtkmm-tutorial-in.xml:6247(simpara)
+#: C/gtkmm-tutorial-in.xml:6260(simpara)
msgid "UI changes can be seen more quickly, so UIs are able to improve."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6248(simpara)
+#: C/gtkmm-tutorial-in.xml:6261(simpara)
msgid "Designers without programming skills can create and edit UIs."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6243(para)
+#: C/gtkmm-tutorial-in.xml:6256(para)
msgid "This has the following advantages: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6252(para)
+#: C/gtkmm-tutorial-in.xml:6265(para)
msgid ""
"You still need C++ code to deal with User Interface changes triggered by "
"user actions, but using <application>Gtk::Builder</application> for the "
"widget layout allows you to focus on implementing that functionality."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6259(title)
+#: C/gtkmm-tutorial-in.xml:6272(title)
msgid "Loading the .glade file"
msgstr "Cargar el archivo .glade"
-#: C/gtkmm-tutorial-in.xml:6264(programlisting)
+#: C/gtkmm-tutorial-in.xml:6277(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -7988,7 +7988,7 @@ msgstr ""
"\n"
"Glib::RefPtr<Gtk::Builder> builder = Gtk::Builder::create_from_file(\"basico.glade\");\n"
-#: C/gtkmm-tutorial-in.xml:6260(para)
+#: C/gtkmm-tutorial-in.xml:6273(para)
msgid ""
"<classname>Gtk::Builder</classname> must be used via a <classname>Glib::"
"RefPtr</classname>. Like all such classes, you need to use a "
@@ -7999,7 +7999,7 @@ msgid ""
"application>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6273(programlisting)
+#: C/gtkmm-tutorial-in.xml:6286(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -8008,18 +8008,18 @@ msgstr ""
"\n"
"Glib::RefPtr<Gtk::Builder> builder = Gtk::Builder::create_from_file(\"basico.glade\", \"treeview_products\");\n"
-#: C/gtkmm-tutorial-in.xml:6272(para)
+#: C/gtkmm-tutorial-in.xml:6285(para)
msgid ""
"To instantiate just one window, or just one of the child widgets, you can "
"specify the name of a widget as the second parameter. For instance, "
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6281(title)
+#: C/gtkmm-tutorial-in.xml:6294(title)
msgid "Accessing widgets"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6289(programlisting)
+#: C/gtkmm-tutorial-in.xml:6302(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -8030,7 +8030,7 @@ msgstr ""
"Gtk::Dialog* pDialog = 0;\n"
"builder->get_widget(\"DialogBasic\", pDialog);\n"
-#: C/gtkmm-tutorial-in.xml:6283(para)
+#: C/gtkmm-tutorial-in.xml:6296(para)
msgid ""
"To access a widget, for instance to <methodname>show()</methodname> a "
"dialog, use the <methodname>get_widget()</methodname> method, providing the "
@@ -8039,14 +8039,14 @@ msgid ""
"the wrong type, then the pointer will be set to 0. <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6295(para)
+#: C/gtkmm-tutorial-in.xml:6308(para)
msgid ""
"<application>Gtk::Builder</application> checks for a null pointer, and "
"checks that the widget is of the expected type, and will show warnings on "
"the command line about these."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6301(para)
+#: C/gtkmm-tutorial-in.xml:6314(para)
msgid ""
"Remember that you are not instantiating a widget with <methodname>get_widget"
"()</methodname>, you are just obtaining a pointer to one that already "
@@ -8056,7 +8056,7 @@ msgid ""
"<methodname>Gtk::Builder::create_from_file()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6310(para)
+#: C/gtkmm-tutorial-in.xml:6323(para)
msgid ""
"<methodname>get_widget()</methodname> returns child widgets that are "
"<function>manage()</function>ed (see the <link linkend=\"chapter-memory"
@@ -8069,18 +8069,18 @@ msgid ""
"them at some point."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6324(para)
+#: C/gtkmm-tutorial-in.xml:6337(para)
msgid ""
"This simple example shows how to load a <application>Glade</application> "
"file at runtime and access the widgets with <application>Gtk::Builder</"
"application>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6337(title)
+#: C/gtkmm-tutorial-in.xml:6350(title)
msgid "Using derived widgets"
-msgstr ""
+msgstr "Usar widgets derivados"
-#: C/gtkmm-tutorial-in.xml:6338(para)
+#: C/gtkmm-tutorial-in.xml:6351(para)
msgid ""
"You can use <application>Glade</application> to layout your own custom "
"widgets derived from <application>gtkmm</application> widget classes. This "
@@ -8091,7 +8091,7 @@ msgid ""
"class."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6347(programlisting)
+#: C/gtkmm-tutorial-in.xml:6360(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -8102,13 +8102,13 @@ msgstr ""
"DerivedDialog* pDialog = 0;\n"
"builder->get_widget_derived(\"DialogBasic\", pDialog);\n"
-#: C/gtkmm-tutorial-in.xml:6346(para)
+#: C/gtkmm-tutorial-in.xml:6359(para)
msgid ""
"Use <methodname>Gtk::Builder::get_widget_derived()</methodname> like so: "
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6353(para)
+#: C/gtkmm-tutorial-in.xml:6366(para)
msgid ""
"Your derived class must have a constructor that takes a pointer to the "
"underlying C type, and the <classname>Gtk::Builder</classname> instance. All "
@@ -8118,7 +8118,7 @@ msgid ""
"<type>GtkDialog</type>, for instance)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6363(programlisting)
+#: C/gtkmm-tutorial-in.xml:6376(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -8133,13 +8133,13 @@ msgstr ""
"{\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:6360(para)
+#: C/gtkmm-tutorial-in.xml:6373(para)
msgid ""
"You must call the base class's constructor in the initialization list, "
"providing the C pointer. For instance, <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6375(programlisting)
+#: C/gtkmm-tutorial-in.xml:6388(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -8157,7 +8157,7 @@ msgid ""
"}\n"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6371(para)
+#: C/gtkmm-tutorial-in.xml:6384(para)
msgid ""
"You could then encapsulate the manipulation of the child widgets in the "
"constructor of the derived class, maybe using <methodname>get_widget()</"
@@ -8165,17 +8165,17 @@ msgid ""
"instance, <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6393(para)
+#: C/gtkmm-tutorial-in.xml:6406(para)
msgid ""
"This example shows how to load a <application>Glade</application> file at "
"runtime and access the widgets via a derived class."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6406(title)
+#: C/gtkmm-tutorial-in.xml:6419(title)
msgid "Internationalization and Localization"
msgstr "InternacionalizaciÃn y localizaciÃn"
-#: C/gtkmm-tutorial-in.xml:6408(para)
+#: C/gtkmm-tutorial-in.xml:6421(para)
msgid ""
"<application>gtkmm</application> applications can easily support multiple "
"languages, including non-European languages such as Chinese and right-to-"
@@ -8184,14 +8184,14 @@ msgid ""
"language at runtime based on the user's environment."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6414(para)
+#: C/gtkmm-tutorial-in.xml:6427(para)
msgid ""
"You might not anticipate the need to support additional languages, but you "
"can never rule it out. And it's easier to develop the application properly "
"in the first place rather than retrofitting later."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6420(para)
+#: C/gtkmm-tutorial-in.xml:6433(para)
msgid ""
"The process of writing source code that allows for translation is called "
"<literal>internationalization</literal>, often abbreviated to <literal>i18n</"
@@ -8200,7 +8200,7 @@ msgid ""
"based on that source code."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6428(para)
+#: C/gtkmm-tutorial-in.xml:6441(para)
msgid ""
"The main activity in the internationalization process is finding strings "
"seen by users and marking them for translation. You do not need to do it all "
@@ -8209,7 +8209,7 @@ msgid ""
"covered."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6436(para)
+#: C/gtkmm-tutorial-in.xml:6449(para)
msgid ""
"String literals should be typed in the source code in English, but "
"surrounded by a macro. The <application>gettext</application> (or intltool) "
@@ -8217,11 +8217,11 @@ msgid ""
"the translated text at runtime."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6444(title)
+#: C/gtkmm-tutorial-in.xml:6457(title)
msgid "Preparing your project"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6447(para)
+#: C/gtkmm-tutorial-in.xml:6460(para)
msgid ""
"In the instructions below we will assume that you will not be using "
"<application>gettext</application> directly, but <application>intltool</"
@@ -8234,7 +8234,7 @@ msgid ""
"application><filename>.pot/.po</filename> files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6458(para)
+#: C/gtkmm-tutorial-in.xml:6471(para)
msgid ""
"We also assume that you are using autotools (e.g. <application>automake</"
"application> and <application>autoconf</application>) to build your project, "
@@ -8244,7 +8244,7 @@ msgid ""
"takes care of some <application>intltool</application> initialization."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6471(para)
+#: C/gtkmm-tutorial-in.xml:6484(para)
msgid ""
"Create a sub-directory named <literal>po</literal> in your project's root "
"directory. This directory will eventually contain all of your translations. "
@@ -8254,7 +8254,7 @@ msgid ""
"that translators can keep track of translation changes."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6481(para)
+#: C/gtkmm-tutorial-in.xml:6494(para)
msgid ""
"<literal>LINGUAS</literal> contains an alphabetically sorted list of codes "
"identifying the languages for which your program is translated (comment "
@@ -8264,7 +8264,7 @@ msgid ""
"translations, your <literal>LINGUAS</literal> file would look like this:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6490(programlisting)
+#: C/gtkmm-tutorial-in.xml:6503(programlisting)
#, no-wrap
msgid ""
"# keep this file sorted alphabetically, one language code per line\n"
@@ -8275,14 +8275,14 @@ msgstr ""
"de\n"
"ja"
-#: C/gtkmm-tutorial-in.xml:6493(para)
+#: C/gtkmm-tutorial-in.xml:6506(para)
msgid ""
"(In addition, you'd have the files <literal>ja.po</literal> and <literal>de."
"po</literal> in your <literal>po</literal> directory which contain the "
"German and Japanese translations, respectively.)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6500(para)
+#: C/gtkmm-tutorial-in.xml:6513(para)
msgid ""
"<literal>POTFILES.in</literal> is a list of paths to all files which contain "
"strings marked up for translation, starting from the project root directory. "
@@ -8292,7 +8292,7 @@ msgid ""
"like this:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6509(programlisting)
+#: C/gtkmm-tutorial-in.xml:6522(programlisting)
#, no-wrap
msgid ""
"src/main.cc\n"
@@ -8301,7 +8301,7 @@ msgstr ""
"src/main.cc\n"
"src/other.cc"
-#: C/gtkmm-tutorial-in.xml:6512(para)
+#: C/gtkmm-tutorial-in.xml:6525(para)
msgid ""
"If you are using <application>gettext</application> directly, you can only "
"mark strings for translation if they are in source code file. However, if "
@@ -8314,7 +8314,7 @@ msgid ""
"filename> files to the list in <literal>POTFILES.in</literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6525(para)
+#: C/gtkmm-tutorial-in.xml:6538(para)
msgid ""
"Now that there is a place to put your translations, you need to initialize "
"<application>intltool</application> and <application>gettext</application>. "
@@ -8322,7 +8322,7 @@ msgid ""
"'programname' with the name of your program:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6532(programlisting)
+#: C/gtkmm-tutorial-in.xml:6545(programlisting)
#, no-wrap
msgid ""
"IT_PROG_INTLTOOL([0.35.0])\n"
@@ -8347,21 +8347,21 @@ msgstr ""
"PROGRAMNAME_LOCALEDIR=[${datadir}/locale]\n"
"AC_SUBST(PROGRAMNAME_LOCALEDIR)"
-#: C/gtkmm-tutorial-in.xml:6543(para)
+#: C/gtkmm-tutorial-in.xml:6556(para)
msgid ""
"This <varname>PROGRAMNAME_LOCALEDIR</varname> variable will be used later in "
"the <literal>Makefile.am</literal> file, to define a macro that will be used "
"when you initialize <application>gettext</application> in your source code."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6554(para)
+#: C/gtkmm-tutorial-in.xml:6567(para)
msgid ""
"Add <literal>po</literal> to the <literal>SUBDIRS</literal> variable. "
"Without this, your translations won't get built and installed when you build "
"the program"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6561(programlisting)
+#: C/gtkmm-tutorial-in.xml:6574(programlisting)
#, no-wrap
msgid ""
"INTLTOOL_FILES = intltool-extract.in \\\n"
@@ -8372,18 +8372,18 @@ msgstr ""
" intltool-merge.in \\\n"
" intltool-update.in"
-#: C/gtkmm-tutorial-in.xml:6559(para)
+#: C/gtkmm-tutorial-in.xml:6572(para)
msgid "Define <literal>INTLTOOL_FILES</literal> as: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6567(para)
+#: C/gtkmm-tutorial-in.xml:6580(para)
msgid ""
"Add <literal>INTLTOOL_FILES</literal> to the <literal>EXTRA_DIST</literal> "
"list of files. This ensures that when you do a <command>make dist</command>, "
"these commands will be included in the source tarball."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6577(programlisting)
+#: C/gtkmm-tutorial-in.xml:6590(programlisting)
#, no-wrap
msgid ""
"DISTCLEANFILES = ... intltool-extract \\\n"
@@ -8396,37 +8396,37 @@ msgstr ""
" intltool-update \\\n"
" po/.intltool-merge-cache"
-#: C/gtkmm-tutorial-in.xml:6575(para)
+#: C/gtkmm-tutorial-in.xml:6588(para)
msgid "Update your <literal>DISTCLEANFILES</literal>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6550(para)
+#: C/gtkmm-tutorial-in.xml:6563(para)
msgid "In the top-level Makefile.am: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6586(para)
+#: C/gtkmm-tutorial-in.xml:6599(para)
msgid ""
"In your <literal>src/Makefile.am</literal>, update your "
"<literal>AM_CPPFLAGS</literal> to add the following preprocessor macro "
"definition:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6591(programlisting)
+#: C/gtkmm-tutorial-in.xml:6604(programlisting)
#, no-wrap
msgid "AM_CPPFLAGS = ... -DPROGRAMNAME_LOCALEDIR=\\\"${PROGRAMNAME_LOCALEDIR}\\\""
msgstr "AM_CPPFLAGS = ... -DPROGRAMNAME_LOCALEDIR=\\\"${PROGRAMNAME_LOCALEDIR}\\\""
-#: C/gtkmm-tutorial-in.xml:6592(para)
+#: C/gtkmm-tutorial-in.xml:6605(para)
msgid ""
"This macro will be used when you initialize <literal>gettext</literal> in "
"your source code."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6599(title)
+#: C/gtkmm-tutorial-in.xml:6612(title)
msgid "Marking strings for translation"
msgstr "Marcar cadenas para traducir"
-#: C/gtkmm-tutorial-in.xml:6601(para)
+#: C/gtkmm-tutorial-in.xml:6614(para)
msgid ""
"String literals should be typed in the source code in English, but they "
"should be surrounded by a call to the <function>gettext()</function> "
@@ -8434,24 +8434,24 @@ msgid ""
"translations may be used at runtime instead of the original English strings."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6609(para)
+#: C/gtkmm-tutorial-in.xml:6622(para)
msgid ""
"The <application>GNU gettext</application> package allows you to mark "
"strings in source code, extract those strings for translation, and use the "
"translated strings in your application."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6621(programlisting)
+#: C/gtkmm-tutorial-in.xml:6634(programlisting)
#, no-wrap
msgid "display_message(\"Getting ready for i18n.\");"
msgstr "display_message(\"Listo para i18n.\");"
-#: C/gtkmm-tutorial-in.xml:6623(programlisting)
+#: C/gtkmm-tutorial-in.xml:6636(programlisting)
#, no-wrap
msgid "display_message(_(\"Getting ready for i18n.\"));"
msgstr "display_message(_(\"Listo para i18n.\"));"
-#: C/gtkmm-tutorial-in.xml:6615(para)
+#: C/gtkmm-tutorial-in.xml:6628(para)
msgid ""
"However, <application>Glib</application> defines <function>gettext()</"
"function> support macros which are shorter wrappers in an easy-to-use form. "
@@ -8459,12 +8459,12 @@ msgid ""
"then, for example, substitute: <placeholder-1/> with: <placeholder-2/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6634(programlisting)
+#: C/gtkmm-tutorial-in.xml:6647(programlisting)
#, no-wrap
msgid "xgettext -a -o my-strings --omit-header *.cc *.h"
msgstr "xgettext -a -o my-strings --omit-header *.cc *.h"
-#: C/gtkmm-tutorial-in.xml:6626(para)
+#: C/gtkmm-tutorial-in.xml:6639(para)
msgid ""
"For reference, it is possible to generate a file which contains all strings "
"which appear in your code, even if they are not marked for translation, "
@@ -8473,7 +8473,7 @@ msgid ""
"the source code directory: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6641(programlisting)
+#: C/gtkmm-tutorial-in.xml:6654(programlisting)
#, no-wrap
msgid ""
"bindtextdomain(GETTEXT_PACKAGE, PROGRAMNAME_LOCALEDIR);\n"
@@ -8484,18 +8484,18 @@ msgstr ""
"bind_textdomain_codeset(GETTEXT_PACKAGE, \"UTF-8\");\n"
"textdomain(GETTEXT_PACKAGE);"
-#: C/gtkmm-tutorial-in.xml:6637(para)
+#: C/gtkmm-tutorial-in.xml:6650(para)
msgid ""
"Finally, to let you program use the translation for the current locale, add "
"this code to the beginning of your <filename>main.cc</filename> file, to "
"initialize gettext. <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6647(title)
+#: C/gtkmm-tutorial-in.xml:6660(title)
msgid "How gettext works"
msgstr "CÃmo funciona gettext"
-#: C/gtkmm-tutorial-in.xml:6649(para)
+#: C/gtkmm-tutorial-in.xml:6662(para)
msgid ""
"<application>intltool</application> / <application>xgettext</application> "
"script extracts the strings and puts them in a <filename>mypackage.pot</"
@@ -8508,7 +8508,7 @@ msgid ""
"files from the regenerated <filename>.pot</filename> file."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6663(para)
+#: C/gtkmm-tutorial-in.xml:6676(para)
msgid ""
"At install time, the <filename>.po</filename> files are converted to a "
"binary format (with the extension <filename>.mo</filename>) and placed in a "
@@ -8516,7 +8516,7 @@ msgid ""
"locale/</filename>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6670(para)
+#: C/gtkmm-tutorial-in.xml:6683(para)
msgid ""
"When the application runs, the <application>gettext</application> library "
"checks the system-wide directory to see if there is a <filename>.mo</"
@@ -8527,16 +8527,16 @@ msgid ""
"used."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6682(title)
+#: C/gtkmm-tutorial-in.xml:6695(title)
msgid "Testing and adding translations"
msgstr "Comprobar y aÃadir las traducciones"
-#: C/gtkmm-tutorial-in.xml:6689(programlisting)
+#: C/gtkmm-tutorial-in.xml:6702(programlisting)
#, no-wrap
msgid "intltool-update --pot"
msgstr "intltool-update --pot"
-#: C/gtkmm-tutorial-in.xml:6684(para)
+#: C/gtkmm-tutorial-in.xml:6697(para)
msgid ""
"To convince yourself that you've done well, you may wish to add a "
"translation for a new locale. In order to do that, go to the <filename>po</"
@@ -8544,7 +8544,7 @@ msgid ""
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6692(para)
+#: C/gtkmm-tutorial-in.xml:6705(para)
msgid ""
"That will create a file named <filename>programname.pot</filename>. Now copy "
"that file to <filename>languagecode.po</filename>, such as <filename>de.po</"
@@ -8556,7 +8556,7 @@ msgid ""
"<literal>UTF-8</literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6705(para)
+#: C/gtkmm-tutorial-in.xml:6718(para)
msgid ""
"It's possible that certain strings will be marked as <literal>fuzzy</"
"literal> in the <filename>.po</filename> file. These translations will not "
@@ -8564,49 +8564,49 @@ msgid ""
"<literal>fuzzy</literal> tag."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6715(title)
+#: C/gtkmm-tutorial-in.xml:6728(title)
msgid "Resources"
msgstr "Recursos"
-#: C/gtkmm-tutorial-in.xml:6724(ulink)
+#: C/gtkmm-tutorial-in.xml:6737(ulink)
msgid "Internationalizing GNOME applications"
msgstr "Internacionalizar aplicaciones de GNOME"
-#: C/gtkmm-tutorial-in.xml:6731(ulink)
+#: C/gtkmm-tutorial-in.xml:6744(ulink)
msgid "Intltool README"
msgstr "README de intltool"
-#: C/gtkmm-tutorial-in.xml:6737(ulink)
+#: C/gtkmm-tutorial-in.xml:6750(ulink)
msgid "How to use GNOME CVS as a Translator"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6743(ulink)
+#: C/gtkmm-tutorial-in.xml:6756(ulink)
msgid "gettext manual"
msgstr "manual de gettext"
-#: C/gtkmm-tutorial-in.xml:6749(literal)
+#: C/gtkmm-tutorial-in.xml:6762(literal)
msgid "gtkmm_hello"
msgstr "gtkmm_hello"
-#: C/gtkmm-tutorial-in.xml:6749(ulink) C/gtkmm-tutorial-in.xml:6755(ulink)
+#: C/gtkmm-tutorial-in.xml:6762(ulink) C/gtkmm-tutorial-in.xml:6768(ulink)
msgid "<placeholder-1/> example package"
msgstr "<placeholder-1/> paquete de ejemplo"
-#: C/gtkmm-tutorial-in.xml:6755(literal)
+#: C/gtkmm-tutorial-in.xml:6768(literal)
msgid "gnomemm_hello"
msgstr "gnomemm_hello"
-#: C/gtkmm-tutorial-in.xml:6717(para)
+#: C/gtkmm-tutorial-in.xml:6730(para)
msgid ""
"More information about what lies behind the internationalization and "
"localization process is presented and demonstrated in: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6765(title)
+#: C/gtkmm-tutorial-in.xml:6778(title)
msgid "Expecting UTF8"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6766(para)
+#: C/gtkmm-tutorial-in.xml:6779(para)
msgid ""
"A properly internationalized application will not make assumptions about the "
"number of bytes in a character. That means that you shouldn't use pointer "
@@ -8615,7 +8615,7 @@ msgid ""
"such as <function>strlen()</function> because they make the same assumption."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6773(para)
+#: C/gtkmm-tutorial-in.xml:6786(para)
msgid ""
"However, you probably already avoid bare char* arrays and pointer arithmetic "
"by using <classname>std::string</classname>, so you just need to start using "
@@ -8624,11 +8624,11 @@ msgid ""
"classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6781(title)
+#: C/gtkmm-tutorial-in.xml:6794(title)
msgid "Glib::ustring and std::iostreams"
msgstr "Glib::ustring y std::iostreams"
-#: C/gtkmm-tutorial-in.xml:6798(programlisting)
+#: C/gtkmm-tutorial-in.xml:6811(programlisting)
#, no-wrap
msgid ""
"std::ostringstream output;\n"
@@ -8642,12 +8642,12 @@ msgstr ""
"label->set_text(Glib::locale_to_utf8(output.str()));"
#. <para>TODO: This section is not clear - it needs to spell things out more clearly and obviously.</para>
-#: C/gtkmm-tutorial-in.xml:6783(para)
+#: C/gtkmm-tutorial-in.xml:6796(para)
msgid ""
"Unfortunately, the integration with the standard iostreams is not completely "
"foolproof. <application>gtkmm</application> converts <classname>Glib::"
-"ustring</classname>s to a locale-specific encoding (which usually is not "
-"UTF-8) if you output them to an <classname>ostream</classname> with "
+"ustring</classname>s to a locale-specific encoding (which usually is not UTF-"
+"8) if you output them to an <classname>ostream</classname> with "
"<function>operator<<</function>. Likewise, retrieving <classname>Glib::"
"ustrings</classname> from <classname>istream</classname> with "
"<function>operator>></function> causes a conversion in the opposite "
@@ -8658,43 +8658,43 @@ msgid ""
"characters and the current locale is not UTF-8 encoded, the result is a "
"corrupted <classname>Glib::ustring</classname>. You can work around this "
"with a manual conversion. For instance, to retrieve the <classname>std::"
-"string</classname> from a <classname>ostringstream</classname>: "
-"<placeholder-1/>"
+"string</classname> from a <classname>ostringstream</classname>: <placeholder-"
+"1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6808(title)
+#: C/gtkmm-tutorial-in.xml:6821(title)
msgid "Pitfalls"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6810(para)
+#: C/gtkmm-tutorial-in.xml:6823(para)
msgid ""
"There are a few common mistakes that you would discover eventually yourself. "
"But this section might help you to avoid them."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6813(title)
+#: C/gtkmm-tutorial-in.xml:6826(title)
msgid "Same strings, different semantics"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6815(para)
+#: C/gtkmm-tutorial-in.xml:6828(para)
msgid ""
"Sometimes two english strings are identical but have different meanings in "
"different contexts, so they would probably not be identical when translated. "
"Since the English strings are used as look-up keys, this causes problems."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6819(para)
+#: C/gtkmm-tutorial-in.xml:6832(para)
msgid ""
"In these cases, you should add extra characters to the strings. For "
-"instance, use <literal>\"jumps[noun]\"</literal> and <literal>\"jumps"
-"[verb]\"</literal> instead of just <literal>\"jumps\"</literal>) and strip "
-"them again outside the <function>gettext</function> call. If you add extra "
+"instance, use <literal>\"jumps[noun]\"</literal> and <literal>\"jumps[verb]"
+"\"</literal> instead of just <literal>\"jumps\"</literal>) and strip them "
+"again outside the <function>gettext</function> call. If you add extra "
"characters you should also add a comment for the translators before the "
"<function>gettext</function> call. Such comments will be shown in the "
"<filename>.po</filename> files. For instance:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6829(programlisting)
+#: C/gtkmm-tutorial-in.xml:6842(programlisting)
#, no-wrap
msgid ""
"// note to translators: don't translate the \"[noun]\" part - it is\n"
@@ -8702,11 +8702,11 @@ msgid ""
"text = strip(gettext(\"jumps[noun]\"), \"[noun]\");"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6835(title)
+#: C/gtkmm-tutorial-in.xml:6848(title)
msgid "Composition of strings"
msgstr "ComposiciÃn de cadenas"
-#: C/gtkmm-tutorial-in.xml:6837(para)
+#: C/gtkmm-tutorial-in.xml:6850(para)
msgid ""
"C programmers use <function>sprintf()</function> to compose and concatenate "
"strings. C++ favours streams, but unfortunately, this approach makes "
@@ -8715,11 +8715,11 @@ msgid ""
"the grammar of the language."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6844(para)
+#: C/gtkmm-tutorial-in.xml:6857(para)
msgid "For instance, this code would be problematic:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6846(programlisting)
+#: C/gtkmm-tutorial-in.xml:6859(programlisting)
#, no-wrap
msgid ""
"std::cout << _(\"Current amount: \") << amount\n"
@@ -8728,7 +8728,7 @@ msgid ""
"label.set_text(_(\"Really delete \") + filename + _(\" now?\"));"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6851(para)
+#: C/gtkmm-tutorial-in.xml:6864(para)
msgid ""
"So you should either avoid this situation or revert to the C-style "
"<function>sprintf()</function>. One possible solution is the <ulink url="
@@ -8736,16 +8736,16 @@ msgid ""
"supports syntax such as:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6858(programlisting)
+#: C/gtkmm-tutorial-in.xml:6871(programlisting)
#, no-wrap
msgid "label.set_text(compose(_(\"Really delete %1 now?\"), filename));"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6862(title)
+#: C/gtkmm-tutorial-in.xml:6875(title)
msgid "Assuming the displayed size of strings"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6864(para)
+#: C/gtkmm-tutorial-in.xml:6877(para)
msgid ""
"You never know how much space a string will take on screen when translated. "
"It might very possibly be twice the size of the original English string. "
@@ -8753,29 +8753,29 @@ msgid ""
"runtime to the required size."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6868(title)
+#: C/gtkmm-tutorial-in.xml:6881(title)
msgid "Unusual words"
msgstr "Palabras poco frecuentes"
-#: C/gtkmm-tutorial-in.xml:6870(para)
+#: C/gtkmm-tutorial-in.xml:6883(para)
msgid ""
"You should avoid cryptic abbreviations, slang, or jargon. They are usually "
"difficult to translate, and are often difficult for even native speakers to "
"understand. For instance, prefer \"application\" to \"app\""
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6876(title)
+#: C/gtkmm-tutorial-in.xml:6889(title)
msgid "Using non-ASCII characters in strings"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6878(para)
+#: C/gtkmm-tutorial-in.xml:6891(para)
msgid ""
"Currently, <application>gettext</application> does not support non-ASCII "
"characters (i.e. any characters with a code above 127) in source code. For "
"instance, you cannot use the copyright sign (Â)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6884(para)
+#: C/gtkmm-tutorial-in.xml:6897(para)
msgid ""
"To work around this, you could write a comment in the source code just "
"before the string, telling the translators to use the special character if "
@@ -8784,11 +8784,11 @@ msgid ""
"special charactger."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6892(title)
+#: C/gtkmm-tutorial-in.xml:6905(title)
msgid "Getting help with translations"
msgstr "Obtener ayuda con las traducciones"
-#: C/gtkmm-tutorial-in.xml:6894(para)
+#: C/gtkmm-tutorial-in.xml:6907(para)
msgid ""
"If your program is free software, there is a whole <literal>GNOME</literal> "
"subproject devoted to helping you make translations, the <ulink url=\"http://"
@@ -8796,7 +8796,7 @@ msgid ""
"Project</ulink>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6899(para)
+#: C/gtkmm-tutorial-in.xml:6912(para)
msgid ""
"The way it works is that you contact the gnome-i18n mailing list to find out "
"how the translators can access your <filename>po/</filename> subdirectory, "
@@ -8804,7 +8804,7 @@ msgid ""
"projects/gtp/status/\">status tables</ulink>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6906(para)
+#: C/gtkmm-tutorial-in.xml:6919(para)
msgid ""
"Then you make sure you update the file <filename>POTFILES.in</filename> in "
"the <filename>po/</filename> subdirectory (<command>intltool-update -M</"
@@ -8816,7 +8816,7 @@ msgid ""
"<filename>languagename.po</filename> files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6918(para)
+#: C/gtkmm-tutorial-in.xml:6931(para)
msgid ""
"Note that most language teams only consist of 1-3 persons, so if your "
"program contains a lot of strings, it might last a while before anyone has "
@@ -8826,11 +8826,11 @@ msgid ""
"being maintained) they may decide to spend their time on some other project."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6930(title) C/gtkmm-tutorial-in.xml:7048(title)
+#: C/gtkmm-tutorial-in.xml:6943(title) C/gtkmm-tutorial-in.xml:7061(title)
msgid "Custom Widgets"
msgstr "Widgets personalizados"
-#: C/gtkmm-tutorial-in.xml:6932(para)
+#: C/gtkmm-tutorial-in.xml:6945(para)
msgid ""
"<application>gtkmm</application> makes it very easy to derive new widgets by "
"inheriting from an existing widget class, either by deriving from a "
@@ -8840,77 +8840,77 @@ msgid ""
"widget from scratch."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6939(title)
+#: C/gtkmm-tutorial-in.xml:6952(title)
msgid "Custom Containers"
msgstr "Contenedores personalizados"
-#: C/gtkmm-tutorial-in.xml:6942(para)
+#: C/gtkmm-tutorial-in.xml:6955(para)
msgid ""
"<methodname>get_request_mode_vfunc()</methodname>: Return what <literal>Gtk::"
"SizeRequestMode</literal> is preferred by the container."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6943(para)
+#: C/gtkmm-tutorial-in.xml:6956(para)
msgid ""
"<methodname>get_preferred_width_vfunc()</methodname>: Calculate the minimum "
"and natural width of the container."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6944(para)
+#: C/gtkmm-tutorial-in.xml:6957(para)
msgid ""
"<methodname>get_preferred_height_vfunc()</methodname>: Calculate the minimum "
"and natural height of the container."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6945(para)
+#: C/gtkmm-tutorial-in.xml:6958(para)
msgid ""
"<methodname>get_preferred_width_for_height_vfunc()</methodname>: Calculate "
"the minimum and natural width of the container, if it would be given the "
"specified height."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6946(para)
+#: C/gtkmm-tutorial-in.xml:6959(para)
msgid ""
"<methodname>get_preferred_height_for_width_vfunc()</methodname>: Calculate "
"the minimum and natural height of the container, if it would be given the "
"specified width."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6947(para)
+#: C/gtkmm-tutorial-in.xml:6960(para)
msgid ""
"<methodname>on_size_allocate()</methodname>: Position the child widgets, "
"given the height and width that the container has actually been given."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6948(para)
+#: C/gtkmm-tutorial-in.xml:6961(para)
msgid ""
"<methodname>forall_vfunc()</methodname>: Call the same callback for each of "
"the children."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6949(para)
+#: C/gtkmm-tutorial-in.xml:6962(para)
msgid "<methodname>on_add()</methodname>: Add a child widget to the container."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6950(para)
+#: C/gtkmm-tutorial-in.xml:6963(para)
msgid ""
"<methodname>on_remove()</methodname>: Remove a child widget from the "
"container."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6951(para)
+#: C/gtkmm-tutorial-in.xml:6964(para)
msgid ""
"<methodname>child_type_vfunc()</methodname>: Return what type of child can "
"be added."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6940(para)
+#: C/gtkmm-tutorial-in.xml:6953(para)
msgid ""
"When deriving from <classname>Gtk::Container</classname>, you should "
"override the following virtual methods: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6955(para)
+#: C/gtkmm-tutorial-in.xml:6968(para)
msgid ""
"The <methodname>get_request_mode_vfunc()</methodname>, "
"<methodname>get_preferred_width_vfunc()</methodname>, "
@@ -8931,7 +8931,7 @@ msgid ""
"eventually decide the size of the top-level window."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6975(para)
+#: C/gtkmm-tutorial-in.xml:6988(para)
msgid ""
"You are not guaranteed to get the <literal>Gtk::SizeRequestMode</literal> "
"that you request. Therefore all four of the "
@@ -8939,7 +8939,7 @@ msgid ""
"sensible values."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6980(para)
+#: C/gtkmm-tutorial-in.xml:6993(para)
msgid ""
"<methodname>on_size_allocate()</methodname> receives the actual height and "
"width that the parent container has decided to give to your widget. This "
@@ -8953,7 +8953,7 @@ msgid ""
"the allocated space that has been offered by the parent container."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:6992(para)
+#: C/gtkmm-tutorial-in.xml:7005(para)
msgid ""
"Unless your container is a top-level window that derives from "
"<classname>Gtk::Window</classname>, you should probably also call "
@@ -8971,7 +8971,7 @@ msgid ""
"performance."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7008(para)
+#: C/gtkmm-tutorial-in.xml:7021(para)
msgid ""
"By overriding <methodname>forall_vfunc()</methodname> you can allow "
"applications to operate on all of the container's child widgets. For "
@@ -8979,7 +8979,7 @@ msgid ""
"the child widgets and show them."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7013(para)
+#: C/gtkmm-tutorial-in.xml:7026(para)
msgid ""
"Although your container might have its own method to set the child widgets, "
"you should still provide an implementation for the virtual <methodname>on_add"
@@ -8988,7 +8988,7 @@ msgid ""
"appropriate if they are called."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7019(para)
+#: C/gtkmm-tutorial-in.xml:7032(para)
msgid ""
"Your implementation of the <methodname>child_type_vfunc()</methodname> "
"method should report the type of widget that may be added to your container, "
@@ -8999,18 +8999,18 @@ msgid ""
"literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7031(para)
+#: C/gtkmm-tutorial-in.xml:7044(para)
msgid ""
"This example implements a container with two child widgets, one above the "
"other. Of course, in this case it would be far simpler just to use a "
"<classname>Gtk::VBox</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7036(title)
+#: C/gtkmm-tutorial-in.xml:7049(title)
msgid "Custom Container"
msgstr "Contenedor personalizado"
-#: C/gtkmm-tutorial-in.xml:7049(para)
+#: C/gtkmm-tutorial-in.xml:7062(para)
msgid ""
"By deriving directly from <classname>Gtk::Widget</classname> you can do all "
"the drawing for your widget directly, instead of just arranging child "
@@ -9018,71 +9018,71 @@ msgid ""
"the label, but does not do this by using other widgets."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7060(para)
+#: C/gtkmm-tutorial-in.xml:7073(para)
msgid ""
"<methodname>get_request_mode_vfunc()</methodname>: (optional) Return what "
"<literal>Gtk::SizeRequestMode</literal> is preferred by the widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7061(para)
+#: C/gtkmm-tutorial-in.xml:7074(para)
msgid ""
"<methodname>get_preferred_width_vfunc()</methodname>: Calculate the minimum "
"and natural width of the widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7062(para)
+#: C/gtkmm-tutorial-in.xml:7075(para)
msgid ""
"<methodname>get_preferred_height_vfunc()</methodname>: Calculate the minimum "
"and natural height of the widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7063(para)
+#: C/gtkmm-tutorial-in.xml:7076(para)
msgid ""
"<methodname>get_preferred_width_for_height_vfunc()</methodname>: Calculate "
"the minimum and natural width of the widget, if it would be given the "
"specified height."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7064(para)
+#: C/gtkmm-tutorial-in.xml:7077(para)
msgid ""
"<methodname>get_preferred_height_for_width_vfunc()</methodname>: Calculate "
"the minimum and natural height of the widget, if it would be given the "
"specified width."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7065(para)
+#: C/gtkmm-tutorial-in.xml:7078(para)
msgid ""
"<methodname>on_size_allocate()</methodname>: Position the widget, given the "
"height and width that it has actually been given."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7066(para)
+#: C/gtkmm-tutorial-in.xml:7079(para)
msgid ""
"<methodname>on_realize()</methodname>: Associate a <classname>Gdk::Window</"
"classname> with the widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7067(para)
+#: C/gtkmm-tutorial-in.xml:7080(para)
msgid ""
"<methodname>on_unrealize()</methodname>: (optional) Break the association "
"with the <classname>Gdk::Window</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7068(para)
+#: C/gtkmm-tutorial-in.xml:7081(para)
msgid "<methodname>on_map()</methodname>: (optional)"
msgstr "<methodname>on_map()</methodname>: (opcional)"
-#: C/gtkmm-tutorial-in.xml:7069(para)
+#: C/gtkmm-tutorial-in.xml:7082(para)
msgid "<methodname>on_unmap()</methodname>: (optional)"
msgstr "<methodname>on_unmap()</methodname>: (opcional)"
-#: C/gtkmm-tutorial-in.xml:7070(para)
+#: C/gtkmm-tutorial-in.xml:7083(para)
msgid ""
"<methodname>on_draw()</methodname>: Draw on the supplied <classname>Cairo::"
"Context</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7055(para)
+#: C/gtkmm-tutorial-in.xml:7068(para)
msgid ""
"When deriving from <classname>Gtk::Widget</classname>, you should override "
"the following virtual methods. The methods marked (optional) need not be "
@@ -9090,14 +9090,14 @@ msgid ""
"appropriate. <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7074(para)
+#: C/gtkmm-tutorial-in.xml:7087(para)
msgid ""
"The first 6 methods in the previous table are also overridden in custom "
"containers. They are briefly described in the <link linkend=\"sec-custom-"
"containers\">Custom Containers</link> section."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7079(para)
+#: C/gtkmm-tutorial-in.xml:7092(para)
msgid ""
"Most custom widgets need their own <classname>Gdk::Window</classname> to "
"draw on. Then you can call <methodname>Gtk::Widget::set_has_window(true)</"
@@ -9108,25 +9108,25 @@ msgid ""
"methodname> from there."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7090(para)
+#: C/gtkmm-tutorial-in.xml:7103(para)
msgid "This example implements a widget which draws a Penrose triangle."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7093(title)
+#: C/gtkmm-tutorial-in.xml:7106(title)
msgid "Custom Widget"
msgstr "Widget personalizado"
-#: C/gtkmm-tutorial-in.xml:7109(title)
+#: C/gtkmm-tutorial-in.xml:7122(title)
msgid "Recommended Techniques"
msgstr "TÃcnicas recomendadas"
-#: C/gtkmm-tutorial-in.xml:7111(para)
+#: C/gtkmm-tutorial-in.xml:7124(para)
msgid ""
"This section is simply a gathering of wisdom, general style guidelines and "
"hints for creating <application>gtkmm</application> applications."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7115(para)
+#: C/gtkmm-tutorial-in.xml:7128(para)
msgid ""
"Use GNU <application>autoconf</application> and <application>automake</"
"application>! They are your friends :) <application>Automake</application> "
@@ -9137,14 +9137,14 @@ msgid ""
"increase portability.."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7125(para)
+#: C/gtkmm-tutorial-in.xml:7138(para)
msgid ""
"Subclass Widgets to better organize your code. You should probably subclass "
"your main <classname>Window</classname> at least. Then you can make your "
"child Widgets and signal handlers members of that class."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7130(para)
+#: C/gtkmm-tutorial-in.xml:7143(para)
msgid ""
"Create your own signals instead of passing pointers around. Objects can "
"communicate with each other via signals and signal handlers. This is much "
@@ -9155,11 +9155,11 @@ msgid ""
"<application>libsigc++</application> documentation."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7139(title)
+#: C/gtkmm-tutorial-in.xml:7152(title)
msgid "Application Lifetime"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7140(para)
+#: C/gtkmm-tutorial-in.xml:7153(para)
msgid ""
"Most applications will have only one <classname>Window</classname>, or only "
"one main window. These applications can use the <methodname>Gtk::Main::run"
@@ -9171,21 +9171,21 @@ msgid ""
"on_delete_event()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7148(para)
+#: C/gtkmm-tutorial-in.xml:7161(para)
msgid "Most of our examples use this technique."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7152(title)
+#: C/gtkmm-tutorial-in.xml:7165(title)
msgid "Using a <application>gtkmm</application> widget"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7154(para)
+#: C/gtkmm-tutorial-in.xml:7167(para)
msgid ""
"Our examples all tend to have the same structure. They follow these steps "
"for using a <classname>Widget</classname>:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7163(para)
+#: C/gtkmm-tutorial-in.xml:7176(para)
msgid ""
"Declare a variable of the type of <classname>Widget</classname> you wish to "
"use, generally as member variable of a derived container class. You could "
@@ -9195,29 +9195,29 @@ msgid ""
"a container class so that you can access it later."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7174(para)
+#: C/gtkmm-tutorial-in.xml:7187(para)
msgid ""
"Set the attributes of the widget. If the widget has no default constructor, "
"then you will need to initialize the widget in the initalizer list of your "
"container class's constructor."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7180(para)
+#: C/gtkmm-tutorial-in.xml:7193(para)
msgid "Connect any signals you wish to use to the appropriate handlers."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7186(para)
+#: C/gtkmm-tutorial-in.xml:7199(para)
msgid ""
"Pack the widget into a container using the appropriate call, e.g. "
"<methodname>Gtk::Container::add()</methodname> or <methodname>pack_start()</"
"methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7194(para)
+#: C/gtkmm-tutorial-in.xml:7207(para)
msgid "Call <methodname>show()</methodname> to display the widget."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7203(para)
+#: C/gtkmm-tutorial-in.xml:7216(para)
msgid ""
"<methodname>Gtk::Widget::show()</methodname> lets <application>gtkmm</"
"application> know that we have finished setting the attributes of the "
@@ -9229,11 +9229,11 @@ msgid ""
"into which the widgets will be gradually drawn."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7217(title)
+#: C/gtkmm-tutorial-in.xml:7230(title)
msgid "Contributing"
msgstr "Contribuir"
-#: C/gtkmm-tutorial-in.xml:7219(para)
+#: C/gtkmm-tutorial-in.xml:7232(para)
msgid ""
"This document, like so much other great software out there, was created for "
"free by volunteers. If you are at all knowledgeable about any aspect of "
@@ -9241,7 +9241,7 @@ msgid ""
"please consider contributing to this document."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7225(para)
+#: C/gtkmm-tutorial-in.xml:7238(para)
msgid ""
"Ideally, we would like you to <ulink url=\"http://www.gtkmm.org/bugs.shtml"
"\">provide a patch</ulink> to the <filename>docs/tutorial/C/gtkmm-tutorial-"
@@ -9249,7 +9249,7 @@ msgid ""
"documentation</literal> module in GNOME git."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7231(para)
+#: C/gtkmm-tutorial-in.xml:7244(para)
msgid ""
"If you do decide to contribute, please post your contribution to the "
"<application>gtkmm</application> mailing list at <ulink url=\"mailto:gtkmm-"
@@ -9260,11 +9260,11 @@ msgid ""
"contribution) may be distributed freely."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7243(title)
+#: C/gtkmm-tutorial-in.xml:7256(title)
msgid "The RefPtr smartpointer"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7244(para)
+#: C/gtkmm-tutorial-in.xml:7257(para)
msgid ""
"<classname>Glib::RefPtr</classname> is a smartpointer. Specifically, it is a "
"reference-counting smartpointer. You might be familiar with <literal>std::"
@@ -9275,29 +9275,24 @@ msgid ""
"application> might possibly use that instead."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7254(para)
+#: C/gtkmm-tutorial-in.xml:7267(para)
msgid ""
"A smartpointer acts much like a normal pointer. Here are a few examples."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7257(title)
+#: C/gtkmm-tutorial-in.xml:7270(title)
msgid "Copying"
msgstr "Copiado"
-#: C/gtkmm-tutorial-in.xml:7258(para)
+#: C/gtkmm-tutorial-in.xml:7271(para)
msgid ""
"You can copy <classname>RefPtr</classname>s, just like normal pointers. But "
"unlike normal pointers, you don't need to worry about deleting the "
"underlying instance."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7264(programlisting)
+#: C/gtkmm-tutorial-in.xml:7277(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "Glib::RefPtr<Gdk::Bitmap> refBitmap = Gdk::Bitmap::create(window,\n"
-#| "data, width, height);\n"
-#| "Glib::RefPtr<Gdk::Bitmap> refBitmap2 = refBitmap;\n"
msgid ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
@@ -9307,21 +9302,15 @@ msgstr ""
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf2 = refPixbuf;\n"
-#: C/gtkmm-tutorial-in.xml:7269(para)
+#: C/gtkmm-tutorial-in.xml:7282(para)
msgid ""
"Of course this means that you can store <classname>RefPtr</classname>s in "
"standard containers, such as <classname>std::vector</classname> or "
"<classname>std::list</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7274(programlisting)
+#: C/gtkmm-tutorial-in.xml:7287(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "std::list< Glib::RefPtr<Gdk::Pixmap> > listPixmaps;\n"
-#| "Glib::RefPtr<Gdk::Pixmap> refPixmap = Gdk::Pixmap::create(window,\n"
-#| "width, height, depth);\n"
-#| "listPixmaps.push_back(refPixmap);\n"
msgid ""
"\n"
"std::list< Glib::RefPtr<Gdk::Pixbuf> > listPixbufs;\n"
@@ -9333,23 +9322,18 @@ msgstr ""
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
"listPixbufs.push_back(refPixbuf);\n"
-#: C/gtkmm-tutorial-in.xml:7282(title)
+#: C/gtkmm-tutorial-in.xml:7295(title)
msgid "Dereferencing"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7283(para)
+#: C/gtkmm-tutorial-in.xml:7296(para)
msgid ""
"You can dereference a smartpointer with the -> operator, to call the "
"methods of the underlying instance, just like a normal pointer."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7287(programlisting)
+#: C/gtkmm-tutorial-in.xml:7300(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "Glib::RefPtr<Gdk::Bitmap> refBitmap = Gdk::Bitmap::create(window,\n"
-#| "data, width, height);\n"
-#| "int depth = refBitmap->get_depth();\n"
msgid ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
@@ -9359,19 +9343,14 @@ msgstr ""
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
"int width = refPixbuf->get_width();\n"
-#: C/gtkmm-tutorial-in.xml:7292(para)
+#: C/gtkmm-tutorial-in.xml:7305(para)
msgid ""
"But unlike most smartpointers, you can't use the * operator to access the "
"underlying instance."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7296(programlisting)
+#: C/gtkmm-tutorial-in.xml:7309(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "Glib::RefPtr<Gdk::Bitmap> refBitmap = Gdk::Bitmap::create(window,\n"
-#| "data, width, height);\n"
-#| "Gdk::Bitmap* underlying = *refBitmap; //Syntax error - will not compile.\n"
msgid ""
"\n"
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
@@ -9381,17 +9360,17 @@ msgstr ""
"Glib::RefPtr<Gdk::Pixbuf> refPixbuf = Gdk::Pixbuf::create_from_file(filename);\n"
"Gdk::Pixbuf& underlying = *refPixbuf; //Error de sintaxis; no compilarÃ.\n"
-#: C/gtkmm-tutorial-in.xml:7303(title)
+#: C/gtkmm-tutorial-in.xml:7316(title)
msgid "Casting"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7304(para)
+#: C/gtkmm-tutorial-in.xml:7317(para)
msgid ""
"You can cast <classname>RefPtrs</classname> to base types, just like normal "
"pointers."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7309(programlisting)
+#: C/gtkmm-tutorial-in.xml:7322(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9402,7 +9381,7 @@ msgstr ""
"Glib::RefPtr<Gtk::TreeStore> refStore = Gtk::TreeStore::create(columns);\n"
"Glib::RefPtr<Gtk::TreeModel> refModel = refStore;\n"
-#: C/gtkmm-tutorial-in.xml:7314(para)
+#: C/gtkmm-tutorial-in.xml:7327(para)
msgid ""
"This means that any method which takes a <type>const Glib::RefPtr<"
"BaseType></type> argument can also take a <type>const Glib::RefPtr<"
@@ -9410,13 +9389,13 @@ msgid ""
"normal pointer."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7318(para)
+#: C/gtkmm-tutorial-in.xml:7331(para)
msgid ""
"You can also cast to a derived type, but the syntax is a little different "
"than with a normal pointer."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7322(programlisting)
+#: C/gtkmm-tutorial-in.xml:7335(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9431,17 +9410,17 @@ msgstr ""
"Glib::RefPtr<Gtk::TreeStore> refStore2 =\n"
"Glib::RefPtr<Gtk::TreeStore>::cast_static(refModel);\n"
-#: C/gtkmm-tutorial-in.xml:7332(title)
+#: C/gtkmm-tutorial-in.xml:7345(title)
msgid "Checking for null"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7333(para)
+#: C/gtkmm-tutorial-in.xml:7346(para)
msgid ""
"Just like normal pointers, you can check whether a <classname>RefPtr</"
"classname> points to anything."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7338(programlisting)
+#: C/gtkmm-tutorial-in.xml:7351(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9460,17 +9439,17 @@ msgstr ""
" ...\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:7347(para)
+#: C/gtkmm-tutorial-in.xml:7360(para)
msgid ""
"But unlike normal pointers, <classname>RefPtr</classname>s are automatically "
"initialized to null so you don't need to remember to do that yourself."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7354(title)
+#: C/gtkmm-tutorial-in.xml:7367(title)
msgid "Constness"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7355(para)
+#: C/gtkmm-tutorial-in.xml:7368(para)
msgid ""
"The use of the <literal>const</literal> keyword in C++ is not always clear. "
"You might not realise that <type>const Something*</type> declares a pointer "
@@ -9478,7 +9457,7 @@ msgid ""
"<type>Something</type> that it points to."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7361(para)
+#: C/gtkmm-tutorial-in.xml:7374(para)
msgid ""
"Therefore, the <classname>RefPtr</classname> equivalent of <type>Something*</"
"type> for a method parameter is <type>const Glib::RefPtr<Something>"
@@ -9486,7 +9465,7 @@ msgid ""
"<type>const Glib::RefPtr<const Something>&</type>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7368(para)
+#: C/gtkmm-tutorial-in.xml:7381(para)
msgid ""
"The <literal>const ... &</literal> around both is just for efficiency, "
"like using <classname>const std::string&</classname> instead of "
@@ -9494,11 +9473,11 @@ msgid ""
"unnecessary copying."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7383(title)
+#: C/gtkmm-tutorial-in.xml:7396(title)
msgid "Connecting signal handlers"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7384(para)
+#: C/gtkmm-tutorial-in.xml:7397(para)
msgid ""
"<application>gtkmm</application> widget classes have signal accessor "
"methods, such as <methodname>Gtk::Button::signal_clicked()</methodname>, "
@@ -9510,11 +9489,11 @@ msgid ""
"named callbacks."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7394(para)
+#: C/gtkmm-tutorial-in.xml:7407(para)
msgid "Here's an example of a signal handler being connected to a signal:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7399(programlisting)
+#: C/gtkmm-tutorial-in.xml:7412(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9545,33 +9524,33 @@ msgstr ""
" button.signal_clicked().connect(sigc::ptr_fun(&on_button_clicked));\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:7415(para)
+#: C/gtkmm-tutorial-in.xml:7428(para)
msgid ""
"There's rather a lot to think about in this (non-functional) code. First "
"let's identify the parties involved:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7423(para)
+#: C/gtkmm-tutorial-in.xml:7436(para)
msgid "The signal handler is <methodname>on_button_clicked()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7429(para)
+#: C/gtkmm-tutorial-in.xml:7442(para)
msgid ""
"We're hooking it up to the <classname>Gtk::Button</classname> object called "
"<varname>button</varname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7436(para)
+#: C/gtkmm-tutorial-in.xml:7449(para)
msgid ""
"When the Button emits its <literal>clicked</literal> signal, "
"<methodname>on_button_clicked()</methodname> will be called."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7444(para)
+#: C/gtkmm-tutorial-in.xml:7457(para)
msgid "Now let's look at the connection again:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7449(programlisting)
+#: C/gtkmm-tutorial-in.xml:7462(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9584,7 +9563,7 @@ msgstr ""
" button.signal_clicked().connect(sigc::ptr_fun(&on_button_clicked));\n"
" ...\n"
-#: C/gtkmm-tutorial-in.xml:7456(para)
+#: C/gtkmm-tutorial-in.xml:7469(para)
msgid ""
"Note that we don't pass a pointer to <methodname>on_button_clicked()</"
"methodname> directly to the signal's <methodname>connect()</methodname> "
@@ -9592,7 +9571,7 @@ msgid ""
"result to <methodname>connect()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7463(para)
+#: C/gtkmm-tutorial-in.xml:7476(para)
msgid ""
"<function>sigc::ptr_fun()</function> generates a <classname>sigc::slot</"
"classname>. A slot is an object which looks and feels like a function, but "
@@ -9602,11 +9581,11 @@ msgid ""
"generates a slot for a member method of a particular instance."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7472(para)
+#: C/gtkmm-tutorial-in.xml:7485(para)
msgid "Here's a slightly larger example of slots in action:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7477(programlisting)
+#: C/gtkmm-tutorial-in.xml:7490(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9643,13 +9622,13 @@ msgstr ""
" button.signal_clicked().connect( sigc::mem_fun(some_object, &some_class::on_button_clicked) );\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:7496(para)
+#: C/gtkmm-tutorial-in.xml:7509(para)
msgid ""
"The first call to <methodname>connect()</methodname> is just like the one we "
"saw last time; nothing new here."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7499(para)
+#: C/gtkmm-tutorial-in.xml:7512(para)
msgid ""
"The next is more interesting. <function>sigc::mem_fun()</function> is called "
"with two arguments. The first argument is <parameter>some_object</"
@@ -9660,7 +9639,7 @@ msgid ""
"<methodname>some_object.on_button_clicked()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7509(para)
+#: C/gtkmm-tutorial-in.xml:7522(para)
msgid ""
"Another thing to note about this example is that we made the call to "
"<methodname>connect()</methodname> twice for the same signal object. This is "
@@ -9668,7 +9647,7 @@ msgid ""
"called."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7516(para)
+#: C/gtkmm-tutorial-in.xml:7529(para)
msgid ""
"We just told you that the button's <literal>clicked</literal> signal is "
"expecting to call a method with no arguments. All signals have requirements "
@@ -9678,11 +9657,11 @@ msgid ""
"handler you'll be expected to connect to a given signal."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7528(title)
+#: C/gtkmm-tutorial-in.xml:7541(title)
msgid "Writing signal handlers"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7530(para)
+#: C/gtkmm-tutorial-in.xml:7543(para)
msgid ""
"To find out what type of signal handler you can connect to a signal, you can "
"look it up in the reference documentation or the header file. Here's an "
@@ -9690,7 +9669,7 @@ msgid ""
"application> headers:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7537(programlisting)
+#: C/gtkmm-tutorial-in.xml:7550(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9699,7 +9678,7 @@ msgstr ""
"\n"
"Glib::SignalProxy1<bool, Gtk::DirectionType> signal_focus()\n"
-#: C/gtkmm-tutorial-in.xml:7542(para)
+#: C/gtkmm-tutorial-in.xml:7555(para)
msgid ""
"Other than the signal's name (<literal>focus</literal>), two things are "
"important to note here: the number following the word "
@@ -9712,13 +9691,13 @@ msgid ""
"documentation, you can see the names of the arguments too."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7554(para)
+#: C/gtkmm-tutorial-in.xml:7567(para)
msgid ""
"The same principles apply for signals which have more arguments. Here's one "
"with three (taken from <filename><gtkmm/editable.h></filename>):"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7560(programlisting)
+#: C/gtkmm-tutorial-in.xml:7573(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9729,7 +9708,7 @@ msgstr ""
"Glib::SignalProxy3<void, const Glib::ustring&, int, int*> signal_insert_text()\n"
"\n"
-#: C/gtkmm-tutorial-in.xml:7566(para)
+#: C/gtkmm-tutorial-in.xml:7579(para)
msgid ""
"It follows the same form. The number 3 at the end of the type's name "
"indicates that our signal handler will need three arguments. The first type "
@@ -9738,7 +9717,7 @@ msgid ""
"order. Our signal handler's prototype could look like this:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7575(programlisting)
+#: C/gtkmm-tutorial-in.xml:7588(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9747,16 +9726,16 @@ msgstr ""
"\n"
"void on_insert_text(const Glib::ustring& text, int length, int* position);\n"
-#: C/gtkmm-tutorial-in.xml:7582(title)
+#: C/gtkmm-tutorial-in.xml:7595(title)
msgid "Disconnecting signal handlers"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7584(para)
+#: C/gtkmm-tutorial-in.xml:7597(para)
msgid ""
"Let's take another look at a Signal's <literal>connect</literal> method:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7589(programlisting)
+#: C/gtkmm-tutorial-in.xml:7602(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9765,7 +9744,7 @@ msgstr ""
"\n"
"sigc::signal<void,int>::iterator signal<void,int>::connect( const sigc::slot<void,int>& );\n"
-#: C/gtkmm-tutorial-in.xml:7594(para)
+#: C/gtkmm-tutorial-in.xml:7607(para)
msgid ""
"Notice that the return value is of type <classname>sigc::signal<void,"
"int>::iterator</classname>. This can be implicitely converted into a "
@@ -9775,18 +9754,18 @@ msgid ""
"disconnect()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7605(title)
+#: C/gtkmm-tutorial-in.xml:7618(title)
msgid "Overriding default signal handlers"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7607(para)
+#: C/gtkmm-tutorial-in.xml:7620(para)
msgid ""
"So far we've told you to perform actions in response to button-presses and "
"the like by handling signals. That's certainly a good way to do things, but "
"it's not the only way."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7614(para)
+#: C/gtkmm-tutorial-in.xml:7627(para)
msgid ""
"Instead of laboriously connecting signal handlers to signals, you can simply "
"make a new class which inherits from a widget - say, a Button - and then "
@@ -9794,7 +9773,7 @@ msgid ""
"be a lot simpler than hooking up signal handlers for everything."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7621(para)
+#: C/gtkmm-tutorial-in.xml:7634(para)
msgid ""
"Subclassing isn't always the best way to accomplish things. It is only "
"useful when you want the widget to handle its own signal by itself. If you "
@@ -9804,18 +9783,18 @@ msgid ""
"same signal from different objects."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7626(para)
+#: C/gtkmm-tutorial-in.xml:7639(para)
msgid ""
"<application>gtkmm</application> classes are designed with overriding in "
"mind; they contain virtual member methods specifically intended to be "
"overridden."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7631(para)
+#: C/gtkmm-tutorial-in.xml:7644(para)
msgid "Let's look at an example of overriding:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7636(programlisting)
+#: C/gtkmm-tutorial-in.xml:7649(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9836,7 +9815,7 @@ msgid ""
"}\n"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7655(para)
+#: C/gtkmm-tutorial-in.xml:7668(para)
msgid ""
"Here we define a new class called <classname>OverriddenButton</classname>, "
"which inherits from <classname>Gtk::Button</classname>. The only thing we "
@@ -9848,7 +9827,7 @@ msgid ""
"overridden."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7666(para)
+#: C/gtkmm-tutorial-in.xml:7679(para)
msgid ""
"You don't always need to call the parent's method; there are times when you "
"might not want to. Note that we called the parent method <emphasis>after</"
@@ -9860,11 +9839,11 @@ msgid ""
"of your custom code."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7680(title)
+#: C/gtkmm-tutorial-in.xml:7693(title)
msgid "Binding extra arguments"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7688(programlisting)
+#: C/gtkmm-tutorial-in.xml:7701(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9873,7 +9852,7 @@ msgstr ""
"\n"
"m_button1.signal_clicked().connect( sigc::bind<Glib::ustring>( sigc::mem_fun(*this, &HolaMundo::on_button_clicked), \"button 1\") );\n"
-#: C/gtkmm-tutorial-in.xml:7695(programlisting)
+#: C/gtkmm-tutorial-in.xml:7708(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9882,7 +9861,7 @@ msgstr ""
"\n"
"virtual void on_button_clicked(Glib::ustring data);\n"
-#: C/gtkmm-tutorial-in.xml:7681(para)
+#: C/gtkmm-tutorial-in.xml:7694(para)
msgid ""
"If you use one signal handler to catch the same signal from several widgets, "
"you might like that signal handler to receive some extra information. For "
@@ -9897,7 +9876,7 @@ msgid ""
"handler would have no arguments."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7700(para)
+#: C/gtkmm-tutorial-in.xml:7713(para)
msgid ""
"<function>sigc::bind()</function> is not commonly used, but you might find "
"it helpful sometimes. If you are familiar with <application>GTK+</"
@@ -9909,11 +9888,11 @@ msgid ""
"less need of this hack in <application>gtkmm</application>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7712(title)
+#: C/gtkmm-tutorial-in.xml:7725(title)
msgid "X Event signals"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7713(para)
+#: C/gtkmm-tutorial-in.xml:7726(para)
msgid ""
"The <classname>Widget</classname> class has some special signals which "
"correspond to the underlying X-Windows events. These are suffixed by "
@@ -9921,7 +9900,7 @@ msgid ""
"signal_button_pressed_event()</methodname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7719(para)
+#: C/gtkmm-tutorial-in.xml:7732(para)
msgid ""
"You might occasionally find it useful to handle X events when there's "
"something you can't accomplish with normal signals. <classname>Gtk::Button</"
@@ -9931,7 +9910,7 @@ msgid ""
"events are also often used to handle key-presses."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7728(para)
+#: C/gtkmm-tutorial-in.xml:7741(para)
msgid ""
"These signals behave slightly differently. The value returned from the "
"signal handler indicates whether it has fully \"handled\" the event. If the "
@@ -9940,7 +9919,7 @@ msgid ""
"literal> then no other signal handlers will need to be called."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7733(para)
+#: C/gtkmm-tutorial-in.xml:7746(para)
msgid ""
"Handling an X event doesn't affect the Widget's other signals. If you handle "
"<literal>button_pressed_event</literal> for <classname>Gtk::Button</"
@@ -9948,7 +9927,7 @@ msgid ""
"signal. They are emitted at (nearly) the same time."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7740(para)
+#: C/gtkmm-tutorial-in.xml:7753(para)
msgid ""
"Note also that not all widgets receive all X events by default. To receive "
"additional X events, you can use <methodname>Gtk::Widget::set_events()</"
@@ -9959,7 +9938,7 @@ msgid ""
"link> chapter."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7749(programlisting)
+#: C/gtkmm-tutorial-in.xml:7762(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -9972,17 +9951,17 @@ msgstr ""
"Gtk::Button button(\"etiqueta\");\n"
"button.signal_button_press_event().connect( sigc::ptr_fun(&on_button_press) );\n"
-#: C/gtkmm-tutorial-in.xml:7747(para)
+#: C/gtkmm-tutorial-in.xml:7760(para)
msgid "Here's a simple example: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7755(para)
+#: C/gtkmm-tutorial-in.xml:7768(para)
msgid ""
"When the mouse is over the button and a mouse button is pressed, "
"<methodname>on_button_press()</methodname> will be called."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7760(para)
+#: C/gtkmm-tutorial-in.xml:7773(para)
msgid ""
"<type>GdkEventButton</type> is a structure containing the event's "
"parameters, such as the coordinates of the mouse pointer at the time the "
@@ -9990,11 +9969,11 @@ msgid ""
"type> structures for the various events."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7768(title)
+#: C/gtkmm-tutorial-in.xml:7781(title)
msgid "Signal Handler sequence"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7770(programlisting)
+#: C/gtkmm-tutorial-in.xml:7783(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10003,7 +9982,7 @@ msgstr ""
"\n"
"button.signal_button_press_event().connect( sigc::ptr_fun(&on_mywindow_button_press), false );\n"
-#: C/gtkmm-tutorial-in.xml:7769(para)
+#: C/gtkmm-tutorial-in.xml:7782(para)
msgid ""
"By default, your signal handlers are called after any previously-connected "
"signal handlers. However, this can be a problem with the X Event signals. "
@@ -10015,11 +9994,11 @@ msgid ""
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7784(title)
+#: C/gtkmm-tutorial-in.xml:7797(title)
msgid "Creating your own signals"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7785(para)
+#: C/gtkmm-tutorial-in.xml:7798(para)
msgid ""
"Now that you've seen signals and signal handlers in <application>gtkmm</"
"application>, you might like to use the same technique to allow interaction "
@@ -10027,7 +10006,7 @@ msgid ""
"<application>libsigc++</application> library directly."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7791(para)
+#: C/gtkmm-tutorial-in.xml:7804(para)
msgid ""
"This isn't purely a <application>gtkmm</application> or GUI issue. "
"<application>gtkmm</application> uses <application>libsigc++</application> "
@@ -10036,7 +10015,7 @@ msgid ""
"signals, using the <classname>sigc::signal<></classname> template."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7802(programlisting)
+#: C/gtkmm-tutorial-in.xml:7815(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10045,14 +10024,14 @@ msgstr ""
"\n"
"sigc::signal<void, bool, int> signal_something;\n"
-#: C/gtkmm-tutorial-in.xml:7798(para)
+#: C/gtkmm-tutorial-in.xml:7811(para)
msgid ""
"For instance, to create a signal that sends 2 parameters, a <type>bool</"
"type> and an <type>int</type>, just declare a <classname>sigc::signal</"
"classname>, like so: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7810(programlisting)
+#: C/gtkmm-tutorial-in.xml:7823(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10073,14 +10052,14 @@ msgid ""
"}\n"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7806(para)
+#: C/gtkmm-tutorial-in.xml:7819(para)
msgid ""
"You could just declare that signal as a public member variable, but some "
"people find that distasteful and prefer to make it available via an accessor "
"method, like so: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7832(programlisting)
+#: C/gtkmm-tutorial-in.xml:7845(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10091,22 +10070,22 @@ msgstr ""
"server.signal_something().connect(\n"
" sigc::mem_fun(client, &Client::on_server_something) );\n"
-#: C/gtkmm-tutorial-in.xml:7829(para)
+#: C/gtkmm-tutorial-in.xml:7842(para)
msgid ""
"You can then connect to the signal using the same syntax used when "
"connecting to <application>gtkmm</application> signals. For instance, "
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7840(para)
+#: C/gtkmm-tutorial-in.xml:7853(para)
msgid "This is a full working example that defines and uses custom signal."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7854(title)
+#: C/gtkmm-tutorial-in.xml:7867(title)
msgid "Comparison with other signalling systems"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7855(para)
+#: C/gtkmm-tutorial-in.xml:7868(para)
msgid ""
"(An aside: <application>GTK+</application> calls this scheme \"signalling\"; "
"the sharp-eyed reader with GUI toolkit experience will note that this same "
@@ -10121,7 +10100,7 @@ msgid ""
"later.)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7869(para)
+#: C/gtkmm-tutorial-in.xml:7882(para)
msgid ""
"<application>gtkmm</application> signal handlers are strongly-typed, whereas "
"<application>GTK+</application> C code allows you to connect a callback with "
@@ -10130,7 +10109,7 @@ msgid ""
"achieves this without modifying the C++ language."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7875(para)
+#: C/gtkmm-tutorial-in.xml:7888(para)
msgid ""
"Re. Overriding signal handlers: You can do this in the straight-C world of "
"GTK+ too; that's what GTK's object system is for. But in GTK+, you have to "
@@ -10139,7 +10118,7 @@ msgid ""
"supported in the language itself; you can let the compiler do the dirty work."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7883(para)
+#: C/gtkmm-tutorial-in.xml:7896(para)
msgid ""
"This is one of the places where the beauty of C++ really comes out. One "
"wouldn't think of subclassing a GTK+ widget simply to override its action "
@@ -10149,11 +10128,11 @@ msgid ""
"- to subclass a button for that purpose."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7894(title)
+#: C/gtkmm-tutorial-in.xml:7907(title)
msgid "<application>gtkmm</application> and Win32"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7895(para)
+#: C/gtkmm-tutorial-in.xml:7908(para)
msgid ""
"One of the major advantages of <application>gtkmm</application> is that it "
"is crossplatform. <application>gtkmm</application> programs written on other "
@@ -10161,7 +10140,7 @@ msgid ""
"vice versa) with few modifications to the source."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7900(para)
+#: C/gtkmm-tutorial-in.xml:7913(para)
msgid ""
"<application>gtkmm</application> currently works with the <ulink url="
"\"http://mingw.org/\">MingW/GCC3.4 compiler</ulink> and Microsoft Visual C++ "
@@ -10172,11 +10151,11 @@ msgid ""
"http://live.gnome.org/gtkmm/MSWindows</ulink> for instructions how to use it."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7912(title)
+#: C/gtkmm-tutorial-in.xml:7925(title)
msgid "Building <application>gtkmm</application> on Win32"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7913(para)
+#: C/gtkmm-tutorial-in.xml:7926(para)
msgid ""
"Please see <ulink url=\"http://live.gnome.org/gtkmm/MSWindows/BuildingGtkmm"
"\">http://live.gnome.org/gtkmm/MSWindows/BuildingGtkmm</ulink> for "
@@ -10186,11 +10165,11 @@ msgstr ""
"\">http://live.gnome.org/gtkmm/MSWindows/BuildingGtkmm</ulink> para obtener "
"instrucciones sobre cÃmo construir gtkmm en Windows."
-#: C/gtkmm-tutorial-in.xml:7920(title)
+#: C/gtkmm-tutorial-in.xml:7933(title)
msgid "Working with gtkmm's Source Code"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7921(para)
+#: C/gtkmm-tutorial-in.xml:7934(para)
msgid ""
"If you are interested in helping out with the development of "
"<application>gtkmm</application>, or fixing a bug in <application>gtkmm</"
@@ -10201,7 +10180,7 @@ msgid ""
"separate path."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7928(para)
+#: C/gtkmm-tutorial-in.xml:7941(para)
msgid ""
"The easiest way to do this is using <ulink url=\"http://developer.gnome.org/"
"jhbuild/unstable/\">jhbuild</ulink>. <application>jhbuild</application> is a "
@@ -10216,7 +10195,7 @@ msgid ""
"listinfo/gnome-love\">gnome-love mailing list</ulink>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7943(para)
+#: C/gtkmm-tutorial-in.xml:7956(para)
msgid ""
"Note that to build <application>gtkmm</application> from git, you'll often "
"need to build all of its dependencies from git as well. "
@@ -10226,11 +10205,11 @@ msgid ""
"quickly if you report them."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7951(title)
+#: C/gtkmm-tutorial-in.xml:7964(title)
msgid "Setting up jhbuild"
msgstr "Configurar JHBuild"
-#: C/gtkmm-tutorial-in.xml:7952(para)
+#: C/gtkmm-tutorial-in.xml:7965(para)
msgid ""
"To set up <application>jhbuild</application>, follow the basic installation "
"instructions from the <ulink url=\"http://developer.gnome.org/jhbuild/"
@@ -10241,12 +10220,12 @@ msgid ""
"application> directory: <command>$ cp sample.jhbuildrc ~/.jhbuildrc</command>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7967(programlisting)
+#: C/gtkmm-tutorial-in.xml:7980(programlisting)
#, no-wrap
msgid "moduleset = 'gnome-2.30'"
msgstr "moduleset = 'gnome-2.30'"
-#: C/gtkmm-tutorial-in.xml:7962(para)
+#: C/gtkmm-tutorial-in.xml:7975(para)
msgid ""
"The <application>gtkmm</application> module is defined in the GNOME "
"moduleset (i.e. <filename>gnome-2.xx.modules</filename>, so edit your "
@@ -10254,12 +10233,12 @@ msgid ""
"latest version of GNOME like so: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7973(programlisting)
+#: C/gtkmm-tutorial-in.xml:7986(programlisting)
#, no-wrap
msgid "modules = [ 'gtkmm', ]"
msgstr "modules = [ 'gtkmm', ]"
-#: C/gtkmm-tutorial-in.xml:7969(para)
+#: C/gtkmm-tutorial-in.xml:7982(para)
msgid ""
"After setting the correct moduleset, you need to tell <application>jhbuild</"
"application> which module or modules to build. To build <application>gtkmm</"
@@ -10267,7 +10246,7 @@ msgid ""
"like so: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7975(para)
+#: C/gtkmm-tutorial-in.xml:7988(para)
msgid ""
"You can build all GNOME C++ modules by setting the <varname>modules</"
"varname> variable to the meta-package named <literal>meta-gnome-c++</"
@@ -10278,11 +10257,11 @@ msgid ""
"it on the commandline (e.g. <command>jhbuild build gtkmm</command>)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:7986(title)
+#: C/gtkmm-tutorial-in.xml:7999(title)
msgid "Setting a prefix"
msgstr "Establecer un prefijo"
-#: C/gtkmm-tutorial-in.xml:7987(para)
+#: C/gtkmm-tutorial-in.xml:8000(para)
msgid ""
"By default, <application>jhbuild</application>'s configuration is configured "
"to install all software built with <application>jhbuild</application> under "
@@ -10293,12 +10272,12 @@ msgid ""
"user, so you don't need to run jhbuild as <literal>root</literal>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8001(title)
+#: C/gtkmm-tutorial-in.xml:8014(title)
msgid ""
"Installing and Using the git version of <application>gtkmm</application>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8002(para)
+#: C/gtkmm-tutorial-in.xml:8015(para)
msgid ""
"Once you've configured <application>jhbuild</application> as described "
"above, building <application>gtkmm</application> should be relatively "
@@ -10309,13 +10288,13 @@ msgid ""
"$ jhbuild sanitycheck</screen>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8013(title)
+#: C/gtkmm-tutorial-in.xml:8026(title)
msgid ""
"Installing <application>gtkmm</application> with <application>jhbuild</"
"application>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8014(para)
+#: C/gtkmm-tutorial-in.xml:8027(para)
msgid ""
"If everything worked correctly, you should be able to build "
"<application>gtkmm</application> and all of its dependencies from git by "
@@ -10324,7 +10303,7 @@ msgid ""
"with the command <command>jhbuild build gtkmm</command>)."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8021(para)
+#: C/gtkmm-tutorial-in.xml:8034(para)
msgid ""
"This command will build and install a series of modules and will probably "
"take quite a long time the first time through. After the first time, "
@@ -10336,11 +10315,11 @@ msgid ""
"command>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8032(title)
+#: C/gtkmm-tutorial-in.xml:8045(title)
msgid "Using the git version of <application>gtkmm</application>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8033(para)
+#: C/gtkmm-tutorial-in.xml:8046(para)
msgid ""
"After you've installed the git version of <application>gtkmm</application>, "
"you're ready to start using and experimenting with it. In order to use the "
@@ -10355,7 +10334,7 @@ msgid ""
"environment, simply exit the <application>jhbuild</application> shell."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8047(para)
+#: C/gtkmm-tutorial-in.xml:8060(para)
msgid ""
"Once you've built your software, you'll need to run your program within the "
"jhbuild environment as well. To do this, you can again use the "
@@ -10368,11 +10347,11 @@ msgid ""
"program exits."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8064(title)
+#: C/gtkmm-tutorial-in.xml:8077(title)
msgid "Wrapping C Libraries with gmmproc"
msgstr "Envolver bibliotecas C con gmmproc"
-#: C/gtkmm-tutorial-in.xml:8065(para)
+#: C/gtkmm-tutorial-in.xml:8078(para)
msgid ""
"<application>gtkmm</application> uses the <command>gmmproc</command> tool to "
"generate most of its source code, using .defs files that define the APIs of "
@@ -10380,17 +10359,17 @@ msgid ""
"additional gtkmm-style wrappers of other glib/GObject-based libraries."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8070(para)
+#: C/gtkmm-tutorial-in.xml:8083(para)
msgid ""
"This involves a variety of tools, some of them crufty, but it does at least "
"work, and has been used successfully by several projects."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8075(title)
+#: C/gtkmm-tutorial-in.xml:8088(title)
msgid "The build structure"
msgstr "La estructura de construcciÃn"
-#: C/gtkmm-tutorial-in.xml:8076(para)
+#: C/gtkmm-tutorial-in.xml:8089(para)
msgid ""
"Generation of the source code for a gtkmm-style wrapper API requires use of "
"tools such as <command>gmmproc</command> and <filename>generate_wrap_init."
@@ -10400,7 +10379,7 @@ msgid ""
"lot to pick an existing binding module as an example to look at."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8083(para)
+#: C/gtkmm-tutorial-in.xml:8096(para)
msgid ""
"For instance, let's pretend that we are wrapping a C library called "
"libexample. It provides a <classname>GObject</classname>-based API with "
@@ -10408,11 +10387,11 @@ msgid ""
"<classname>ExampleStuff</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8089(title)
+#: C/gtkmm-tutorial-in.xml:8102(title)
msgid "Copying the skeleton project"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8094(programlisting)
+#: C/gtkmm-tutorial-in.xml:8107(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10423,7 +10402,7 @@ msgstr ""
" $ git clone git://git.gnome.org/mm-common\n"
" $ cp -a mm-common/skeletonmm libalgomm\n"
-#: C/gtkmm-tutorial-in.xml:8091(para)
+#: C/gtkmm-tutorial-in.xml:8104(para)
msgid ""
"Typically our wrapper library would be called libsomethingmm. We can start "
"by copying the <ulink url=\"http://git.gnome.org/cgit/mm-common/tree/"
@@ -10431,33 +10410,33 @@ msgid ""
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8104(para)
+#: C/gtkmm-tutorial-in.xml:8117(para)
msgid "<filename>libsomethingmm</filename>: The top-level directory."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8106(para)
+#: C/gtkmm-tutorial-in.xml:8119(para)
msgid ""
"<filename>libsomething</filename>: Contains the main include file and the "
"pkg-config .pc file."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8108(para)
+#: C/gtkmm-tutorial-in.xml:8121(para)
msgid "<filename>src</filename>: Contains .hg and .ccg source files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8109(para)
+#: C/gtkmm-tutorial-in.xml:8122(para)
msgid ""
"<filename>libsomethingmm</filename>: Contains generated and hand-written .h "
"and .cc files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8111(para)
+#: C/gtkmm-tutorial-in.xml:8124(para)
msgid ""
"<filename>private</filename>: Contains generated <filename>*_p.h</filename> "
"files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8099(para)
+#: C/gtkmm-tutorial-in.xml:8112(para)
msgid ""
"This provides a directory structure for the source .hg and .ccg files and "
"the generated .h and .cc files, with <filename>filelist.am</filename> "
@@ -10466,7 +10445,7 @@ msgid ""
"this, after we have renamed the directories appropriately: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8123(programlisting)
+#: C/gtkmm-tutorial-in.xml:8136(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10479,25 +10458,25 @@ msgstr ""
" d=\"${f%/*}\"; b=\"${f##*/}\"; mv \"$f\" \"$d/${b//skeleton/libalgo}\"; \\\n"
" done\n"
-#: C/gtkmm-tutorial-in.xml:8121(para)
+#: C/gtkmm-tutorial-in.xml:8134(para)
msgid ""
"As well as renaming the directories, we should rename some of the source "
"files. For instance: <placeholder-1/> A number of the skeleton files must "
"still be filled in with project-specific content later."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8130(para)
+#: C/gtkmm-tutorial-in.xml:8143(para)
msgid ""
"Note that files ending in <filename>.in</filename> will be used to generate "
"files with the same name but without the <filename>.in</filename> suffix, by "
"replacing some variables with actual values during the configure stage."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8136(title)
+#: C/gtkmm-tutorial-in.xml:8149(title)
msgid "Modifying build files"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8138(para)
+#: C/gtkmm-tutorial-in.xml:8151(para)
msgid ""
"Now we edit the files to adapt them to to our needs. You might prefer to use "
"a multiple-file search-replace utility for this, such as <command>regexxer</"
@@ -10506,7 +10485,7 @@ msgid ""
"performed globally, and not be limited to the Automake and Autoconf files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8142(para)
+#: C/gtkmm-tutorial-in.xml:8155(para)
msgid ""
"All mentions of <varname>skeleton</varname> should be replaced by the "
"correct name of the C library you are wrapping, such as \"something\" or "
@@ -10515,25 +10494,25 @@ msgid ""
"occurrences of <varname>Skeleton</varname> changed to \"Something\"."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8146(para)
+#: C/gtkmm-tutorial-in.xml:8159(para)
msgid ""
"Likewise, replace all instances of <varname>Joe Hacker</varname> by the name "
"of the intended copyright holder, which is probably you. Do the same for the "
"<varname>joe example com</varname> email address."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8151(title)
+#: C/gtkmm-tutorial-in.xml:8164(title)
msgid "configure.ac"
msgstr "configure.ac"
-#: C/gtkmm-tutorial-in.xml:8154(para)
+#: C/gtkmm-tutorial-in.xml:8167(para)
msgid ""
"The <function>AC_CONFIG_SRCDIR()</function> line must mention a file in our "
"source tree. We can edit this later if we don't yet know the names of any of "
"the files that we will create."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8157(para)
+#: C/gtkmm-tutorial-in.xml:8170(para)
msgid ""
"It is common for binding modules to track the version number of the library "
"they are wrapping. So, for instance, if the C library is at version 1.23.4, "
@@ -10542,7 +10521,7 @@ msgid ""
"stable release."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8162(para)
+#: C/gtkmm-tutorial-in.xml:8175(para)
msgid ""
"The <function>AC_CONFIG_HEADERS()</function> line is used to generate two or "
"more configuration header files. The first header file in the list contains "
@@ -10554,63 +10533,63 @@ msgid ""
"visible macros."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8170(para)
+#: C/gtkmm-tutorial-in.xml:8183(para)
msgid ""
"The <function>AC_SUBST([SOMETHINGMM_MODULES], ['...'])</function> line may "
"need to be modified to check for the correct dependencies."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8172(para)
+#: C/gtkmm-tutorial-in.xml:8185(para)
msgid ""
"The <function>AC_CONFIG_FILES()</function> block must mention the correct "
"directory names, as described above."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8152(para)
+#: C/gtkmm-tutorial-in.xml:8165(para)
msgid "In <filename>configure.ac</filename>, <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8179(title)
+#: C/gtkmm-tutorial-in.xml:8192(title)
msgid "Makefile.am files"
msgstr "Archivos Makefile.am"
-#: C/gtkmm-tutorial-in.xml:8182(para)
+#: C/gtkmm-tutorial-in.xml:8195(para)
msgid ""
"In <filename>skeleton/src/Makefile.am</filename> we must mention the correct "
"values for the generic variables that are used elsewhere in the build system:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8187(varname)
+#: C/gtkmm-tutorial-in.xml:8200(varname)
msgid "binding_name"
msgstr "binding_name"
-#: C/gtkmm-tutorial-in.xml:8188(para)
+#: C/gtkmm-tutorial-in.xml:8201(para)
msgid "The name of the library, such as libsomethingmm."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8192(varname)
+#: C/gtkmm-tutorial-in.xml:8205(varname)
msgid "wrap_init_flags"
msgstr "wrap_init_flags"
-#: C/gtkmm-tutorial-in.xml:8193(para)
+#: C/gtkmm-tutorial-in.xml:8206(para)
msgid ""
"Additional command-line flags passed to the <filename>generate_wrap_init.pl</"
"filename> script, such as the C++ namespace and the parent directory prefix "
"of include files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8200(para)
+#: C/gtkmm-tutorial-in.xml:8213(para)
msgid ""
"In <filename>skeleton/skeletonmm/Makefile.am</filename> we must mention the "
"correct values for the generic variables that are used elsewhere in the "
"build system:"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8205(varname)
+#: C/gtkmm-tutorial-in.xml:8218(varname)
msgid "lib_LTLIBRARIES"
msgstr "lib_LTLIBRARIES"
-#: C/gtkmm-tutorial-in.xml:8206(para)
+#: C/gtkmm-tutorial-in.xml:8219(para)
msgid ""
"This variable must mention the correct library name, and this library name "
"must be used to form the <varname>_SOURCES</varname>, <varname>_LDFLAGS</"
@@ -10619,33 +10598,33 @@ msgid ""
"<varname>@SOMETHINGMM_API_VERSION@</varname> as part of the variable names."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8215(varname)
+#: C/gtkmm-tutorial-in.xml:8228(varname)
msgid "AM_CPPFLAGS"
msgstr "AM_CPPFLAGS"
-#: C/gtkmm-tutorial-in.xml:8216(para)
+#: C/gtkmm-tutorial-in.xml:8229(para)
msgid "The command line options passed to the C preprocessor."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8220(varname)
+#: C/gtkmm-tutorial-in.xml:8233(varname)
msgid "AM_CXXFLAGS"
msgstr "AM_CXXFLAGS"
-#: C/gtkmm-tutorial-in.xml:8221(para)
+#: C/gtkmm-tutorial-in.xml:8234(para)
msgid "The command line options passed to the C++ compiler."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8180(para)
+#: C/gtkmm-tutorial-in.xml:8193(para)
msgid ""
"Next we must adapt the various <filename>Makefile.am</filename> files: "
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8231(title)
+#: C/gtkmm-tutorial-in.xml:8244(title)
msgid "Creating .hg and .ccg files"
msgstr "Crear archivos .hg y .ccg"
-#: C/gtkmm-tutorial-in.xml:8232(para)
+#: C/gtkmm-tutorial-in.xml:8245(para)
msgid ""
"We should now create our first <filename>.hg</filename> and <filename>.ccg</"
"filename> files, to wrap one of the objects in the C library. One pair of "
@@ -10653,14 +10632,14 @@ msgid ""
"<filename>skeleton.hg</filename>. Create copies of these files as necessary."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8236(para)
+#: C/gtkmm-tutorial-in.xml:8249(para)
msgid ""
"We must mention all of our <filename>.hg</filename> and <filename>.ccg</"
"filename> files in the <filename>skeleton/src/filelist.am</filename> file, "
"typically in the <varname>files_hg</varname> variable."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8240(para)
+#: C/gtkmm-tutorial-in.xml:8253(para)
msgid ""
"Any additional non-generated <filename>.h</filename> and <filename>.cc</"
"filename> source files may be placed in <filename>skeleton/skeletonmm/</"
@@ -10669,87 +10648,87 @@ msgid ""
"<varname>files_extra_cc</varname> variables."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8246(para)
+#: C/gtkmm-tutorial-in.xml:8259(para)
msgid ""
"In the <link linkend=\"sec-wrapping-hg-files\">.hg and .ccg files</link> "
"section you can learn about the syntax used in these files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8253(title)
+#: C/gtkmm-tutorial-in.xml:8266(title)
msgid "Generating the .defs files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8257(para)
+#: C/gtkmm-tutorial-in.xml:8270(para)
msgid "objects (GObjects, widgets, interfaces, boxed-types and plain structs)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8258(para)
+#: C/gtkmm-tutorial-in.xml:8271(para)
msgid "functions"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8259(para)
+#: C/gtkmm-tutorial-in.xml:8272(para)
msgid "enums"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8260(para)
+#: C/gtkmm-tutorial-in.xml:8273(para)
msgid "signals"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8261(para)
+#: C/gtkmm-tutorial-in.xml:8274(para)
msgid "properties"
msgstr "propiedades"
-#: C/gtkmm-tutorial-in.xml:8262(para)
+#: C/gtkmm-tutorial-in.xml:8275(para)
msgid "vfuncs"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8254(para)
+#: C/gtkmm-tutorial-in.xml:8267(para)
msgid ""
"The <filename>.defs</filename> file are text files, in a lisp format, that "
"describe the API of a C library, including its <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8271(filename)
+#: C/gtkmm-tutorial-in.xml:8284(filename)
msgid "gtk.defs"
msgstr "gtk.defs"
-#: C/gtkmm-tutorial-in.xml:8272(para)
+#: C/gtkmm-tutorial-in.xml:8285(para)
msgid "Includes the other files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8275(filename)
+#: C/gtkmm-tutorial-in.xml:8288(filename)
msgid "gtk_methods.defs"
msgstr "gtk_methods.defs"
-#: C/gtkmm-tutorial-in.xml:8276(para)
+#: C/gtkmm-tutorial-in.xml:8289(para)
msgid "Objects and functions."
msgstr "Objetos y funciones."
-#: C/gtkmm-tutorial-in.xml:8279(filename)
+#: C/gtkmm-tutorial-in.xml:8292(filename)
msgid "gtk_enums.defs"
msgstr "gtk_enums.defs"
-#: C/gtkmm-tutorial-in.xml:8280(para)
+#: C/gtkmm-tutorial-in.xml:8293(para)
msgid "Enumerations."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8283(filename)
+#: C/gtkmm-tutorial-in.xml:8296(filename)
msgid "gtk_signals.defs"
msgstr "gtk_signals.defs"
-#: C/gtkmm-tutorial-in.xml:8284(para)
+#: C/gtkmm-tutorial-in.xml:8297(para)
msgid "Signals and properties."
msgstr "SeÃales y propiedades."
-#: C/gtkmm-tutorial-in.xml:8287(filename)
+#: C/gtkmm-tutorial-in.xml:8300(filename)
msgid "gtk_vfuncs.defs"
msgstr "gtk_vfuncs.defs"
-#: C/gtkmm-tutorial-in.xml:8288(para)
+#: C/gtkmm-tutorial-in.xml:8301(para)
msgid "vfuncs (function pointer member fields in structs), written by hand."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8265(para)
+#: C/gtkmm-tutorial-in.xml:8278(para)
msgid ""
"At the moment, we have separate tools for generating different parts of "
"these <filename>.defs</filename>, so we split them up into separate files. "
@@ -10758,11 +10737,11 @@ msgid ""
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8294(title)
+#: C/gtkmm-tutorial-in.xml:8307(title)
msgid "Generating the methods .defs"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8298(programlisting)
+#: C/gtkmm-tutorial-in.xml:8311(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10771,7 +10750,7 @@ msgstr ""
"\n"
"$ ./h2def.py /usr/include/gtk-2.0/gtk/*.h > gtk_methods.defs\n"
-#: C/gtkmm-tutorial-in.xml:8295(para)
+#: C/gtkmm-tutorial-in.xml:8308(para)
msgid ""
"This <filename>.defs</filename> file describes objects and their functions. "
"It is generated by the <command>h2def.py</command> script which you can find "
@@ -10779,11 +10758,11 @@ msgid ""
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8305(title)
+#: C/gtkmm-tutorial-in.xml:8318(title)
msgid "Generating the enums .defs"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8309(programlisting)
+#: C/gtkmm-tutorial-in.xml:8322(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10792,7 +10771,7 @@ msgstr ""
"\n"
"$ ./enum.pl /usr/include/gtk-2.0/gtk/*.h > gtk_enums.defs\n"
-#: C/gtkmm-tutorial-in.xml:8306(para)
+#: C/gtkmm-tutorial-in.xml:8319(para)
msgid ""
"This <filename>.defs</filename> file describes enum types and their possible "
"values. It is generated by the <filename>enum.pl</filename> script which you "
@@ -10800,11 +10779,11 @@ msgid ""
"<placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8316(title)
+#: C/gtkmm-tutorial-in.xml:8329(title)
msgid "Generating the signals and properties .defs"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8321(programlisting)
+#: C/gtkmm-tutorial-in.xml:8334(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10815,7 +10794,7 @@ msgstr ""
"$ cd tools/extra_defs_gen\n"
"$ ./generate_extra_defs > gtk_signals.defs\n"
-#: C/gtkmm-tutorial-in.xml:8317(para)
+#: C/gtkmm-tutorial-in.xml:8330(para)
msgid ""
"This <filename>.defs</filename> file describes signals and properties. It is "
"generated by the special <filename>extra_defs</filename> utility that is in "
@@ -10823,7 +10802,7 @@ msgid ""
"filename>. For instance <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8326(para)
+#: C/gtkmm-tutorial-in.xml:8339(para)
msgid ""
"You must edit the source code of your own <filename>generate_extra_defs</"
"filename> tool in order to generate the <filename>.defs</filename> for the "
@@ -10835,7 +10814,7 @@ msgid ""
"filename> file should also mention the new source filename."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8335(programlisting)
+#: C/gtkmm-tutorial-in.xml:8348(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10862,22 +10841,22 @@ msgstr ""
" return 0;\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:8333(para)
+#: C/gtkmm-tutorial-in.xml:8346(para)
msgid ""
"Then edit the <filename>.cc</filename> file to specify the correct types. "
"For instance, your <function>main()</function> function might look like "
"this: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8351(title)
+#: C/gtkmm-tutorial-in.xml:8364(title)
msgid "Writing the vfuncs .defs"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8361(title)
+#: C/gtkmm-tutorial-in.xml:8374(title)
msgid "The .hg and .ccg files"
msgstr "Los archivos .hg y .ccg"
-#: C/gtkmm-tutorial-in.xml:8362(para)
+#: C/gtkmm-tutorial-in.xml:8375(para)
msgid ""
"The .hg and .ccg source files are very much like .h and .cc C++ source "
"files, but they contain extra macros, such as <function>_CLASS_GOBJECT()</"
@@ -10887,7 +10866,7 @@ msgid ""
"copied verbatim into the corresponding .h or .cc file."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8375(programlisting)
+#: C/gtkmm-tutorial-in.xml:8388(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -10952,60 +10931,60 @@ msgstr ""
"\n"
"} // espacio de nombres de GTK\n"
-#: C/gtkmm-tutorial-in.xml:8370(para)
+#: C/gtkmm-tutorial-in.xml:8383(para)
msgid ""
"A .hg file will typically include some headers and then declare a class, "
"using some macros to add API or behaviour to this class. For instance, "
-"gtkmm's <filename>button.hg</filename> looks roughly like this: "
-"<placeholder-1/>"
+"gtkmm's <filename>button.hg</filename> looks roughly like this: <placeholder-"
+"1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8410(function)
+#: C/gtkmm-tutorial-in.xml:8423(function)
msgid "_DEFS()"
msgstr "_DEFS()"
-#: C/gtkmm-tutorial-in.xml:8411(para)
+#: C/gtkmm-tutorial-in.xml:8424(para)
msgid ""
"Specifies the destination directry for generated sources, and the name of "
"the main .defs file that <command>gmmproc</command> should parse."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8414(function)
+#: C/gtkmm-tutorial-in.xml:8427(function)
msgid "_PINCLUDE()"
msgstr "_PINCLUDE()"
-#: C/gtkmm-tutorial-in.xml:8415(para)
+#: C/gtkmm-tutorial-in.xml:8428(para)
msgid ""
"Tells <command>gmmproc</command> to include a header from the generated "
"private/button_p.h file."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8418(function)
+#: C/gtkmm-tutorial-in.xml:8431(function)
msgid "_CLASS_GTKOBJECT()"
msgstr "_CLASS_GTKOBJECT()"
-#: C/gtkmm-tutorial-in.xml:8419(para)
+#: C/gtkmm-tutorial-in.xml:8432(para)
msgid ""
"Tells <command>gmmproc</command> to add some typedefs, constructors, and "
"standard methods to this class, as appropriate when wrapping a GtkObject-"
"derived type."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8422(term)
+#: C/gtkmm-tutorial-in.xml:8435(term)
msgid ""
"<function>_WRAP_METHOD()</function>, <function>_WRAP_SIGNAL()</function>, "
"and <function>_WRAP_PROPERTY()</function>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8425(para)
+#: C/gtkmm-tutorial-in.xml:8438(para)
msgid "Add methods to wrap parts of the C API."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8407(para)
+#: C/gtkmm-tutorial-in.xml:8420(para)
msgid "The macros in this example do the following: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8432(programlisting)
+#: C/gtkmm-tutorial-in.xml:8445(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11016,21 +10995,21 @@ msgstr ""
"$ cd gtk/src\n"
"$ /usr/lib/glibmm-2.4/proc/gmmproc -I ../../tools/m4 --defs . button . ./../gtkmm\n"
-#: C/gtkmm-tutorial-in.xml:8429(para)
+#: C/gtkmm-tutorial-in.xml:8442(para)
msgid ""
"The .h and .cc files will be generated from the .hg and .ccg files by "
"processing them with <command>gmmproc</command> like so, though this happens "
"automatically when using the above build structure: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8437(para)
+#: C/gtkmm-tutorial-in.xml:8450(para)
msgid ""
"Notice that we provided <command>gmmproc</command> with the path to the .m4 "
"convert files, the path to the .defs file, the name of a .hg file, the "
"source directory, and the destination directory."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8440(para)
+#: C/gtkmm-tutorial-in.xml:8453(para)
msgid ""
"You should avoid including the C header from your C++ header, to avoid "
"polluting the global namespace, and to avoid exporting unnecessary public "
@@ -11038,15 +11017,15 @@ msgid ""
"file."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8445(para)
+#: C/gtkmm-tutorial-in.xml:8458(para)
msgid "The macros are explained in more detail in the following sections."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8448(title)
+#: C/gtkmm-tutorial-in.xml:8461(title)
msgid "m4 Conversions"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8455(programlisting)
+#: C/gtkmm-tutorial-in.xml:8468(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11055,7 +11034,7 @@ msgstr ""
"\n"
"_CONVERSION(`GtkTreeView*',`TreeView*',`Glib::wrap($3)')\n"
-#: C/gtkmm-tutorial-in.xml:8449(para)
+#: C/gtkmm-tutorial-in.xml:8462(para)
msgid ""
"The macros that you use in the .hg and .ccg files often need to know how to "
"convert a C++ type to a C type, or vice-versa. gmmproc takes this "
@@ -11066,13 +11045,13 @@ msgid ""
"pointer: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8460(para)
+#: C/gtkmm-tutorial-in.xml:8473(para)
msgid ""
"<literal>$3</literal> will be replaced by the parameter name when this "
"conversion is used by gmmproc."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8467(programlisting)
+#: C/gtkmm-tutorial-in.xml:8480(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11085,18 +11064,17 @@ msgstr ""
"_CONVERSION(`const PrintSettings&',`GtkPrintSettings*',__FCR2P)\n"
"_CONVERSION(`const Glib::RefPtr<Printer>&',`GtkPrinter*',__CONVERT_REFPTR_TO_P($3))\n"
-#: C/gtkmm-tutorial-in.xml:8464(para)
+#: C/gtkmm-tutorial-in.xml:8477(para)
msgid ""
"Some extra macros make this easier and consistent. Look in gtkmm's .m4 files "
"for examples. For instance: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8476(title)
-#| msgid "Initialization"
+#: C/gtkmm-tutorial-in.xml:8489(title)
msgid "m4 Initializations"
msgstr "inicializaciones de m4"
-#: C/gtkmm-tutorial-in.xml:8477(para)
+#: C/gtkmm-tutorial-in.xml:8490(para)
msgid ""
"Often when wrapping methods, it is desirable to store the return of the C "
"function in what is called an output parameter. In this case, the C++ method "
@@ -11107,7 +11085,7 @@ msgid ""
"the return of the C function."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8492(programlisting)
+#: C/gtkmm-tutorial-in.xml:8505(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11116,7 +11094,7 @@ msgstr ""
"\n"
" _INITIALIZATION(`Gtk::Widget&',`GtkWidget*',`$3 = Glib::wrap($4)')\n"
-#: C/gtkmm-tutorial-in.xml:8486(para)
+#: C/gtkmm-tutorial-in.xml:8499(para)
msgid ""
"For example, if there was a C function that returned a <type>GtkWidget*</"
"type> and for some reason, instead of having the C++ method also return the "
@@ -11125,7 +11103,7 @@ msgid ""
"would be necessary: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8497(para)
+#: C/gtkmm-tutorial-in.xml:8510(para)
msgid ""
"<literal>$3</literal> will be replaced by the output parameter name of the C+"
"+ method and <literal>$4</literal> will be replaced by the return of the C "
@@ -11134,11 +11112,11 @@ msgid ""
"ampersand (&) and <literal>$2</literal> will be replaced by the C type."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8508(title)
+#: C/gtkmm-tutorial-in.xml:8521(title)
msgid "Class macros"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8509(para)
+#: C/gtkmm-tutorial-in.xml:8522(para)
msgid ""
"The class macro declares the class itself and its relationship with the "
"underlying C type. It generates some internal constructors, the member "
@@ -11147,25 +11125,25 @@ msgid ""
"method, among other things."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8514(para)
+#: C/gtkmm-tutorial-in.xml:8527(para)
msgid ""
"Other macros, such as <function>_WRAP_METHOD()</function> and "
"<function>_SIGNAL()</function> may only be used after a call to a "
"<function>_CLASS_*</function> macro."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8519(title)
+#: C/gtkmm-tutorial-in.xml:8532(title)
msgid "_CLASS_GOBJECT"
msgstr "_CLASS_GOBJECT"
-#: C/gtkmm-tutorial-in.xml:8520(para) C/gtkmm-tutorial-in.xml:8610(para)
+#: C/gtkmm-tutorial-in.xml:8533(para) C/gtkmm-tutorial-in.xml:8623(para)
msgid ""
"This macro declares a wrapper for a type that is derived from "
"<classname>GObject</classname>, but which is not derived from "
"<classname>GtkObject</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8523(function)
+#: C/gtkmm-tutorial-in.xml:8536(function)
msgid ""
"_CLASS_GOBJECT( C++ class, C class, C casting macro, C++ base class, C base "
"class )"
@@ -11173,7 +11151,7 @@ msgstr ""
"_CLASS_GOBJECT( C++ class, C class, C casting macro, C++ base class, C base "
"class )"
-#: C/gtkmm-tutorial-in.xml:8525(programlisting)
+#: C/gtkmm-tutorial-in.xml:8538(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11182,21 +11160,21 @@ msgstr ""
"\n"
"_CLASS_GOBJECT(AccelGroup, GtkAccelGroup, GTK_ACCEL_GROUP, Glib::Object, GObject)\n"
-#: C/gtkmm-tutorial-in.xml:8524(para)
+#: C/gtkmm-tutorial-in.xml:8537(para)
msgid "For instance, from <filename>accelgroup.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8532(title)
+#: C/gtkmm-tutorial-in.xml:8545(title)
msgid "_CLASS_GTKOBJECT"
msgstr "_CLASS_GTKOBJECT"
-#: C/gtkmm-tutorial-in.xml:8533(para)
+#: C/gtkmm-tutorial-in.xml:8546(para)
msgid ""
"This macro declares a wrapper for a type that is derived from "
"<classname>GtkObject</classname>, such as a widget or dialog."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8535(function)
+#: C/gtkmm-tutorial-in.xml:8548(function)
msgid ""
"_CLASS_GTKOBJECT( C++ class, C class, C casting macro, C++ base class, C "
"base class )"
@@ -11204,7 +11182,7 @@ msgstr ""
"_CLASS_GTKOBJECT( C++ class, C class, C casting macro, C++ base class, C "
"base class )"
-#: C/gtkmm-tutorial-in.xml:8537(programlisting)
+#: C/gtkmm-tutorial-in.xml:8550(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11213,28 +11191,28 @@ msgstr ""
"\n"
"_CLASS_GTKOBJECT(Button, GtkButton, GTK_BUTTON, Gtk::Bin, GtkBin)\n"
-#: C/gtkmm-tutorial-in.xml:8536(para) C/gtkmm-tutorial-in.xml:8930(para)
-#: C/gtkmm-tutorial-in.xml:8961(para)
+#: C/gtkmm-tutorial-in.xml:8549(para) C/gtkmm-tutorial-in.xml:8943(para)
+#: C/gtkmm-tutorial-in.xml:8974(para)
msgid "For instance, from <filename>button.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8544(title)
+#: C/gtkmm-tutorial-in.xml:8557(title)
msgid "_CLASS_BOXEDTYPE"
msgstr "_CLASS_BOXEDTYPE"
-#: C/gtkmm-tutorial-in.xml:8545(para)
+#: C/gtkmm-tutorial-in.xml:8558(para)
msgid ""
"This macro declares a wrapper for a non-<classname>GObject</classname> "
"struct, registered with <function>g_boxed_type_register_static()</function>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8548(function)
+#: C/gtkmm-tutorial-in.xml:8561(function)
msgid ""
"_CLASS_BOXEDTYPE( C++ class, C class, new function, copy function, free "
"function )"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8550(programlisting)
+#: C/gtkmm-tutorial-in.xml:8563(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11243,15 +11221,15 @@ msgstr ""
"\n"
"_CLASS_BOXEDTYPE(Color, GdkColor, NONE, gdk_color_copy, gdk_color_free)\n"
-#: C/gtkmm-tutorial-in.xml:8549(para)
+#: C/gtkmm-tutorial-in.xml:8562(para)
msgid "For instance, for <classname>Gdk::Color</classname>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8557(title)
+#: C/gtkmm-tutorial-in.xml:8570(title)
msgid "_CLASS_BOXEDTYPE_STATIC"
msgstr "_CLASS_BOXEDTYPE_STATIC"
-#: C/gtkmm-tutorial-in.xml:8558(para)
+#: C/gtkmm-tutorial-in.xml:8571(para)
msgid ""
"This macro declares a wrapper for a simple assignable struct such as "
"<classname>GdkRectangle</classname>. It is similar to "
@@ -11259,11 +11237,11 @@ msgid ""
"dynamically."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8562(function)
+#: C/gtkmm-tutorial-in.xml:8575(function)
msgid "_CLASS_BOXEDTYPE_STATIC( C++ class, C class )"
msgstr "_CLASS_BOXEDTYPE_STATIC( C++ class, C class )"
-#: C/gtkmm-tutorial-in.xml:8564(programlisting)
+#: C/gtkmm-tutorial-in.xml:8577(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11272,29 +11250,29 @@ msgstr ""
"\n"
"_CLASS_BOXEDTYPE_STATIC(Rectangle, GdkRectangle)\n"
-#: C/gtkmm-tutorial-in.xml:8563(para)
+#: C/gtkmm-tutorial-in.xml:8576(para)
msgid ""
"For instance, for <classname>Gdk::Rectangle</classname>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8571(title)
+#: C/gtkmm-tutorial-in.xml:8584(title)
msgid "_CLASS_OPAQUE_COPYABLE"
msgstr "_CLASS_OPAQUE_COPYABLE"
-#: C/gtkmm-tutorial-in.xml:8572(para)
+#: C/gtkmm-tutorial-in.xml:8585(para)
msgid ""
"This macro declares a wrapper for an opaque struct that has copy and free "
"functions. The new, copy and free functions will be used to instantiate the "
"default constructor, copy constructor and destructor."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8575(function)
+#: C/gtkmm-tutorial-in.xml:8588(function)
msgid ""
"_CLASS_OPAQUE_COPYABLE( C++ class, C class, new function, copy function, "
"free function )"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8577(programlisting)
+#: C/gtkmm-tutorial-in.xml:8590(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11303,28 +11281,28 @@ msgstr ""
"\n"
"_CLASS_OPAQUE_COPYABLE(Region, GdkRegion, gdk_region_new, gdk_region_copy, gdk_region_destroy)\n"
-#: C/gtkmm-tutorial-in.xml:8576(para)
+#: C/gtkmm-tutorial-in.xml:8589(para)
msgid "For instance, for <classname>Gdk::Region</classname>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8584(title)
+#: C/gtkmm-tutorial-in.xml:8597(title)
msgid "_CLASS_OPAQUE_REFCOUNTED"
msgstr "_CLASS_OPAQUE_REFCOUNTED"
-#: C/gtkmm-tutorial-in.xml:8585(para)
+#: C/gtkmm-tutorial-in.xml:8598(para)
msgid ""
"This macro declares a wrapper for a reference-counted opaque struct. The C++ "
"wrapper cannot be directly instantiated and can only be used with "
"<classname>Glib::RefPtr</classname>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8588(function)
+#: C/gtkmm-tutorial-in.xml:8601(function)
msgid ""
"_CLASS_OPAQUE_COPYABLE( C++ class, C class, new function, ref function, "
"unref function )"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8590(programlisting)
+#: C/gtkmm-tutorial-in.xml:8603(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11333,26 +11311,26 @@ msgstr ""
"\n"
"_CLASS_OPAQUE_REFCOUNTED(Coverage, PangoCoverage, pango_coverage_new, pango_coverage_ref, pango_coverage_unref)\n"
-#: C/gtkmm-tutorial-in.xml:8589(para)
+#: C/gtkmm-tutorial-in.xml:8602(para)
msgid ""
"For instance, for <classname>Pango::Coverage</classname>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8597(title)
+#: C/gtkmm-tutorial-in.xml:8610(title)
msgid "_CLASS_GENERIC"
msgstr "_CLASS_GENERIC"
-#: C/gtkmm-tutorial-in.xml:8598(para)
+#: C/gtkmm-tutorial-in.xml:8611(para)
msgid ""
"This macro can be used to wrap structs which don't fit into any specialized "
"category."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8600(function)
+#: C/gtkmm-tutorial-in.xml:8613(function)
msgid "_CLASS_GENERIC( C++ class, C class )"
msgstr "_CLASS_GENERIC( C++ class, C class )"
-#: C/gtkmm-tutorial-in.xml:8602(programlisting)
+#: C/gtkmm-tutorial-in.xml:8615(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11361,22 +11339,22 @@ msgstr ""
"\n"
"_CLASS_GENERIC(AttrIter, PangoAttrIterator)\n"
-#: C/gtkmm-tutorial-in.xml:8601(para)
+#: C/gtkmm-tutorial-in.xml:8614(para)
msgid ""
"For instance, for <classname>Pango::AttrIter</classname>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8609(title)
+#: C/gtkmm-tutorial-in.xml:8622(title)
msgid "_CLASS_INTERFACE"
msgstr "_CLASS_INTERFACE"
-#: C/gtkmm-tutorial-in.xml:8614(function)
+#: C/gtkmm-tutorial-in.xml:8627(function)
msgid ""
"_CLASS_INTERFACE( C++ class, C class, C casting macro, C interface struct, "
"Base C++ class (optional), Base C class (optional) )"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8617(programlisting)
+#: C/gtkmm-tutorial-in.xml:8630(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11385,12 +11363,12 @@ msgstr ""
"\n"
" _CLASS_INTERFACE(CellEditable, GtkCellEditable, GTK_CELL_EDITABLE, GtkCellEditableIface)\n"
-#: C/gtkmm-tutorial-in.xml:8615(para)
+#: C/gtkmm-tutorial-in.xml:8628(para)
msgid ""
"For instance, from <filename>celleditable.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8624(programlisting)
+#: C/gtkmm-tutorial-in.xml:8637(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11399,7 +11377,7 @@ msgstr ""
"\n"
" _CLASS_INTERFACE(LoadableIcon, GLoadableIcon, G_LOADABLE_ICON, GLoadableIconIface, Icon, GIcon)\n"
-#: C/gtkmm-tutorial-in.xml:8621(para)
+#: C/gtkmm-tutorial-in.xml:8634(para)
msgid ""
"Two extra parameters are optional, for the case that the interface derives "
"from another interface, which should be the case when the GInterface has "
@@ -11407,11 +11385,11 @@ msgid ""
"<filename>loadableicon.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8634(title)
+#: C/gtkmm-tutorial-in.xml:8647(title)
msgid "Constructor macros"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8635(para)
+#: C/gtkmm-tutorial-in.xml:8648(para)
msgid ""
"The <function>_CTOR_DEFAULT()</function> and <function>_WRAP_CTOR()</"
"function> macros add constructors, wrapping the specified <function>*_new()</"
@@ -11424,7 +11402,7 @@ msgid ""
"convenience functions for C programmers."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8650(programlisting)
+#: C/gtkmm-tutorial-in.xml:8663(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11449,7 +11427,7 @@ msgstr ""
"public:\n"
" _WRAP_CREATE(const Glib::ustring& name = Glib::ustring())\n"
-#: C/gtkmm-tutorial-in.xml:8645(para)
+#: C/gtkmm-tutorial-in.xml:8658(para)
msgid ""
"When using <function>_CLASS_GOBJECT()</function>, the constructors should be "
"protected (rather than public) and each constructor should have a "
@@ -11458,19 +11436,19 @@ msgid ""
"<classname>RefPtr</classname>. For instance: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8664(title)
+#: C/gtkmm-tutorial-in.xml:8677(title)
msgid "_CTOR_DEFAULT"
msgstr "_CTOR_DEFAULT"
-#: C/gtkmm-tutorial-in.xml:8665(para)
+#: C/gtkmm-tutorial-in.xml:8678(para)
msgid "This macro creates a default constructor with no arguments."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8670(title)
+#: C/gtkmm-tutorial-in.xml:8683(title)
msgid "_WRAP_CTOR"
msgstr "_WRAP_CTOR"
-#: C/gtkmm-tutorial-in.xml:8671(para)
+#: C/gtkmm-tutorial-in.xml:8684(para)
msgid ""
"This macro creates a constructor with arguments, equivalent to a "
"<function>*_new()</function> C function. It won't actually call the "
@@ -11479,11 +11457,8 @@ msgid ""
"signature, and a C function name."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8684(programlisting)
+#: C/gtkmm-tutorial-in.xml:8697(programlisting)
#, no-wrap
-#| msgid ""
-#| "\n"
-#| "_WRAP_METHOD(void set_text(const Glib::ustring& text), gtk_entry_set_text)\n"
msgid ""
"\n"
" _WRAP_CTOR(ToolButton(Widget& icon_widget, const Glib::ustring& label{?}, gtk_tool_button_new)\n"
@@ -11493,7 +11468,7 @@ msgstr ""
" _WRAP_CTOR(ToolButton(Widget& icon_widget, const Glib::ustring& label{?}, gtk_tool_button_new)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8677(para)
+#: C/gtkmm-tutorial-in.xml:8690(para)
msgid ""
"When wrapping constructors, it is possible for gmmproc to generate "
"convenience overloads of the wrapped constructors if the C function has "
@@ -11506,7 +11481,7 @@ msgid ""
"that parameter."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8699(programlisting)
+#: C/gtkmm-tutorial-in.xml:8712(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11517,7 +11492,7 @@ msgstr ""
" GtkToolItem* gtk_tool_button_new(GtkWidget* icon_widget, const gchar* label);\n"
" "
-#: C/gtkmm-tutorial-in.xml:8704(programlisting)
+#: C/gtkmm-tutorial-in.xml:8717(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11528,7 +11503,7 @@ msgstr ""
" WRAP_CTOR(ToolButton(const Glib::ustring& label{label}, Widget& icon_widget{icon_widget}), gtk_tool_button_new)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8711(programlisting)
+#: C/gtkmm-tutorial-in.xml:8724(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11539,7 +11514,7 @@ msgstr ""
" WRAP_CTOR(ToolButton(const Glib::ustring& label{.}, Widget& icon_widget{.}), gtk_tool_button_new)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8692(para)
+#: C/gtkmm-tutorial-in.xml:8705(para)
msgid ""
"It is also possible to have the order of the parameters of the constructor "
"different from that of the C function by using gmmproc's C++ to C parameter "
@@ -11554,7 +11529,7 @@ msgid ""
"ones, the above could be re-written as: <placeholder-3/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8715(para)
+#: C/gtkmm-tutorial-in.xml:8728(para)
msgid ""
"This same optional parameter syntax and parameter reordering is available "
"for <function>_WRAP_CREATE()</function>. Additional <function>create()</"
@@ -11562,11 +11537,11 @@ msgid ""
"optional parameters."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8724(title)
+#: C/gtkmm-tutorial-in.xml:8737(title)
msgid "Hand-coding constructors"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8733(programlisting)
+#: C/gtkmm-tutorial-in.xml:8746(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11581,7 +11556,7 @@ msgstr ""
" _CONSTRUCT(\"label\", label.c_str(), \"use_underline\", gboolean(mnemonic))\n"
"{}\n"
-#: C/gtkmm-tutorial-in.xml:8725(para)
+#: C/gtkmm-tutorial-in.xml:8738(para)
msgid ""
"When a constructor must be partly hand written because, for instance, the "
"<function>*_new()</function> C function's parameters do not correspond "
@@ -11593,23 +11568,23 @@ msgid ""
"filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8745(title)
+#: C/gtkmm-tutorial-in.xml:8758(title)
msgid "Method macros"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8748(title)
+#: C/gtkmm-tutorial-in.xml:8761(title)
msgid "_WRAP_METHOD"
msgstr "_WRAP_METHOD"
-#: C/gtkmm-tutorial-in.xml:8749(para)
+#: C/gtkmm-tutorial-in.xml:8762(para)
msgid "This macro generates the C++ method to wrap a C function."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8750(function)
+#: C/gtkmm-tutorial-in.xml:8763(function)
msgid "_WRAP_METHOD( C++ method signature, C function name)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8752(programlisting)
+#: C/gtkmm-tutorial-in.xml:8765(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11618,11 +11593,11 @@ msgstr ""
"\n"
"_WRAP_METHOD(void set_text(const Glib::ustring& text), gtk_entry_set_text)\n"
-#: C/gtkmm-tutorial-in.xml:8751(para)
+#: C/gtkmm-tutorial-in.xml:8764(para)
msgid "For instance, from <filename>entry.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8756(para)
+#: C/gtkmm-tutorial-in.xml:8769(para)
msgid ""
"The C function (e.g. <function>gtk_entry_set_text</function>) is described "
"more fully in the .defs file, and the <filename>convert*.m4</filename> files "
@@ -11632,49 +11607,49 @@ msgid ""
"xml</filename> files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8765(term)
+#: C/gtkmm-tutorial-in.xml:8778(term)
msgid "refreturn"
msgstr "refreturn"
-#: C/gtkmm-tutorial-in.xml:8767(para)
+#: C/gtkmm-tutorial-in.xml:8780(para)
msgid ""
"Do an extra reference() on the return value, in case the C function does not "
"provide a reference."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8772(term)
+#: C/gtkmm-tutorial-in.xml:8785(term)
msgid "errthrow"
msgstr "errthrow"
-#: C/gtkmm-tutorial-in.xml:8774(para)
+#: C/gtkmm-tutorial-in.xml:8787(para)
msgid "Use the last GError* parameter of the C function to throw an exception."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8779(term)
+#: C/gtkmm-tutorial-in.xml:8792(term)
msgid "deprecated"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8781(para)
+#: C/gtkmm-tutorial-in.xml:8794(para)
msgid ""
"Puts the generated code in #ifdef blocks. Text about the deprecation can be "
"specified as an optional parameter."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8787(term)
+#: C/gtkmm-tutorial-in.xml:8800(term)
msgid "constversion"
msgstr "constversion"
-#: C/gtkmm-tutorial-in.xml:8789(para)
+#: C/gtkmm-tutorial-in.xml:8802(para)
msgid ""
"Just call the non-const version of the same function, instead of generating "
"almost duplicate code."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8762(para) C/gtkmm-tutorial-in.xml:8938(para)
+#: C/gtkmm-tutorial-in.xml:8775(para) C/gtkmm-tutorial-in.xml:8951(para)
msgid "There are some optional extra arguments: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8799(programlisting)
+#: C/gtkmm-tutorial-in.xml:8812(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11685,7 +11660,7 @@ msgstr ""
" WRAP_METHOD(void get_preferred_size(Requisition& minimum_size, Requisition& natural_size{?}) const, gtk_widget_get_preferred_size)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8795(para)
+#: C/gtkmm-tutorial-in.xml:8808(para)
msgid ""
"As with <function>_WRAP_CTOR()</function> it is possible to specify if there "
"are any optional parameters. If that is the case, gmmproc will generate "
@@ -11695,7 +11670,7 @@ msgid ""
"this case, gmmproc would generate a method overload without that parameter."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8813(programlisting)
+#: C/gtkmm-tutorial-in.xml:8826(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11706,7 +11681,7 @@ msgstr ""
" void gtk_widget_set_device_events(GtkWidget* widget, GdkDevice* device, GdkEventMask events);\n"
" "
-#: C/gtkmm-tutorial-in.xml:8818(programlisting)
+#: C/gtkmm-tutorial-in.xml:8831(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11717,7 +11692,7 @@ msgstr ""
" _WRAP_METHOD(void set_device_events(Gdk::EventMask events{events}, const Glib::RefPtr<const Gdk::Device>& device{device}), gtk_widget_set_device_events)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8825(programlisting)
+#: C/gtkmm-tutorial-in.xml:8838(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11728,7 +11703,7 @@ msgstr ""
" _WRAP_METHOD(void set_device_events(Gdk::EventMask events{.}, const Glib::RefPtr<const Gdk::Device>& device{.}), gtk_widget_set_device_events)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8806(para)
+#: C/gtkmm-tutorial-in.xml:8819(para)
msgid ""
"Also, as with <function>_WRAP_CTOR()</function>, it is possible to reorder "
"the parameters of the C++ method by using gmmproc's C++ to C parameter "
@@ -11743,7 +11718,7 @@ msgid ""
"could be re-written as: <placeholder-3/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8837(programlisting)
+#: C/gtkmm-tutorial-in.xml:8850(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11751,7 +11726,7 @@ msgid ""
" "
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8843(programlisting)
+#: C/gtkmm-tutorial-in.xml:8856(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11762,7 +11737,7 @@ msgstr ""
" _WRAP_METHOD(void get_request_mode(SizeRequestMode& mode{RET}) const, gtk_widget_get_request_mode)\n"
" "
-#: C/gtkmm-tutorial-in.xml:8851(programlisting)
+#: C/gtkmm-tutorial-in.xml:8864(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11773,7 +11748,7 @@ msgstr ""
" _INITIALIZATION(`SizeRequestMode&',`GtkSizeRequestMode',`$3 = (SizeRequestMode)($4)')\n"
" "
-#: C/gtkmm-tutorial-in.xml:8855(programlisting)
+#: C/gtkmm-tutorial-in.xml:8868(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11784,7 +11759,7 @@ msgstr ""
" _INITIALIZATION(`SizeRequestMode&',`GtkSizeRequestMode',`$3 = ($1)($4)')\n"
" "
-#: C/gtkmm-tutorial-in.xml:8829(para)
+#: C/gtkmm-tutorial-in.xml:8842(para)
msgid ""
"With <function>_WRAP_METHOD()</function> it is also possible to include an "
"output parameter in the C++ method declaration in which the return of the C "
@@ -11802,14 +11777,14 @@ msgid ""
"specified: <placeholder-3/> Which could also be written as: <placeholder-4/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8861(para)
+#: C/gtkmm-tutorial-in.xml:8874(para)
msgid ""
"Objects used via <classname>RefPtr</classname>: Pass the <classname>RefPtr</"
"classname> as a const reference. For instance, <code>const Glib::RefPtr<"
"Gtk::Action>& action</code>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8865(para)
+#: C/gtkmm-tutorial-in.xml:8878(para)
msgid ""
"Const Objects used via <classname>RefPtr</classname>: If the object should "
"not be changed by the function, then make sure that the object is const, "
@@ -11817,7 +11792,7 @@ msgid ""
"<code>const Glib::RefPtr<const Gtk::Action>& action</code>."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8870(para)
+#: C/gtkmm-tutorial-in.xml:8883(para)
msgid ""
"Wrapping <classname>GList*</classname> and <classname>GSList*</classname> "
"parameters: First, you need to discover what objects are contained in the "
@@ -11828,12 +11803,12 @@ msgid ""
"the C and C++ types should be converted."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8887(programlisting)
+#: C/gtkmm-tutorial-in.xml:8900(programlisting)
#, no-wrap
msgid "#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SListHandler<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')"
msgstr "#m4 _CONVERSION(`GSList*',`std::vector<Widget*>',`Glib::SListHandler<Widget*>::slist_to_vector($3, Glib::OWNERSHIP_SHALLOW)')"
-#: C/gtkmm-tutorial-in.xml:8879(para)
+#: C/gtkmm-tutorial-in.xml:8892(para)
msgid ""
"Wrapping <classname>GList*</classname> and <classname>GSList*</classname> "
"return types: You must discover whether the caller should free the list and "
@@ -11844,17 +11819,17 @@ msgid ""
"on the function rather than the type. For instance: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8859(para)
+#: C/gtkmm-tutorial-in.xml:8872(para)
msgid ""
"Though it's usually obvious what C++ types should be used in the C++ method, "
"here are some hints: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8893(title)
+#: C/gtkmm-tutorial-in.xml:8906(title)
msgid "_WRAP_METHOD_DOCS_ONLY"
msgstr "_WRAP_METHOD_DOCS_ONLY"
-#: C/gtkmm-tutorial-in.xml:8894(para)
+#: C/gtkmm-tutorial-in.xml:8907(para)
msgid ""
"This macro is like <function>_WRAP_METHOD()</function>, but it generates "
"only the documentation for a C++ method that wraps a C function. Use this "
@@ -11862,11 +11837,11 @@ msgid ""
"that would be generated if the method was generated."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8898(function)
+#: C/gtkmm-tutorial-in.xml:8911(function)
msgid "_WRAP_METHOD_DOCS_ONLY(C function name)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8900(programlisting)
+#: C/gtkmm-tutorial-in.xml:8913(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11875,15 +11850,15 @@ msgstr ""
"\n"
"_WRAP_METHOD_DOCS_ONLY(gtk_container_remove)\n"
-#: C/gtkmm-tutorial-in.xml:8899(para)
+#: C/gtkmm-tutorial-in.xml:8912(para)
msgid "For instance, from <filename>container.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8907(title)
+#: C/gtkmm-tutorial-in.xml:8920(title)
msgid "_IGNORE()"
msgstr "_IGNORE()"
-#: C/gtkmm-tutorial-in.xml:8908(para)
+#: C/gtkmm-tutorial-in.xml:8921(para)
msgid ""
"<command>gmmproc</command> will warn you on stdout about functions that you "
"have forgotten to wrap, helping to ensure that you are wrapping the complete "
@@ -11892,11 +11867,11 @@ msgid ""
"<command>gmmproc</command> stop complaining."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8913(function)
+#: C/gtkmm-tutorial-in.xml:8926(function)
msgid "_IGNORE(C function name 1, C function name2, etc)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8915(programlisting)
+#: C/gtkmm-tutorial-in.xml:8928(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11905,15 +11880,15 @@ msgstr ""
"\n"
"_IGNORE(gtk_button_box_set_spacing, gtk_button_box_get_spacing,\n"
-#: C/gtkmm-tutorial-in.xml:8914(para)
+#: C/gtkmm-tutorial-in.xml:8927(para)
msgid "For instance, from <filename>buttonbox.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8922(title)
+#: C/gtkmm-tutorial-in.xml:8935(title)
msgid "_WRAP_SIGNAL"
msgstr "_WRAP_SIGNAL"
-#: C/gtkmm-tutorial-in.xml:8923(para)
+#: C/gtkmm-tutorial-in.xml:8936(para)
msgid ""
"This macro generates the C++ libsigc++-style signal to wrap a C GObject "
"signal. It actually generates a public accessor method, such as "
@@ -11922,11 +11897,11 @@ msgid ""
"types and the .m4 convert files to discover appropriate type conversions."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8929(function)
+#: C/gtkmm-tutorial-in.xml:8942(function)
msgid "_WRAP_SIGNAL( C++ signal handler signature, C signal name)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8931(programlisting)
+#: C/gtkmm-tutorial-in.xml:8944(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11935,18 +11910,18 @@ msgstr ""
"\n"
"_WRAP_SIGNAL(void clicked(),\"clicked\")\n"
-#: C/gtkmm-tutorial-in.xml:8935(para)
+#: C/gtkmm-tutorial-in.xml:8948(para)
msgid ""
"Signals usually have function pointers in the GTK struct, with a "
"corresponding enum value. and a <function>g_signal_new()</function> in the ."
"c file."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8941(term)
+#: C/gtkmm-tutorial-in.xml:8954(term)
msgid "no_default_handler"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8943(para)
+#: C/gtkmm-tutorial-in.xml:8956(para)
msgid ""
"Do not generate an <function>on_something()</function> virtual method to "
"allow easy overriding of the default signal handler. Use this when adding a "
@@ -11954,11 +11929,11 @@ msgid ""
"size of the class's virtual function table."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8955(title)
+#: C/gtkmm-tutorial-in.xml:8968(title)
msgid "_WRAP_PROPERTY"
msgstr "_WRAP_PROPERTY"
-#: C/gtkmm-tutorial-in.xml:8956(para)
+#: C/gtkmm-tutorial-in.xml:8969(para)
msgid ""
"This macro generates the C++ method to wrap a C GObject property. You must "
"specify the property name and the wanted C++ type for the property. "
@@ -11966,11 +11941,11 @@ msgid ""
"the .m4 convert files to discover appropriate type conversions."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8960(function)
+#: C/gtkmm-tutorial-in.xml:8973(function)
msgid "_WRAP_PROPERTY(C property name, C++ type)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8962(programlisting)
+#: C/gtkmm-tutorial-in.xml:8975(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -11979,21 +11954,21 @@ msgstr ""
"\n"
"_WRAP_PROPERTY(\"etiqueta\", Glib::ustring)\n"
-#: C/gtkmm-tutorial-in.xml:8971(title)
+#: C/gtkmm-tutorial-in.xml:8984(title)
msgid "Other macros"
msgstr "Otras macros"
-#: C/gtkmm-tutorial-in.xml:8973(title)
+#: C/gtkmm-tutorial-in.xml:8986(title)
msgid "_WRAP_ENUM"
msgstr "_WRAP_ENUM"
-#: C/gtkmm-tutorial-in.xml:8974(para)
+#: C/gtkmm-tutorial-in.xml:8987(para)
msgid ""
"This macro generates a C++ enum to wrap a C enum. You must specify the "
"desired C++ name and the name of the underlying C enum."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8977(programlisting)
+#: C/gtkmm-tutorial-in.xml:8990(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12002,11 +11977,11 @@ msgstr ""
"\n"
"_WRAP_ENUM(WindowType, GdkWindowType)\n"
-#: C/gtkmm-tutorial-in.xml:8976(para)
+#: C/gtkmm-tutorial-in.xml:8989(para)
msgid "For instance, from <filename>widget.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8981(para)
+#: C/gtkmm-tutorial-in.xml:8994(para)
msgid ""
"If the enum is not a <classname>GType</classname>, you must pass a third "
"parameter NO_GTYPE. This is the case when there is no <function>*_get_type()"
@@ -12015,7 +11990,7 @@ msgid ""
"against the C API, because all enums should be registered as GTypes."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8986(programlisting)
+#: C/gtkmm-tutorial-in.xml:8999(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12024,28 +11999,28 @@ msgstr ""
"\n"
"_WRAP_ENUM(IconLookupFlags, GtkIconLookupFlags)\n"
-#: C/gtkmm-tutorial-in.xml:8985(para)
+#: C/gtkmm-tutorial-in.xml:8998(para)
msgid "For example: <placeholder-1/>"
msgstr "Por ejemplo: <placeholder-1/>"
-#: C/gtkmm-tutorial-in.xml:8993(title)
+#: C/gtkmm-tutorial-in.xml:9006(title)
msgid "_WRAP_GERROR"
msgstr "_WRAP_GERROR"
-#: C/gtkmm-tutorial-in.xml:8994(para)
+#: C/gtkmm-tutorial-in.xml:9007(para)
msgid ""
"This macro generates a C++ exception class, derived from Glib::Error, with a "
"Code enum and a code() method. You must specify the desired C++ name, the "
"name of the corresponding C enum, and the prefix for the C enum values."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8997(para)
+#: C/gtkmm-tutorial-in.xml:9010(para)
msgid ""
"This exception can then be thrown by methods which are generated from "
"_WRAP_METHOD() with the errthrow option."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:8999(programlisting)
+#: C/gtkmm-tutorial-in.xml:9012(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12054,58 +12029,58 @@ msgstr ""
"\n"
"_WRAP_GERROR(PixbufError, GdkPixbufError, GDK_PIXBUF_ERROR)\n"
-#: C/gtkmm-tutorial-in.xml:8998(para)
+#: C/gtkmm-tutorial-in.xml:9011(para)
msgid "For instance, from <filename>pixbuf.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9006(title)
+#: C/gtkmm-tutorial-in.xml:9019(title)
msgid "_MEMBER_GET / _MEMBER_SET"
msgstr "_MEMBER_GET / _MEMBER_SET"
-#: C/gtkmm-tutorial-in.xml:9007(para)
+#: C/gtkmm-tutorial-in.xml:9020(para)
msgid ""
"Use these macros if you're wrapping a simple struct or boxed type that "
"provides direct access to its data members, to create getters and setters "
"for the data members."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9011(function)
+#: C/gtkmm-tutorial-in.xml:9024(function)
msgid "_MEMBER_GET(C++ name, C name, C++ type, C type)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9012(function)
+#: C/gtkmm-tutorial-in.xml:9025(function)
msgid "_MEMBER_SET(C++ name, C name, C++ type, C type)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9015(programlisting)
+#: C/gtkmm-tutorial-in.xml:9028(programlisting)
#, no-wrap
msgid "_MEMBER_GET(x, x, int, int)"
msgstr "_MEMBER_GET(x, x, int, int)"
-#: C/gtkmm-tutorial-in.xml:9013(para)
+#: C/gtkmm-tutorial-in.xml:9026(para)
msgid "For example, in <filename>rectangle.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9019(title)
+#: C/gtkmm-tutorial-in.xml:9032(title)
msgid "_MEMBER_GET_PTR / _MEMBER_SET_PTR"
msgstr "_MEMBER_GET_PTR / _MEMBER_SET_PTR"
-#: C/gtkmm-tutorial-in.xml:9020(para)
+#: C/gtkmm-tutorial-in.xml:9033(para)
msgid ""
"Use these macros to automatically provide getters and setters for a data "
"member that is a pointer type. For the getter function, it will create two "
"methods, one const and one non-const."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9025(function)
+#: C/gtkmm-tutorial-in.xml:9038(function)
msgid "_MEMBER_GET_PTR(C++ name, C name, C++ type, C type)"
msgstr "_MEMBER_GET_PTR(C++ name, C name, C++ type, C type)"
-#: C/gtkmm-tutorial-in.xml:9026(function)
+#: C/gtkmm-tutorial-in.xml:9039(function)
msgid "_MEMBER_SET_PTR(C++ name, C name, C++ type, C type)"
msgstr "_MEMBER_SET_PTR(C++ name, C name, C++ type, C type)"
-#: C/gtkmm-tutorial-in.xml:9028(programlisting)
+#: C/gtkmm-tutorial-in.xml:9041(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12114,30 +12089,30 @@ msgstr ""
"\n"
"_MEMBER_GET_PTR(vbox, vbox, VBox*, GtkWidget*)\n"
-#: C/gtkmm-tutorial-in.xml:9027(para)
+#: C/gtkmm-tutorial-in.xml:9040(para)
msgid "For example, in <filename>dialog.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9034(title)
+#: C/gtkmm-tutorial-in.xml:9047(title)
msgid "_MEMBER_GET_GOBJECT / _MEMBER_SET_GOBJECT"
msgstr "_MEMBER_GET_GOBJECT / _MEMBER_SET_GOBJECT"
-#: C/gtkmm-tutorial-in.xml:9035(para)
+#: C/gtkmm-tutorial-in.xml:9048(para)
msgid ""
"Use these macros to provide getters and setters for a data member that is a "
"<classname>GObject</classname> type that must be referenced before being "
"returned."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9040(function)
+#: C/gtkmm-tutorial-in.xml:9053(function)
msgid "_MEMBER_GET_GOBJECT(C++ name, C name, C++ type, C type)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9041(function)
+#: C/gtkmm-tutorial-in.xml:9054(function)
msgid "_MEMBER_SET_GOBJECT(C++ name, C name, C++ type, C type)"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9043(programlisting)
+#: C/gtkmm-tutorial-in.xml:9056(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12146,16 +12121,16 @@ msgstr ""
"\n"
"_MEMBER_GET_GOBJECT(layout, layout, Pango::Layout, PangoLayout*)\n"
-#: C/gtkmm-tutorial-in.xml:9042(para)
+#: C/gtkmm-tutorial-in.xml:9055(para)
msgid ""
"For example, in Pangomm, <filename>layoutline.hg</filename>: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9050(title)
+#: C/gtkmm-tutorial-in.xml:9063(title)
msgid "Basic Types"
msgstr "Tipos bÃsicos"
-#: C/gtkmm-tutorial-in.xml:9051(para)
+#: C/gtkmm-tutorial-in.xml:9064(para)
msgid ""
"Some of the basic types that are used in C APIs have better alternatives in C"
"++. For example, there's no need for a <type>gboolean</type> type since C++ "
@@ -12163,67 +12138,67 @@ msgid ""
"C APIs and what you might convert them to in a C++ wrapper library."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9056(title)
+#: C/gtkmm-tutorial-in.xml:9069(title)
msgid "Basic Type equivalents"
msgstr "Tipos bÃsicos equivalentes"
-#: C/gtkmm-tutorial-in.xml:9058(segtitle)
+#: C/gtkmm-tutorial-in.xml:9071(segtitle)
msgid "C type"
msgstr "Tipo C"
-#: C/gtkmm-tutorial-in.xml:9059(segtitle)
+#: C/gtkmm-tutorial-in.xml:9072(segtitle)
msgid "C++ type"
msgstr "Tipo C++"
-#: C/gtkmm-tutorial-in.xml:9060(type)
+#: C/gtkmm-tutorial-in.xml:9073(type)
msgid "gboolean"
msgstr "gboolean"
-#: C/gtkmm-tutorial-in.xml:9060(type)
+#: C/gtkmm-tutorial-in.xml:9073(type)
msgid "bool"
msgstr "bool"
-#: C/gtkmm-tutorial-in.xml:9061(type)
+#: C/gtkmm-tutorial-in.xml:9074(type)
msgid "gint"
msgstr "gint"
-#: C/gtkmm-tutorial-in.xml:9061(type)
+#: C/gtkmm-tutorial-in.xml:9074(type)
msgid "int"
msgstr "int"
-#: C/gtkmm-tutorial-in.xml:9062(type)
+#: C/gtkmm-tutorial-in.xml:9075(type)
msgid "guint"
msgstr "guint"
-#: C/gtkmm-tutorial-in.xml:9063(type)
+#: C/gtkmm-tutorial-in.xml:9076(type)
msgid "gdouble"
msgstr "gdouble"
-#: C/gtkmm-tutorial-in.xml:9063(type)
+#: C/gtkmm-tutorial-in.xml:9076(type)
msgid "double"
msgstr "doble"
-#: C/gtkmm-tutorial-in.xml:9064(type)
+#: C/gtkmm-tutorial-in.xml:9077(type)
msgid "gunichar"
msgstr "gunichar"
-#: C/gtkmm-tutorial-in.xml:9065(type)
+#: C/gtkmm-tutorial-in.xml:9078(type)
msgid "gchar*"
msgstr "gchar*"
-#: C/gtkmm-tutorial-in.xml:9065(classname)
+#: C/gtkmm-tutorial-in.xml:9078(classname)
msgid "std::string"
msgstr "std::string"
-#: C/gtkmm-tutorial-in.xml:9065(seg)
+#: C/gtkmm-tutorial-in.xml:9078(seg)
msgid "<placeholder-1/> (or <placeholder-2/> for filenames)"
msgstr "<placeholder-1/> (o <placeholder-2/> para nombres de archivos)"
-#: C/gtkmm-tutorial-in.xml:9072(title)
+#: C/gtkmm-tutorial-in.xml:9085(title)
msgid "Hand-coded source files"
msgstr "Archivos de cÃdigo fuente programados a mano"
-#: C/gtkmm-tutorial-in.xml:9073(para)
+#: C/gtkmm-tutorial-in.xml:9086(para)
msgid ""
"You might want to include additional source files that will not be generated "
"by <command>gmmproc</command> from <filename>.hg</filename> and <filename>."
@@ -12233,11 +12208,11 @@ msgid ""
"varname> and <varname>files_extra_cc</varname> variables."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9083(title)
+#: C/gtkmm-tutorial-in.xml:9096(title)
msgid "Initialization"
msgstr "InicializaciÃn"
-#: C/gtkmm-tutorial-in.xml:9092(programlisting)
+#: C/gtkmm-tutorial-in.xml:9105(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12254,7 +12229,7 @@ msgstr ""
" wrap_init(); //Informa a la tabla Glib::wrap() sobre las clases de libalgomm.\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:9084(para)
+#: C/gtkmm-tutorial-in.xml:9097(para)
msgid ""
"Your library must be initialized before it can be used, to register the new "
"types that it makes available. Also, the C library that you are wrapping "
@@ -12266,7 +12241,7 @@ msgid ""
"<function>wrap_init()</function> function. For instance: <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9100(para)
+#: C/gtkmm-tutorial-in.xml:9113(para)
msgid ""
"The implementation of the <function>wrap_init()</function> method in "
"<filename>wrap_init.cc</filename> is generated by "
@@ -12276,22 +12251,22 @@ msgid ""
"function appears in the correct C++ namespace."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9109(title)
+#: C/gtkmm-tutorial-in.xml:9122(title)
msgid "Problems in the C API."
msgstr "Problemas en la API de C."
-#: C/gtkmm-tutorial-in.xml:9110(para)
+#: C/gtkmm-tutorial-in.xml:9123(para)
msgid ""
"You are likely to encounter some problems in the library that you are "
"wrapping, particularly if it is a new project. Here are some common "
"problems, with solutions."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9112(title)
+#: C/gtkmm-tutorial-in.xml:9125(title)
msgid "Unable to predeclare structs"
msgstr "No se pueden predeclarar estructuras"
-#: C/gtkmm-tutorial-in.xml:9114(programlisting)
+#: C/gtkmm-tutorial-in.xml:9127(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12310,7 +12285,7 @@ msgstr ""
" ...\n"
"};\n"
-#: C/gtkmm-tutorial-in.xml:9113(para)
+#: C/gtkmm-tutorial-in.xml:9126(para)
msgid ""
"By convention, structs are declared in glib/GTK+-style headers like so: "
"<placeholder-1/>"
@@ -12318,7 +12293,7 @@ msgstr ""
"Por convenio, las estructuras se declaran en los encabezados de Glib/GTK+ "
"igual que en: <placeholder-1/>"
-#: C/gtkmm-tutorial-in.xml:9123(para)
+#: C/gtkmm-tutorial-in.xml:9136(para)
msgid ""
"The extra typedef allows the struct to be used in a header without including "
"its full defintion, simply by predeclaring it, by repeating that typedef. "
@@ -12328,7 +12303,7 @@ msgid ""
"that is not the case."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9126(programlisting)
+#: C/gtkmm-tutorial-in.xml:9139(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12337,7 +12312,7 @@ msgid ""
"make[4]: *** [example-widget.lo] Error 1\n"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9132(programlisting)
+#: C/gtkmm-tutorial-in.xml:9145(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12345,7 +12320,7 @@ msgid ""
"../../libexample/libexamplemm/example-widget.h:34: error: previous declaration of 'typedef struct _ExampleWidget ExampleWidget'\n"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9124(para)
+#: C/gtkmm-tutorial-in.xml:9137(para)
msgid ""
"This compiler error might look like this: <placeholder-1/> or this: "
"<placeholder-2/>"
@@ -12353,7 +12328,7 @@ msgstr ""
"Este error del compilador podrÃa tener este aspecto: <placeholder-1/> o "
"este: <placeholder-2/>"
-#: C/gtkmm-tutorial-in.xml:9137(para)
+#: C/gtkmm-tutorial-in.xml:9150(para)
msgid ""
"This is easy to correct in the C library, so do send a patch to the relevant "
"maintainer."
@@ -12361,11 +12336,11 @@ msgstr ""
"Esto es fÃcil de corregir en la biblioteca de C, asà que envÃe un parche al "
"mantenedor pertinentes."
-#: C/gtkmm-tutorial-in.xml:9141(title)
+#: C/gtkmm-tutorial-in.xml:9154(title)
msgid "Lack of properties"
msgstr "Falta de propiedades"
-#: C/gtkmm-tutorial-in.xml:9148(programlisting)
+#: C/gtkmm-tutorial-in.xml:9161(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12380,7 +12355,7 @@ msgstr ""
" return g_object_new (EXAMPLE_TYPE_WIDGET, \"something\", something, \"thing\", thing, NULL);\n"
"}\n"
-#: C/gtkmm-tutorial-in.xml:9142(para)
+#: C/gtkmm-tutorial-in.xml:9155(para)
msgid ""
"By convention, glib/GTK+-style objects have <function>*_new()</function> "
"functions, such as <function>example_widget_new()</function> that do nothing "
@@ -12390,7 +12365,7 @@ msgid ""
"instance, <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9155(para)
+#: C/gtkmm-tutorial-in.xml:9168(para)
msgid ""
"This allows language bindings to implement their own equivalents (such as C+"
"+ constructors), without using the <function>*_new()</function> function. "
@@ -12398,7 +12373,7 @@ msgid ""
"GType, to add their own hooks for signal handlers and vfuncs."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9159(para)
+#: C/gtkmm-tutorial-in.xml:9172(para)
msgid ""
"At the least, the <function>_new()</function> function should not use any "
"private API (functions that are only in a .c file). Even when there are no "
@@ -12407,7 +12382,7 @@ msgid ""
"that is available to us."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9167(programlisting)
+#: C/gtkmm-tutorial-in.xml:9180(programlisting)
#, no-wrap
msgid ""
"\n"
@@ -12425,51 +12400,37 @@ msgid ""
" do_something(something);\n"
"}\n"
msgstr ""
-"\n"
-"GtkWidget* example_widget_new(int something, const char* thing)\n"
-"{\n"
-" ExampleWidget* widget;\n"
-" widget = g_object_new (EXAMPLE_TYPE_WIDGET, NULL);\n"
-" example_widget_construct(widget, \"something\", something, \"thing\", thing);\n"
-"}\n"
-"\n"
-"void example_widget_construct(ExampleWidget* widget, int something, const char* thing)\n"
-"{\n"
-" //Do stuff that uses private API:\n"
-" widget->priv->thing = thing;\n"
-" do_something(something);\n"
-"}\n"
-#: C/gtkmm-tutorial-in.xml:9164(para)
+#: C/gtkmm-tutorial-in.xml:9177(para)
msgid ""
"Another workaround is to add a <function>*_construct()</function> function "
"that the C++ constructor can call after instantiating its own type. For "
"instance, <placeholder-1/>"
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9183(para)
+#: C/gtkmm-tutorial-in.xml:9196(para)
msgid ""
"Adding properties, and ensuring that they interact properly with each other, "
"is relatively difficult to correct in the C library, but it is possible, so "
"do file a bug and try to send a patch to the relevant maintainer."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9191(title)
+#: C/gtkmm-tutorial-in.xml:9204(title)
msgid "Documentation"
msgstr "DocumentaciÃn"
-#: C/gtkmm-tutorial-in.xml:9192(para)
+#: C/gtkmm-tutorial-in.xml:9205(para)
msgid ""
"In general, gtkmm-style projects use Doxygen, which reads specially "
"formatted C++ comments and generates HTML documentation. You may write these "
"doxygen comments directly in the header files."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9195(title)
+#: C/gtkmm-tutorial-in.xml:9208(title)
msgid "Reusing C documentation"
msgstr "Reutilizar la documentaciÃn de C"
-#: C/gtkmm-tutorial-in.xml:9196(para)
+#: C/gtkmm-tutorial-in.xml:9209(para)
msgid ""
"You might wish to reuse documentation that exists for the C library that you "
"are wrapping. GTK-style C libraries typically use gtk-doc and therefore have "
@@ -12481,12 +12442,12 @@ msgid ""
"make it more appropriate for a C++ API."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9199(programlisting)
+#: C/gtkmm-tutorial-in.xml:9212(programlisting)
#, no-wrap
msgid "./docextract_to_xml.py -s /gnome/head/cvs/gtk+/gtk/ -s /gnome/head/cvs/gtk+/docs/reference/gtk/tmpl/ > gtk_docs.xml\n"
msgstr "./docextract_to_xml.py -s /gnome/head/cvs/gtk+/gtk/ -s /gnome/head/cvs/gtk+/docs/reference/gtk/tmpl/ > gtk_docs.xml\n"
-#: C/gtkmm-tutorial-in.xml:9202(para)
+#: C/gtkmm-tutorial-in.xml:9215(para)
msgid ""
"Because this automatic transformation is not always appropriate, you might "
"want to provide hand-written text for a particular method. You can do this "
@@ -12495,11 +12456,11 @@ msgid ""
"file and changing the contents."
msgstr ""
-#: C/gtkmm-tutorial-in.xml:9211(title)
+#: C/gtkmm-tutorial-in.xml:9224(title)
msgid "Documentation build structure"
msgstr "Estructura de construcciÃn de la documentaciÃn"
-#: C/gtkmm-tutorial-in.xml:9212(para)
+#: C/gtkmm-tutorial-in.xml:9225(para)
msgid ""
"If you copied the skeleton source tree in mm-common and substituted the "
"placeholder text, then you will already have suitable <filename>Makefile.am</"
@@ -12519,6 +12480,19 @@ msgstr ""
"Daniel Mustieles <daniel mustieles gmail com>, 2011\n"
"Jorge GonzÃlez <jorgegonz svn gnome org>, 2010"
+#~ msgid ""
+#~ "Gtk::RecentInfo info = recent_manager->lookup_item(uri);\n"
+#~ "if (info)\n"
+#~ "{\n"
+#~ " // item was found\n"
+#~ "}"
+#~ msgstr ""
+#~ "Gtk::RecentInfo info = recent_manager->lookup_item(uri);\n"
+#~ "if (info)\n"
+#~ "{\n"
+#~ " // se encontrà el elemento\n"
+#~ "}"
+
#~ msgid "FontSelectionDialog"
#~ msgstr "FontSelectionDialog"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]