Gtkプログラミング on Windows!!! (478レス)
Gtkプログラミング on Windows!!! http://mevius.5ch.net/test/read.cgi/tech/1147024203/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
401: デフォルトの名無しさん [sage] 2019/01/08(火) 13:57:27.89 ID:apChm6zE ヘッダーよりググッてリファレンスを見るべき、読めないなら翻訳にぶちこむ https://developer.gnome.org/gtk3/stable/gtk-getting-started.html 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. https://developer.gnome.org/gobject/stable/gobject-Type-Information.html#G-TYPE-CHECK-INSTANCE-CAST:CAPS #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 . No warning will be issued if instance is NULL, and NULL will be returned. This macro should only be used in type implementations. http://mevius.5ch.net/test/read.cgi/tech/1147024203/401
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.862s*