Changeset 730
- Timestamp:
- 06/05/09 16:37:56 (15 months ago)
- Files:
-
- 1 modified
-
trunk/lugre/lua/lib.gui.lua (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lugre/lua/lib.gui.lua
r699 r730 91 91 local callback_name = "on_"..sEventName -- e.g. widget.on_mouse_left_down 92 92 local callback = widget[callback_name] 93 if (callback) then callback(widget) return end 93 if (callback) then 94 local success,errormsg_or_result = lugrepcall(callback,widget) 95 if (not success) then NotifyListener("lugre_error","error in GUI_TriggerWidgetEventCallback",sEventName,"\n",errormsg_or_result) end 96 return 97 end 98 94 99 if (widget.GetParent) then return GUI_TriggerWidgetEventCallback(widget:GetParent(),sEventName) end -- guisys2 95 100
