469,363 Members | 2,560 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,363 developers. It's quick & easy.

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 2587
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Bryan Parkoff | last post: by
10 posts views Thread by ma740988 | last post: by
7 posts views Thread by | last post: by
19 posts views Thread by Chocawok | last post: by
2 posts views Thread by John | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.