Sage

I have tried to use the experimental package wxpython inside of sage

http://www.sagemath.org/packages/experimental/

but failed to have success. Has anyone succesfully use wxpython inside of sage?

Thanks!

-Adrian.

···

On Sun, Dec 5, 2010 at 2:04 AM, adrian <nihilalienumcredo@gmail.com> wrote:

Writing f.Show() after the creation of the button did solve the
problem, thanks Toni!

The explanation given by Robin does make a lot of sense. Here you can
see two screenshots of what I saw. They will be downloadable for a
brief while, but I do not know how to attach an image to this e-mail
from google-groups.

When it does not work:
http://dl.dropbox.com/u/529307/Screenshot.png

When it does
http://dl.dropbox.com/u/529307/Screenshot-1.png

After modifying the program and writing f.Show() after the creation of
the button:
http://dl.dropbox.com/u/529307/Screenshot-2.png

That was a very quick and thorough answer.
Thanks!!

Peace.
-Adrián

On Dec 3, 12:32 pm, Robin Dunn <ro...@alldunn.com> wrote:

On 12/3/10 9:03 AM, adrian wrote:

> I know that the following does not follow the object oriented
> recommended way of writing , but I am puzzled as to why it sometimes
> works and sometimes it doesn't. I am using ubuntu 10.10 in an athom,
> and have installed the wxpython package from the repository.

> The program sometimes does not show the buttom. To see it, it is
> enough to maximize the window, and then restore it.

Since the button is the only child of the frame and since the frame has
no sizer then the frame will resize the button to fill the frame when it
gets a size event. Is that what you are seeing? Perhaps the
every-other nature of it is because sometimes your window manager is
giving the frame a little nudge in size after it has been shown and
other times it is not, depending on where it may be placing it
initially, or something like that.

--
Robin Dunn
Software Craftsmanhttp://wxPython.org

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en

Have you tried the Sage list?

you can find it here: http://groups.google.com/group/sage-support/?pli=1
or, you could wait for Robin, he might know something about that.

···


Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!

Sorry, I don't.

···

On 12/27/10 12:11 PM, Micah Nordland wrote:

Have you tried the Sage list?
you can find it here: http://groups.google.com/group/sage-support/?pli=1
or, you could wait for Robin, he might know something about that.

--
Robin Dunn
Software Craftsman

I tried, but I have not gotten an answer. This is the post I made:
http://groups.google.com/group/sage-support/browse_thread/thread/4056a45a50241f1/9175411fdf33e678#9175411fdf33e678

Thanks a bunch though.
Peace.
-Adrian.

···

On Mon, Dec 27, 2010 at 1:20 PM, Robin Dunn <robin@alldunn.com> wrote:

On 12/27/10 12:11 PM, Micah Nordland wrote:

Have you tried the Sage list?
you can find it here: http://groups.google.com/group/sage-support/?pli=1
or, you could wait for Robin, he might know something about that.

Sorry, I don't.

--
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

Well, maybe try everything on the Support menu on the Sage website, maybe you’ll turn up something. I hope you solve your problem

···


Hi, I will kill all ads in google gmail.
They will all be dead and gone for all my emails to you. HA HA bye bye ads I just massacred you!!!

hi Adrian,

what are you trying to accomplish ?
Do you want to make wxPython application from Sage,
or do you need Math and Graphs in a wxPython window ?

At this moment we're trying to do the latter.
We've a wx.Python application, and in one or more panels of the wxPython application,
we do Math (numpy, scipy, matplotlib, MatLab, and even combinations of Python and Matlab),
and the results are incorporated in the wxPanel, just ike the Sage Notebook.

cheers,
Stef

···

On 27-12-2010 20:44, Adrian S. wrote:

I have tried to use the experimental package wxpython inside of sage
http://www.sagemath.org/
http://www.sagemath.org/packages/experimental/

but failed to have success. Has anyone succesfully use wxpython inside of sage?

Thanks!

-Adrian.

I was trying to do the former, since I have some code already written
that is strongly dependant on sage.

Thanks, though.

Peace.
-Adrian.

···

On Mon, Dec 27, 2010 at 4:54 PM, Stef Mientki <stef.mientki@gmail.com> wrote:

On 27-12-2010 20:44, Adrian S. wrote:

I have tried to use the experimental package wxpython inside of sage
http://www.sagemath.org/
http://www.sagemath.org/packages/experimental/

but failed to have success. Has anyone succesfully use wxpython inside of sage?

Thanks!

-Adrian.

hi Adrian,

what are you trying to accomplish ?
Do you want to make wxPython application from Sage,
or do you need Math and Graphs in a wxPython window ?

At this moment we're trying to do the latter.
We've a wx.Python application, and in one or more panels of the wxPython application,
we do Math (numpy, scipy, matplotlib, MatLab, and even combinations of Python and Matlab),
and the results are incorporated in the wxPanel, just ike the Sage Notebook.

cheers,
Stef

--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en