Article Preview
Buy Now
| Print: | |
| PDF: |
Beyond the Limits
A GUI designer
Issue: 3.4 (March/April 2005)
Author: Didier Barbas
Author Bio: Didier has been a dilettante programmer and linguist for more than 20 years. Unusual for a Frenchman, he speaks 11 languages, including Korean and PowerPC machine-language.
Article Description: No description available.
Article Length (in bytes): 3,360
Starting Page Number: 46
RBD Number: 3421
Resource File(s):
3421.sit Updated: Tuesday, March 15, 2005 at 7:47 PM
3421.zip Updated: Tuesday, March 15, 2005 at 7:47 PM
Related Link(s): None
Known Limitations: None
Excerpt of article text...
Following up on my last two articles on "using RB to make Python GUI apps" (a weak pretext to play with IPC sockets), I came up with the idea of using RB to make "native" GUI applications in Python. After tinkering around quite a bit, I found the best solution, I think, which was before my eyes all along: use RB's IDE!
Objectives
Although programming in Python can be picked up very quickly, and command-line scripts can be hacked in no-time, full-fledged applications, especially those that require a GUI, need a lot of attention. I prefer to devote my limited attention span to coding rather than tinkering with listboxes and pushbuttons. RB protects me from such nonsense, and all programming languages should have a similar IDE.
Recently the need (contract work) cropped up for a GUI'ed application in Python. I wasn't amused, and started playing with options that would produce the GUI for me. Here's what I got, and how I got it.
Building a minimal IDE in RB
This is something that is reasonably doable. A floating palette containing a few GUI elements, click, drag and drop, manipulate canvas objects that look like pushbuttons and listboxes and checkboxes, and so on. Some effort is required, but you can get something that works more or less. However, that's a lot of time to spend in order to mimic RB's own IDE.
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.
|








