On 3/23/06, Scott Frankel <[EMAIL PROTECTED]> wrote:

> If I understand correctly, this would translate in Python to:
>
>      rectangle = setWidthheight_(width, height)

obj-c:
    [rectangle setWidth:width height:height]

python:
    rectangle.setWidth_height_(width, height)

> Correct that the 'h' in the "height" part of the method name is not
> capitalized?

Don't change capitalization.  Per the docs, just replace :'s with _'s
and concatenate everything.

> How about the following?
>
>      - (id)tableView:(NSTableView *)tableView
>      objectValueForTableColumn(NSTableColumn *)tableColumn
>              row:(int)row

tableView_objectValueForTableColumn_row_(tableView, tableColumn, row)

HTH,

J.
_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to