Mailinglist Archive: yast-devel (77 mails)

< Previous Next >
Re: [yast-devel] Table popups
  • From: Lukas Ocilka <lukas.ocilka@xxxxxxx>
  • Date: Tue, 13 Jan 2009 11:02:08 +0100
  • Message-id: <496C66A0.9020301@xxxxxxx>
Johannes Meixner wrote:
Currently there is a Table function (which only spits out a Table
widget on the screen) but no Table-functions can be defined there.
Instead there are some more PushButton functions (which only spit
out PushButton widgets on the screen).
Somewhere else in the code (one has to inspect the code) there is
functionality implemented which does something regarding the Table
when a certain PushButton was clicked.

I would like to have a higher-level Table function where I could
define all what belongs to a table at one same place, e.g. like

Table::SetContentsButtons
( caption,
contents,
Label::AddButton(),
Label::EditButton(),
Label::DeleteButton(),
);

(looks intentionally like Wizard::SetContentsButtons ;-)

Nice, but that expects there is only one table widget in the dialog. In
fact, you need a table identifier.

L.

< Previous Next >
Follow Ups