ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Aug/Nosubject

This is Nosubject in view mode; [Up]


Date: Sun 03-Aug-1989 23:58:56 From: Unknown Subject: (none) In article <246300028@uxa.cso.uiuc.edu> jpd00964@uxa.cso.uiuc.edu writes: > >Is there any easy way to get the id of a submenu without an outlet? > >I know how to get the id of the main menu, but how do I go through its >submenus? > >Michael Rutman >Softmed Menu is just a window whose contentView is a matrix of menuCells, so [aMenu contentView] returns the id of the Menu and [[aMenu contentView] cellAt:i:0] returns the cell(id) at row i col 0. Then you can check if this cell is a leaf or not... Hope this helps. --yufeng tsui@silver.bacs.indiana.edu >From: tsui@silver.bacs.indiana.edu (Yufeng Tsui)
Date: Sun 04-Aug-1989 00:02:23 From: Unknown Subject: (none) In article <246300028@uxa.cso.uiuc.edu> jpd00964@uxa.cso.uiuc.edu writes: > >Is there any easy way to get the id of a submenu without an outlet? > >I know how to get the id of the main menu, but how do I go through its >submenus? > >Michael Rutman >Softmed Menu is just a window whose contentView is a matrix of menuCells, so [aMenu contentView] returns the id of the Menu and [[aMenu contentView] cellAt:i:0] returns the cell(id) at row i col 0. Then you can check if this cell is a leaf or not... Hope this helps. --yufeng tsui@silver.bacs.indiana.edu >In article <246300028@uxa.cso.uiuc.edu> jpd00964@uxa.cso.uiuc.edu writes: >> > >Menu is just a window whose contentView is a matrix of menuCells, so >[aMenu contentView] returns the id of the Menu and oops, should be matrix >[[aMenu contentView] cellAt:i:0] returns the cell(id) at row i col 0. >Then you can check if this cell is a leaf or not... >Hope this helps. > --yufeng tsui@silver.bacs.indiana.edu >From: ali@polya.Stanford.EDU (Ali T. Ozer)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.