我如何实际进入GUI编程? [英] How do I actually get somewhere in GUI programming?

查看:119
本文介绍了我如何实际进入GUI编程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名本科生。几年前我在学校接触过基本编程。到目前为止,我已经了解了核心Java,核心Python和基本的C和C ++。

I am an undergraduate student. I was exposed to basic programming couple of years back in school. Till now I have an understanding of Core Java, Core Python and basic C and C++.

每次我开始使用一些GUI编程,以便我可以从在我的项目中,我对于要完成的数量,要学习的API,MVC架构以及程序员谈论的所有内容,事件处理等等感到困惑。

Every time I start off with some GUI programming so as I can start off with a project of mine, I get boggled by the sheer amount which is to be done, API to be learnt, MVC architecture and everything programmers talk about, event handling etc etc.

研究了awt并挥了一会儿。试过Qt和Gtk的手,找不到太多的文档。试图理解pygame。我最终在同一个地方,知道核心语言。

Studied awt and swings for a while. Tried my hands on Qt and Gtk, could not find much of documentation. Tried to make sense of pygame. I end up at the same place, knowing the core language.

我的zenwalk上的Tkinter Linux已经坏了,所以我买了一本关于python的书,Tkinter解释说它永远不会启动它。

Tkinter on my zenwalk Linux is broken so could never start it athough I own a book on python with Tkinter explained.

但我最终只是对语言的基本理解而在同一个地方。

But I end up at the same place, with just the basic understanding of the language.

旺旺重新开始,现在认真。我想选择python。我应该如何研究GUI编程?

Want to start over, seriously now. I would like to choose python. How should I go about studying GUI programming?

我需要一些互联网资源和方向,以便我不会在同一个地方结束!

I need some Internet resources and direction so that I don't end up at the same place!

推荐答案

因为听起来你想要Python GUI编程,我可以建议 PyGTK

Since it sounds like you want Python GUI programming, may I suggest PyGTK?

对于那些了解Python并希望从一些基本的GUI应用程序开始的人来说,这可能是一个非常好的起点。 GTK有时很复杂,但有了PyGTK,你可以学习很多开源示例应用程序,从简单到复杂。

That's probably a pretty good place to start for someone who knows Python and would like to start small on some basic GUI apps. GTK can be complex at times, but with PyGTK there's plenty of open-source example apps you can study, from simple to complex.

编辑:本教程似乎非常有用。

This tutorial from LinuxJournal seems pretty helpful.

编辑2:这是 PyGTK网站上的教程,以及我从谷歌随机发现的另一个教程(好像是整篇博客对你想做的事情非常有用,实际上)。最后,此页面底部的代码段可能对Ubuntu论坛提供帮助。

Edit 2: Here's the tutorial from PyGTK's site, and another tutorial I randomly found from Google (seems like that whole blog is pretty useful for what you want to do, actually). Finally, the snippet at the bottom of this page might be helpful, courtesy of Ubuntu's forums.

这篇关于我如何实际进入GUI编程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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