dw_list_item.h
来自「嵌入式下基于MiniGUI的Web Browser」· C头文件 代码 · 共 46 行
H
46 行
#ifndef __DW_LIST_ITEM_H__#define __DW_LIST_ITEM_H__#include "dw_aligned_page.h"#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#define DW_TYPE_LIST_ITEM (a_Dw_list_item_get_type())#define DW_LIST_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DW_TYPE_LIST_ITEM, DwListItem))#define DW_LIST_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DW_TYPE_LIST_ITEM, DwListItemClass))#define DW_LIST_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DW_TYPE_LIST_ITEM, DwListItemClass))#define DW_IS_LIST_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DW_TYPE_LIST_ITEM))typedef struct _DwListItem DwListItem;typedef struct _DwListItemClass DwListItemClass;struct _DwListItem{ DwAlignedPage aligned_page;};struct _DwListItemClass{ DwAlignedPageClass parent_class;};GType a_Dw_list_item_get_type (void);DwWidget* a_Dw_list_item_new (DwListItem *ref_list_item);void a_Dw_list_item_init_with_widget (DwListItem *list_item, DwWidget *widget, DwStyle *style);void a_Dw_list_item_init_with_text (DwListItem *list_item, gchar *text, DwStyle *style);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* __DW_LIST_ITEM_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?