Merge pull request #44 from jamisonTitan/typosInSec3

Typos in sec3
This commit is contained in:
ToshioCP 2023-03-23 16:41:51 +09:00 committed by GitHub
commit 971879ac68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -209,7 +209,7 @@ explain that to you first.</p>
<p>A signal is emitted when something happens. For example, a window is
created, a window is destroyed and so on. The signal “activate” is
emitted when the application is activated. (Activated is a bit different
from started, but you can think the both are almost same so far.) If the
from started, but you can think of them both as almost the same so far.) If the
signal is connected to a function, which is called a signal handler or
simply handler, then the function is invoked when the signal emits.</p>
<p>The flow is like this:</p>
@ -292,7 +292,7 @@ are:</p>
<li>self is an instance to which the signal belongs.</li>
<li>user_data is a data defined in the fourth argument of the
<code>g_signal_connect</code> function. If it is NULL, then you can
ignore and left out the second parameter.</li>
ignore and leave out the second parameter.</li>
</ul>
<p>API reference manual is very important. You should see and understand
it.</p>
@ -371,7 +371,7 @@ instance, you need to cast it.</p>
<p>It works, but isnt usually used. Instead, <code>GTK_WINDOW</code>
macro is used.</p>
<div class="sourceCode" id="cb16"><pre class="sourceCode c"><code class="sourceCode c"><span id="cb16-1"><a href="#cb16-1" aria-hidden="true" tabindex="-1"></a>GTK_WINDOW <span class="op">(</span>win<span class="op">)</span></span></code></pre></div>
<p>The macro is recommended because it does not only cast but also check
<p>The macro is recommended because it does not only cast the pointer but it also checks
the type.</p>
<h4 id="connect-it-to-gtkapplication.">Connect it to
GtkApplication.</h4>