Re: Phix+EuGTK

new topic     » goto parent     » topic index » view thread      » older message » newer message

Constructing GTK classes works fine, using the syntax below. What I need to find out is what the deconstructor does i.e. ~Window()

  • When or how is it called?
  • Do I have to connect every widget's "destroy" signal to call the deconstructor for that class of widget?
  • What does it do besides remove the Window instance from the dictionary?
class Window extends Widget   
 
  function Window()   
    this.handle = 17  
    setd(this.handle,this,hdict)  
    return this   
  end function 
   
  procedure ~Window()   
    deld(this.handle,hdict)  
  end procedure   
 
end class  
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu