X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=cspi%2Fspi_selection.c;h=910e9c832c26ae444cdb715a3976e57e40085e11;hb=3f9c0df4014e6b5657fd607e7782282ac5e2f03f;hp=54c884a0c80267aeac414e91dc1e1a071b83857c;hpb=540a6e92e306a7e5c52de9b90ca3785f3feee402;p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git diff --git a/cspi/spi_selection.c b/cspi/spi_selection.c index 54c884a..910e9c8 100644 --- a/cspi/spi_selection.c +++ b/cspi/spi_selection.c @@ -2,7 +2,8 @@ * AT-SPI - Assistive Technology Service Provider Interface * (Gnome Accessibility Project; http://developer.gnome.org/projects/gap) * - * Copyright 2001 Sun Microsystems Inc. + * Copyright 2001, 2002 Sun Microsystems Inc., + * Copyright 2001, 2002 Ximian, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -168,6 +169,38 @@ AccessibleSelection_deselectSelectedChild (AccessibleSelection *obj, } /** + * AccessibleSelection_deselectChild: + * @obj: a pointer to the #AccessibleSelection on which to operate. + * @childIndex: a #long indicating which of the children + * of the #Accessible is to be de-selected. + * + * Deselect a specific child of an #AccessibleSelection. + * Note that @childIndex is the index of the child + * in the parent container. + * + * See #AccessibleSelection_deselectSelectedChild + * + * Since AT-SPI 1.8.0 + * + * Returns: #TRUE if the child was successfully deselected, #FALSE otherwise. + **/ +SPIBoolean +AccessibleSelection_deselectChild (AccessibleSelection *obj, + long int childIndex) +{ + SPIBoolean retval; + + cspi_return_val_if_fail (obj != NULL, FALSE); + + retval = Accessibility_Selection_deselectChild ( + CSPI_OBJREF (obj), childIndex, cspi_ev ()); + + cspi_return_val_if_ev ("deselectChild", FALSE); + + return retval; +} + +/** * AccessibleSelection_isChildSelected: * @obj: a pointer to the #AccessibleSelection implementor on which to operate. * @childIndex: an index into the #AccessibleSelection's list of children.