/src/wrappers/gtk/library/gtk_separator_menu_item.e

http://github.com/tybor/Liberty · Specman e · 55 lines · 39 code · 11 blank · 5 comment · 2 complexity · 7ede68b70a9a59fc2310977ad1cf048f MD5 · raw file

  1. indexing
  2. description: "GtkSeparatorMenuItem -- A separator used in menus."
  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_SEPARATOR_MENU_ITEM
  19. -- The GtkSeparatorMenuItem is a separator used to group items
  20. -- within a menu. It displays a horizontal line with a shadow to
  21. -- make it appear sunken into the interface.
  22. inherit
  23. GTK_MENU_ITEM
  24. redefine
  25. make, struct_size
  26. end
  27. -- TODO: GtkSeparatorMenuItem implements AtkImplementorIface.
  28. creation make, from_external_pointer
  29. feature {} -- Creation
  30. make is
  31. -- Creates a new GtkSeparatorMenuItem.
  32. do
  33. from_external_pointer (gtk_separator_menu_item_new )
  34. end
  35. feature -- size
  36. struct_size: INTEGER is
  37. external "C inline use <gtk/gtk.h>"
  38. alias "sizeof(GtkSeparatorMenuItem)"
  39. end
  40. feature {} -- External features
  41. gtk_separator_menu_item_new: POINTER is
  42. external "C use <gtk/gtk.h>"
  43. end
  44. end