static AccessibleObject createChildAccessible (Accessible accessible, int childId) { long /*int*/ childType = getType (CHILD_TYPENAME, accessible, ATK.GTK_TYPE_ACCESSIBLE(), childId); return new AccessibleObject(childType, 0, accessible, true); }
static AccessibleObject createChildAccessible (Accessible accessible, int childId) { int /*long*/ childType = getType (CHILD_TYPENAME, accessible, ATK.GTK_TYPE_ACCESSIBLE(), childId); return new AccessibleObject(childType, 0, accessible, true); }
static AccessibleObject createChildAccessible (Accessible accessible, int childId) { int /*long*/ childType = getType (CHILD_TYPENAME, accessible, ATK.GTK_TYPE_ACCESSIBLE(), childId); return new AccessibleObject(childType, 0, accessible, true); }
static int /*long*/ atkObjectFactory_create_accessible (int /*long*/ widget) { Accessible accessible = Accessibles.get (new LONG (widget)); if (accessible == null) { /* * we don't care about this control, so create it with the parent's * type so that its accessibility callbacks will not pass though here */ int /*long*/ result = OS.g_object_new (getParentType(OS.G_OBJECT_TYPE (widget)), 0); ATK.atk_object_initialize (result, widget); return result; } /* if an atk object has already been created for this widget then just return it */ if (accessible.accessibleObject != null) { return accessible.accessibleObject.handle; } int /*long*/ widgetType = OS.G_OBJECT_TYPE (widget); int /*long*/ parentType = getParentType (widgetType); if (parentType == 0) parentType = ATK.GTK_TYPE_ACCESSIBLE(); int /*long*/ type = getType (getTypeName(widgetType), accessible, parentType, ACC.CHILDID_SELF); AccessibleObject object = new AccessibleObject (type, widget, accessible, false); accessible.accessibleObject = object; accessible.addRelations (); return object.handle; }
static int /*long*/ atkObjectFactory_create_accessible (int /*long*/ widget) { Accessible accessible = Accessibles.get (new LONG (widget)); if (accessible == null) { /* * we don't care about this control, so create it with the parent's * type so that its accessibility callbacks will not pass though here */ int /*long*/ result = OS.g_object_new (getParentType(OS.G_OBJECT_TYPE (widget)), 0); ATK.atk_object_initialize (result, widget); return result; } /* if an atk object has already been created for this widget then just return it */ if (accessible.accessibleObject != null) { return accessible.accessibleObject.handle; } int /*long*/ widgetType = OS.G_OBJECT_TYPE (widget); int /*long*/ parentType = getParentType (widgetType); if (parentType == 0) parentType = ATK.GTK_TYPE_ACCESSIBLE(); int /*long*/ type = getType (getTypeName(widgetType), accessible, parentType, ACC.CHILDID_SELF); AccessibleObject object = new AccessibleObject (type, widget, accessible, false); accessible.accessibleObject = object; accessible.addRelations (); return object.handle; }
static long /*int*/ atkObjectFactory_create_accessible (long /*int*/ widget) { Accessible accessible = Accessibles.get (new LONG (widget)); if (accessible == null) { /* * we don't care about this control, so create it with the parent's * type so that its accessibility callbacks will not pass though here */ long /*int*/ result = OS.g_object_new (getParentType(OS.G_OBJECT_TYPE (widget)), 0); ATK.atk_object_initialize (result, widget); return result; } /* if an atk object has already been created for this widget then just return it */ if (accessible.accessibleObject != null) { return accessible.accessibleObject.handle; } long /*int*/ widgetType = OS.G_OBJECT_TYPE (widget); long /*int*/ parentType = getParentType (widgetType); if (parentType == 0) parentType = ATK.GTK_TYPE_ACCESSIBLE(); long /*int*/ type = getType (getTypeName(widgetType), accessible, parentType, ACC.CHILDID_SELF); AccessibleObject object = new AccessibleObject (type, widget, accessible, false); accessible.accessibleObject = object; accessible.addRelations (); return object.handle; }