Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

83 строки
4.1 KiB

  1. /* GAIL - The GNOME Accessibility Implementation Library
  2. * Copyright 2001 Sun Microsystems Inc.
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Library General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Library General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Library General Public
  15. * License along with this library; if not, write to the
  16. * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17. * Boston, MA 02111-1307, USA.
  18. */
  19. #ifndef __GAIL_MISC_H__
  20. #define __GAIL_MISC_H__
  21. #include <glib-object.h>
  22. #include <gtk/gtk.h>
  23. #include <pango/pango.h>
  24. G_BEGIN_DECLS
  25. AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set,
  26. AtkTextAttribute attr,
  27. gchar *value);
  28. AtkAttributeSet* gail_misc_layout_get_run_attributes
  29. (AtkAttributeSet *attrib_set,
  30. PangoLayout *layout,
  31. gchar *text,
  32. gint offset,
  33. gint *start_offset,
  34. gint *end_offset);
  35. AtkAttributeSet* gail_misc_get_default_attributes (AtkAttributeSet *attrib_set,
  36. PangoLayout *layout,
  37. GtkWidget *widget);
  38. void gail_misc_get_extents_from_pango_rectangle
  39. (GtkWidget *widget,
  40. PangoRectangle *char_rect,
  41. gint x_layout,
  42. gint y_layout,
  43. gint *x,
  44. gint *y,
  45. gint *width,
  46. gint *height,
  47. AtkCoordType coords);
  48. gint gail_misc_get_index_at_point_in_layout
  49. (GtkWidget *widget,
  50. PangoLayout *layout,
  51. gint x_layout,
  52. gint y_layout,
  53. gint x,
  54. gint y,
  55. AtkCoordType coords);
  56. void gail_misc_get_origins (GtkWidget *widget,
  57. gint *x_window,
  58. gint *y_window,
  59. gint *x_toplevel,
  60. gint *y_toplevel);
  61. AtkAttributeSet* gail_misc_add_to_attr_set (AtkAttributeSet *attrib_set,
  62. GtkTextAttributes *attrs,
  63. AtkTextAttribute attr);
  64. AtkAttributeSet* gail_misc_buffer_get_run_attributes
  65. (GtkTextBuffer *buffer,
  66. gint offset,
  67. gint *start_offset,
  68. gint *end_offset);
  69. G_END_DECLS
  70. #endif /*__GAIL_MISC_H__ */