Author: tgoettlicher Date: Tue Feb 8 12:20:08 2011 New Revision: 63369 URL: http://svn.opensuse.org/viewcvs/yast?rev=63369&view=rev Log: - Added support for currentItem to tree widget Modified: trunk/libyui/VERSION trunk/libyui/package/yast2-libyui.changes trunk/libyui/src/YTree.h Modified: trunk/libyui/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/VERSION?rev=63369&r1=63368&r2=63369&view=diff ============================================================================== --- trunk/libyui/VERSION (original) +++ trunk/libyui/VERSION Tue Feb 8 12:20:08 2011 @@ -1 +1 @@ -2.20.0 +2.20.1 Modified: trunk/libyui/package/yast2-libyui.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/package/yast2-libyui.changes?rev=63369&r1=63368&r2=63369&view=diff ============================================================================== --- trunk/libyui/package/yast2-libyui.changes (original) +++ trunk/libyui/package/yast2-libyui.changes Tue Feb 8 12:20:08 2011 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue Feb 8 12:16:30 CET 2011 - tgoettlicher@suse.de + +- Added support for currentItem to tree widget +- V 2.20.1 + +------------------------------------------------------------------- Thu Feb 3 15:05:30 CET 2011 - tgoettlicher@suse.de - V 2.20.0 Modified: trunk/libyui/src/YTree.h URL: http://svn.opensuse.org/viewcvs/yast/trunk/libyui/src/YTree.h?rev=63369&r1=63368&r2=63369&view=diff ============================================================================== --- trunk/libyui/src/YTree.h (original) +++ trunk/libyui/src/YTree.h Tue Feb 8 12:20:08 2011 @@ -178,6 +178,17 @@ bool hasMultiSelection() const; + /** + * Return the the item that currently has the keyboard focus + * or 0 if no item currently has the keyboard focus. + * + * Notice that for a MultiSelectionBox the current item is not necessarily + * selected, i.e., its check box may or may not be checked. + * + * Derived classes are required to implement this function. + **/ + virtual YTreeItem * currentItem() = 0; + private: -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org