Pavel Sanda wrote:
Pavel Sanda <[email protected]> writes:
this belongs to those 'another proposals'. you need to fetch the list of
groups. in case user clicks on some group you need to fetch all parameters for
this group. all this without direct access to buffer, so new lfun machinery
would be needed around.
The dialog class gives you access to the buffer. I am not sure what kind
of machinery you want.

i had the feeling that we try to avoid direct touching of kernel from gui,
thats why everything in dialogs is passed through lfuns. i wasn't even
aware be have direct buffer() inside dialog class and it looks like design
flaw.

Wrong, it's perfectly fine that the dialog do 'read' access to the buffer. The other way around is strictly forbidden. And it's good practice to avoid direct 'write' access to the buffer from the dialog; we should use an LFUN instead.

Guys, are you aware that you are discussing this in the users list?

Abdel.

Reply via email to