diff --git a/docs/sec3.html b/docs/sec3.html index 0652b73..028fdf9 100644 --- a/docs/sec3.html +++ b/docs/sec3.html @@ -209,7 +209,7 @@ explain that to you first.

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.

The flow is like this:

@@ -292,7 +292,7 @@ are:

  • self is an instance to which the signal belongs.
  • user_data is a data defined in the fourth argument of the g_signal_connect function. If it is NULL, then you can -ignore and left out the second parameter.
  • +ignore and leave out the second parameter.

    API reference manual is very important. You should see and understand it.

    @@ -371,7 +371,7 @@ instance, you need to cast it.

    It works, but isn’t usually used. Instead, GTK_WINDOW macro is used.

    GTK_WINDOW (win)
    -

    The macro is recommended because it does not only cast but also check +

    The macro is recommended because it does not only cast the pointer but it also checks the type.

    Connect it to GtkApplication.