gdkproperty.inc 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // included by gdk2.pp
  2. {$IFDEF read_interface_types}
  3. PGdkPropMode = ^TGdkPropMode;
  4. TGdkPropMode = (
  5. GDK_PROP_MODE_REPLACE,
  6. GDK_PROP_MODE_PREPEND,
  7. GDK_PROP_MODE_APPEND
  8. );
  9. {$ENDIF read_interface_types}
  10. //------------------------------------------------------------------------------
  11. {$IFDEF read_interface_rest}
  12. function gdk_atom_intern(atom_name:Pgchar; only_if_exists:gboolean):TGdkAtom; cdecl; external gdklib;
  13. function gdk_atom_name(atom:TGdkAtom):Pgchar; cdecl; external gdklib;
  14. function gdk_property_get(window:PGdkWindow; _property:TGdkAtom; _type:TGdkAtom; offset:gulong; length:gulong;
  15. pdelete:gint; actual_property_type:PGdkAtom; actual_format:Pgint; actual_length:Pgint; data:PPguchar):gboolean; cdecl; external gdklib;
  16. procedure gdk_property_change(window:PGdkWindow; _property:TGdkAtom; _type:TGdkAtom; format:gint; mode:TGdkPropMode;
  17. data:Pguchar; nelements:gint); cdecl; external gdklib;
  18. procedure gdk_property_delete(window:PGdkWindow; _property:TGdkAtom); cdecl; external gdklib;
  19. {$ifndef GDK_MULTIHEAD_SAFE}
  20. function gdk_text_property_to_text_list(encoding:TGdkAtom; format:gint; text:Pguchar; length:gint; var list:PPgchar):gint; cdecl; external gdklib;
  21. function gdk_text_property_to_utf8_list(encoding:TGdkAtom; format:gint; text:Pguchar; length:gint; var list:PPgchar):gint; cdecl; external gdklib;
  22. function gdk_utf8_to_compound_text(str:Pgchar; encoding:PGdkAtom; format:Pgint; ctext:PPguchar; length:Pgint):gboolean; cdecl; external gdklib;
  23. function gdk_string_to_compound_text(str:Pgchar; encoding:PGdkAtom; format:Pgint; ctext:PPguchar; length:Pgint):gint; cdecl; external gdklib;
  24. {$endif}
  25. function gdk_text_property_to_text_list_for_display(display:PGdkDisplay; encoding:TGdkAtom; format:gint; text:Pguchar; length:gint;
  26. var list:PPgchar):gint; cdecl; external gdklib;
  27. function gdk_text_property_to_utf8_list_for_display(display:PGdkDisplay; encoding:TGdkAtom; format:gint; text:Pguchar; length:gint;
  28. var list:PPgchar):gint; cdecl; external gdklib;
  29. function gdk_utf8_to_string_target(str:Pgchar):Pgchar; cdecl; external gdklib;
  30. function gdk_string_to_compound_text_for_display(display:PGdkDisplay; str:Pgchar; encoding:PGdkAtom; format:Pgint; ctext:PPguchar;
  31. length:Pgint):gint; cdecl; external gdklib;
  32. function gdk_utf8_to_compound_text_for_display(display:PGdkDisplay; str:Pgchar; encoding:PGdkAtom; format:Pgint; ctext:PPguchar;
  33. length:Pgint):gboolean; cdecl; external gdklib;
  34. procedure gdk_free_text_list(list:PPgchar); cdecl; external gdklib;
  35. procedure gdk_free_compound_text(ctext:Pguchar); cdecl; external gdklib;
  36. {$endif read_interface_rest}
  37. //------------------------------------------------------------------------------
  38. {$IFDEF read_implementation}
  39. {$ENDIF}