这篇教程C++ toAXElement函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中toAXElement函数的典型用法代码示例。如果您正苦于以下问题:C++ toAXElement函数的具体用法?C++ toAXElement怎么用?C++ toAXElement使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了toAXElement函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: parameterizedAttributeNamesCallbackstatic JSValueRef parameterizedAttributeNamesCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ JSRetainPtr<JSStringRef> parameterizedAttributeNames(Adopt, toAXElement(thisObject)->parameterizedAttributeNames()); return JSValueMakeString(context, parameterizedAttributeNames.get());}
开发者ID:dzip,项目名称:webkit,代码行数:5,
示例2: finalizestatic void finalize(JSObjectRef thisObject){ delete toAXElement(thisObject);}
开发者ID:dzip,项目名称:webkit,代码行数:4,
示例3: attributesOfDocumentLinksCallbackstatic JSValueRef attributesOfDocumentLinksCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ JSRetainPtr<JSStringRef> linkedUIDescription(Adopt, toAXElement(thisObject)->attributesOfDocumentLinks()); return JSValueMakeString(context, linkedUIDescription.get());}
开发者ID:dzip,项目名称:webkit,代码行数:5,
示例4: getIsRequiredCallbackstatic JSValueRef getIsRequiredCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JSValueRef*){ return JSValueMakeBoolean(context, toAXElement(thisObject)->isRequired());}
开发者ID:dzip,项目名称:webkit,代码行数:4,
示例5: getTitleCallbackstatic JSValueRef getTitleCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ JSRetainPtr<JSStringRef> title(Adopt, toAXElement(thisObject)->title()); return JSValueMakeString(context, title.get());}
开发者ID:acss,项目名称:owb-mirror,代码行数:5,
示例6: getMaxValueCallbackstatic JSValueRef getMaxValueCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ return JSValueMakeNumber(context, toAXElement(thisObject)->maxValue());}
开发者ID:acss,项目名称:owb-mirror,代码行数:4,
示例7: getSupportsPressActionCallbackstatic JSValueRef getSupportsPressActionCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ return JSValueMakeBoolean(context, toAXElement(thisObject)->supportsPressAction());}
开发者ID:Katarzynasrom,项目名称:patch-hosting-for-android-x86-support,代码行数:4,
示例8: indexInTableCallbackstatic JSValueRef indexInTableCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ return JSValueMakeNumber(context, toAXElement(thisObject)->indexInTable());}
开发者ID:dzip,项目名称:webkit,代码行数:4,
示例9: getHasPopupCallbackstatic JSValueRef getHasPopupCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JSValueRef*){ return JSValueMakeBoolean(context, toAXElement(thisObject)->hasPopup());}
开发者ID:mikezit,项目名称:Webkit_Code,代码行数:4,
示例10: hierarchicalLevelCallbackstatic JSValueRef hierarchicalLevelCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JSValueRef*){ return JSValueMakeNumber(context, toAXElement(thisObject)->hierarchicalLevel());}
开发者ID:mikezit,项目名称:Webkit_Code,代码行数:4,
示例11: getIsMultiSelectableCallbackstatic JSValueRef getIsMultiSelectableCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef, JSValueRef*){ return JSValueMakeBoolean(context, toAXElement(thisObject)->isMultiSelectable());}
开发者ID:mikezit,项目名称:Webkit_Code,代码行数:4,
示例12: getARIADropEffectsCallbackstatic JSValueRef getARIADropEffectsCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ JSRetainPtr<JSStringRef> dropEffects(Adopt, toAXElement(thisObject)->ariaDropEffects()); return JSValueMakeString(context, dropEffects.get());}
开发者ID:mikezit,项目名称:Webkit_Code,代码行数:5,
示例13: removeSelectionCallbackstatic JSValueRef removeSelectionCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ toAXElement(thisObject)->removeSelection(); return JSValueMakeUndefined(context);}
开发者ID:mikezit,项目名称:Webkit_Code,代码行数:5,
示例14: attributesOfHeaderCallbackstatic JSValueRef attributesOfHeaderCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ JSRetainPtr<JSStringRef> attributesOfHeader(Adopt, toAXElement(thisObject)->attributesOfHeader()); return JSValueMakeString(context, attributesOfHeader.get());}
开发者ID:dzip,项目名称:webkit,代码行数:5,
示例15: parentElementCallbackstatic JSValueRef parentElementCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ return AccessibilityUIElement::makeJSAccessibilityUIElement(context, toAXElement(thisObject)->parentElement());}
开发者ID:dzip,项目名称:webkit,代码行数:4,
示例16: columnIndexRangeCallbackstatic JSValueRef columnIndexRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ JSRetainPtr<JSStringRef> columnIndexRange(Adopt, toAXElement(thisObject)->columnIndexRange()); return JSValueMakeString(context, columnIndexRange.get());}
开发者ID:acss,项目名称:owb-mirror,代码行数:5,
示例17: decrementCallbackstatic JSValueRef decrementCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception){ toAXElement(thisObject)->decrement(); return 0;}
开发者ID:dzip,项目名称:webkit,代码行数:5,
示例18: getDescriptionCallbackstatic JSValueRef getDescriptionCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ JSRetainPtr<JSStringRef> description(Adopt, toAXElement(thisObject)->description()); return JSValueMakeString(context, description.get());}
开发者ID:acss,项目名称:owb-mirror,代码行数:5,
示例19: getIsEnabledCallbackstatic JSValueRef getIsEnabledCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ return JSValueMakeBoolean(context, toAXElement(thisObject)->isEnabled());}
开发者ID:dzip,项目名称:webkit,代码行数:4,
示例20: getInsertionPointLineNumberCallbackstatic JSValueRef getInsertionPointLineNumberCallback(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception){ return JSValueMakeNumber(context, toAXElement(thisObject)->insertionPointLineNumber());}
开发者ID:acss,项目名称:owb-mirror,代码行数:4,
注:本文中的toAXElement函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ toArray函数代码示例 C++ tmr_start函数代码示例 |