| Programming Guide | WideStudio/MWT Index Table of contents |
부모 객체를 취득하기에는
부모 객체를 취득하기에는
부모 객체를 취득하기에는, 멤버 함수 getParent() 를 사용합니다.def event_procedure(object): # 부모 객체를 취득 parent = object.getParent(); # 부모 객체에 접근(access) parent.setVisible(mwt.False); return mwt.WSGFfunctionRegister("event_procedure",event_procedure)object 가 배치되여있는 부모 객체를 취득해서, 표시 속성을 불가로 하는곳입니다.부모 애플리케이션 윈도우를 취득하기에는
부모 애플리케이션 윈도우를 취득하기에는, 멤버 함수 getParentWindow() 를 사용합니다.def event_procedure(object): #부모 애플리케이션 윈도우를 취득 win = object.getParentWindow(); #부모 애플리케이션 윈도우に 접근(access) win.setVisible(mwt.False); return mwt.WSGFfunctionRegister("event_procedure",event_procedure)object 가 배치되여있는 부모 애플리케이션 윈도우를 취득해서, 표시 속성을 불가로 하는곳입니다.
| Copyright(C) WideStudio/MWT Development Team, 1999-2005 | Last modified: Jul 31, 2005 |