Question about GtkWindow method

Hello everybody.

The documentation shows
gtk_window_set_default_size (GtkWindow *window, gint width,gint height);

A code example shows:
gtk_window_set_title (GTK_WINDOW (window), “Window”);

What the diference between "(window) and a pointer *window?

Thank you.

That’s the wrong question :wink:

The difference between the two code snippets is that the first shows a function declaration and the second a function call.

1 Like

Thank you. Your reply helped me. I’m beginner and today I learned about pointers. I thinked that *window is a pointer.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.