Unit 'atk' Package
[Overview][Constants][Types][Procedures and functions][Index] [#gtk2]

TAtkTextIface

Declaration

Source position: atktext.inc line 132

type TAtkTextIface = record

  parent: TGTypeInterface;

  get_text: function(

  text: PAtkText;

  start_offset: gint;

  end_offset: gint

):Pgchar;

  get_text_after_offset: function(

  text: PAtkText;

  offset: gint;

  boundary_type: TAtkTextBoundary;

  start_offset: Pgint;

  end_offset: Pgint

):Pgchar;

  get_text_at_offset: function(

  text: PAtkText;

  offset: gint;

  boundary_type: TAtkTextBoundary;

  start_offset: Pgint;

  end_offset: Pgint

):Pgchar;

  get_character_at_offset: function(

  text: PAtkText;

  offset: gint

):gunichar;

  get_text_before_offset: function(

  text: PAtkText;

  offset: gint;

  boundary_type: TAtkTextBoundary;

  start_offset: Pgint;

  end_offset: Pgint

):Pgchar;

  get_caret_offset: function(

  text: PAtkText

):gint;

  get_run_attributes: function(

  text: PAtkText;

  offset: gint;

  start_offset: Pgint;

  end_offset: Pgint

):PAtkAttributeSet;

  get_default_attributes: function(

  text: PAtkText

):PAtkAttributeSet;

  get_character_extents: procedure(

  text: PAtkText;

  offset: gint;

  x: Pgint;

  y: Pgint;

  width: Pgint;

  height: Pgint;

  coords: TAtkCoordType

);

  get_character_count: function(

  text: PAtkText

):gint;

  get_offset_at_point: function(

  text: PAtkText;

  x: gint;

  y: gint;

  coords: TAtkCoordType

):gint;

  get_n_selections: function(

  text: PAtkText

):gint;

  get_selection: function(

  text: PAtkText;

  selection_num: gint;

  start_offset: Pgint;

  end_offset: Pgint

):Pgchar;

  add_selection: function(

  text: PAtkText;

  start_offset: gint;

  end_offset: gint

):gboolean;

  remove_selection: function(

  text: PAtkText;

  selection_num: gint

):gboolean;

  set_selection: function(

  text: PAtkText;

  selection_num: gint;

  start_offset: gint;

  end_offset: gint

):gboolean;

  set_caret_offset: function(

  text: PAtkText;

  offset: gint

):gboolean;

  text_changed: procedure(

  text: PAtkText;

  position: gint;

  length: gint

);

  text_caret_moved: procedure(

  text: PAtkText;

  location: gint

);

  text_selection_changed: procedure(

  text: PAtkText

);

  pad1: TAtkFunction;

  pad2: TAtkFunction;

  pad3: TAtkFunction;

  pad4: TAtkFunction;

end;


Documentation generated on: 2023-03-18