/src/wrappers/gtk/library/gtk_table_child.e

http://github.com/tybor/Liberty · Specman e · 65 lines · 31 code · 11 blank · 23 comment · 2 complexity · 1d7c2c04d477159f8534889f1b08372e 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. date: "$Date:$"
  19. revision: "$Revision:$"
  20. class GTK_TABLE_CHILD
  21. inherit
  22. C_STRUCT
  23. EIFFEL_OWNED
  24. -- TODO: wrap this structure for real
  25. creation from_external_pointer
  26. feature {} -- size
  27. struct_size: INTEGER is
  28. external "C inline use <gtk/gtk.h>"
  29. alias "sizeof(GtkTableChild)"
  30. end
  31. feature {} -- Creation
  32. -- GtkTableChild
  33. -- typedef struct {
  34. -- GtkWidget *widget;
  35. -- guint16 left_attach;
  36. -- guint16 right_attach;
  37. -- guint16 top_attach;
  38. -- guint16 bottom_attach;
  39. -- guint16 xpadding;
  40. -- guint16 ypadding;
  41. -- guint xexpand : 1;
  42. -- guint yexpand : 1;
  43. -- guint xshrink : 1;
  44. -- guint yshrink : 1;
  45. -- guint xfill : 1;
  46. -- guint yfill : 1;
  47. -- } GtkTableChild;
  48. -- The widget field is a pointer to the widget that this GtkTableChild
  49. -- structure is keeping track of. The left_attach, right_attach, top_attach,
  50. -- and bottom_attach fields specify the row and column numbers which make up
  51. -- the invisible rectangle that the child widget is packed into.
  52. -- xpadding and ypadding specify the space between this widget and the
  53. -- surrounding table cells.
  54. end