示例#1
0
文件: item.c 项目: svn2github/iup-iup
static int item_action(Ihandle *self)
{
  lua_State *L = iuplua_call_start(self, "action");
  return iuplua_call(L, 0);
}
示例#2
0
static int progressdlg_cancel_cb(Ihandle *self)
{
  lua_State *L = iuplua_call_start(self, "cancel_cb");
  return iuplua_call(L, 0);
}
示例#3
0
static int tree_noderemoved_cb(Ihandle *ih, void* p1)
{
  lua_State *L = iuplua_call_start(ih, "noderemoved_cb");
  tree_push_userid(L, p1);
  return iuplua_call(L, 1);
}
示例#4
0
static int SPIN_spin_cb (Ihandle *handle, int v)
{
  iuplua_call_start(handle, "spincb");
  lua_pushnumber(v);
  return iuplua_call();
}
示例#5
0
static int link_action(Ihandle *self, char * p0)
{
  lua_State *L = iuplua_call_start(self, "action");
  lua_pushstring(L, p0);
  return iuplua_call(L, 1);
}
示例#6
0
文件: il_pplot.c 项目: defdef/iup
static int pplot_postdraw_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "postdraw_cb");
  lua_pushinteger(L, p0);
  return iuplua_call(L, 1);
}
示例#7
0
static int spinbox_spin_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "spin_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#8
0
文件: val.c 项目: svn2github/iup-iup
static int val_mousemove_cb(Ihandle *self, double p0)
{
  lua_State *L = iuplua_call_start(self, "mousemove_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#9
0
文件: val.c 项目: svn2github/iup-iup
static int val_button_release_cb(Ihandle *self, double p0)
{
  lua_State *L = iuplua_call_start(self, "button_release_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#10
0
static int tree_rightclick_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "rightclick_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#11
0
static int pplot_predraw_cb(Ihandle *self, cdCanvas* cnv)
{
  lua_State *L = iuplua_call_start(self, "predraw_cb");
  cdlua_pushcanvas(L, cnv);
  return iuplua_call(L, 1);
}
示例#12
0
static int tree_executeleaf_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "executeleaf_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#13
0
static int tree_branchclose_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "branchclose_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#14
0
static int tree_showrename_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "showrename_cb");
  lua_pushnumber(L, p0);
  return iuplua_call(L, 1);
}
示例#15
0
文件: item.c 项目: svn2github/iup-iup
static int item_highlight_cb(Ihandle *self)
{
  lua_State *L = iuplua_call_start(self, "highlight_cb");
  return iuplua_call(L, 0);
}
示例#16
0
文件: il_colorbar.c 项目: LuaDist/iup
static char * colorbar_cell_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "cell_cb");
  lua_pushinteger(L, p0);
  return iuplua_call_rs(L, 1);
}
示例#17
0
文件: il_pplot.c 项目: defdef/iup
static int pplot_editbegin_cb(Ihandle *self)
{
  lua_State *L = iuplua_call_start(self, "editbegin_cb");
  return iuplua_call(L, 0);
}
示例#18
0
文件: il_colorbar.c 项目: LuaDist/iup
static int colorbar_extended_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "extended_cb");
  lua_pushinteger(L, p0);
  return iuplua_call(L, 1);
}
示例#19
0
文件: il_pplot.c 项目: defdef/iup
static int pplot_selectend_cb(Ihandle *self)
{
  lua_State *L = iuplua_call_start(self, "selectend_cb");
  return iuplua_call(L, 0);
}
示例#20
0
static int matrixlist_listinsert_cb(Ihandle *self, int p0)
{
  lua_State *L = iuplua_call_start(self, "listinsert_cb");
  lua_pushinteger(L, p0);
  return iuplua_call(L, 1);
}