⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gobject.zc

📁 实现树形结构
💻 ZC
字号:
import "glib/glib/gtypes"import "glib/glib/gslist"import "glib/gobject/gtype"import "glib/gobject/gparam"public [name="c"]struct GData; endstruct GObject : local GTypeInstance	private ref_count: guint	private qdata: GDataendstruct GObjectClass : local GTypeClass	private construct_properties: GSList	public constructor: {GType, guint, GObjectConstructParam} GObject	public set_property: {GObject, guint, GValue, GParamSpec} void	public get_property: {GObject, guint, GValue, GParamSpec} void	public dispose: {GObject} void	public finalize: {GObject} void	public dispatch_properties_changed: {GObject, guint, GParamSpec} void	public notify: {GObject, GParamSpec} void	private pdummy: [8] gpointerendstruct GObjectConstructParam	pspec: GParamSpec	value: GValueendtypedef GObjectGetPropertyFunc = {GObject, guint, GValue, GParamSpec} voidtypedef GObjectSetPropertyFunc = {GObject, guint, GValue, GParamSpec} voidtypedef GObjectFinalizeFunc = {GObject} voidtypedef GWeakNotify = {gpointer, GObject} void//import func g_object_new (GType,[]gchar, ...): gpointerimport func g_object_ref (gpointer): gpointerimport func g_object_unref (gpointer): voidimport func g_value_set_object                (GValue,gpointer): voidimport func g_value_get_object                (GValue): gpointer// Stub function because vararg not portableimport func g_object_new_0 (GType): gpointerend

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -