有什么办法可以在C程序中使用Tk [英] Is There Any Way To Use Tk In C Programs

查看:125
本文介绍了有什么办法可以在C程序中使用Tk的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我将python/Tk用于Python中的GUI程序.有什么方法可以在C程序中使用Tk?还是有C的其他GUI工具包.

预先感谢您的答复.

Recently i used python/Tk for a GUI program in Python. Is there any way to use Tk in C programs? or is there any other GUI toolkit for C.

Advance Thanks For Reply.

推荐答案

有很多方法可以在C中实现GUI:

1.使用Windows API
2.使用MFC
3. GTK
4. Qt
5. WxWidgets

There are plenty of ways of implementing a GUI in C:

1. Using Windows API
2. Using MFC
3. GTK
4. Qt
5. WxWidgets

Plenty of others too.


我也不知道传统知识,因此无法回答您的第一个问题.

但是,如果您在跨平台gui库中进行搜索,则会发现多个GUI库. (如果不需要跨平台,则可以根据需要在搜索词组中将跨平台"替换为"windows"或"linux").
I do not know TK and so cannot answer your first question.

However, if you do a search on cross platform gui library you will find several GUI Libraries. (If it doesn''t need to be cross-platform then simply replace ''cross platform'' by ''windows'' or ''linux'', as per your needs, in the search phrase).


这篇关于有什么办法可以在C程序中使用Tk的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆