public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* clist and selected row
@ 2001-04-17  6:07 David Pirotte
  2001-04-17 11:59 ` Ariel Rios
  0 siblings, 1 reply; 2+ messages in thread
From: David Pirotte @ 2001-04-17  6:07 UTC (permalink / raw)
  To: guile-gtk

Hi,

- how can I get access to the currently selected row? like:

	gtk-clist-selected-row		'single 'browse
	gtk-clist-selected-rows		'multiple 'extended

- what is the selection callback function?

- is there a way to get the all list of records of a clist:

	gtk-clist-array	(or table or items or something like that)

thanks
david


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: clist and selected row
  2001-04-17  6:07 clist and selected row David Pirotte
@ 2001-04-17 11:59 ` Ariel Rios
  0 siblings, 0 replies; 2+ messages in thread
From: Ariel Rios @ 2001-04-17 11:59 UTC (permalink / raw)
  To: David Pirotte; +Cc: guile-gtk

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

El 17 Apr 2001 15:38:04 +0200, David Pirotte escribió:
 
> - what is the selection callback function?

(gtk-signal-connect clist "select_row" (lambda (row col event) 
                    (foo row col))) 
 
> - is there a way to get the all list of records of a clist:
> 
>       gtk-clist-array (or table or items or something like that)
nope. What I do, before inserting things unto the clist I
append it to a list containing the elements of the clist

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-17 11:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-17  6:07 clist and selected row David Pirotte
2001-04-17 11:59 ` Ariel Rios

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).