discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Examples of apps using a list, table, or spreadsheet


From: Ivan Vučica
Subject: Re: Examples of apps using a list, table, or spreadsheet
Date: Sun, 26 Mar 2017 12:58:29 +0000

Don't think of it in terms of "how do i do this with GORM". Think of it "how would i do this without GORM", and then "how can GORM make my life easier".

Implement a datasource for a NSTableView which returns values for table cells. Tell the table view to refresh its contents as required.

Or, use Cocoa Bindings to bind the table view's columns to an NSArrayController's values's subkeys.


Example on how to implement a datasource with no interface builder on either of the platforms: https://bitbucket.org/ivucica/hellognustep

It also includes drag and drop, but you can ignore that.

Do consider reading documentation and tutorials for Cocoa, not just GNUstep.

On Sun, Mar 26, 2017, 11:40 Svetlana Tkachenko <address@hidden> wrote:
Hi all,

To write a package manager frontend for gnustep I should learn to
programmatically interact with a ui element which is capable of
listing packages (such as a list of packages pending upgrade, list of
packages matching a search query, etc). This list could perhaps be
like a table with package name, package description, package version,
and details on the action to perform.

I just followed PierreDev tutorial for a calculator app and so I know
how to work with user input in a text area and with buttons (roughly).

I don't know what to pick in GORM that would do this table display
task in a working and intuitive way.

Do we have a good tutorial or example app to follow to achieve such
goal? I would start with simple "click a button to add  a row to the
table" and "click a button to modify an existing table entries list"
tasks in this context...


Svetlana


_______________________________________________
Discuss-gnustep mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

reply via email to

[Prev in Thread] Current Thread [Next in Thread]