473,398 Members | 2,389 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,398 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*
amitsaha.in.googlepages.com

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

Send instant messages to your online friends http://in.messenger.yahoo.com
Nov 20 '06 #1
1 2682
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.

Rob.
--
http://www.victim-prime.dsl.pipex.com/
Nov 20 '06 #2

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

Similar topics

13
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 called CMemory and CMPU. They are the sub-classes....
10
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 (get/set) member functions can be viewed as a 'design...
7
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 create objects. My understanding is that creating...
0
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 . For example: public class ExecQuest :...
14
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 Forms("TestForm").Controls Do stuff Next End Sub
19
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 map and knows how to draw itself etc. The...
2
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 look at a form with the control on, instead of...
2
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 many relationship. I would like to create...
3
weaknessforcats
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 instance must have a single global point of access. That...
5
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 std::ptr_fun(free_function) or a functor. Now since it's...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.