本文整理汇总了C++中AccessibilityTableCell::wrapper方法的典型用法代码示例。如果您正苦于以下问题:C++ AccessibilityTableCell::wrapper方法的具体用法?C++ AccessibilityTableCell::wrapper怎么用?C++ AccessibilityTableCell::wrapper使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类AccessibilityTableCell
的用法示例。
在下文中一共展示了AccessibilityTableCell::wrapper方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: webkit_accessible_table_ref_at
static AtkObject* webkit_accessible_table_ref_at(AtkTable* table, gint row, gint column)
{
AccessibilityTableCell* AXCell = cell(table, row, column);
if (!AXCell)
return 0;
return AXCell->wrapper();
}
示例2: webkitAccessibleTableRefAt
static AtkObject* webkitAccessibleTableRefAt(AtkTable* table, gint row, gint column)
{
AccessibilityTableCell* axCell = cell(table, row, column);
if (!axCell)
return 0;
AtkObject* cell = axCell->wrapper();
if (!cell)
return 0;
// This method transfers full ownership over the returned
// AtkObject, so an extra reference is needed here.
return ATK_OBJECT(g_object_ref(cell));
}
示例3: webkitAccessibleTableRefAt
static AtkObject* webkitAccessibleTableRefAt(AtkTable* table, gint row, gint column)
{
g_return_val_if_fail(ATK_TABLE(table), 0);
returnValIfWebKitAccessibleIsInvalid(WEBKIT_ACCESSIBLE(table), 0);
AccessibilityTableCell* axCell = cell(table, row, column);
if (!axCell)
return 0;
AtkObject* cell = axCell->wrapper();
if (!cell)
return 0;
// This method transfers full ownership over the returned
// AtkObject, so an extra reference is needed here.
return ATK_OBJECT(g_object_ref(cell));
}