Search found 15 matches

by lephon
Fri Nov 07, 2008 5:38 am
Forum: C++ Development
Topic: MinimizeButton() in wxAuiPaneInfo doesn't work?
Replies: 6
Views: 1163

Re: MinimizeButton() in wxAuiPaneInfo doesn't work?

It's been a while since I looked, but I don't think the Minimize functions are implemented. I remember they wanted to implement something like "Eclipse like minimizing" but I personally don't know how this looks. Anybody got a screenshot? Since it doesn't work, do you know any kind of workaround to...
by lephon
Fri Nov 07, 2008 1:56 am
Forum: C++ Development
Topic: MinimizeButton() in wxAuiPaneInfo doesn't work?
Replies: 6
Views: 1163

BestSize() doesn't work too.
by lephon
Fri Nov 07, 2008 1:50 am
Forum: C++ Development
Topic: MinimizeButton() in wxAuiPaneInfo doesn't work?
Replies: 6
Views: 1163

MinimizeButton() in wxAuiPaneInfo doesn't work?

Hi, All I'm using Aui framework (that means wxAuiManager & wxAuiPaneInfo) in my program. I need to implement a set of dockable panes on the right, and make sure these panes can be minimized and restored as necessary, so anytime there will be zero, one or more panes being opened. My coding is like th...
by lephon
Fri Nov 07, 2008 1:46 am
Forum: C++ Development
Topic: wxAuiManager question
Replies: 2
Views: 651

It's fixed.

Thank you.
by lephon
Thu Nov 06, 2008 8:30 am
Forum: C++ Development
Topic: wxAuiManager question
Replies: 2
Views: 651

wxAuiManager question

import wx import wx.aui class MyFrame(wx.Frame): def __init__(self, parent, id=-1, title='wx.aui Test', pos=wx.DefaultPosition, size=(800, 600), style=wx.DEFAULT_FRAME_STYLE): wx.Frame.__init__(self, parent, id, title, pos, size, style) self._mgr = wx.aui.AuiManager(self) # create several text cont...
by lephon
Wed Nov 05, 2008 3:05 am
Forum: wxWidgets Development (Chinese)
Topic: 多出来一个菜单,不索何解
Replies: 5
Views: 2893

是的。现在就是要弄明白是在哪里自动加上的这个菜单项?然后重写相应的方法。

因为我找了 AuiMDIParentFrame 的基类,都没发现有加上“Window”菜单项的代码。[/i]
by lephon
Tue Nov 04, 2008 12:38 pm
Forum: C++ Development
Topic: How on Earth do I get wxIcon working?
Replies: 4
Views: 452

Try

Code: Select all

self.SetIcon(wx.Icon("brs.ico", wx.BITMAP_TYPE_ICO))
by lephon
Tue Nov 04, 2008 12:28 pm
Forum: C++ Development
Topic: Why there is a "Window" menu in the MenuBar?
Replies: 6
Views: 1044

I don't know wxPython (I think that is what you use). But AFAIK for C/C++ wxWidgets has no AuiMDIParentFrame. I just assumed AuiMDIParentFrame would somehow implement wxMDIParentFrame :). BTW you should mark my answer as accepted so that people know they can find answers here. :) Thank you. I'm a n...
by lephon
Tue Nov 04, 2008 3:41 am
Forum: wxDev-C++
Topic: Why there is a "Window" menu in the MenuBar?
Replies: 2
Views: 650

Thank you, Sof_T.

I just try to find anyone who can help
by lephon
Tue Nov 04, 2008 3:37 am
Forum: C++ Development
Topic: Why there is a "Window" menu in the MenuBar?
Replies: 6
Views: 1044

Great! It works.

Thank you, Grrr!

One last question:

Do you know how this "Window" menu comes out?

I'm just a little confused, cause I searched every Base Class of wx.aui.AuiMDIParentFrame and wx.aui.AuiMDIChildFrame for the menu, and i got nothing.
by lephon
Mon Nov 03, 2008 6:47 am
Forum: C++ Development
Topic: Why there is a "Window" menu in the MenuBar?
Replies: 6
Views: 1044

Thank you, ONEEYEMAN.

But i don't get it. actrually, I just want to know if there is any way to get rid of that additional "Window" menu.

Which method do I need to rewrite?
by lephon
Mon Nov 03, 2008 2:17 am
Forum: C++ Development
Topic: Why there is a "Window" menu in the MenuBar?
Replies: 6
Views: 1044

Why there is a "Window" menu in the MenuBar?

import wx import wx.aui class ParentFrame(wx.aui.AuiMDIParentFrame): def __init__(self, parent): wx.aui.AuiMDIParentFrame.__init__(self, parent, -1, title="AuiMDIParentFrame", size=(640,480), style=wx.DEFAULT_FRAME_STYLE) self.count = 0 mb = self.MakeMenuBar() self.SetMenuBar(mb) self.CreateStatusB...
by lephon
Mon Nov 03, 2008 2:16 am
Forum: wxDev-C++
Topic: Why there is a "Window" menu in the MenuBar?
Replies: 2
Views: 650

Why there is a "Window" menu in the MenuBar?

import wx import wx.aui class ParentFrame(wx.aui.AuiMDIParentFrame): def __init__(self, parent): wx.aui.AuiMDIParentFrame.__init__(self, parent, -1, title="AuiMDIParentFrame", size=(640,480), style=wx.DEFAULT_FRAME_STYLE) self.count = 0 mb = self.MakeMenuBar() self.SetMenuBar(mb) self.CreateStatusB...
by lephon
Mon Nov 03, 2008 2:03 am
Forum: wxWidgets Development (Chinese)
Topic: 多出来一个菜单,不索何解
Replies: 5
Views: 2893

Close
Close All
Next
Previous

就这四个菜单项
by lephon
Tue Oct 28, 2008 3:34 am
Forum: wxWidgets Development (Chinese)
Topic: 多出来一个菜单,不索何解
Replies: 5
Views: 2893

多出来一个菜单,不索何解

不知道这里有人能看懂 wxPython 吗?我问的是一个 wxPython 问题。wxPython 是 wxWindows 的一个 Python 封装。语法可能是差不多的。 我是新学 wxPython,以前也没学过 wxWindows,因此问题可能比较粗浅。尽管如此,我在国内一些论坛提问时,都没得到回答。感到很失望。粗学者挺难的。 我的问题是这样的: 以下是一段示例代码,运行代码后,发现菜单栏上多了一个“Window”菜单,而代码中并没有包含这个菜单。我百思不得其解,因此到这里求各位达人赐教: import wx import wx.aui class ParentFrame(wx.aui.A...