<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.7"/> <title>glibmm: New API in glibmm 2.42</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">glibmm  <span id="projectnumber">2.42.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">New API in glibmm 2.42 </div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><dl class="reflist"> <dt><a class="anchor" id="_since_2_42000003"></a>Member <a class="el" href="classGio_1_1Application.html#a12ec728146b041ba28aaa23d97e01095">Gio::Application::add_main_option_entry</a> (OptionType arg_type, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& long_name, gchar short_name= '\0', const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& description=<a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring()</a>, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& arg_description=<a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring()</a>, int flags=0)</dt> <dd></dd> <dt><a class="anchor" id="_since_2_42000004"></a>Member <a class="el" href="classGio_1_1Application.html#a677bbc233c1fea0c00a1d6a90259e903">Gio::Application::add_main_option_entry</a> (const <a class="el" href="classGlib_1_1OptionGroup.html#aa696286ee0bca78484f1cfa96064b8cd" title="For example bool on_option_arg_string(const Glib::ustring& option_name, const Glib::ustring& value...">Glib::OptionGroup::SlotOptionArgString</a>& slot, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& long_name, gchar short_name= '\0', const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& description=<a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring()</a>, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& arg_description=<a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring()</a>, int flags=0)</dt> <dd></dd> <dt><a class="anchor" id="_since_2_42000005"></a>Member <a class="el" href="classGio_1_1Application.html#a498ba4e4f34402e76b75ee4765845729">Gio::Application::add_main_option_entry_filename</a> (const <a class="el" href="classGlib_1_1OptionGroup.html#a80c4f3be4d3a6ee9e8b044b8c3413a2d" title="For example bool on_option_arg_filename(const Glib::ustring& option_name, const std::string& value...">Glib::OptionGroup::SlotOptionArgFilename</a>& slot, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& long_name, gchar short_name= '\0', const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& description=<a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring()</a>, const <a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring</a>& arg_description=<a class="el" href="classGlib_1_1ustring.html" title="Glib::ustring has much the same interface as std::string, but contains Unicode characters encoded as ...">Glib::ustring()</a>, int flags=0)</dt> <dd></dd> <dt><a class="anchor" id="_since_2_42000002"></a>Member <a class="el" href="group__glibmmEnums.html#gabd6606988f30170f2e53b2b121f2b219">Gio::Application::OptionType</a> </dt> <dd></dd> <dt><a class="anchor" id="_since_2_42000006"></a>Class <a class="el" href="classGio_1_1Permission.html">Gio::Permission</a> </dt> <dd></dd> <dt><a class="anchor" id="_since_2_42000009"></a>Member <a class="el" href="group__NetworkIO.html#ga73dc3243f51abce0a62424329724f510">Gio::signal_socket</a> (const Glib::RefPtr< Glib::MainContext >& context=Glib::RefPtr< Glib::MainContext >())</dt> <dd><p class="startdd"></p> <p class="enddd"></p> </dd> <dt><a class="anchor" id="_since_2_42000008"></a>Class <a class="el" href="classGio_1_1SignalSocket.html">Gio::SignalSocket</a> </dt> <dd><p class="startdd"></p> <p class="enddd"></p> </dd> <dt><a class="anchor" id="_since_2_42000011"></a>Member <a class="el" href="classGio_1_1SignalSocket.html#ab45069dc0f789fa8696cd5f046095071">Gio::SignalSocket::connect</a> (const sigc::slot< bool, Glib::IOCondition >& slot, const Glib::RefPtr< Socket >& socket, <a class="el" href="group__glibmmEnums.html#gabd96381793b70d4ae32c725926990918" title="A bitwise combination representing a condition to watch for on an event source. ">Glib::IOCondition</a> condition, const Glib::RefPtr< Cancellable >& cancellable=Glib::RefPtr< Cancellable >(), int priority=<a class="el" href="namespaceGlib.html#a0c450f82b9e34689e2dda2038ba7834fa597ed3aa6067516c9c752896f3816b5e">Glib::PRIORITY_DEFAULT</a>)</dt> <dd><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">slot</td><td>A slot to call when polling <em>socket</em> results in an event that matches <em>condition</em>. The event will be passed as a parameter to <em>slot</em>. If <code>io_handler()</code> returns <code>false</code> the handler is disconnected. </td></tr> <tr><td class="paramname">socket</td><td>The Socket object to watch. </td></tr> <tr><td class="paramname">condition</td><td>The conditions to watch for. </td></tr> <tr><td class="paramname">cancellable</td><td>A Cancellable object which can be used to cancel the source, which will cause the source to trigger, reporting the current condition (which is likely 0 unless cancellation happened at the same time as a condition change). You can check for this in the callback using Cancellable::is_cancelled(). </td></tr> <tr><td class="paramname">priority</td><td>The priority of the new event source. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A connection handle, which can be used to disconnect the handler. </dd></dl> </dd> <dt><a class="anchor" id="_since_2_42000007"></a>Member <a class="el" href="classGio_1_1Socket.html#a048e7f79eec8a9a2d8c5cabeb0cdea34">Gio::Socket::create_source</a> (<a class="el" href="group__glibmmEnums.html#gabd96381793b70d4ae32c725926990918" title="A bitwise combination representing a condition to watch for on an event source. ">Glib::IOCondition</a> condition, const Glib::RefPtr< Cancellable >& cancellable=Glib::RefPtr< Cancellable >())</dt> <dd><dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">condition</td><td>A <a class="el" href="group__glibmmEnums.html#gabd96381793b70d4ae32c725926990918" title="A bitwise combination representing a condition to watch for on an event source. ">Glib::IOCondition</a> mask to monitor. </td></tr> <tr><td class="paramname">cancellable</td><td>A Cancellable. The default value means the source is not cancellable. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>A newly allocated SocketSource. </dd></dl> </dd> <dt><a class="anchor" id="_since_2_42000010"></a>Class <a class="el" href="classGio_1_1SocketSource.html">Gio::SocketSource</a> </dt> <dd><p class="startdd"></p> <p class="enddd"></p> </dd> <dt><a class="anchor" id="_since_2_42000001"></a>Member <a class="el" href="classGlib_1_1IOSource.html#adb3f65738543803c2d123bc9df9483dc">Glib::IOSource::IOSource</a> (GSource* cast_item, GSourceFunc callback_func)</dt> <dd></dd> </dl> </div></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Mon Sep 22 2014 21:38:30 for glibmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>