/src/wrappers/gtk/library/gtk_text_appearance.e

http://github.com/tybor/Liberty · Specman e · 65 lines · 27 code · 14 blank · 24 comment · 2 complexity · 1f685ba5a2888d7f9dbfd162038e8c04 MD5 · raw file

  1. indexing
  2. description: "."
  3. copyright: "[
  4. Copyright (C) 2006 eiffel-libraries team, GTK+ team
  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_APPEARANCE
  19. inherit G_STRUCT
  20. creation from_external_pointer
  21. -- TODO: wrap this structure for real
  22. feature -- size
  23. struct_size: INTEGER is
  24. external "C inline use <gtk/gtk.h>"
  25. alias "sizeof(GtkTextAppearance)"
  26. end
  27. feature {} -- External calls and stucture access
  28. -- GtkTextAppearance
  29. -- typedef struct {
  30. -- GdkColor bg_color;
  31. -- GdkColor fg_color;
  32. -- GdkBitmap *bg_stipple;
  33. -- GdkBitmap *fg_stipple;
  34. -- /* super/subscript rise, can be negative */
  35. -- gint rise;
  36. -- guint underline : 4; /* PangoUnderline */
  37. -- guint strikethrough : 1;
  38. -- /* Whether to use background-related values; this is irrelevant for
  39. -- * the values struct when in a tag, but is used for the composite
  40. -- * values struct; it's true if any of the tags being composited
  41. -- * had background stuff set.
  42. -- */
  43. -- guint draw_bg : 1;
  44. -- /* These are only used when we are actually laying out and rendering
  45. -- * a paragraph; not when a GtkTextAppearance is part of a
  46. -- * GtkTextAttributes.
  47. -- */
  48. -- guint inside_selection : 1;
  49. -- guint is_text : 1;
  50. -- } GtkTextAppearance;
  51. end