static public int get_percent(IntPtr l) { try { mg.org.KUI.KProgressBar self = (mg.org.KUI.KProgressBar)checkSelf(l); pushValue(l, true); pushValue(l, self.percent); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_value(IntPtr l) { try { mg.org.KUI.KProgressBar self = (mg.org.KUI.KProgressBar)checkSelf(l); float v; checkType(l, 2, out v); self.value = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }