Re: determine selected rows in a clist



I also find it strange that you cant get the selected rows through the
api. Going for the private data however is a bad thing, so a workaround
might be to listen for the "select-row" & "unselect-row" messages and
then manage a list with the selected rows by your self.

// Marcus


Nils Rennebarth wrote:

On Mon, Dec 11, 2000 at 09:55:03PM +0100, Joachim Jaeckel wrote:
I would like to get the information out of a clist, which rows are
selected by the user.
Use the clist->selection, it is a GList where "data" is the number of the
selected row.

This is however a field of the struct not covered by the official docs, so
it could vanish in upcoming releases. I would like to know what the official
way to access the selection is. I can't find it anywhere in the docs.

Nils

--
*New* *New* *New*    - on shellac records
   Windows HE        - see top 10 reasons to downgrade on
Historical Edition     http://www.microsoft.com/windowshe

  ------------------------------------------------------------------------
   Part 1.2Type: application/pgp-signature




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]