Changeset 520
- Timestamp:
- 07/08/08 16:20:32 (2 months ago)
- Files:
-
- trunk/src/gtk/CellView.d (modified) (5 diffs)
- trunk/src/gtk/EntryCompletion.d (modified) (5 diffs)
- trunk/src/gtk/IconView.d (modified) (5 diffs)
- trunk/src/gtk/TreeViewColumn.d (modified) (6 diffs)
- trunk/wrap/APILookupGtk.txt (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/gtk/CellView.d
r517 r520 36 36 * extend = 37 37 * implements: 38 * - CellLayoutIF 38 39 * prefixes: 39 40 * - gtk_cell_view_ … … 52 53 * - gdk.Color 53 54 * - glib.ListG 55 * - gtk.CellRenderer 56 * - gtk.CellLayoutIF 57 * - gtk.CellLayoutT 54 58 * structWrap: 55 59 * - GList* -> ListG … … 76 80 private import gdk.Color; 77 81 private import glib.ListG; 82 private import gtk.CellRenderer; 83 private import gtk.CellLayoutIF; 84 private import gtk.CellLayoutT; 78 85 79 86 … … 88 95 * and drag and drop. 89 96 */ 90 public class CellView : Widget 97 public class CellView : Widget, CellLayoutIF 91 98 { 92 99 … … 128 135 this.gtkCellView = gtkCellView; 129 136 } 137 138 // add the CellLayout capabilities 139 mixin CellLayoutT!(GtkCellView); 130 140 131 141 /** trunk/src/gtk/EntryCompletion.d
r517 r520 31 31 * clss = EntryCompletion 32 32 * interf = 33 * class Code: No33 * class Code: Yes 34 34 * interface Code: No 35 35 * template for: 36 36 * extend = 37 37 * implements: 38 * - CellLayoutIF 38 39 * prefixes: 39 40 * - gtk_entry_completion_ … … 48 49 * - gtk.TreeModel 49 50 * - gtk.TreeModelIF 51 * - gtk.CellRenderer 52 * - glib.ListG 53 * - gtk.CellLayoutIF 54 * - gtk.CellLayoutT 50 55 * structWrap: 51 56 * - GtkTreeModel* -> TreeModelIF … … 69 74 private import gtk.TreeModel; 70 75 private import gtk.TreeModelIF; 76 private import gtk.CellRenderer; 77 private import glib.ListG; 78 private import gtk.CellLayoutIF; 79 private import gtk.CellLayoutT; 71 80 72 81 … … 99 108 * selected, the ::action-activated signal is emitted. 100 109 */ 101 public class EntryCompletion : ObjectG 110 public class EntryCompletion : ObjectG, CellLayoutIF 102 111 { 103 112 … … 139 148 this.gtkEntryCompletion = gtkEntryCompletion; 140 149 } 150 151 // add the CellLayout capabilities 152 mixin CellLayoutT!(GtkEntryCompletion); 141 153 142 154 /** trunk/src/gtk/IconView.d
r517 r520 31 31 * clss = IconView 32 32 * interf = 33 * class Code: No33 * class Code: Yes 34 34 * interface Code: No 35 35 * template for: 36 36 * extend = 37 37 * implements: 38 * - CellLayoutIF 38 39 * prefixes: 39 40 * - gtk_icon_view_ … … 52 53 * - glib.ListG 53 54 * - gdk.Pixmap 55 * - glib.Str 56 * - gtk.CellLayoutIF 57 * - gtk.CellLayoutT 54 58 * structWrap: 55 59 * - GList* -> ListG … … 82 86 private import glib.ListG; 83 87 private import gdk.Pixmap; 88 private import glib.Str; 89 private import gtk.CellLayoutIF; 90 private import gtk.CellLayoutT; 84 91 85 92 … … 96 103 * rubberband selection, which is controlled by dragging the pointer. 97 104 */ 98 public class IconView : Container 105 public class IconView : Container, CellLayoutIF 99 106 { 100 107 … … 136 143 this.gtkIconView = gtkIconView; 137 144 } 145 146 // add the CellLayout capabilities 147 mixin CellLayoutT!(GtkIconView); 138 148 139 149 /** trunk/src/gtk/TreeViewColumn.d
r517 r520 36 36 * extend = 37 37 * implements: 38 * - CellLayoutIF 38 39 * prefixes: 39 40 * - gtk_tree_view_column_ … … 53 54 * - gdk.Rectangle 54 55 * - glib.Str 56 * - gtk.CellLayoutIF 57 * - gtk.CellLayoutT 55 58 * structWrap: 56 59 * - GList* -> ListG … … 82 85 private import gdk.Rectangle; 83 86 private import glib.Str; 87 private import gtk.CellLayoutIF; 88 private import gtk.CellLayoutT; 84 89 85 90 … … 96 101 * they work together. 97 102 */ 98 public class TreeViewColumn : ObjectGtk 103 public class TreeViewColumn : ObjectGtk, CellLayoutIF 99 104 { 100 105 … … 137 142 } 138 143 144 // add the CellLayout capabilities 145 mixin CellLayoutT!(GtkTreeViewColumn); 146 139 147 /** 140 148 * Creates a new Tree view column … … 155 163 ); 156 164 } 157 158 165 159 166 /** trunk/wrap/APILookupGtk.txt
r519 r520 1787 1787 struct: GtkEntryCompletion 1788 1788 class: EntryCompletion 1789 implements: CellLayoutIF 1789 1790 prefix: gtk_entry_completion_ 1790 1791 prefix: gtk_ … … 1795 1796 import: gtk.TreeModelIF 1796 1797 structWrap: GtkTreeModel* TreeModelIF 1798 1799 #imports for CellLayout Interface. 1800 #import: glib.Str 1801 import: gtk.CellRenderer 1802 import: glib.ListG 1803 import: gtk.CellLayoutIF 1804 import: gtk.CellLayoutT 1805 1806 code: start 1807 // add the CellLayout capabilities 1808 mixin CellLayoutT!(GtkEntryCompletion); 1809 code: end 1797 1810 outFile: EntryCompletion 1798 1811 … … 2825 2838 struct: GtkTreeViewColumn 2826 2839 class: TreeViewColumn 2840 implements: CellLayoutIF 2827 2841 prefix: gtk_tree_view_column_ 2828 2842 prefix: gtk_ … … 2841 2855 structWrap: GdkRectangle* Rectangle 2842 2856 import: glib.Str 2857 2858 #imports for CellLayout Interface. 2859 #import: glib.Str 2860 #import: gtk.CellRenderer 2861 #import: glib.ListG 2862 import: gtk.CellLayoutIF 2863 import: gtk.CellLayoutT 2864 2843 2865 nocode: gtk_tree_view_column_new_with_attributes 2844 2866 2845 2867 code: start 2868 // add the CellLayout capabilities 2869 mixin CellLayoutT!(GtkTreeViewColumn); 2870 2846 2871 /** 2847 2872 * Creates a new Tree view column … … 2862 2887 ); 2863 2888 } 2864 2865 2866 2889 code: end 2867 2890 … … 3052 3075 struct: GtkCellView 3053 3076 class: CellView 3077 implements: CellLayoutIF 3054 3078 prefix: gtk_cell_view_ 3055 3079 prefix: gtk_ … … 3068 3092 structWrap: GList* ListG 3069 3093 3094 #imports for CellLayout Interface. 3095 #import: glib.Str 3096 import: gtk.CellRenderer 3097 #import: glib.ListG 3098 import: gtk.CellLayoutIF 3099 import: gtk.CellLayoutT 3100 3070 3101 nocode: gtk_cell_view_new_with_text 3071 3102 nocode: gtk_cell_view_new_with_markup 3072 3103 3073 3104 code: start 3105 // add the CellLayout capabilities 3106 mixin CellLayoutT!(GtkCellView); 3107 3074 3108 /** 3075 3109 * Creates a new GtkCellView widget, adds a GtkCellRendererText … … 3103 3137 struct: GtkIconView 3104 3138 class: IconView 3139 implements: CellLayoutIF 3105 3140 prefix: gtk_icon_view_ 3106 3141 prefix: gtk_ … … 3128 3163 import: gdk.Pixmap 3129 3164 structWrap: GdkPixmap* Pixmap 3165 3166 #imports for CellLayout Interface. 3167 import: glib.Str 3168 #import: gtk.CellRenderer 3169 #import: glib.ListG 3170 import: gtk.CellLayoutIF 3171 import: gtk.CellLayoutT 3172 3173 code: start 3174 // add the CellLayout capabilities 3175 mixin CellLayoutT!(GtkIconView); 3176 code: end 3130 3177 outFile: IconView 3131 3178 … … 3717 3764 structWrap: GtkTreeIter* TreeIter 3718 3765 3719 #imports for CellLa uout Interface.3766 #imports for CellLayout Interface. 3720 3767 #import: glib.Str 3721 3768 import: gtk.CellRenderer
