alternative to assert
[gtkD.git] / gtkD / wrap / APILookupSourceView.txt
blob19502593155e7e1cf373cb0f1308b39015d208d4
2 # This file is part of gtkD.
3
4 # gtkD is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU Lesser General Public License as published by
6 # the Free Software Foundation; either version 2.1 of the License, or
7 # (at your option) any later version.
8
9 # gtkD is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU Lesser General Public License for more details.
13
14 # You should have received a copy of the GNU Lesser General Public License
15 # along with gtkD; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21 ###
22 #####
23 # Definitions for wrapping SourceView
24 #####
25 ###
29 addTypedefs: start
31 public import gtkc.gtktypes;
33 addTypedefs: end
35 addAliases: start
36 addAliases: end
38 addEnums: start
39 addEnums: end
41 addStructs: start
42 addStructs: end
44 addTypes: start
45 addTypes: end
47 addFuncts: start
48 addFuncts: end
50 addUnions: start
51 addUnions: end
53 addConstants: start
54 addConstants: end
57 # must start with wrap
59 wrap: sourceview
61 ###########################################################
62 ### Atk ###################################################
63 ###########################################################
65 file: GtkSourceView.html
66 struct: GtkSourceView
67 class: SourceView
68 prefix: gtk_source_view_
69 structWrap: GtkSourceBuffer* SourceBuffer
70 import: gsv.SourceBuffer
71 import: gtkc.gtk
72 import: glib.Str
74 code: start
76         /**
77          * Returns the GtkSourceBuffer being displayed by this source view.
78          * The reference count on the buffer is not incremented; the caller
79          * of this function won't own a new reference.
80          * text_view:
81          *  a GtkSourceView
82          * Returns:
83          *  a GtkSourceBuffer
84          */
85         public SourceBuffer getBuffer()
86         {
87                 // GtkSourceBuffer* gtk_text_view_get_buffer (GtkTextView *text_view);
88                 return new SourceBuffer( cast(GtkSourceBuffer*)gtk_text_view_get_buffer(cast(GtkTextView*)gtkSourceView) );
89         }
90         
93 code: end
95 outFile: SourceView
97 file: GtkSourceBuffer.html
98 struct: GtkSourceBuffer
99 class: SourceBuffer
100 prefix: gtk_source_buffer_
101 #import: gsv.SourceBuffer
102 #structWrap: GtkSourceBuffer* SourceBuffer
103 import: gsv.SourceTagTable
104 structWrap: GtkSourceTagTable* SourceTagTable
105 import: gsv.SourceLanguage
106 structWrap: GtkSourceLanguage* SourceLanguage
107 import: gsv.SourceTagStyle
108 structWrap: GtkSourceTagStyle* SourceTagStyle
109 import: gsv.SourceMarker
110 structWrap: GtkSourceMarker* SourceMarker
111 import: gtk.TextIter
112 structWrap: GtkTextIter* TextIter
113 import: glib.Str
114 import: glib.ListSG
115 structWrap: GSList* ListSG
116 outFile: SourceBuffer
118 file: gtksourceview-Searching-in-a-GtkSourceBuffer.html
119 #struct: 
120 class: SourceSearch
121 prefix: gtk_source_iter_
122 structWrap: GtkTextIter* TextIter
123 import: gtk.TextIter
124 import: glib.Str
125 outFile: SourceSearch
127 file: gtksourceview-GtkSourceMarker.html
128 struct: GtkSourceMarker
129 class: SourceMarker
130 prefix: gtk_source_marker_
131 import: glib.Str
132 outFile: SourceMarker
134 file: GtkSourceLanguage.html
135 struct: GtkSourceLanguage
136 class: SourceLanguage
137 prefix: gtk_source_iter_
138 structWrap: GtkSourceStyleScheme* SourceStyleScheme
139 import: gsv.SourceStyleScheme
140 import: glib.Str
141 outFile: SourceLanguage
143 file: GtkSourceLanguagesManager.html
144 struct: GtkSourceLanguagesManager
145 class: SourceLanguagesManager
146 prefix: gtk_source_languages_manager_
147 import: glib.ListSG
148 structWrap: GSList* ListSG
149 import: glib.Str
150 outFile: SourceLanguagesManager
154 file: GtkSourceStyleScheme.html
155 struct: GtkSourceStyleScheme
156 class: SourceStyleScheme
157 prefix: gtk_source_style_scheme_
158 #structWrap: 
159 import: glib.Str
160 outFile: SourceStyleScheme
163 file: GtkSourceTag.html
164 struct: GtkSourceTag
165 class: SourceTag
166 prefix: gtk_source_tag_
167 structWrap: GtkSourceTagStyle* SourceTagStyle
168 import: gsv.SourceTagStyle
169 import: glib.Str
170 outFile: SourceTag
173 file: GtkSourceTagTable.html
174 struct: GtkSourceTagTable
175 class: SourceTagTable
176 prefix: gtk_source_tag_table_
177 #structWrap: 
178 outFile: SourceTagTable
181 file: gtksourceview-GtkSourceTagStyle.html
182 struct: GtkSourceTagStyle
183 class: SourceTagStyle
184 prefix: gtk_source_tag_style_
185 #structWrap: 
186 outFile: SourceTagStyle
191 ##### depends on gnome - not wrapped
192 #file: GtkSourcePrintJob.html
193 #struct: GtkSourcePrintJob
194 #class: SourcePrintJob
195 #prefix: gtk_source_print_job_
196 ##structWrap: 
197 #outFile: SourcePrintJob