狗狗天地

荣辱不惊,看庭外花开花落.去留无意,望天上云卷云舒.

2008年07月24日

原创 customize treeview sort收藏

we can customize our sort strategy of the treeview widget. the sample use the qsort to order this data. you can write a better one for instead of the system's.阅读全文>

发表于 @ 2008年07月24日 14:16:00|评论(loading...)|收藏

2008年07月21日

原创 使用gtype构造的一个简单学生管理程序其他属性自己加收藏

person.h:
#ifndef _PERSON_H
#define _PERSON_H

#include 
#include 
#include 
#define PERSON_TYPE   (  person_get_type() )
#define PERSON(obj)     ( G_TYPE_CHECK_INSTANCE_CAST((obj), PERSON_TYPE, CPerson) )
#define PERSON_CLASS(klass)  ( G_TYPE_CHECK_CLASS_CAST((klass), PERSON_TYPE, CPersonClass ) )
#define IS_PERSON(obj)      ( G_TYPE_CHECK_INSTANCE_TYPE((obj), PERSON_TYPE) )
#define IS_PERSONCALSS(klass)    ( G_TYPE_CHE阅读全文>

发表于 @ 2008年07月21日 10:08:00|评论(loading...)|收藏

Csdn Blog version 3.1a
Copyright © rain