comparison dwt/internal/cocoa/NSTabView.d @ 60:62202ce0039f

Updated and fixed many modules to 3.514
author Jacob Carlborg <doob@me.com>
date Mon, 22 Dec 2008 15:10:19 +0100
parents d8635bb48c7c
children 63a09873578e
comparison
equal deleted inserted replaced
59:83b0ad9d9238 60:62202ce0039f
54 OS.objc_msgSend(this.id, OS.sel_addTabViewItem_, tabViewItem !is null ? tabViewItem.id : null); 54 OS.objc_msgSend(this.id, OS.sel_addTabViewItem_, tabViewItem !is null ? tabViewItem.id : null);
55 } 55 }
56 56
57 public NSRect contentRect() { 57 public NSRect contentRect() {
58 NSRect result = NSRect(); 58 NSRect result = NSRect();
59 OS.objc_msgSend_stret(result, this.id, OS.sel_contentRect); 59 OS.objc_msgSend_stret(&result, this.id, OS.sel_contentRect);
60 return result; 60 return result;
61 } 61 }
62 62
63 public void insertTabViewItem(NSTabViewItem tabViewItem, NSInteger index) { 63 public void insertTabViewItem(NSTabViewItem tabViewItem, NSInteger index) {
64 OS.objc_msgSend(this.id, OS.sel_insertTabViewItem_atIndex_, tabViewItem !is null ? tabViewItem.id : null, index); 64 OS.objc_msgSend(this.id, OS.sel_insertTabViewItem_atIndex_, tabViewItem !is null ? tabViewItem.id : null, index);
65 } 65 }
66 66
67 public NSSize minimumSize() { 67 public NSSize minimumSize() {
68 NSSize result = NSSize(); 68 NSSize result = NSSize();
69 OS.objc_msgSend_stret(result, this.id, OS.sel_minimumSize); 69 OS.objc_msgSend_stret(&result, this.id, OS.sel_minimumSize);
70 return result; 70 return result;
71 } 71 }
72 72
73 public void removeTabViewItem(NSTabViewItem tabViewItem) { 73 public void removeTabViewItem(NSTabViewItem tabViewItem) {
74 OS.objc_msgSend(this.id, OS.sel_removeTabViewItem_, tabViewItem !is null ? tabViewItem.id : null); 74 OS.objc_msgSend(this.id, OS.sel_removeTabViewItem_, tabViewItem !is null ? tabViewItem.id : null);