/src/wrappers/gtk/library/gtk_hseparator.e

http://github.com/tybor/Liberty · Specman e · 56 lines · 36 code · 10 blank · 10 comment · 2 complexity · 2658cbef4de6c78d1dcb301598326f76 MD5 · raw file

  1. indexing
  2. description: "A horizontal separator."
  3. copyright: "[
  4. Copyright (C) 2007 Paolo Redaelli, 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 hopeOA 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. wrapped_version: "2.10.6"
  19. class GTK_HSEPARATOR
  20. -- The GtkHSeparator widget is a horizontal separator, used to
  21. -- group the widgets within a window. It displays a horizontal line
  22. -- with a shadow to make it appear sunken into the interface.
  23. -- Note: The GtkHSeparator widget is not used as a separator within
  24. -- menus. To create a separator in a menu create an empty
  25. -- GTK_SEPARATOR_MENU_ITEM widget and add it to the menu with
  26. -- GTK_MENU_SHELL.`append'.
  27. inherit GTK_SEPARATOR
  28. -- GtkHSeparator implements AtkImplementorIface.
  29. creation make, from_external_pointer
  30. feature {} -- Creation
  31. make is
  32. -- Creates a new GtkHSeparator.
  33. do
  34. from_external_pointer(gtk_hseparator_new)
  35. end
  36. feature -- size
  37. struct_size: INTEGER is
  38. external "C inline use <gtk/gtk.h>"
  39. alias "sizeof(GtkHseparator)"
  40. end
  41. feature {} -- External calls
  42. gtk_hseparator_new: POINTER is
  43. -- GtkWidget* gtk_hseparator_new (void);
  44. external "C use <gtk/gtk.h>"
  45. end
  46. end -- class GTK_HSEPARATOR