473,385 Members | 1,356 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,385 software developers and data experts.

List of Events in wxPython

What is that procedure for determining which events can be binded for a
particular widget? The docs don't seem to help. For example, how can I
know which events wx.SpinButton will send.

Thanks.
Dec 6 '06 #1
3 2808
hg
Jacksondf wrote:
What is that procedure for determining which events can be binded for a
particular widget? The docs don't seem to help. For example, how can I
know which events wx.SpinButton will send.

Thanks.
from the doc:

To process input from a spin button, use one of these event handler macros
to direct input to member functions that take a wxSpinEvent argument:
EVT_SPIN(id, func)
Generated whenever an arrow is pressed.
EVT_SPIN_UP(id, func)
Generated when left/up arrow is pressed.
EVT_SPIN_DOWN(id, func)
Generated when right/down arrow is pressed.
Note that if you handle both SPIN and UP or DOWN events, you will be
notified about each of them twice: first the UP/DOWN event will be
receieved and then, if it wasn't vetoed, the SPIN event will be sent. See
also

hg

Dec 6 '06 #2
Jacksondf wrote:
What is that procedure for determining which events can be binded for a
particular widget? The docs don't seem to help. For example, how can I
know which events wx.SpinButton will send.

Thanks.
Exactly which docs are you looking at? The wxPython docs have a link
that lists all the classes, just scroll down to that particular class
and it lists the events, like hg posted.
Dec 7 '06 #3
John wrote the following on 12/07/2006 09:39 AM:
Exactly which docs are you looking at? The wxPython docs have a link
that lists all the classes, just scroll down to that particular class
and it lists the events, like hg posted.
Strange. I was looking at:

http://www.wxpython.org/docs/api/wx....ton-class.html

And this page definitely does not show what hg posted. Apparently, I
should not refer to the wxPython specific docs, but instead go directly
to the original wx.

http://www.wxwidgets.org/manuals/2.6...pinbutton.html

My mistake.
Dec 12 '06 #4

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

Similar topics

3
by: Ziv Forshtat | last post by:
Hi All, I'm in the process of implementing a virtual keypad: I have a wxFrame which contains a photo the keypad of some device, and I'm using it to enter special keywords into an editor window...
2
by: Brent W. Hughes | last post by:
I'm running some code that takes a long time to finish. I would like the user to be able to do other things while it is running. It seems to me there is a function I can call to tell wxPython to...
3
by: mitsura | last post by:
Hi, I have included a small listing. The test program opens a panel and show a bitmap. What I want is to when the mouse is over the bitmap panel, I want to trap the left mouse click. The...
0
by: luc.saffre | last post by:
Hello, I thought that I should ask here for comments on a blog entry that I wrote some weeks ago. I am sure that other people have been thinking about this, but I didn't yet find them. The...
0
by: matt sib | last post by:
Hi all. I just upgraded to wxpython 2.7 Its way cool. However, in one of my apps, i have embedded a flash activex control. I have had it working great in wxpython 2.6. After i upgraded to 2.7,...
1
by: defireman | last post by:
Hi, Sorry for asking a newbie question, but I am currently using wxPython 2.6, and I don't know how to get the properties of an event object in wxPython when handling events. Is there some sort of...
1
by: Stef Mientki | last post by:
hello, All my posts to wxPython-users@lists.wxwidgets.org seems to be rejected since today ? Is there anything wrong with that list ? thanks, Stef Mientki
2
by: Oliver Nelson | last post by:
I have MapPoint working in Python, and I'm trying to cancel events on the map, but I can't seem to make that happen. I'm responding to the events successfully in my panel object. My code is like...
4
by: Jimmy | last post by:
hi, all I'm having a problem with creating custom events in wxpython. I have a class A handling some data processing work and another class B of GUI matter. I need GUI to display information...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.