~ubuntu-branches/ubuntu/vivid/atk1.0/vivid-proposed

« back to all changes in this revision

Viewing changes to atk/atkcomponent.h

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2013-08-27 07:52:22 UTC
  • mfrom: (1.4.9) (11.2.12 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130827075222-59k70z0310f06jbb
* New upstream release
* Update symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
#endif
48
48
typedef struct _AtkComponentIface  AtkComponentIface;
49
49
 
50
 
typedef void (*AtkFocusHandler) (AtkObject*, gboolean);
 
50
/**
 
51
 * AtkFocusHandler:
 
52
 * @object: the #AtkObject that receives/lose the focus
 
53
 * @focus_in: TRUE if the object receives the focus
 
54
 *
 
55
 * The type of callback function used for
 
56
 * atk_component_add_focus_handler() and
 
57
 * atk_component_remove_focus_handler()
 
58
 *
 
59
 * Deprecated: This type is deprecated since ATK version 2.9.4. as
 
60
 * atk_component_add_focus_handler() and
 
61
 * atk_component_remove_focus_handler() are deprecated. See those
 
62
 * methods for more information.
 
63
 */
 
64
typedef void (*AtkFocusHandler) (AtkObject* object, gboolean focus_in);
51
65
 
52
66
typedef struct _AtkRectangle       AtkRectangle;
53
67
 
 
68
/**
 
69
 * AtkRectangle:
 
70
 * @x: X coordinate of the left side of the rectangle.
 
71
 * @y: Y coordinate of the top side of the rectangle.
 
72
 * @width: width of the rectangle.
 
73
 * @height: height of the rectangle.
 
74
 *
 
75
 * A data structure for holding a rectangle. Those coordinates are
 
76
 * relative to the component top-level parent.
 
77
 */
54
78
struct _AtkRectangle
55
79
{
56
80
  gint x;
62
86
GType atk_rectangle_get_type (void);
63
87
 
64
88
#define ATK_TYPE_RECTANGLE (atk_rectangle_get_type ())
 
89
 
 
90
/**
 
91
 * AtkComponentIface:
 
92
 * @add_focus_handler: This virtual function is deprecated since 2.9.4
 
93
 * and it should not be overriden. See
 
94
 * atk_component_add_focus_handler() for more information.
 
95
 * @remove_focus_handler: This virtual function is deprecated since
 
96
 * 2.9.4 and it should not be overriden. See
 
97
 * atk_component_remove_focus_handler() for more information.
 
98
 */
 
99
 
65
100
struct _AtkComponentIface
66
101
{
67
102
  GTypeInterface parent;
122
157
GType atk_component_get_type (void);
123
158
 
124
159
/* convenience functions */
125
 
 
 
160
G_DEPRECATED
126
161
guint                atk_component_add_focus_handler      (AtkComponent    *component,
127
162
                                                           AtkFocusHandler handler);
128
163
gboolean              atk_component_contains               (AtkComponent    *component,
149
184
AtkLayer              atk_component_get_layer              (AtkComponent    *component);
150
185
gint                  atk_component_get_mdi_zorder         (AtkComponent    *component);
151
186
gboolean              atk_component_grab_focus             (AtkComponent    *component);
 
187
G_DEPRECATED
152
188
void                  atk_component_remove_focus_handler   (AtkComponent    *component,
153
189
                                                            guint           handler_id);
154
190
gboolean              atk_component_set_extents            (AtkComponent    *component,