/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

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