Exemplo n.º 1
0
 private void CanSelect(bool value)
 {
     if (CanSelectItem(value))
     {
         config.SelectIndex(value, index);
     }
 }
 static int SelectIndex(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         littlerbird.UI.QuickGrid obj = (littlerbird.UI.QuickGrid)ToLua.CheckObject <littlerbird.UI.QuickGrid>(L, 1);
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         int  arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.SelectIndex(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }