By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,714 Members | 750 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,714 IT Pros & Developers. It's quick & easy.

GUI Design using BOA Constructor

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.