Gtkプログラミング on Windows!!! (478レス)
前次1-
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん

リロード規制です。10分ほどで解除するので、他のブラウザへ避難してください。
401: 2019/01/08(火)13:57 ID:apChm6zE(1) AAS
ヘッダーよりググッてリファレンスを見るべき、読めないなら翻訳にぶちこむ
外部リンク[html]:developer.gnome.org
A window title is set using gtk_window_set_title(). This function takes a GtkWindow* pointer and a string as input.
As our window pointer is a GtkWidget pointer, we need to cast it to GtkWindow*.
But instead of casting window via (GtkWindow*), window can be cast using the macro GTK_WINDOW().
GTK_WINDOW() will check if the pointer is an instance of the GtkWindow class, before casting, and emit a warning if the check fails.
More information about this convention can be found here.

外部リンク[html]:developer.gnome.org
#define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type))
Checks that instance is an instance of the type identified by g_type and issues a warning if this is not the case. Returns instance casted to a pointer to c_type .
省2
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.024s