/src/wrappers/gtk/library/has_forward_stepper_property.e

http://github.com/tybor/Liberty · Specman e · 45 lines · 35 code · 8 blank · 2 comment · 2 complexity · d14ba0da8e95534ac82f5813432b4495 MD5 · raw file

  1. indexing
  2. description: "The `fixed-slider-length' style property."
  3. copyright: "[
  4. Copyright (C) 2006 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 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. deferred class HAS_FORWARD_STEPPER_PROPERTY
  19. inherit GTK_OBJECT
  20. feature -- TODO: The "has-forward-stepper" style property
  21. has_forward_stepper: BOOLEAN is
  22. -- Is the standard forward arrow button displayed? Default
  23. -- value: True
  24. do
  25. Result := boolean_property_from_pspec (has_forward_stepper_pspec)
  26. end
  27. feature {} -- Implementation
  28. has_forward_stepper_property_property_name: STRING is "has-forward-stepper"
  29. has_forward_stepper_pspec: G_PARAM_SPEC is
  30. require has_property (has_forward_stepper_property_property_name)
  31. once
  32. create Result.from_external_pointer
  33. (g_object_class_find_property
  34. (g_object_get_class(handle),
  35. has_forward_stepper_property_property_name.to_external))
  36. end
  37. end -- class HAS_FORWARD_STEPPER_PROPERTY