473,378 Members | 1,175 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Custom widgets

I want to build some basic kid games for Linux (Ubuntu/EdUbuntu) and
so after looking around I've decided that Python would probably be the
path of least resistance.

I have a need to create custom gui elements (widgets?). I want these
games to be very graphical. Not 3d or anything crazy, I just want them
to look fun and so the buttons and things will all need to be custom.
For instance, I might have spaceship or alien shaped buttons and the
background of my window might be a photo of a galaxy. Make sense?

So I've started looking at Tkinter, and PyGTK but I don't want to get
too deep without knowing if they'll work for me. Do either of these
toolkits provide the ability to create custom widgets? Is there
something else I should be looking at instead? I'm not concerned with
cross platform compatibility, I just want to use something that will
be readily available in your average Ubuntu install.

Thanks!

Dana

Feb 4 '08 #1
1 1249
Whiplash wrote:
I want to build some basic kid games for Linux (Ubuntu/EdUbuntu) and
so after looking around I've decided that Python would probably be the
path of least resistance.

I have a need to create custom gui elements (widgets?). I want these
games to be very graphical. Not 3d or anything crazy, I just want them
to look fun and so the buttons and things will all need to be custom.
For instance, I might have spaceship or alien shaped buttons and the
background of my window might be a photo of a galaxy. Make sense?

So I've started looking at Tkinter, and PyGTK but I don't want to get
too deep without knowing if they'll work for me. Do either of these
toolkits provide the ability to create custom widgets? Is there
something else I should be looking at instead? I'm not concerned with
cross platform compatibility, I just want to use something that will
be readily available in your average Ubuntu install.
Maybe using pygame is the better alternative. You don't have widgets there,
but an event-system + all rendering capabilities you can thing of.
Applications like FrozenBubble (which is written in Perl, but also based on
the SDL as pygame is) show off the power of this approach.

AFAIK there are even simple GUI-toolkits on top of pygame available.

Diez
Feb 4 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: William Gill | last post by:
I am trying to create a Python UI in Tkinter and have several (frame) widgets that display various data fields. I am trying to create a 'changed' event that each widget can trigger when they have...
1
by: Jeff S | last post by:
I'm storing a list of widgets in a database. The list changes infrequently (twice per week at most), and is relatively short (200 items at most, with very little detail per item). A small subset of...
10
by: jubei | last post by:
I've been trying to write a custom widget for a project, however when i try to run code that uses it i get the following error > ./nokiagui.py Traceback (most recent call last): File...
5
by: Joe P. Cool | last post by:
So far I have a little experience with Tkinter and wxPython. I wonder which of the numerous Python GUI kits would be the best choice for a multi platform application that makes heavy use of custom...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.