Create a drawer

Hello,

Is posible create a drawer to style textmate?

···


SIN ETIQUETAS.[ PUNTO ]
http://jyr.tumblr.com
http://www.opentumblr.com

Jair Gaxiola wrote:

Hello,

Is posible create a drawer to style textmate?

Hi Jair,

I'm sorry, I'm not too sure what you're asking - can be more descriptive? thanks!

Hi Steven

···

On Sat, Aug 15, 2009 at 2:10 PM, Steven Sproat sproaty@gmail.com wrote:

Jair Gaxiola wrote:

Hello,

Is posible create a drawer to style textmate?

Hi Jair,

I’m sorry, I’m not too sure what you’re asking - can be more

descriptive? thanks!

Textmate has a “panel” that displays the contents, I want to do something similar, it is possible to do a drawer in wxPython?
Attach a image

SIN ETIQUETAS.[ PUNTO ]
http://jyr.tumblr.com
http://www.opentumblr.com

Hello,

···

On Aug 15, 2009, at 2:16 PM, Jair Gaxiola wrote:

Hi Steven

On Sat, Aug 15, 2009 at 2:10 PM, Steven Sproat sproaty@gmail.com wrote:

Jair Gaxiola wrote:

Hello,

Is posible create a drawer to style textmate?

Hi Jair,

I’m sorry, I’m not too sure what you’re asking - can be more
descriptive? thanks!

Textmate has a “panel” that displays the contents, I want to do something similar, it is possible to do a drawer in wxPython?
Attach a image

Yes,

wx.Frame(None, style=wx.FRAME_DRAWER)

You need to manage the positioning and everything but the above style flag will create what your looking for.

Cody

Ok,

Now, How joins the drawer to the frame main, to move the 2 at once. I created of drawer with wx.Frame(self, style=wx.FRAME_DRAWER, size = (250, 450)), but is not moves to the move the frame main.

···

On Sat, Aug 15, 2009 at 2:31 PM, Cody Precord codyprecord@gmail.com wrote:

Hello,

On Aug 15, 2009, at 2:16 PM, Jair Gaxiola wrote:

Hi Steven

On Sat, Aug 15, 2009 at 2:10 PM, Steven Sproat sproaty@gmail.com wrote:

Jair Gaxiola wrote:

Hello,

Is posible create a drawer to style textmate?

Hi Jair,

I’m sorry, I’m not too sure what you’re asking - can be more
descriptive? thanks!

Textmate has a “panel” that displays the contents, I want to do something similar, it is possible to do a drawer in wxPython?

Attach a image

Yes,

wx.Frame(None, style=wx.FRAME_DRAWER)

You need to manage the positioning and everything but the above style flag will create what your looking for.


SIN ETIQUETAS.[ PUNTO ]
http://jyr.tumblr.com
http://www.opentumblr.com

Cody, Hmnm, I am not even seeing that style listed in the documents about
wxFrame and I can’t tell from Jair’s image what is the drawer style–maybe I’m
staring right at it but can’t figure out what he’s referring to. Could you explain

what this style is, when it is used, and where you knew about it from?

Thanks,
Che

···

On Sat, Aug 15, 2009 at 3:31 PM, Cody Precord codyprecord@gmail.com wrote:

Hello,

On Aug 15, 2009, at 2:16 PM, Jair Gaxiola wrote:

Hi Steven

On Sat, Aug 15, 2009 at 2:10 PM, Steven Sproat sproaty@gmail.com wrote:

Jair Gaxiola wrote:

Hello,

Is posible create a drawer to style textmate?

Hi Jair,

I’m sorry, I’m not too sure what you’re asking - can be more
descriptive? thanks!

Textmate has a “panel” that displays the contents, I want to do something similar, it is possible to do a drawer in wxPython?

Attach a image

Yes,

wx.Frame(None, style=wx.FRAME_DRAWER)

You need to manage the positioning and everything but the above style flag will create what your looking for.

Che,

Textmate used a drawer to display files, the drawer can be hidden and displayed. Then the drawer is an extension of the frame. In this image the drawer is on the right see folder’s stable. What I need is to create a frame with drawer, similar to the image. I have the drawer and frame, but I can not move at the same time togheter, as a single frame.

···

On Sat, Aug 15, 2009 at 6:48 PM, C M cmpython@gmail.com wrote:

On Sat, Aug 15, 2009 at 3:31 PM, Cody Precord codyprecord@gmail.com wrote:

Hello,

On Aug 15, 2009, at 2:16 PM, Jair Gaxiola wrote:

Hi Steven

On Sat, Aug 15, 2009 at 2:10 PM, Steven Sproat sproaty@gmail.com wrote:

Jair Gaxiola wrote:

Hello,

Is posible create a drawer to style textmate?

Hi Jair,

I’m sorry, I’m not too sure what you’re asking - can be more
descriptive? thanks!

Textmate has a “panel” that displays the contents, I want to do something similar, it is possible to do a drawer in wxPython?

Attach a image

Yes,

wx.Frame(None, style=wx.FRAME_DRAWER)

You need to manage the positioning and everything but the above style flag will create what your looking for.

Cody, Hmnm, I am not even seeing that style listed in the documents about
wxFrame and I can’t tell from Jair’s image what is the drawer style–maybe I’m
staring right at it but can’t figure out what he’s referring to. Could you explain

what this style is, when it is used, and where you knew about it from?


SIN ETIQUETAS.[ PUNTO ]
http://jyr.tumblr.com
http://www.opentumblr.com

Hello,

···

On Aug 15, 2009, at 5:39 PM, Jair Gaxiola wrote:

On Sat, Aug 15, 2009 at 2:31 PM, Cody Precord codyprecord@gmail.com wrote:

Ok,

Now, How joins the drawer to the frame main, to move the 2 at once. I created of drawer with wx.Frame(self, style=wx.FRAME_DRAWER, size = (250, 450)), but is not moves to the move the frame main.

Thats why I mentioned that you need to manage this yourself. See EVT_MOVE, EVT_SIZE, EVT_MOVING, you will need to respond to some/all of these events in your main “regular” frame and move/size the “drawer” frame accordingly.

Cody

Through the magic of Editra :wink: when paging through frame styles I had noticed it before.

The drawer is that small frame to the right without a titlebar and with the rounded corners, I think that this is Mac specific and on other platforms simply results in a borderless frame.

Cody

···

On Aug 15, 2009, at 6:48 PM, C M wrote:

On Sat, Aug 15, 2009 at 3:31 PM, Cody Precord codyprecord@gmail.com wrote:

Hello,

On Aug 15, 2009, at 2:16 PM, Jair Gaxiola wrote:

Yes,

wx.Frame(None, style=wx.FRAME_DRAWER)

You need to manage the positioning and everything but the above style flag will create what your looking for.

Cody, Hmnm, I am not even seeing that style listed in the documents about
wxFrame and I can’t tell from Jair’s image what is the drawer style–maybe I’m
staring right at it but can’t figure out what he’s referring to. Could you explain
what this style is, when it is used, and where you knew about it from?