C# Класс ScriptGUI.GUI.UIWidget

用户界面控件类
Показать файл Открыть проект

Открытые методы

Метод Описание
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

设置工具提示框事件

Описание методов

SetEventKeyButtonPressed() публичный статический Метод

设置按压键盘按钮事件
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 控制属性
Результат ExecuteResult

SetEventKeyButtonReleased() публичный статический Метод

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 控制属性
Результат ExecuteResult

SetEventKeyLostFocus() публичный статический Метод

设置键盘丢失焦点事件
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 控制属性
Результат ExecuteResult

SetEventKeySetFocus() публичный статический Метод

设置键盘焦点事件
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 控制属性
Результат ExecuteResult

SetEventMouseButtonClick() публичный статический Метод

设置鼠标单击按钮事件
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 控制方式
Результат ExecuteResult

SetEventMouseButtonDoubleClick() публичный статический Метод

设置鼠标双击按钮事件
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 控制方式
Результат ExecuteResult

SetEventMouseButtonPressed() публичный статический Метод

设置鼠标按下按钮事件
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 控制方式
Результат ExecuteResult

SetEventMouseButtonReleased() публичный статический Метод

设置鼠标释放按钮事件
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 控制方式
Результат ExecuteResult

SetEventMouseDrag() публичный статический Метод

设施鼠标拖拽事件
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 控制属性
Результат ExecuteResult

SetEventMouseLostFocus() публичный статический Метод

设置鼠标失去焦点事件
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 控制方式
Результат ExecuteResult

SetEventMouseMove() публичный статический Метод

设置鼠标移动事件
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 控制属性
Результат ExecuteResult

SetEventMouseSetFocus() публичный статический Метод

设置鼠标焦点事件
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 控制方式
Результат ExecuteResult

SetEventMouseWheel() публичный статический Метод

设置鼠标滚轮事件
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 控制属性
Результат ExecuteResult

SetEventRootKeyChangeFocus() публичный статический Метод

设置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 控制属性
Результат ExecuteResult

SetEventRootMouseChangeFocus() публичный статический Метод

设置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 控制属性
Результат ExecuteResult

SetEventTick() публичный статический Метод

设置记录事件
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 控制属性
Результат ExecuteResult

SetEventToolTip() публичный статический Метод

设置工具提示框事件
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 控制属性
Результат ExecuteResult