C# Class ScriptGUI.GUI.UIWidget

用户界面控件类
Mostrar archivo Open project: Genesis-3D/Genesis-3D

Public Methods

Method Description
SetEventKeyButtonPressed ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置按压键盘按钮事件

SetEventKeyButtonReleased ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
SetEventKeyLostFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置键盘丢失焦点事件

SetEventKeySetFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置键盘焦点事件

SetEventMouseButtonClick ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标单击按钮事件

SetEventMouseButtonDoubleClick ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标双击按钮事件

SetEventMouseButtonPressed ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标按下按钮事件

SetEventMouseButtonReleased ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标释放按钮事件

SetEventMouseDrag ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设施鼠标拖拽事件

SetEventMouseLostFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标失去焦点事件

SetEventMouseMove ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标移动事件

SetEventMouseSetFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标焦点事件

SetEventMouseWheel ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置鼠标滚轮事件

SetEventRootKeyChangeFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置root键盘改变焦点事件

SetEventRootMouseChangeFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置root鼠标改变焦点事件

SetEventTick ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置记录事件

SetEventToolTip ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult

设置工具提示框事件

Method Details

SetEventKeyButtonPressed() public static method

设置按压键盘按钮事件
public static SetEventKeyButtonPressed ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventKeyButtonReleased() public static method

public static SetEventKeyButtonReleased ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventKeyLostFocus() public static method

设置键盘丢失焦点事件
public static SetEventKeyLostFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventKeySetFocus() public static method

设置键盘焦点事件
public static SetEventKeySetFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventMouseButtonClick() public static method

设置鼠标单击按钮事件
public static SetEventMouseButtonClick ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制方式
return ExecuteResult

SetEventMouseButtonDoubleClick() public static method

设置鼠标双击按钮事件
public static SetEventMouseButtonDoubleClick ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制方式
return ExecuteResult

SetEventMouseButtonPressed() public static method

设置鼠标按下按钮事件
public static SetEventMouseButtonPressed ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制方式
return ExecuteResult

SetEventMouseButtonReleased() public static method

设置鼠标释放按钮事件
public static SetEventMouseButtonReleased ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制方式
return ExecuteResult

SetEventMouseDrag() public static method

设施鼠标拖拽事件
public static SetEventMouseDrag ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventMouseLostFocus() public static method

设置鼠标失去焦点事件
public static SetEventMouseLostFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制方式
return ExecuteResult

SetEventMouseMove() public static method

设置鼠标移动事件
public static SetEventMouseMove ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventMouseSetFocus() public static method

设置鼠标焦点事件
public static SetEventMouseSetFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制方式
return ExecuteResult

SetEventMouseWheel() public static method

设置鼠标滚轮事件
public static SetEventMouseWheel ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventRootKeyChangeFocus() public static method

设置root键盘改变焦点事件
public static SetEventRootKeyChangeFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventRootMouseChangeFocus() public static method

设置root鼠标改变焦点事件
public static SetEventRootMouseChangeFocus ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventTick() public static method

设置记录事件
public static SetEventTick ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult

SetEventToolTip() public static method

设置工具提示框事件
public static SetEventToolTip ( ScriptGUI.FString layout_name, ScriptGUI.FString widget_name, Event func, EventControl control ) : ExecuteResult
layout_name ScriptGUI.FString 界面名称
widget_name ScriptGUI.FString 控件名称
func Event 事件委托
control EventControl 控制属性
return ExecuteResult