472,353 Members | 2,041 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

GUI Design using BOA Constructor

Hi list!

I was designing a GUI App using BOA Constructor. I have designed the
User Interface.However I cannot figure out how do i add the event
handling code to the buttons and other controls

Please help.

Amit Saha
*A proud Ubuntero*

,--(_) | |
_/ ;-._\ | | |,-. | |,--. -+- | |
(_)( ) ) | | | | | || | | | |
\ ;-'_/ `--' `--' `--'' ' `- `--'
-hrr- `--(_)

Send instant messages to your online friends http://in.messenger.yahoo.com
Nov 20 '06 #1
1 2637
amit saha wrote in news:ma**************************************@pyth on.org
in comp.lang.python:
Hi list!

I was designing a GUI App using BOA Constructor. I have designed the
User Interface.However I cannot figure out how do i add the event
handling code to the buttons and other controls
Note the following is from using Boa on Windows, I presume its
the same on *nix but I've never tried it.

When you are editing your window/frame/dialog, select the item
you whan to add a handler too,

Then in the left hand pane (the "Inspector") select the events
("Evts") tab, at the top of this there are 2 lists if you select
something from the left (say "MouseEvent") you will get a list
on the right of all the events in this category that the control
can handle, double click on one to add a handler for that event.

Remeber to save you changes by clicking the tick button.

and now an empty event handler should have been added to the end
of the class Boa created for you.

To add menu events you need to be editing the menu in the Data
designer (a tab in the "Editor" panel when in Design mode).

Note that on Windows there is a green help icon on the top row of
the top panel, this opens a help file with a tutorial which is
probably worth going through.

Nov 20 '06 #2

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

Similar topics

by: Bryan Parkoff | last post by:
I have created three classes according to my own design. First class is called CMain. It is the Top Class. Second class and third class are...
by: ma740988 | last post by:
I'm hoping my post here doesn't fall into the 'hard to say' category, nonetheless I've been advised that multiple uses of accessor/mutator...
by: | last post by:
I have been trying to wrap my head around design patterns in c# and am very new to this. I do not understand the point of using factories to...
by: Ryan Liu | last post by:
I have a user control, it must set a property when it is just created, so I set it in its constructor, which has an parameter to specify the property...
by: Jan Nielsen | last post by:
Hi In Microsoft Access it is possible to write code like this Sub test() DoCmd.OpenForm "TestForm", acDesign Dim a As Control For Each a In...
by: Chocawok | last post by:
Some of the classes in my app are graphical. To encapsulate the graphical side of things I had created a class called "sprite" which holds a bit...
by: TerryStone | last post by:
I have created a control that displays a list of items. During design mode I fill it with junk data using calls from the constructor. So when I...
by: John | last post by:
Hi there, I am writing a simple program that will connect to database. Database has 2 tables, let's call them father and child. This is one to...
by: weaknessforcats | last post by:
Design Pattern: The Singleton Overview Use the Singleton Design Pattern when you want to have only one instance of a class. This single...
by: Fei Liu | last post by:
Hello, I have a situation where I need to design a library for multi-thread application, each thread does some work in a client supplied...
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.