UF_STYLER_ask_select_dialog_id (查看源代码)
 
定义在: uf_styler.h
 
概述
This function provides the dialog id associated with a dialog. It
should be used within selection callbacks if the selection callback
needs to modify any UIObjects in a UIStyler dialog.

环境
Internal

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_STYLER_ask_select_dialog_id
(
UF_UI_selection_p_t selection_data,
UF_STYLER_dialog_id_t * dialog_id
)
UF_UI_selection_p_tselection_dataInput(输入)Selection data.
UF_STYLER_dialog_id_t *dialog_idOutput(输出)Dialog id of dialog that contains
selection_data

 


 
UF_STYLER_ask_value (查看源代码)
 
定义在: uf_styler.h
 
概述
Queries a single item or dialog attribute. You can only use this
function from within a UIStyler dialog callback.

环境
Internal
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_STYLER_ask_value
(
int dialog_id,
UF_STYLER_item_value_type_p_t value
)
int (整数型)dialog_idInput(输入)Identifier of the dialog. Associates the
requested values to the correct dialog.
UF_STYLER_item_value_type_p_tvalueInput / Output to be freedValue structure. Input the item number and
attribute to query.
The structure returns the requested data.
you must deallocate memory for all strings,
array of strings, or array of integers. Use
UF_STYLER_free_value.

 


 
UF_STYLER_ask_values (查看源代码)
 
定义在: uf_styler.h
 
概述
Queries multiple items or dialog attributes in one batch and returns
the requested data. You can only use this function from within a
UIStyler dialog callback.

环境
Internal

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_STYLER_ask_values
(
int dialog_id,
int num_values,
UF_STYLER_item_value_type_p_t values,
int * count
)
int (整数型)dialog_idInput(输入)Identifier of the dialog. Associates the
requested values to the correct dialog.
int (整数型)num_valuesInput(输入)Size of the array of values.
UF_STYLER_item_value_type_p_tvaluesInput / Output to be freedArray of Value structures. The calling
program must allocate an array of value
structures, and initialize the item
number and attribute to query fields for
each structure. Eachstructure in the
array returns the requested data.
The memory allocated in each structure
must be freed by the caller. This can
be done by calling UF_STYLER_free_value,
for each structure in the array.
int * (整数型指针)countOutput(输出)A count of the number of values in the
array that are successfully obtained. If this
variable is NULL, UF_err_bad_parameter_number_4 is returned.

 


 
UF_STYLER_create_dialog (查看源代码)
 
定义在: uf_styler.h
 
概述
Creates and displays an NX (UIStyler generated) "bottom" dialog. This
dialog is generated and displayed to NX, if it is provided with
a valid ".dlg" file. The ".dlg" file can only be generated from the
Open UIStyler.

环境
Internal

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_STYLER_create_dialog
(
char * dialog_file,
UF_STYLER_callback_info_t * cbs,
int number_of_cbs,
void * client_data,
int * response
)
char * (字符型指针)dialog_fileInput(输入)UIStyler dialog file name with a .dlg file
extension.
UF_STYLER_callback_info_t *cbsInput(输入)UIStyler dialog file callback list. This list
is automatically generated by the UIStyler
and placed in the template file associated
with your ".dlg" file. This list should NOT
be modified directly. If you wish to alter
your callback list, you must regenerate your
template file from the UIStyler.
int (整数型)number_of_cbsInput(输入)Number of entries in the dialog's callback
list. This list is automatically generated by
the UIStyler and placed in the template file
associated with your ".dlg" file. This list
should NOT be modified directly. If you
wish to alter your callback list, you must
regenerate your template file from the
UIStyler.
void *client_dataInput(输入)Dialog client data passed via callbacks.
Your client data is passed to all of your
callback functions when they are called.
Client data is technically the address of any
value, for example, pointers to variables,
data structures, arrays, etc.
int * (整数型指针)responseOutput(输出)Response value upon dialog termination.
UF_UI_OK
UF_UI_CANCEL
UF_UI_BACK
UF_UI_PICK_RESPONSE
UF_UI_CB_TERMINATE

 


 
UF_STYLER_free_value (查看源代码)
 
定义在: uf_styler.h
 
概述
Frees all memory allocated for the specified value structure. If a structure
is passed that has no data to be freed, this function will take no action
and return a successful completion.

环境
Internal

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_STYLER_free_value
(
UF_STYLER_item_value_type_p_t data
)
UF_STYLER_item_value_type_p_tdataInput(输入)Value structure to free.

 


 
UF_STYLER_set_value (查看源代码)
 
定义在: uf_styler.h
 
概述
Sets an item or dialog attribute. You can only use this function from
within a UIStyler dialog callback.

环境
Internal

历史
Original release was in V13.0.
 
需要许可证(S)
gateway (UG入口基本模块,Gateway是所有其它Uuigraphics模块的一个必要条件)

 
int UF_STYLER_set_value
(
int dialog_id,
UF_STYLER_item_value_type_p_t value
)
int (整数型)dialog_idInput(输入)Identifier of the dialog. Associates the
requested values to the correct dialog.
UF_STYLER_item_value_type_p_tvalueInput(输入)Value structure. The structure must contain
at least the item number and attribute to
set. Additional data may be required
depending on the type of item and
attribute.