PageRenderTime 26ms CodeModel.GetById 20ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/gtk/library/gtk_text_iter_reference.e

http://github.com/tybor/Liberty
Specman e | 40 lines | 26 code | 8 blank | 6 comment | 2 complexity | e5fccb914d726fd173c4ba0dbec816be MD5 | raw file
 1indexing
 2	description: "."
 3	copyright: "[
 4					Copyright (C) 2008 Paolo Redaelli
 5					
 6					This library is free software; you can redistribute it and/or
 7					modify it under the terms of the GNU Lesser General Public License
 8					as published by the Free Software Foundation; either version 2.1 of
 9					the License, or (at your option) any later version.
10					
11					This library is distributed in the hope that it will be useful, but
12					WITHOUT ANY WARRANTY; without even the implied warranty of
13					MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14					Lesser General Public License for more details.
15
16					You should have received a copy of the GNU Lesser General Public
17					License along with this library; if not, write to the Free Software
18					Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19					02110-1301 USA
20			]"
21
22class GTK_TEXT_ITER_REFERENCE
23
24inherit GTK_TEXT_ITER
25
26creation from_external_pointer, from_iter
27
28feature 
29	from_iter (an_iterator: EXPANDED_GTK_TEXT_ITER) is
30		do
31			from_external_pointer(gtk_text_iter_copy(handle))
32		end
33	
34	-- to_ref: GTK_TEXT_ITER is
35	-- A newly allocated iterator copyied from Current. Result 
36	-- is not expanded and it is allocated on the heap.
37	-- do
38	-- create Result.from_external_pointer(gtk_text_iter_copy(handle))
39	--end
40end -- class EXPANDED_GTK_TEXT_ITER