功能
GObjectBindingTransformFunc
自 2.26 起
声明
gboolean
(* GBindingTransformFunc) (
GBinding* binding,
const GValue* from_value,
GValue* to_value,
gpointer user_data
)
说明 [src]
将 from_value 转换为 to_value 时要调用的函数。
如果这是绑定的 transform_to 函数,那么 from_value 便是 source 对象上的 source_property,to_value 便是 target 对象上的 target_property。如果这是 G_BINDING_BIDIRECTIONAL 绑定的 transform_from 函数,那么这些角色便是相反的。
自 2.26 起可用