[Vala] run the metho1 from the method2 of class2



Hi all, please help me.

what is the best way to run the metho1 from the method2 of class2. I need to change the interface from the class2. This example is illustrative only.

Please help me.

class main_window: Window{
   private Entry obj_entry;
   private Class2 class2;
   public main_window(){
     ...
     obj_entry = ... as Entry;
   }

   public method1(args...){
      ...
      obj_entry.text = "ok";
   }
}

class Clas2{
   ....
  private method2(args....){
  }
}






















Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]