Need help in designing a GUI , have a bit knowledge on wxpython

Hi everyone,
I know some part of programming in wxpython, now i need some help in designing a GUI which should be capable running and
displaying a realtime data or a continous input continously. In short my GUI should be able to run without crashing continously.

Please some one guide me in giving some guidance on how can we do so in python and what datastructures like textCntrol etc to
be used.
Thanking you all in advance for your concern.
Hope some one will show me a small flame which will lead my way.

Thanks again all and please do tolerate if any mistakes from my side and thus guide me of how to rectify my mistakes if any.

Thanks ,
Anil ph

···

Hi Anil,

Hi everyone,
I know some part of programming in wxpython, now i need some help in designing a GUI which should be capable running and
displaying a realtime data or a continous input continously.

You’ll need to be more specific as to what you want to display. Is this a continually updating plot or something like that? (If so, you could embed matplotlib into wxPython).

In short my GUI should be able to run without crashing continously.

That would be good, yes. :smiley:

Please some one guide me in giving some guidance on how can we do so in python and what datastructures like textCntrol etc to
be used.
Thanking you all in advance for your concern.

I’m sure people will be happy to help you once you provide some detailed information about what you want to do. But first, check out the wxPython demo (which you download from the wxPython page) and see all the widgets you could use for what you need. That will give you a good idea of what’s possible with existing widgets–which is a lot. Then later you may have focused questions for the list.

Che

···

On Sat, Jul 24, 2010 at 9:53 AM, Anil Sharma ph.anilsharma@gmail.com wrote:

Thanks Che for your immediate reply , i would like to update continous plot as well as text listing output continously in a textControl or any other datastructure which will support continous data updation on it.I am also worried about if we continously update an output in a textcontrol will there be any problem like buffer overrun in the Textcontrol… Hope i have made my posting a bit clearer.Please do suggest me if my posting still is not much clear.i will try to make it more clearer.

And i have lucid ubuntu, and i have installed wxPython using command line, can you please guide me where can i find the demo.
will wxpython can do my work … this is also another doubt in my head…please tolerate me if i have asked many illogical thinks, i am just a beginner in python and wxPython.

Thanks again.
Anil ph

···

On Sat, Jul 24, 2010 at 8:14 PM, C M cmpython@gmail.com wrote:

Hi Anil,

On Sat, Jul 24, 2010 at 9:53 AM, Anil Sharma ph.anilsharma@gmail.com wrote:

Hi everyone,
I know some part of programming in wxpython, now i need some help in designing a GUI which should be capable running and
displaying a realtime data or a continous input continously.

You’ll need to be more specific as to what you want to display. Is this a continually updating plot or something like that? (If so, you could embed matplotlib into wxPython).

In short my GUI should be able to run without crashing continously.

That would be good, yes. :smiley:

Please some one guide me in giving some guidance on how can we do so in python and what datastructures like textCntrol etc to
be used.
Thanking you all in advance for your concern.

I’m sure people will be happy to help you once you provide some detailed information about what you want to do. But first, check out the wxPython demo (which you download from the wxPython page) and see all the widgets you could use for what you need. That will give you a good idea of what’s possible with existing widgets–which is a lot. Then later you may have focused questions for the list.

Che

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

[[ NOTE: This group prefers bottom-posting. See Top Posting and Bottom Posting and Why is Bottom-posting better than Top-posting ]]

Thanks Che for your immediate reply , i would like to update continous
plot as well as text listing output continously in a textControl or any
other datastructure which will support continous data updation on it.I
am also worried about if we continously update an output in a
textcontrol will there be any problem like buffer overrun in the
Textcontrol...

Yes, there are limits on the size of the content that a wx.TextCtrl can hold, however if you use one of the wx.TE_RICH style flags you will probably run out of memory before you reach it. Also, after there is a certain (large) amount of data in the ctrl then the update speed will likely get slower and slower... Probably a better approach would be to just display the last N lines either in a wx.ListCtrl or a custom read-only widget that is able to draw text from a list. Then once you reach your max number of lines you just remove some from the start when adding new lines to the end and then tell the widget to refresh.

Hope i have made my posting a bit clearer.Please do
suggest me if my posting still is not much clear.i will try to make it
more clearer.
And i have lucid ubuntu, and i have installed wxPython using command
line, can you please guide me where can i find the demo.

It should be in the wx-examples package, or you can get it from the wxPython web site (although if you have 2.8.10.1 installed then you'll need to go back to that version of the demo too because of some incompatible changes in the wx.lib.agw APIs.)

will wxpython can do my work ...

Probably, unless you need a super high rate of data processing and display refresh.

this is also another doubt in my
head..please tolerate me if i have asked many illogical thinks, i am
just a beginner in python and wxPython.

http://wiki.wxpython.org/How_to_Learn_wxPython

···

On 7/24/10 7:58 AM, Anil Sharma wrote:

--
Robin Dunn
Software Craftsman

Thanks robin for the reply,
I have learnt a bit of wxpython like sizers,subprocess and a bit of threading… will it be possible that wxpython can solve my requirement.Is this that wxpython can be use for the realtime GUI application system like signal capturing and also updating in realtime environment.Also my system is to run for a very long period of time … like it is to be continously running capturing information like we have in atmospheric study softwares where we have to make the system running always.Please do kindly help me out from my doubts and problem.

Thanks in advance ,
regards,
Anil ph

···

On Tue, Jul 27, 2010 at 12:41 AM, Robin Dunn robin@alldunn.com wrote:

[[ NOTE: This group prefers bottom-posting. See http://idallen.com/topposting.html and http://www.caliburn.nl/topposting.html ]]

On 7/24/10 7:58 AM, Anil Sharma wrote:

Thanks Che for your immediate reply , i would like to update continous

plot as well as text listing output continously in a textControl or any

other datastructure which will support continous data updation on it.I

am also worried about if we continously update an output in a

textcontrol will there be any problem like buffer overrun in the

Textcontrol…

Yes, there are limits on the size of the content that a wx.TextCtrl can hold, however if you use one of the wx.TE_RICH style flags you will probably run out of memory before you reach it. Also, after there is a certain (large) amount of data in the ctrl then the update speed will likely get slower and slower… Probably a better approach would be to just display the last N lines either in a wx.ListCtrl or a custom read-only widget that is able to draw text from a list. Then once you reach your max number of lines you just remove some from the start when adding new lines to the end and then tell the widget to refresh.

Hope i have made my posting a bit clearer.Please do

suggest me if my posting still is not much clear.i will try to make it

more clearer.

And i have lucid ubuntu, and i have installed wxPython using command

line, can you please guide me where can i find the demo.

It should be in the wx-examples package, or you can get it from the wxPython web site (although if you have 2.8.10.1 installed then you’ll need to go back to that version of the demo too because of some incompatible changes in the wx.lib.agw APIs.)

will wxpython can do my work …

Probably, unless you need a super high rate of data processing and display refresh.

this is also another doubt in my

head…please tolerate me if i have asked many illogical thinks, i am

just a beginner in python and wxPython.

http://wiki.wxpython.org/How_to_Learn_wxPython

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Do you want an interactive GUI or only a graphical display output ?
From what you have written it seems that you want just a continually
changing display output.

A simple hand drawn sketch done with something like Paint in MS
Windows or its equivalents on MACs or *nix platforms would go a long
way to describe just what it is you want. From that drawing very
specific suggestions can be made.

Ray Pasco

···

On Jul 26, 4:07 pm, Anil Sharma <ph.anilsha...@gmail.com> wrote:

Thanks robin for the reply,
I have learnt a bit of wxpython like sizers,subprocess and a bit of
threading... will it be possible that wxpython can solve my requirement.Is
this that wxpython can be use for the realtime GUI application system like
signal capturing and also updating in realtime environment.Also my system is
to run for a very long period of time ... like it is to be continously
running capturing information like we have in atmospheric study softwares
where we have to make the system running always.Please do kindly help me out
from my doubts and problem.

Thanks in advance ,
regards,
Anil ph

On Tue, Jul 27, 2010 at 12:41 AM, Robin Dunn <ro...@alldunn.com> wrote:
> [[ NOTE: This group prefers bottom-posting. See
>http://idallen.com/topposting.htmland
>http://www.caliburn.nl/topposting.html\]]

> On 7/24/10 7:58 AM, Anil Sharma wrote:

>> Thanks Che for your immediate reply , i would like to update continous
>> plot as well as text listing output continously in a textControl or any
>> other datastructure which will support continous data updation on it.I
>> am also worried about if we continously update an output in a
>> textcontrol will there be any problem like buffer overrun in the
>> Textcontrol...

> Yes, there are limits on the size of the content that a wx.TextCtrl can
> hold, however if you use one of the wx.TE_RICH style flags you will probably
> run out of memory before you reach it. Also, after there is a certain
> (large) amount of data in the ctrl then the update speed will likely get
> slower and slower... Probably a better approach would be to just display
> the last N lines either in a wx.ListCtrl or a custom read-only widget that
> is able to draw text from a list. Then once you reach your max number of
> lines you just remove some from the start when adding new lines to the end
> and then tell the widget to refresh.

> Hope i have made my posting a bit clearer.Please do
>> suggest me if my posting still is not much clear.i will try to make it
>> more clearer.
>> And i have lucid ubuntu, and i have installed wxPython using command
>> line, can you please guide me where can i find the demo.

> It should be in the wx-examples package, or you can get it from the
> wxPython web site (although if you have 2.8.10.1 installed then you'll need
> to go back to that version of the demo too because of some incompatible
> changes in the wx.lib.agw APIs.)

> will wxpython can do my work ...

> Probably, unless you need a super high rate of data processing and display
> refresh.

> this is also another doubt in my
>> head..please tolerate me if i have asked many illogical thinks, i am
>> just a beginner in python and wxPython.

>How to Learn wxPython - wxPyWiki

> --
> Robin Dunn
> Software Craftsman
>http://wxPython.org

> --
> To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com<wxPython-users%2Bunsubscribe@googlegroups.com>
> or visithttp://groups.google.com/group/wxPython-users?hl=en

Hi wincrazy,
Thanks for your suggestion , i am posting a simple layout as an attachment, please do find the layout and guide me if we can do
like this.In the layout , A is a textcontrol and i want A to display captured realtime signals as a listing without any formating, it will be displayed through execution of another file using subprocess.Now B and C has to have a grid properties where i can click on each row and catch the event on each row.And moreover B and C will also be retreived from executing another file.

This is my idea of my layout.Please do guide me if my post is still not a bit clear.

Thanks for ur concern.
Anil ph

···

On Tue, Jul 27, 2010 at 5:20 AM, WinCrazy pascor@verizon.net wrote:

Do you want an interactive GUI or only a graphical display output ?

From what you have written it seems that you want just a continually

changing display output.

A simple hand drawn sketch done with something like Paint in MS

Windows or its equivalents on MACs or *nix platforms would go a long

way to describe just what it is you want. From that drawing very

specific suggestions can be made.

Ray Pasco

On Jul 26, 4:07 pm, Anil Sharma ph.anilsha...@gmail.com wrote:

Thanks robin for the reply,

I have learnt a bit of wxpython like sizers,subprocess and a bit of

threading… will it be possible that wxpython can solve my requirement.Is

this that wxpython can be use for the realtime GUI application system like

signal capturing and also updating in realtime environment.Also my system is

to run for a very long period of time … like it is to be continously

running capturing information like we have in atmospheric study softwares

where we have to make the system running always.Please do kindly help me out

from my doubts and problem.

Thanks in advance ,

regards,

Anil ph

On Tue, Jul 27, 2010 at 12:41 AM, Robin Dunn ro...@alldunn.com wrote:

[[ NOTE: This group prefers bottom-posting. See

http://idallen.com/topposting.htmland

http://www.caliburn.nl/topposting.html]]

On 7/24/10 7:58 AM, Anil Sharma wrote:

Thanks Che for your immediate reply , i would like to update continous

plot as well as text listing output continously in a textControl or any

other datastructure which will support continous data updation on it.I

am also worried about if we continously update an output in a

textcontrol will there be any problem like buffer overrun in the

Textcontrol…

Yes, there are limits on the size of the content that a wx.TextCtrl can

hold, however if you use one of the wx.TE_RICH style flags you will probably

run out of memory before you reach it. Also, after there is a certain

(large) amount of data in the ctrl then the update speed will likely get

slower and slower… Probably a better approach would be to just display

the last N lines either in a wx.ListCtrl or a custom read-only widget that

is able to draw text from a list. Then once you reach your max number of

lines you just remove some from the start when adding new lines to the end

and then tell the widget to refresh.

Hope i have made my posting a bit clearer.Please do

suggest me if my posting still is not much clear.i will try to make it

more clearer.

And i have lucid ubuntu, and i have installed wxPython using command

line, can you please guide me where can i find the demo.

It should be in the wx-examples package, or you can get it from the

wxPython web site (although if you have 2.8.10.1 installed then you’ll need

to go back to that version of the demo too because of some incompatible

changes in the wx.lib.agw APIs.)

will wxpython can do my work …

Probably, unless you need a super high rate of data processing and display

refresh.

this is also another doubt in my

head…please tolerate me if i have asked many illogical thinks, i am

just a beginner in python and wxPython.

http://wiki.wxpython.org/How_to_Learn_wxPython

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.comwxPython-users%2Bunsubscribe@googlegroups.com

or visithttp://groups.google.com/group/wxPython-users?hl=en

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Your attachment doesn't have an extension type appended to the
filename it, but it's readable.

The whole page is a grid. Are the individual "grid controls" separate
inner grid controls, too ?

Many very different controls are "clickable". What do the "clickable"
items do when clicked ?

Is the TextControl interactive ?

···

On Jul 27, 8:16 am, Anil Sharma <ph.anilsha...@gmail.com> wrote:

Hi wincrazy,
Thanks for your suggestion , i am posting a simple layout as an attachment,
please do find the layout and guide me if we can do
like this.In the layout , A is a textcontrol and i want A to display
captured realtime signals as a listing without any formating, it will be
displayed through execution of another file using subprocess.Now B and C has
to have a grid properties where i can click on each row and catch the event
on each row.And moreover B and C will also be retreived from executing
another file.

This is my idea of my layout.Please do guide me if my post is still not a
bit clear.

Thanks for ur concern.
Anil ph

On Tue, Jul 27, 2010 at 5:20 AM, WinCrazy <pas...@verizon.net> wrote:
> Do you want an interactive GUI or only a graphical display output ?
> From what you have written it seems that you want just a continually
> changing display output.

> A simple hand drawn sketch done with something like Paint in MS
> Windows or its equivalents on MACs or *nix platforms would go a long
> way to describe just what it is you want. From that drawing very
> specific suggestions can be made.

> Ray Pasco

> On Jul 26, 4:07 pm, Anil Sharma <ph.anilsha...@gmail.com> wrote:
> > Thanks robin for the reply,
> > I have learnt a bit of wxpython like sizers,subprocess and a bit of
> > threading... will it be possible that wxpython can solve my
> requirement.Is
> > this that wxpython can be use for the realtime GUI application system
> like
> > signal capturing and also updating in realtime environment.Also my system
> is
> > to run for a very long period of time ... like it is to be continously
> > running capturing information like we have in atmospheric study softwares
> > where we have to make the system running always.Please do kindly help me
> out
> > from my doubts and problem.

> > Thanks in advance ,
> > regards,
> > Anil ph

> > On Tue, Jul 27, 2010 at 12:41 AM, Robin Dunn <ro...@alldunn.com> wrote:
> > > [[ NOTE: This group prefers bottom-posting. See
> > >http://idallen.com/topposting.htmland
> > >http://www.caliburn.nl/topposting.html\]]

> > > On 7/24/10 7:58 AM, Anil Sharma wrote:

> > >> Thanks Che for your immediate reply , i would like to update
> continous
> > >> plot as well as text listing output continously in a textControl or
> any
> > >> other datastructure which will support continous data updation on it.I
> > >> am also worried about if we continously update an output in a
> > >> textcontrol will there be any problem like buffer overrun in the
> > >> Textcontrol...

> > > Yes, there are limits on the size of the content that a wx.TextCtrl can
> > > hold, however if you use one of the wx.TE_RICH style flags you will
> probably
> > > run out of memory before you reach it. Also, after there is a certain
> > > (large) amount of data in the ctrl then the update speed will likely
> get
> > > slower and slower... Probably a better approach would be to just
> display
> > > the last N lines either in a wx.ListCtrl or a custom read-only widget
> that
> > > is able to draw text from a list. Then once you reach your max number
> of
> > > lines you just remove some from the start when adding new lines to the
> end
> > > and then tell the widget to refresh.

> > > Hope i have made my posting a bit clearer.Please do
> > >> suggest me if my posting still is not much clear.i will try to make it
> > >> more clearer.
> > >> And i have lucid ubuntu, and i have installed wxPython using command
> > >> line, can you please guide me where can i find the demo.

> > > It should be in the wx-examples package, or you can get it from the
> > > wxPython web site (although if you have 2.8.10.1 installed then you'll
> need
> > > to go back to that version of the demo too because of some incompatible
> > > changes in the wx.lib.agw APIs.)

> > > will wxpython can do my work ...

> > > Probably, unless you need a super high rate of data processing and
> display
> > > refresh.

> > > this is also another doubt in my
> > >> head..please tolerate me if i have asked many illogical thinks, i am
> > >> just a beginner in python and wxPython.

> > >How to Learn wxPython - wxPyWiki

> > > --
> > > Robin Dunn
> > > Software Craftsman
> > >http://wxPython.org

> > > --
> > > To unsubscribe, send email to
> wxPython-users+unsubscribe@googlegroups.com<wxPython-users%2Bunsubscribe@googlegroups.com>
> <wxPython-users%2Bunsubscribe@googlegroups.com<wxPython-users%252Bunsubscribe@googlegroups.com>

> > > or visithttp://groups.google.com/group/wxPython-users?hl=en

> --
> To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com<wxPython-users%2Bunsubscribe@googlegroups.com>
> or visithttp://groups.google.com/group/wxPython-users?hl=en

likethis
14KViewDownload

The thing is that the table in the layout contains text control on the left side and the right side cloumn are grids, evn i dont know how i should implement that.Still what i want is to make the thing like that , and onclick of any item in the row of the grid should update produce me some information specific to the row.For example, if row is listing names then whn i click on it , it should display me the corresponding info of the person.And sorry for the file extension , i ll sent you extra more file extension next time.332.gif

Thanks for ur concern.Please do ask me any doubt if i my post is still a bit confusing.
Thanks,

Anil ph

···

On Tue, Jul 27, 2010 at 9:31 PM, WinCrazy pascor@verizon.net wrote:

Your attachment doesn’t have an extension type appended to the

filename it, but it’s readable.

The whole page is a grid. Are the individual “grid controls” separate

inner grid controls, too ?

Many very different controls are “clickable”. What do the “clickable”

items do when clicked ?

Is the TextControl interactive ?

On Jul 27, 8:16 am, Anil Sharma ph.anilsha...@gmail.com wrote:

Hi wincrazy,

Thanks for your suggestion , i am posting a simple layout as an attachment,

please do find the layout and guide me if we can do

like this.In the layout , A is a textcontrol and i want A to display

captured realtime signals as a listing without any formating, it will be

displayed through execution of another file using subprocess.Now B and C has

to have a grid properties where i can click on each row and catch the event

on each row.And moreover B and C will also be retreived from executing

another file.

This is my idea of my layout.Please do guide me if my post is still not a

bit clear.

Thanks for ur concern.

Anil ph

On Tue, Jul 27, 2010 at 5:20 AM, WinCrazy pas...@verizon.net wrote:

Do you want an interactive GUI or only a graphical display output ?

From what you have written it seems that you want just a continually

changing display output.

A simple hand drawn sketch done with something like Paint in MS

Windows or its equivalents on MACs or *nix platforms would go a long

way to describe just what it is you want. From that drawing very

specific suggestions can be made.

Ray Pasco

On Jul 26, 4:07 pm, Anil Sharma ph.anilsha...@gmail.com wrote:

Thanks robin for the reply,

I have learnt a bit of wxpython like sizers,subprocess and a bit of

threading… will it be possible that wxpython can solve my

requirement.Is

this that wxpython can be use for the realtime GUI application system

like

signal capturing and also updating in realtime environment.Also my system

is

to run for a very long period of time … like it is to be continously

running capturing information like we have in atmospheric study softwares

where we have to make the system running always.Please do kindly help me

out

from my doubts and problem.

Thanks in advance ,

regards,

Anil ph

On Tue, Jul 27, 2010 at 12:41 AM, Robin Dunn ro...@alldunn.com wrote:

[[ NOTE: This group prefers bottom-posting. See

http://idallen.com/topposting.htmland

http://www.caliburn.nl/topposting.html]]

On 7/24/10 7:58 AM, Anil Sharma wrote:

Thanks Che for your immediate reply , i would like to update

continous

plot as well as text listing output continously in a textControl or

any

other datastructure which will support continous data updation on it.I

am also worried about if we continously update an output in a

textcontrol will there be any problem like buffer overrun in the

Textcontrol…

Yes, there are limits on the size of the content that a wx.TextCtrl can

hold, however if you use one of the wx.TE_RICH style flags you will

probably

run out of memory before you reach it. Also, after there is a certain

(large) amount of data in the ctrl then the update speed will likely

get

slower and slower… Probably a better approach would be to just

display

the last N lines either in a wx.ListCtrl or a custom read-only widget

that

is able to draw text from a list. Then once you reach your max number

of

lines you just remove some from the start when adding new lines to the

end

and then tell the widget to refresh.

Hope i have made my posting a bit clearer.Please do

suggest me if my posting still is not much clear.i will try to make it

more clearer.

And i have lucid ubuntu, and i have installed wxPython using command

line, can you please guide me where can i find the demo.

It should be in the wx-examples package, or you can get it from the

wxPython web site (although if you have 2.8.10.1 installed then you’ll

need

to go back to that version of the demo too because of some incompatible

changes in the wx.lib.agw APIs.)

will wxpython can do my work …

Probably, unless you need a super high rate of data processing and

display

refresh.

this is also another doubt in my

head…please tolerate me if i have asked many illogical thinks, i am

just a beginner in python and wxPython.

http://wiki.wxpython.org/How_to_Learn_wxPython

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to

wxPython-users+unsubscribe@googlegroups.comwxPython-users%2Bunsubscribe@googlegroups.com

<wxPython-users%2Bunsubscribe@googlegroups.comwxPython-users%252Bunsubscribe@googlegroups.com

or visithttp://groups.google.com/group/wxPython-users?hl=en

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.comwxPython-users%2Bunsubscribe@googlegroups.com

or visithttp://groups.google.com/group/wxPython-users?hl=en

likethis

14KViewDownload

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

"... the table in the layout..."

What table ? You didn't mention any tables. Be consistent with your
terminology. What's the difference between a "grid" and a "table" ?

"... contains text controls on the left side and the right side column
are grids [in themselves ? or tables ?], and even I [don't know how
that should best be implemented.]"

It's too soon to worry about implementation.
Just concentrate on WHAT YOU WOULD LIKE it to do.

"Still, what I want is to make the thing like that ..."
""... text control on the left side and the right side column are
grids ..."

What is "the thing" ?

The whole page seems to be a grid, so concentrate on what each cell in
the page grid looks like and how it can interact (or simply display
fixed info) with the user.

"... and [clicking] any item in the row of the grid ..."

Do you really mean "clicking the entire row", or just clicking certain
individual cells on the row ?

"... should update produce me some information specific to the row.For
example, if [a] row is listing names, when [it is] click on it should
display the corresponding info of the person. And, sorry for the file
extension. I'll send you files with extensions next time.[?] "

Does a row in the page represent a person, or does a cell ?

You are going to have to break down every cell in the page grid and
describe exactly what its capabilities are. Description such as "when
i click on it , it should display the corresponding info of the
person" are much too vague. What do "persons" represent, that is,
what information is associated with each "person" ? Programming
languages don't have "person" attributes built into them - you are
going to have to define what information is stored in each person you
create. Don't worry about how this is done yet.

Welcome to the world of engineering design !

hi ,
sorry for the ambigious question , what i want is that the layout which i am trying to display the list of name are the signals captured from a device , and the layout should contain two controls textcontrol and grid on the on each half … its like the main layout should contain textcontrol and grid controls , i dont know how to do so… and the clickable row should give me another panel which will display the appropriate futher details associated with the row i clicked on…

Hope i have made a bit more clearer.
Thanking you for your assistance …

regards,
Anil ph

···

On Wed, Jul 28, 2010 at 1:43 AM, WinCrazy pascor@verizon.net wrote:

“… the table in the layout…”

What table ? You didn’t mention any tables. Be consistent with your

terminology. What’s the difference between a “grid” and a “table” ?

"… contains text controls on the left side and the right side column

are grids [in themselves ? or tables ?], and even I [don’t know how

that should best be implemented.]"

It’s too soon to worry about implementation.

Just concentrate on WHAT YOU WOULD LIKE it to do.

“Still, what I want is to make the thing like that …”

“”… text control on the left side and the right side column are

grids …"

What is “the thing” ?

The whole page seems to be a grid, so concentrate on what each cell in

the page grid looks like and how it can interact (or simply display

fixed info) with the user.

“… and [clicking] any item in the row of the grid …”

Do you really mean “clicking the entire row”, or just clicking certain

individual cells on the row ?

"… should update produce me some information specific to the row.For

example, if [a] row is listing names, when [it is] click on it should

display the corresponding info of the person. And, sorry for the file

extension. I’ll send you files with extensions next time.[?] "

Does a row in the page represent a person, or does a cell ?

You are going to have to break down every cell in the page grid and

describe exactly what its capabilities are. Description such as "when

i click on it , it should display the corresponding info of the

person" are much too vague. What do “persons” represent, that is,

what information is associated with each “person” ? Programming

languages don’t have “person” attributes built into them - you are

going to have to define what information is stored in each person you

create. Don’t worry about how this is done yet.

Welcome to the world of engineering design !

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

It's clear that you are trying to create a complex page without first
having learned how to create simpler pages.

You need to first learn what wx controls are available and what they
do. Download the wxPython demo package and look at every control
example in it.

Go to:

    http://www.wxpython.org/download.php

and download and install the appropriate pre-built binary package for
your particular platform.

It sounds like a wx.ListCtrl in report mode would work for you, that will be a bit simpler than using a Grid. You can use a wx.SplitterWindow to hold the textctrl and the listctrl, allowing both to be visible at the same time and the user can drag the middle sash to resize them.

However as has been mentioned, you will probably be much better off if you learn how to walk before you attempt to fly. Try doing some simple throwaway applications first to help you get to know how to use wxPython and what its capabilities are. Work up gradually to the application that you need to create.

···

On 7/28/10 6:20 AM, Anil Sharma wrote:

hi ,
  sorry for the ambigious question , what i want is that the layout
which i am trying to display the list of name are the signals captured
from a device , and the layout should contain two controls textcontrol
and grid on the on each half .... its like the main layout should
contain textcontrol and grid controls , i dont know how to do so....
and the clickable row should give me another panel which will display
the appropriate futher details associated with the row i clicked on....
Hope i have made a bit more clearer.
Thanking you for your assistance ..

--
Robin Dunn
Software Craftsman

Thanks for the suggestion, i have wxpython 2.6 and just learnt a bit of wxpython datastructure like textcontrol , grid and some of the layout management.Yes i do think my layout and GUI could be of a bit complicated, could you please guide me if how can i implement it.

Thanks for your reply.

regards,
Anil ph

···

On Wed, Jul 28, 2010 at 8:34 PM, WinCrazy pascor@verizon.net wrote:

It’s clear that you are trying to create a complex page without first

having learned how to create simpler pages.

You need to first learn what wx controls are available and what they

do. Download the wxPython demo package and look at every control

example in it.

Go to:

[http://www.wxpython.org/download.php](http://www.wxpython.org/download.php)

and download and install the appropriate pre-built binary package for

your particular platform.

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

Thanks, for your generous reply Robin, i have wxpython 2.6 and trying to learn wxpython by implementing things as experiments.can you please get me some information or tips where i can find such kind of examples or tutorial.I am trying to walk sincerely myself, hope you all will help me a bit to fly someday high so that i can contribute something to the forum and python.

Thanks for you concern all.
Anil ph

···

On Wed, Jul 28, 2010 at 10:16 PM, Robin Dunn robin@alldunn.com wrote:

On 7/28/10 6:20 AM, Anil Sharma wrote:

hi ,

sorry for the ambigious question , what i want is that the layout

which i am trying to display the list of name are the signals captured

from a device , and the layout should contain two controls textcontrol

and grid on the on each half … its like the main layout should

contain textcontrol and grid controls , i dont know how to do so…

and the clickable row should give me another panel which will display

the appropriate futher details associated with the row i clicked on…

Hope i have made a bit more clearer.

Thanking you for your assistance …

It sounds like a wx.ListCtrl in report mode would work for you, that will be a bit simpler than using a Grid. You can use a wx.SplitterWindow to hold the textctrl and the listctrl, allowing both to be visible at the same time and the user can drag the middle sash to resize them.

However as has been mentioned, you will probably be much better off if you learn how to walk before you attempt to fly. Try doing some simple throwaway applications first to help you get to know how to use wxPython and what its capabilities are. Work up gradually to the application that you need to create.


Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en

http://wiki.wxpython.org/How_to_Learn_wxPython

···

On 7/28/10 10:11 AM, Anil Sharma wrote:

Thanks, for your generous reply Robin, i have wxpython 2.6 and trying to
learn wxpython by implementing things as experiments.can you please get
me some information or tips where i can find such kind of examples or
tutorial.I am trying to walk sincerely myself, hope you all will help me
a bit to fly someday high so that i can contribute something to the
forum and python.

--
Robin Dunn
Software Craftsman

Thanks robin … take care, and i very much appreciate ur concern thou my post was a bit mind confusing and ambigous.
Thanks again for your effort in helping to solve my problem.i will step by step follow things and if any problem i ll ask you .

regards,
Anil ph

···

On Thu, Jul 29, 2010 at 1:43 AM, Robin Dunn robin@alldunn.com wrote:

On 7/28/10 10:11 AM, Anil Sharma wrote:

Thanks, for your generous reply Robin, i have wxpython 2.6 and trying to

learn wxpython by implementing things as experiments.can you please get

me some information or tips where i can find such kind of examples or

tutorial.I am trying to walk sincerely myself, hope you all will help me

a bit to fly someday high so that i can contribute something to the

forum and python.

http://wiki.wxpython.org/How_to_Learn_wxPython

Robin Dunn

Software Craftsman

http://wxPython.org

To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com

or visit http://groups.google.com/group/wxPython-users?hl=en