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

« back to all changes in this revision

Viewing changes to atk/atktext.h

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2014-10-25 10:12:48 UTC
  • mfrom: (11.3.3 sid)
  • Revision ID: package-import@ubuntu.com-20141025101248-r41m1uvjfbri1lj4
Tags: 2.14.0-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - Build using dh-autoreconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
  ATK_TEXT_ATTR_LAST_DEFINED
98
98
} AtkTextAttribute;
99
99
 
 
100
ATK_AVAILABLE_IN_ALL
100
101
AtkTextAttribute         atk_text_attribute_register   (const gchar *name);
101
102
 
102
103
 
208
209
  gchar* content;
209
210
};
210
211
 
 
212
ATK_AVAILABLE_IN_ALL
211
213
GType atk_text_range_get_type (void);
212
214
 
213
215
/**
333
335
                                                   gint               *end_offset);
334
336
};
335
337
 
 
338
ATK_AVAILABLE_IN_ALL
336
339
GType            atk_text_get_type (void);
337
340
 
338
341
 
343
346
 *                         editable text only)
344
347
 */
345
348
 
 
349
ATK_AVAILABLE_IN_ALL
346
350
gchar*        atk_text_get_text                           (AtkText          *text,
347
351
                                                           gint             start_offset,
348
352
                                                           gint             end_offset);
 
353
ATK_AVAILABLE_IN_ALL
349
354
gunichar      atk_text_get_character_at_offset            (AtkText          *text,
350
355
                                                           gint             offset);
351
 
G_DEPRECATED_FOR(atk_text_get_string_at_offset)
 
356
ATK_DEPRECATED_IN_2_10_FOR(atk_text_get_string_at_offset)
352
357
gchar*        atk_text_get_text_after_offset              (AtkText          *text,
353
358
                                                           gint             offset,
354
359
                                                           AtkTextBoundary  boundary_type,
355
360
                                                           gint             *start_offset,
356
361
                                                           gint             *end_offset);
357
 
G_DEPRECATED_FOR(atk_text_get_string_at_offset)
 
362
ATK_DEPRECATED_IN_2_10_FOR(atk_text_get_string_at_offset)
358
363
gchar*        atk_text_get_text_at_offset                 (AtkText          *text,
359
364
                                                           gint             offset,
360
365
                                                           AtkTextBoundary  boundary_type,
361
366
                                                           gint             *start_offset,
362
367
                                                           gint             *end_offset);
363
 
G_DEPRECATED_FOR(atk_text_get_string_at_offset)
 
368
ATK_DEPRECATED_IN_2_10_FOR(atk_text_get_string_at_offset)
364
369
gchar*        atk_text_get_text_before_offset             (AtkText          *text,
365
370
                                                           gint             offset,
366
371
                                                           AtkTextBoundary  boundary_type,
367
372
                                                           gint             *start_offset,
368
373
                                                           gint             *end_offset);
 
374
ATK_AVAILABLE_IN_2_10
369
375
gchar*        atk_text_get_string_at_offset               (AtkText            *text,
370
376
                                                           gint               offset,
371
377
                                                           AtkTextGranularity granularity,
372
378
                                                           gint               *start_offset,
373
379
                                                           gint               *end_offset);
 
380
ATK_AVAILABLE_IN_ALL
374
381
gint          atk_text_get_caret_offset                   (AtkText          *text);
 
382
ATK_AVAILABLE_IN_ALL
375
383
void          atk_text_get_character_extents              (AtkText          *text,
376
384
                                                           gint             offset,
377
385
                                                           gint             *x,
379
387
                                                           gint             *width,
380
388
                                                           gint             *height,
381
389
                                                           AtkCoordType     coords);
 
390
ATK_AVAILABLE_IN_ALL
382
391
AtkAttributeSet* atk_text_get_run_attributes              (AtkText          *text,
383
392
                                                           gint             offset,
384
393
                                                           gint             *start_offset,
385
394
                                                           gint             *end_offset);
 
395
ATK_AVAILABLE_IN_ALL
386
396
AtkAttributeSet* atk_text_get_default_attributes          (AtkText          *text);
 
397
ATK_AVAILABLE_IN_ALL
387
398
gint          atk_text_get_character_count                (AtkText          *text);
 
399
ATK_AVAILABLE_IN_ALL
388
400
gint          atk_text_get_offset_at_point                (AtkText          *text,
389
401
                                                           gint             x,
390
402
                                                           gint             y,
391
403
                                                           AtkCoordType     coords);
 
404
ATK_AVAILABLE_IN_ALL
392
405
gint          atk_text_get_n_selections                   (AtkText          *text);
 
406
ATK_AVAILABLE_IN_ALL
393
407
gchar*        atk_text_get_selection                      (AtkText          *text,
394
408
                                                           gint             selection_num,
395
409
                                                           gint             *start_offset,
396
410
                                                           gint             *end_offset);
 
411
ATK_AVAILABLE_IN_ALL
397
412
gboolean      atk_text_add_selection                      (AtkText          *text,
398
413
                                                           gint             start_offset,
399
414
                                                           gint             end_offset);
 
415
ATK_AVAILABLE_IN_ALL
400
416
gboolean      atk_text_remove_selection                   (AtkText          *text,
401
417
                                                           gint             selection_num);
 
418
ATK_AVAILABLE_IN_ALL
402
419
gboolean      atk_text_set_selection                      (AtkText          *text,
403
420
                                                           gint             selection_num,
404
421
                                                           gint             start_offset,
405
422
                                                           gint             end_offset);
 
423
ATK_AVAILABLE_IN_ALL
406
424
gboolean      atk_text_set_caret_offset                   (AtkText          *text,
407
425
                                                           gint             offset);
 
426
ATK_AVAILABLE_IN_ALL
408
427
void          atk_text_get_range_extents                  (AtkText          *text,
409
428
 
410
429
                                                           gint             start_offset,
411
430
                                                           gint             end_offset,
412
431
                                                           AtkCoordType     coord_type,
413
432
                                                           AtkTextRectangle *rect);
 
433
ATK_AVAILABLE_IN_ALL
414
434
AtkTextRange**  atk_text_get_bounded_ranges               (AtkText          *text,
415
435
                                                           AtkTextRectangle *rect,
416
436
                                                           AtkCoordType     coord_type,
417
437
                                                           AtkTextClipType  x_clip_type,
418
438
                                                           AtkTextClipType  y_clip_type);
 
439
ATK_AVAILABLE_IN_ALL
419
440
void          atk_text_free_ranges                        (AtkTextRange     **ranges);
 
441
ATK_AVAILABLE_IN_ALL
420
442
void          atk_attribute_set_free                      (AtkAttributeSet  *attrib_set);
 
443
ATK_AVAILABLE_IN_ALL
421
444
const gchar*  atk_text_attribute_get_name                 (AtkTextAttribute attr);
 
445
ATK_AVAILABLE_IN_ALL
422
446
AtkTextAttribute       atk_text_attribute_for_name        (const gchar      *name);
 
447
ATK_AVAILABLE_IN_ALL
423
448
const gchar*  atk_text_attribute_get_value                (AtkTextAttribute attr,
424
449
                                                           gint             index_);
425
450