* Composite widgets
@ 2003-11-29 13:59 Mario Domgörgen
2003-11-30 15:18 ` Per Abrahamsen
0 siblings, 1 reply; 3+ messages in thread
From: Mario Domgörgen @ 2003-11-29 13:59 UTC (permalink / raw)
Hallo group!
This widget returns something like (("bla" . "blub") ("pli" . "pla")
,----
| (widget-create
| '(repeat (cons (string :size 30)
| (string :size 30))))
`----
I save that list to a file and want to reload it afterwards so that the
repeat-widget is initialized with that values. I know how to load the
list but don't know how to get the values in the repeat... :)
How do i do that?
Any ideas?
Mario
--
Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Composite widgets
2003-11-29 13:59 Composite widgets Mario Domgörgen
@ 2003-11-30 15:18 ` Per Abrahamsen
2003-11-30 15:52 ` Mario Domgörgen
0 siblings, 1 reply; 3+ messages in thread
From: Per Abrahamsen @ 2003-11-30 15:18 UTC (permalink / raw)
Mario Domgörgen <kanaldrache@gmx.de> writes:
> I save that list to a file and want to reload it afterwards so that the
> repeat-widget is initialized with that values. I know how to load the
> list but don't know how to get the values in the repeat... :)
(let ((value '(("bla" . "blub") ("pli" . "pla"))))
(widget-create 'repeat :value value
'(cons (string :size 30) (string :size 30)))
(widget-setup)
(widget-browse-mode))
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Composite widgets
2003-11-30 15:18 ` Per Abrahamsen
@ 2003-11-30 15:52 ` Mario Domgörgen
0 siblings, 0 replies; 3+ messages in thread
From: Mario Domgörgen @ 2003-11-30 15:52 UTC (permalink / raw)
Per Abrahamsen <abraham@dina.kvl.dk> writes:
>> I save that list to a file and want to reload it afterwards so that the
>> repeat-widget is initialized with that values. I know how to load the
>> list but don't know how to get the values in the repeat... :)
> (let ((value '(("bla" . "blub") ("pli" . "pla"))))
> (widget-create 'repeat :value value
> '(cons (string :size 30) (string :size 30)))
> (widget-setup)
> (widget-browse-mode))
Alexander Schröder pointed me in that direction yesterday night, but
thank you neverless. Sometimes i can just wonder about my personal
dumbness... :)
Mario
--
Windows NT crashed.
I am the Blue Screen of Death.
No one hears your screams.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-11-30 15:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-29 13:59 Composite widgets Mario Domgörgen
2003-11-30 15:18 ` Per Abrahamsen
2003-11-30 15:52 ` Mario Domgörgen
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).