ShowWindow() public method

Display a window.
public ShowWindow ( Window win ) : void
win Window
return void
Example #1
0
        public void BringToFront()
        {
            GRoot r = this.root;

            if (r == null)
            {
                r = GRoot.inst;
            }
            r.ShowWindow(this);
        }
 static public int ShowWindow(IntPtr l)
 {
     try {
         FairyGUI.GRoot  self = (FairyGUI.GRoot)checkSelf(l);
         FairyGUI.Window a1;
         checkType(l, 2, out a1);
         self.ShowWindow(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
Example #3
0
 static int ShowWindow(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         FairyGUI.GRoot  obj  = (FairyGUI.GRoot)ToLua.CheckObject(L, 1, typeof(FairyGUI.GRoot));
         FairyGUI.Window arg0 = (FairyGUI.Window)ToLua.CheckObject(L, 2, typeof(FairyGUI.Window));
         obj.ShowWindow(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="r"></param>
 public void ShowOn(GRoot r)
 {
     r.ShowWindow(this);
 }
Example #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="r"></param>
 public void ShowOn(GRoot r)
 {
     r.ShowWindow(this);
 }
Example #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="r"></param>
 public void ShowOn(GRoot r)
 {
     //r.ShowWindow(this);
     OnGetGlobalIndex();
     r.ShowWindow(this, _global_index);
 }