wxpython

获取窗口的方法

wxWindow *FindWindow(long winid) const;
wxWindow *FindWindow(const wxString& name) const;

    // Find a window among any window (all return NULL if not found)
static wxWindow *FindWindowById( long winid, const wxWindow *parent = NULL );
static wxWindow *FindWindowByName( const wxString& name,
                                   const wxWindow *parent = NULL );
static wxWindow *FindWindowByLabel( const wxString& label,
                                    const wxWindow *parent = NULL );

posted @ 2015-11-01 15:38  aprial  阅读(267)  评论(0编辑  收藏  举报