WideStudio Logo
WideStudio
Programming Guide
WideStudio Index
Table of contents


부모 객체를 취득하기에는



부모 객체를 취득하기에는

부모 객체를 취득하기에는, 멤버 함수 getParent() 를 사용합니다.

def event_procedure(object):
  # 부모 객체를 취득
  parent = object.getParent();
  # 부모 객체에 접근(access)
  parent.setVisible(mpfc.False);
  return
mpfc.WSGFfunctionRegister("event_procedure",event_procedure)

object 가 배치되여있는 부모 객체를 취득해서, 표시 속성을 불가로 하는곳입니다.

부모 애플리케이션 윈도우를 취득하기에는

부모 애플리케이션 윈도우를 취득하기에는, 멤버 함수 getParentWindow() 를 사용합니다.

def event_procedure(object):
  #부모 애플리케이션 윈도우를 취득
  win = object.getParentWindow();
  #부모 애플리케이션 윈도우に 접근(access)
  win.setVisible(mpfc.False);
  return
mpfc.WSGFfunctionRegister("event_procedure",event_procedure)

object 가 배치되여있는 부모 애플리케이션 윈도우를 취득해서, 표시 속성을 불가로 하는곳입니다.

Document Release 3.70 for WideStudio ver 3.70, May 2004


WideStudio documents index | Table of contents

Copyright(C) WideStudio Development Team, 1999-2004 Last modified: May 25, 2004