2007年01月05日 星期五 16:38
gtk本来最大的问题就是在windows下界面难看, 但是最新版本的已经大大改进了, 看起来也相当漂亮, 我放了一些贴图在我的BLOG: http://blog.donews.com/vcc_cn/archive/2007/01/05/1108626.aspx gtk+ 2.10.6 的windows的theme libwimp.dll有一个小bug, 设置系统字体有问题, 界面会有点丑和慢, 我改了一下: bug in func sys_font_to_pango_font in libwimp, get_family_name after release hDC, so get_family_name return error, need move to before release hDC. msw_style.c msw_style.c.cvs 465,468d464 < font = get_family_name (&lf;, hDC); < if(!(font && *font)) < return NULL; < 477a474,477 > font = get_family_name (&lf;, hDC); > if(!(font && *font)) > return NULL; > 如果需要编译好的dll可以发邮件给我, gtk在windows下的编译是比较麻烦的. 个人比较喜欢pygtk, 感觉设计更好一些, 文档也更丰富明了. 最近在用pygtk写东西, 希望可以和同好交流交流. Vcc _ MSN:vcc at 163.com BLOG:http://blog.donews.com/vcc_cn -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/a0955e8d/attachment-0001.html
2007年01月05日 星期五 16:48
ºÇºÇ£¬ÎÒÑо¿¹ýÒ»¶Îʱ¼äpygtk£¬ºÃ¶«Î÷°¡£¬Ð´½çÃæ¿ñ¿ì¡£ ½éÉܸø´ó¼ÒÒ»¸öÉè¼ÆgtkͼÐνçÃæµÄÀûÆ÷£ºglade -------------------------------------------------- Liu Xing Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) 8/F., Civil Defense Building, No.189 Guangzhou Road, Nanjing, 210029, China TEL: +86+25-86630566-836 COINS: 79955-836 FAX: +86+25-83317685 MAIL: liuxing在nanjing-fnst.com -------------------------------------------------- ----- Original Message ----- From: vcc To: python-chinese在lists.python.cn Sent: Friday, January 05, 2007 4:38 PM Subject: [python-chinese] ÓÐûÓÐÓÃpygtkµÄ? gtk±¾À´×î´óµÄÎÊÌâ¾ÍÊÇÔÚwindowsϽçÃæÄÑ¿´, µ«ÊÇ×îа汾µÄÒѾ´ó´ó¸Ä½øÁË, ¿´ÆðÀ´Ò²Ï൱ƯÁÁ, ÎÒ·ÅÁËһЩÌùͼÔÚÎÒµÄBLOG: http://blog.donews.com/vcc_cn/archive/2007/01/05/1108626.aspx gtk+ 2.10.6 µÄwindowsµÄtheme libwimp.dllÓÐÒ»¸öСbug, ÉèÖÃϵͳ×ÖÌåÓÐÎÊÌâ, ½çÃæ»áÓеã³óºÍÂý, ÎÒ¸ÄÁËÒ»ÏÂ: bug in func sys_font_to_pango_font in libwimp, get_family_name after release hDC, so get_family_name return error, need move to before release hDC. msw_style.c msw_style.c.cvs 465,468d464 < font = get_family_name (&lf;, hDC); < if(!(font && *font)) < return NULL; < 477a474,477 > font = get_family_name (&lf;, hDC); > if(!(font && *font)) > return NULL; > Èç¹ûÐèÒª±àÒëºÃµÄdll¿ÉÒÔ·¢Óʼþ¸øÎÒ, gtkÔÚwindowsϵıàÒëÊDZȽÏÂé·³µÄ. ¸öÈ˱ȽÏϲ»¶pygtk, ¸Ð¾õÉè¼Æ¸üºÃһЩ, ÎĵµÒ²¸ü·á¸»Ã÷ÁË. ×î½üÔÚÓÃpygtk䶫Î÷, Ï£Íû¿ÉÒÔºÍͬºÃ½»Á÷½»Á÷. Vcc _ MSN:vcc在163.com BLOG:http://blog.donews.com/vcc_cn ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/3abe801c/attachment.htm
2007年01月05日 星期五 16:57
On 1/5/07, ÁõÐÇ <liuxing在nanjing-fnst.com> wrote: > > ºÇºÇ£¬ÎÒÑо¿¹ýÒ»¶Îʱ¼äpygtk£¬ºÃ¶«Î÷°¡£¬Ð´½çÃæ¿ñ¿ì¡£ > ½éÉܸø´ó¼ÒÒ»¸öÉè¼ÆgtkͼÐνçÃæµÄÀûÆ÷£ºglade > ÎÒÒ²ÔÚѧ£¬·Ç³£Ï²»¶gladeÉú³ÉxmlÒÔ´ïµ½½çÃæÉè¼ÆºÍ´úÂë·ÖÀëµÄ·½Ê½¡£ ¿ÉϧÖÐÎÄÎĵµÌ«ÉÙ¡£ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/a506228f/attachment.htm
2007年01月05日 星期五 17:04
ºÇºÇ£¬pygtk tutorialµÄÎĵµ£¬ÎÒÔø¾È«ÎÄ·ÒëÁË£¬²¢ÇÒ¸ÃÊéËùÉæ¼°µÄËùÓпؼþ£¬ÎÒ¶¼³¢ÊÔʹÓùýÁË£¬¿Éϧһֱûʱ¼ä°ÑÎҵıʼÇÕûÀí³ÉÎĵµ£¬°¦¡£²»¹ýÓÐʲôÎÊÌ⣬¿ÉÒÔ°ÚÉÏÀ´£¬ÎÒÃÇÌÖÂÛÌÖÂÛ¡£ -------------------------------------------------- Liu Xing Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) 8/F., Civil Defense Building, No.189 Guangzhou Road, Nanjing, 210029, China TEL: +86+25-86630566-836 COINS: 79955-836 FAX: +86+25-83317685 MAIL: liuxing在nanjing-fnst.com -------------------------------------------------- ----- Original Message ----- From: Gu Yingbo To: python-chinese在lists.python.cn Sent: Friday, January 05, 2007 4:57 PM Subject: Re: [python-chinese] ÓÐûÓÐÓÃpygtkµÄ? On 1/5/07, ÁõÐÇ <liuxing在nanjing-fnst.com> wrote: ºÇºÇ£¬ÎÒÑо¿¹ýÒ»¶Îʱ¼äpygtk£¬ºÃ¶«Î÷°¡£¬Ð´½çÃæ¿ñ¿ì¡£ ½éÉܸø´ó¼ÒÒ»¸öÉè¼ÆgtkͼÐνçÃæµÄÀûÆ÷£ºglade ÎÒÒ²ÔÚѧ£¬·Ç³£Ï²»¶gladeÉú³ÉxmlÒÔ´ïµ½½çÃæÉè¼ÆºÍ´úÂë·ÖÀëµÄ·½Ê½¡£ ¿ÉϧÖÐÎÄÎĵµÌ«ÉÙ¡£ ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/adc35184/attachment.html
2007年01月05日 星期五 17:33
On 1/5/07, ÁõÐÇ <liuxing在nanjing-fnst.com> wrote: > > ºÇºÇ£¬pygtk > tutorialµÄÎĵµ£¬ÎÒÔø¾È«ÎÄ·ÒëÁË£¬²¢ÇÒ¸ÃÊéËùÉæ¼°µÄËùÓпؼþ£¬ÎÒ¶¼³¢ÊÔʹÓùýÁË£¬¿Éϧһֱûʱ¼ä°ÑÎҵıʼÇÕûÀí³ÉÎĵµ£¬°¦¡£²»¹ýÓÐʲôÎÊÌ⣬¿ÉÒÔ°ÚÉÏÀ´£¬ÎÒÃÇÌÖÂÛÌÖÂÛ¡£ > ÕæµÄÂ𣿿´µ½×ÄľÄñÉÏÓв¿·ÖµÄ·Ò룬ϣÍûÄÜÔçÈÕÍê³É¡£ ÎÒ¾õµÃ reference µÄ×÷Óøü´ó¡£½çÃæÈÝÒ×ÁË£¬Ôõô¿ØÖƾͳÉÁË×îÖØÒªµÄÎÊÌâÁË¡£ Äã·ÒëµÄÎĵµÄÜ·¢¸øÎÒÒ»·ÝÂ𣿲ݸåÒ²ÐУ¬Ð»Ð»£¡ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/643a6156/attachment-0001.htm
2007年01月05日 星期五 17:38
ºÇºÇ£¬ÎÒ¶¼ÊÇÓñʼǼÔÚ±¾×ÓÉϵģ¬ÕýÊÇÒòΪÕâÑù²ÅûÓÐÕûÀí³Éµç×ÓµÄÎĵµ£¬´òÒ»±éÌ«Âé·³ÁË£¬ºÇºÇ¡£²»¹ý£¬ÎÒ»á³éʱ¼äÕûÀíÒ»²¿·Ö³öÀ´£¬ÕûÀíºÃÁ˾ͷ¢¡£ -------------------------------------------------- Liu Xing Development Dept.I Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST) 8/F., Civil Defense Building, No.189 Guangzhou Road, Nanjing, 210029, China TEL: +86+25-86630566-836 COINS: 79955-836 FAX: +86+25-83317685 MAIL: liuxing在nanjing-fnst.com -------------------------------------------------- ----- Original Message ----- From: Gu Yingbo To: python-chinese在lists.python.cn Sent: Friday, January 05, 2007 5:33 PM Subject: Re: [python-chinese] ÓÐûÓÐÓÃpygtkµÄ? On 1/5/07, ÁõÐÇ <liuxing在nanjing-fnst.com> wrote: ºÇºÇ£¬pygtk tutorialµÄÎĵµ£¬ÎÒÔø¾È«ÎÄ·ÒëÁË£¬²¢ÇÒ¸ÃÊéËùÉæ¼°µÄËùÓпؼþ£¬ÎÒ¶¼³¢ÊÔʹÓùýÁË£¬¿Éϧһֱûʱ¼ä°ÑÎҵıʼÇÕûÀí³ÉÎĵµ£¬°¦¡£²»¹ýÓÐʲôÎÊÌ⣬¿ÉÒÔ°ÚÉÏÀ´£¬ÎÒÃÇÌÖÂÛÌÖÂÛ¡£ ÕæµÄÂ𣿿´µ½×ÄľÄñÉÏÓв¿·ÖµÄ·Ò룬ϣÍûÄÜÔçÈÕÍê³É¡£ ÎÒ¾õµÃ reference µÄ×÷Óøü´ó¡£½çÃæÈÝÒ×ÁË£¬Ôõô¿ØÖƾͳÉÁË×îÖØÒªµÄÎÊÌâÁË¡£ Äã·ÒëµÄÎĵµÄÜ·¢¸øÎÒÒ»·ÝÂ𣿲ݸåÒ²ÐУ¬Ð»Ð»£¡ ------------------------------------------------------------------------------ _______________________________________________ python-chinese Post: send python-chinese在lists.python.cn Subscribe: send subscribe to python-chinese-request在lists.python.cn Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn Detail Info: http://python.cn/mailman/listinfo/python-chinese -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/720cc0f0/attachment.htm
2007年01月05日 星期五 18:01
On 1/5/07, ÁõÐÇ <liuxing在nanjing-fnst.com> wrote: > > ºÇºÇ£¬ÎÒ¶¼ÊÇÓñʼǼÔÚ±¾×ÓÉϵģ¬ÕýÊÇÒòΪÕâÑù²ÅûÓÐÕûÀí³Éµç×ÓµÄÎĵµ£¬´òÒ»±éÌ«Âé·³ÁË£¬ºÇºÇ¡£²»¹ý£¬ÎÒ»á³éʱ¼äÕûÀíÒ»²¿·Ö³öÀ´£¬ÕûÀíºÃÁ˾ͷ¢¡£ > Thank you ! -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/b2fa5868/attachment.html
2007年01月05日 星期五 21:06
pygtk应该更适合linux下开发,因为它所依赖的环境gtk+在linux几乎是必装(特别是基于gnome的系统),即便是wxgtk,还是需要gtk+ 但在windows下,则稍微麻烦点,得另外装一个gtk+,比起wxpython来太庞大了(我装有一个,整个目录要30多M) 在07-1-5,vcc <vcc在163.com> 写道: > > gtk本来最大的问题就是在windows下界面难看, 但是最新版本的已经大大改进了, 看起来也相当漂亮, 我放了一些贴图在我的BLOG: > http://blog.donews.com/vcc_cn/archive/2007/01/05/1108626.aspx > gtk+ 2.10.6 的windows的theme libwimp.dll有一个小bug, 设置系统字体有问题, 界面会有点丑和慢, 我改了一下: > bug in func sys_font_to_pango_font in libwimp, get_family_name after > release hDC, so get_family_name return error, need move to before release > hDC. > > -- 茫茫人海,你是我的最爱 -------------- 下一部分 -------------- 一个HTML附件被移除... URL: http://python.cn/pipermail/python-chinese/attachments/20070105/8a9c014c/attachment.html
2007年01月06日 星期六 14:48
是有点大, 精简的大概有10MB, 压缩后有4MB, 还行. 不过就可以拥有gtk的一切好处, linux下也一样OK, 不用学2样东西, 还是值. ----- Original Message ----- From: 大熊 To: python-chinese at lists.python.cn Sent: Friday, January 05, 2007 9:06 PM Subject: Re: [python-chinese] 有没有用pygtk的? pygtk应该更适合linux下开发,因为它所依赖的环境gtk+在linux几乎是必装(特别是基于gnome的系统),即便是wxgtk,还是需要gtk+ 但在windows下,则稍微麻烦点,得另外装一个gtk+,比起wxpython来太庞大了(我装有一个,整个目录要30多M) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20070106/b7252767/attachment.html
2007年01月06日 星期六 16:51
wxpytyon相比呢? vcc wrote: > gtk本来最大的问题就是在windows下界面难看, 但是最新版本的已经大大改进 > 了, 看起来也相当漂亮, 我放了一些贴图在我的BLOG: > http://blog.donews.com/vcc_cn/archive/2007/01/05/1108626.aspx > gtk+ 2.10.6 的windows的theme libwimp.dll有一个小bug, 设置系统字体有问 > 题, 界面会有点丑和慢, 我改了一下: > bug in func sys_font_to_pango_font in libwimp, get_family_name after > release hDC, so get_family_name return error, need move to before > release hDC. > > msw_style.c msw_style.c.cvs > 465,468d464 > < font = get_family_name (&lf;, hDC); > < if(!(font && *font)) > < return NULL; > < > 477a474,477 > > font = get_family_name (&lf;, hDC); > > if(!(font && *font)) > > return NULL; > > > 如果需要编译好的dll可以发邮件给我, gtk在windows下的编译是比较麻烦的. > 个人比较喜欢pygtk, 感觉设计更好一些, 文档也更丰富明了. 最近在用pygtk写 > 东西, 希望可以和同好交流交流. > Vcc > _ > MSN:vcc在163.com > BLOG:http://blog.donews.com/vcc_cn > <http://blog.donews.com/vcc_cn/archive/2007/01/05/1108626.aspx> > ------------------------------------------------------------------------ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese
Zeuux © 2025
京ICP备05028076号