LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 697|回复: 0

在GTK中颜色的设置的问题

[复制链接]
发表于 2004-5-25 18:13:34 | 显示全部楼层 |阅读模式
我用的是GTK1.2,我看资料时碰到了这样一个函数void gtk_clist_set_foreground( GtkCList *clist,
                               gint      row,
                               GdkColor *color );
Please note that the colors must have been previously allocated.
我的问题有两个
1.GDKCOLOR有哪些?我到哪里能找到这些信息?
2.要使用这些颜色要先allocated,我应该具体怎样做?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表