Mailinglist Archive: yast-devel (129 mails)

< Previous Next >
Re: [yast-devel] How to preselect a table entry?
  • From: Katarina Machalkova <kmachalkova@xxxxxxx>
  • Date: Fri, 23 Nov 2007 09:45:00 +0100
  • Message-id: <200711230945.05134.kmachalkova@xxxxxxx>
Or how can I show a table without any entry preselected?
It seems by default the topmost entry ina a table is preselected.

In new mod-ui, YTable inherits from YSelectionWidget deselectAllItems()
method, which does exactly what you want. So obviously there is a way how to
do it, but I have no clue how to call it from YCP code :(

B.
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
< Previous Next >
References