Updated gtk3 bindings to version 3.4.4 and glib version 2.32.4

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2494 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
drewski207 2012-08-26 21:38:16 +00:00
parent 8d7b0d7e6e
commit c535a5cb15
14 changed files with 5964 additions and 3986 deletions

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit Atk1;
{$MODE OBJFPC}{$H+}
@ -320,14 +320,12 @@ type
PPAtkAttribute = ^PAtkAttribute;
PAtkAttribute = ^TAtkAttribute;
TAtkAttribute = record
TAtkAttribute = object
name: Pgchar;
value: Pgchar;
procedure set_free(attrib_set: PAtkAttributeSet); cdecl; inline; static;
end;
PPAtkObject = ^PAtkObject;
PAtkObject = ^TAtkObject;
TAtkFocusHandler = procedure(param0: PAtkObject; param1: gboolean); cdecl;
@ -376,8 +374,6 @@ type
function get_attributes: PAtkAttributeSet; cdecl; inline;
function get_description: Pgchar; cdecl; inline;
function get_index_in_parent: gint; cdecl; inline;
function get_n_accessible_children: gint; cdecl; inline;
function get_name: Pgchar; cdecl; inline;
function get_parent: PAtkObject; cdecl; inline;
@ -572,10 +568,10 @@ type
function is_inline: gboolean; cdecl; inline;
function is_selected_link: gboolean; cdecl; inline;
function is_valid: gboolean; cdecl; inline;
property end_index: gint read get_end_index ;
property end_index: gint read get_end_index ;
//property number_of_anchors: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_number_of_anchors ;
//property selected_link: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_selected_link ;
property start_index: gint read get_start_index ;
property start_index: gint read get_start_index ;
end;
PPAtkHyperlinkClass = ^PAtkHyperlinkClass;
@ -778,6 +774,7 @@ type
text_remove: procedure(object_: gint; p0: gint; p1: gchar); cdecl;
text_selection_changed: procedure; cdecl;
text_update: procedure(object_: gint; p0: gint; p1: gint; p2: gchar); cdecl;
procedure free_ranges(ranges: PPAtkTextRange); cdecl; inline; static;
function add_selection(start_offset: gint; end_offset: gint): gboolean; cdecl; inline;
function get_bounded_ranges(rect: PAtkTextRectangle; coord_type: TAtkCoordType; x_clip_type: TAtkTextClipType; y_clip_type: TAtkTextClipType): PPAtkTextRange; cdecl; inline;
function get_caret_offset: gint; cdecl; inline;
@ -932,8 +929,8 @@ type
function get_relation_type: TAtkRelationType; cdecl; inline;
function get_target: Pgpointer; cdecl; inline;
function remove_target(target: PAtkObject): gboolean; cdecl; inline;
property relation_type: TAtkRelationType read get_relation_type { property is writeable but setter not declared } ;
property target: Pgpointer read get_target { property is writeable but setter not declared } ;
property relation_type: TAtkRelationType read get_relation_type { property is writeable but setter not declared } ;
property target: Pgpointer read get_target { property is writeable but setter not declared } ;
end;
PPAtkRelationClass = ^PAtkRelationClass;
@ -1449,6 +1446,11 @@ begin
Result := Atk1.atk_action_set_description(@self, i, desc);
end;
procedure TAtkAttribute.set_free(attrib_set: PAtkAttributeSet); cdecl;
begin
Atk1.atk_attribute_set_free(attrib_set);
end;
function TAtkObject.add_relationship(relationship: TAtkRelationType; target: PAtkObject): gboolean; cdecl;
begin
Result := Atk1.atk_object_add_relationship(@self, relationship, target);
@ -1979,6 +1981,11 @@ begin
Atk1.atk_table_set_summary(@self, accessible);
end;
procedure TAtkText.free_ranges(ranges: PPAtkTextRange); cdecl;
begin
Atk1.atk_text_free_ranges(ranges);
end;
function TAtkText.add_selection(start_offset: gint; end_offset: gint): gboolean; cdecl;
begin
Result := Atk1.atk_text_add_selection(@self, start_offset, end_offset);

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit cairo1;
{$MODE OBJFPC}{$H+}

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit Gdk3;
{$MODE OBJFPC}{$H+}
@ -14,6 +14,9 @@ uses
const
Gdk3_library = 'libgdk-3.so.0';
BUTTON_MIDDLE = 2;
BUTTON_PRIMARY = 1;
BUTTON_SECONDARY = 3;
CURRENT_TIME = 0;
KEY_0 = 48;
KEY_1 = 49;
@ -289,6 +292,9 @@ const
KEY_Byelorussian_shortu__0 = 1710;
KEY_C = 67;
KEY_CD = 269025107;
KEY_CH = 65186;
KEY_C_H = 65189;
KEY_C_h__0 = 65188;
KEY_Cabovedot = 709;
KEY_Cacute = 454;
KEY_Calculator = 269025053;
@ -298,6 +304,7 @@ const
KEY_Ccaron = 456;
KEY_Ccedilla = 199;
KEY_Ccircumflex = 710;
KEY_Ch__0 = 65185;
KEY_Clear = 65291;
KEY_ClearGrab = 269024801;
KEY_Close = 269025110;
@ -428,6 +435,7 @@ const
KEY_E = 69;
KEY_ENG = 957;
KEY_ETH = 208;
KEY_EZH = 16777655;
KEY_Eabovedot = 972;
KEY_Eacute = 201;
KEY_Ebelowdot = 16785080;
@ -896,7 +904,9 @@ const
KEY_LightBulb = 269025077;
KEY_Linefeed = 65290;
KEY_LiraSign = 16785572;
KEY_LogGrabInfo = 269024805;
KEY_LogOff = 269025121;
KEY_LogWindowTree = 269024804;
KEY_Lstroke = 419;
KEY_M = 77;
KEY_Mabovedot = 16784960;
@ -1705,6 +1715,7 @@ const
KEY_breve = 418;
KEY_brokenbar = 166;
KEY_c__0 = 99;
KEY_c_h__1 = 65187;
KEY_cabovedot__0 = 741;
KEY_cacute__0 = 486;
KEY_careof = 2744;
@ -1715,6 +1726,7 @@ const
KEY_ccircumflex__0 = 742;
KEY_cedilla = 184;
KEY_cent = 162;
KEY_ch__1 = 65184;
KEY_checkerboard = 2529;
KEY_checkmark = 2803;
KEY_circle = 3023;
@ -1763,6 +1775,7 @@ const
KEY_dead_doublegrave = 65126;
KEY_dead_e__0 = 65154;
KEY_dead_grave = 65104;
KEY_dead_greek = 65164;
KEY_dead_hook = 65121;
KEY_dead_horn = 65122;
KEY_dead_i__0 = 65156;
@ -1838,6 +1851,7 @@ const
KEY_etilde__0 = 16785085;
KEY_exclam = 33;
KEY_exclamdown = 161;
KEY_ezh__0 = 16777874;
KEY_f__0 = 102;
KEY_fabovedot__0 = 16784927;
KEY_femalesymbol = 2808;
@ -2123,6 +2137,7 @@ const
KEY_percent = 37;
KEY_period = 46;
KEY_periodcentered = 183;
KEY_permille = 2773;
KEY_phonographcopyright = 2811;
KEY_plus = 43;
KEY_plusminus = 177;
@ -2306,6 +2321,9 @@ const
GDK_CROSSING_GTK_GRAB: TGdkCrossingMode = 3;
GDK_CROSSING_GTK_UNGRAB: TGdkCrossingMode = 4;
GDK_CROSSING_STATE_CHANGED: TGdkCrossingMode = 5;
GDK_CROSSING_TOUCH_BEGIN: TGdkCrossingMode = 6;
GDK_CROSSING_TOUCH_END: TGdkCrossingMode = 7;
GDK_CROSSING_DEVICE_SWITCH: TGdkCrossingMode = 8;
type
TGdkCursorType = Integer;
@ -2462,7 +2480,9 @@ const
GDK_PROXIMITY_OUT_MASK: TGdkEventMask = 524288;
GDK_SUBSTRUCTURE_MASK: TGdkEventMask = 1048576;
GDK_SCROLL_MASK: TGdkEventMask = 2097152;
GDK_ALL_EVENTS_MASK: TGdkEventMask = 4194302;
GDK_TOUCH_MASK: TGdkEventMask = 4194304;
GDK_SMOOTH_SCROLL_MASK: TGdkEventMask = 8388608;
GDK_ALL_EVENTS_MASK: TGdkEventMask = 16777214;
type
TGdkInputMode = Integer;
@ -2472,6 +2492,19 @@ const
GDK_MODE_SCREEN: TGdkInputMode = 1;
GDK_MODE_WINDOW: TGdkInputMode = 2;
type
TGdkWindowAttributesType = Integer;
const
{ GdkWindowAttributesType }
GDK_WA_TITLE: TGdkWindowAttributesType = 2;
GDK_WA_X: TGdkWindowAttributesType = 4;
GDK_WA_Y: TGdkWindowAttributesType = 8;
GDK_WA_CURSOR: TGdkWindowAttributesType = 16;
GDK_WA_VISUAL: TGdkWindowAttributesType = 32;
GDK_WA_WMCLASS: TGdkWindowAttributesType = 64;
GDK_WA_NOREDIR: TGdkWindowAttributesType = 128;
GDK_WA_TYPE_HINT: TGdkWindowAttributesType = 256;
type
TGdkWindowEdge = Integer;
const
@ -2506,6 +2539,8 @@ const
GDK_SOURCE_ERASER: TGdkInputSource = 2;
GDK_SOURCE_CURSOR: TGdkInputSource = 3;
GDK_SOURCE_KEYBOARD: TGdkInputSource = 4;
GDK_SOURCE_TOUCHSCREEN: TGdkInputSource = 5;
GDK_SOURCE_TOUCHPAD: TGdkInputSource = 6;
type
TGdkWindowState = Integer;
@ -2518,6 +2553,7 @@ const
GDK_WINDOW_STATE_FULLSCREEN: TGdkWindowState = 16;
GDK_WINDOW_STATE_ABOVE: TGdkWindowState = 32;
GDK_WINDOW_STATE_BELOW: TGdkWindowState = 64;
GDK_WINDOW_STATE_FOCUSED: TGdkWindowState = 128;
type
TGdkWMFunction = Integer;
@ -2622,7 +2658,11 @@ const
GDK_OWNER_CHANGE: TGdkEventType = 34;
GDK_GRAB_BROKEN: TGdkEventType = 35;
GDK_DAMAGE: TGdkEventType = 36;
GDK_EVENT_LAST: TGdkEventType = 37;
GDK_TOUCH_BEGIN: TGdkEventType = 37;
GDK_TOUCH_UPDATE: TGdkEventType = 38;
GDK_TOUCH_END: TGdkEventType = 39;
GDK_TOUCH_CANCEL: TGdkEventType = 40;
GDK_EVENT_LAST: TGdkEventType = 41;
type
TGdkVisibilityState = Integer;
@ -2640,6 +2680,7 @@ const
GDK_SCROLL_DOWN: TGdkScrollDirection = 1;
GDK_SCROLL_LEFT: TGdkScrollDirection = 2;
GDK_SCROLL_RIGHT: TGdkScrollDirection = 3;
GDK_SCROLL_SMOOTH: TGdkScrollDirection = 4;
type
TGdkNotifyType = Integer;
@ -2652,6 +2693,13 @@ const
GDK_NOTIFY_NONLINEAR_VIRTUAL: TGdkNotifyType = 4;
GDK_NOTIFY_UNKNOWN: TGdkNotifyType = 5;
type
TGdkPropertyState = Integer;
const
{ GdkPropertyState }
GDK_PROPERTY_NEW_VALUE: TGdkPropertyState = 0;
GDK_PROPERTY_DELETE_: TGdkPropertyState = 1;
type
TGdkOwnerChange = Integer;
const
@ -2691,14 +2739,6 @@ const
GDK_DRAG_PROTO_OLE2: TGdkDragProtocol = 5;
GDK_DRAG_PROTO_LOCAL: TGdkDragProtocol = 6;
type
TGdkExtensionMode = Integer;
const
{ GdkExtensionMode }
GDK_EXTENSION_EVENTS_NONE: TGdkExtensionMode = 0;
GDK_EXTENSION_EVENTS_ALL: TGdkExtensionMode = 1;
GDK_EXTENSION_EVENTS_CURSOR: TGdkExtensionMode = 2;
type
TGdkFilterReturn = Integer;
const
@ -2722,6 +2762,17 @@ const
GDK_GRAVITY_SOUTH_EAST: TGdkGravity = 9;
GDK_GRAVITY_STATIC: TGdkGravity = 10;
type
TGdkModifierIntent = Integer;
const
{ GdkModifierIntent }
GDK_MODIFIER_INTENT_PRIMARY_ACCELERATOR: TGdkModifierIntent = 0;
GDK_MODIFIER_INTENT_CONTEXT_MENU: TGdkModifierIntent = 1;
GDK_MODIFIER_INTENT_EXTEND_SELECTION: TGdkModifierIntent = 2;
GDK_MODIFIER_INTENT_MODIFY_SELECTION: TGdkModifierIntent = 3;
GDK_MODIFIER_INTENT_NO_TEXT_INPUT: TGdkModifierIntent = 4;
GDK_MODIFIER_INTENT_SHIFT_GROUP: TGdkModifierIntent = 5;
type
TGdkPropMode = Integer;
const
@ -2730,13 +2781,6 @@ const
GDK_PROP_MODE_PREPEND: TGdkPropMode = 1;
GDK_PROP_MODE_APPEND: TGdkPropMode = 2;
type
TGdkPropertyState = Integer;
const
{ GdkPropertyState }
GDK_PROPERTY_NEW_VALUE: TGdkPropertyState = 0;
GDK_PROPERTY_DELETE_: TGdkPropertyState = 1;
type
TGdkVisualType = Integer;
const
@ -2775,19 +2819,6 @@ const
GDK_WINDOW_TEMP: TGdkWindowType = 3;
GDK_WINDOW_FOREIGN: TGdkWindowType = 4;
GDK_WINDOW_OFFSCREEN: TGdkWindowType = 5;
type
TGdkWindowAttributesType = Integer;
const
{ GdkWindowAttributesType }
GDK_WA_TITLE: TGdkWindowAttributesType = 2;
GDK_WA_X: TGdkWindowAttributesType = 4;
GDK_WA_Y: TGdkWindowAttributesType = 8;
GDK_WA_CURSOR: TGdkWindowAttributesType = 16;
GDK_WA_VISUAL: TGdkWindowAttributesType = 32;
GDK_WA_WMCLASS: TGdkWindowAttributesType = 64;
GDK_WA_NOREDIR: TGdkWindowAttributesType = 128;
GDK_WA_TYPE_HINT: TGdkWindowAttributesType = 256;
type
PPGdkRectangle = ^PGdkRectangle;
@ -2804,9 +2835,7 @@ type
PPGdkScreen = ^PGdkScreen;
PGdkScreen = ^TGdkScreen;
TGdkAppLaunchContext = object(TGAppLaunchContext)
procedure set_desktop(desktop: gint); cdecl; inline;
procedure set_icon(icon: PGIcon); cdecl; inline;
procedure set_icon_name(icon_name: Pgchar); cdecl; inline;
procedure set_screen(screen: PGdkScreen); cdecl; inline;
@ -2854,17 +2883,11 @@ type
procedure get_maximal_cursor_size(width: Pguint; height: Pguint); cdecl; inline;
function get_n_screens: gint; cdecl; inline;
function get_name: Pgchar; cdecl; inline;
function get_screen(screen_num: gint): PGdkScreen; cdecl; inline;
function has_pending: gboolean; cdecl; inline;
function is_closed: gboolean; cdecl; inline;
procedure notify_startup_complete(startup_id: Pgchar); cdecl; inline;
function peek_event: PGdkEvent; cdecl; inline;
procedure put_event(event: PGdkEvent); cdecl; inline;
function request_selection_notification(selection: TGdkAtom): gboolean; cdecl; inline;
procedure set_double_click_distance(distance: guint); cdecl; inline;
@ -2878,7 +2901,6 @@ type
function supports_selection_notification: gboolean; cdecl; inline;
function supports_shapes: gboolean; cdecl; inline;
procedure sync; cdecl; inline;
end;
PPGdkVisual = ^PGdkVisual;
@ -2900,6 +2922,7 @@ type
function get_monitor_height_mm(monitor_num: gint): gint; cdecl; inline;
function get_monitor_plug_name(monitor_num: gint): Pgchar; cdecl; inline;
function get_monitor_width_mm(monitor_num: gint): gint; cdecl; inline;
procedure get_monitor_workarea(monitor_num: gint; dest: PGdkRectangle); cdecl; inline;
function get_n_monitors: gint; cdecl; inline;
function get_number: gint; cdecl; inline;
function get_primary_monitor: gint; cdecl; inline;
@ -2917,8 +2940,8 @@ type
function make_display_name: Pgchar; cdecl; inline;
procedure set_font_options(options: Pcairo_font_options_t); cdecl; inline;
procedure set_resolution(dpi: gdouble); cdecl; inline;
property font_options: Pcairo_font_options_t read get_font_options { property is writeable but setter not declared } ;
property resolution: gdouble read get_resolution { property is writeable but setter not declared } ;
property font_options: Pcairo_font_options_t read get_font_options write set_font_options;
property resolution: gdouble read get_resolution write set_resolution;
end;
PPGdkAxisUse = ^PGdkAxisUse;
@ -2958,10 +2981,8 @@ type
function get_cursor_type: TGdkCursorType; cdecl; inline;
function get_display: PGdkDisplay; cdecl; inline;
function get_image: PGdkPixbuf; cdecl; inline;
property cursor_type: TGdkCursorType read get_cursor_type { property is writeable but setter not declared } ;
property display: PGdkDisplay read get_display { property is writeable but setter not declared } ;
property cursor_type: TGdkCursorType read get_cursor_type { property is writeable but setter not declared } ;
property display: PGdkDisplay read get_display { property is writeable but setter not declared } ;
end;
PPPGdkTimeCoord = ^PPGdkTimeCoord;
@ -3023,20 +3044,23 @@ type
function set_mode(mode: TGdkInputMode): gboolean; cdecl; inline;
procedure ungrab(time_: guint32); cdecl; inline;
procedure warp(screen: PGdkScreen; x: gint; y: gint); cdecl; inline;
property associated_device: PGdkDevice read get_associated_device ;
property associated_device: PGdkDevice read get_associated_device ;
//property device_manager: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_device_manager { property is writeable but setter not declared } ;
property display: PGdkDisplay read get_display { property is writeable but setter not declared } ;
property has_cursor: gboolean read get_has_cursor { property is writeable but setter not declared } ;
property display: PGdkDisplay read get_display { property is writeable but setter not declared } ;
property has_cursor: gboolean read get_has_cursor { property is writeable but setter not declared } ;
//property input_mode: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_input_mode { property is writeable but setter not declared } ;
//property input_source: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_input_source { property is writeable but setter not declared } ;
property n_axes: gint read get_n_axes ;
property name: Pgchar read get_name { property is writeable but setter not declared } ;
property n_axes: gint read get_n_axes ;
property name: Pgchar read get_name { property is writeable but setter not declared } ;
//property type_: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_type { property is writeable but setter not declared } ;
end;
PPGdkWindowAttr = ^PGdkWindowAttr;
PGdkWindowAttr = ^TGdkWindowAttr;
PPGdkWindowAttributesType = ^PGdkWindowAttributesType;
PGdkWindowAttributesType = ^TGdkWindowAttributesType;
PPGdkGeometry = ^PGdkGeometry;
PGdkGeometry = ^TGdkGeometry;
@ -3069,6 +3093,7 @@ type
PGdkWindowChildFunc = ^TGdkWindowChildFunc;
TGdkWindowChildFunc = function(window: PGdkWindow; user_data: gpointer): gboolean; cdecl;
PPPGdkRGBA = ^PPGdkRGBA;
PPGdkRGBA = ^PGdkRGBA;
PGdkRGBA = ^TGdkRGBA;
@ -3078,17 +3103,18 @@ type
PPGdkWindowHints = ^PGdkWindowHints;
PGdkWindowHints = ^TGdkWindowHints;
TGdkWindow = object(TGObject)
function new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: gint): PGdkWindow; cdecl; inline; static;
function new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: TGdkWindowAttributesType): PGdkWindow; cdecl; inline; static;
procedure constrain_size(geometry: PGdkGeometry; flags: guint; width: gint; height: gint; new_width: Pgint; new_height: Pgint); cdecl; inline; static;
procedure process_all_updates; cdecl; inline; static;
procedure set_debug_updates(setting: gboolean); cdecl; inline; static;
procedure add_filter(function_: TGdkFilterFunc; data: gpointer); cdecl; inline;
procedure beep; cdecl; inline;
procedure begin_move_drag(button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; inline;
procedure begin_move_drag_for_device(device: PGdkDevice; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; inline;
procedure begin_paint_rect(rectangle: PGdkRectangle); cdecl; inline;
procedure begin_paint_region(region: Pcairo_region_t); cdecl; inline;
procedure begin_resize_drag(edge: TGdkWindowEdge; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; inline;
procedure begin_resize_drag_for_device(edge: TGdkWindowEdge; device: PGdkDevice; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; inline;
procedure configure_finished; cdecl; inline;
procedure coords_from_parent(parent_x: gdouble; parent_y: gdouble; x: Pgdouble; y: Pgdouble); cdecl; inline;
procedure coords_to_parent(x: gdouble; y: gdouble; parent_x: Pgdouble; parent_y: Pgdouble); cdecl; inline;
@ -3128,7 +3154,6 @@ type
function get_modal_hint: gboolean; cdecl; inline;
function get_origin(x: Pgint; y: Pgint): gint; cdecl; inline;
function get_parent: PGdkWindow; cdecl; inline;
procedure get_position(x: Pgint; y: Pgint); cdecl; inline;
procedure get_root_coords(x: gint; y: gint; root_x: Pgint; root_y: Pgint); cdecl; inline;
procedure get_root_origin(x: Pgint; y: Pgint); cdecl; inline;
@ -3173,7 +3198,6 @@ type
procedure restack(sibling: PGdkWindow; above: gboolean); cdecl; inline;
procedure scroll(dx: gint; dy: gint); cdecl; inline;
procedure set_accept_focus(accept_focus: gboolean); cdecl; inline;
procedure set_background(color: PGdkColor); cdecl; inline;
procedure set_background_pattern(pattern: Pcairo_pattern_t); cdecl; inline;
procedure set_background_rgba(rgba: PGdkRGBA); cdecl; inline;
procedure set_child_input_shapes; cdecl; inline;
@ -3217,13 +3241,13 @@ type
procedure unmaximize; cdecl; inline;
procedure unstick; cdecl; inline;
procedure withdraw; cdecl; inline;
property cursor: PGdkCursor read get_cursor { property is writeable but setter not declared } ;
property cursor: PGdkCursor read get_cursor write set_cursor;
end;
TGdkDeviceManager = object(TGObject)
function get_client_pointer: PGdkDevice; cdecl; inline;
function get_display: PGdkDisplay; cdecl; inline;
function list_devices(type_: TGdkDeviceType): PGList; cdecl; inline;
property display: PGdkDisplay read get_display { property is writeable but setter not declared } ;
property display: PGdkDisplay read get_display { property is writeable but setter not declared } ;
end;
PPGdkEventType = ^PGdkEventType;
@ -3309,6 +3333,30 @@ type
PPGdkEventTouch = ^PGdkEventTouch;
PGdkEventTouch = ^TGdkEventTouch;
PPGdkEventSequence = ^PGdkEventSequence;
PGdkEventSequence = ^TGdkEventSequence;
TGdkEventTouch = record
type_: TGdkEventType;
window: PGdkWindow;
send_event: gint8;
time: guint32;
x: gdouble;
y: gdouble;
axes: Pgdouble;
state: TGdkModifierType;
sequence: PGdkEventSequence;
emulating_pointer: gboolean;
device: PGdkDevice;
x_root: gdouble;
y_root: gdouble;
end;
PPGdkEventScroll = ^PGdkEventScroll;
PGdkEventScroll = ^TGdkEventScroll;
@ -3327,6 +3375,8 @@ type
device: PGdkDevice;
x_root: gdouble;
y_root: gdouble;
delta_x: gdouble;
delta_y: gdouble;
end;
@ -3408,13 +3458,16 @@ type
PPGdkEventProperty = ^PGdkEventProperty;
PGdkEventProperty = ^TGdkEventProperty;
PPGdkPropertyState = ^PGdkPropertyState;
PGdkPropertyState = ^TGdkPropertyState;
TGdkEventProperty = record
type_: TGdkEventType;
window: PGdkWindow;
send_event: gint8;
atom: TGdkAtom;
time: guint32;
state: guint;
state: TGdkPropertyState;
end;
@ -3539,19 +3592,20 @@ type
3 : (visibility: TGdkEventVisibility);
4 : (motion: TGdkEventMotion);
5 : (button: TGdkEventButton);
6 : (scroll: TGdkEventScroll);
7 : (key: TGdkEventKey);
8 : (crossing: TGdkEventCrossing);
9 : (focus_change: TGdkEventFocus);
10 : (configure: TGdkEventConfigure);
11 : (property_: TGdkEventProperty);
12 : (selection: TGdkEventSelection);
13 : (owner_change: TGdkEventOwnerChange);
14 : (proximity: TGdkEventProximity);
15 : (dnd: TGdkEventDND);
16 : (window_state: TGdkEventWindowState);
17 : (setting: TGdkEventSetting);
18 : (grab_broken: TGdkEventGrabBroken);
6 : (touch: TGdkEventTouch);
7 : (scroll: TGdkEventScroll);
8 : (key: TGdkEventKey);
9 : (crossing: TGdkEventCrossing);
10 : (focus_change: TGdkEventFocus);
11 : (configure: TGdkEventConfigure);
12 : (property_: TGdkEventProperty);
13 : (selection: TGdkEventSelection);
14 : (owner_change: TGdkEventOwnerChange);
15 : (proximity: TGdkEventProximity);
16 : (dnd: TGdkEventDND);
17 : (window_state: TGdkEventWindowState);
18 : (setting: TGdkEventSetting);
19 : (grab_broken: TGdkEventGrabBroken);
//function new(type_: TGdkEventType): PGdkEvent; cdecl;
//function _get_angle(event2: PGdkEvent; angle: Pgdouble): gboolean; cdecl;
//function _get_center(event2: PGdkEvent; x: Pgdouble; y: Pgdouble): gboolean; cdecl;
@ -3563,10 +3617,12 @@ type
//function get_click_count(click_count: Pguint): gboolean; cdecl;
//function get_coords(x_win: Pgdouble; y_win: Pgdouble): gboolean; cdecl;
//function get_device: PGdkDevice; cdecl;
//function get_event_sequence: PGdkEventSequence; cdecl;
//function get_keycode(keycode: Pguint16): gboolean; cdecl;
//function get_keyval(keyval: Pguint): gboolean; cdecl;
//function get_root_coords(x_root: Pgdouble; y_root: Pgdouble): gboolean; cdecl;
//function get_screen: PGdkScreen; cdecl;
//function get_scroll_deltas(delta_x: Pgdouble; delta_y: Pgdouble): gboolean; cdecl;
//function get_scroll_direction(direction: PGdkScrollDirection): gboolean; cdecl;
//function get_source_device: PGdkDevice; cdecl;
//function get_state(state: PGdkModifierType): gboolean; cdecl;
@ -3575,6 +3631,7 @@ type
//procedure set_device(device: PGdkDevice); cdecl;
//procedure set_screen(screen: PGdkScreen); cdecl;
//procedure set_source_device(device: PGdkDevice); cdecl;
//function triggers_context_menu: gboolean; cdecl;
//function get: PGdkEvent; cdecl;
//procedure handler_set(func: TGdkEventFunc; data: gpointer; notify: TGDestroyNotify); cdecl;
//function peek: PGdkEvent; cdecl;
@ -3591,7 +3648,7 @@ type
function list_displays: PGSList; cdecl; inline;
function open_display(name: Pgchar): PGdkDisplay; cdecl; inline;
procedure set_default_display(display: PGdkDisplay); cdecl; inline;
property default_display: PGdkDisplay read get_default_display { property is writeable but setter not declared } ;
property default_display: PGdkDisplay read get_default_display write set_default_display;
end;
PPGdkDragAction = ^PGdkDragAction;
@ -3608,8 +3665,10 @@ type
procedure set_device(device: PGdkDevice); cdecl; inline;
end;
PPGdkExtensionMode = ^PGdkExtensionMode;
PGdkExtensionMode = ^TGdkExtensionMode;
TGdkEventSequence = record
end;
PPGdkGravity = ^PGdkGravity;
PGdkGravity = ^TGdkGravity;
@ -3636,6 +3695,9 @@ type
PPPGdkKeymapKey = ^PPGdkKeymapKey;
PPGdkKeymapKey = ^PGdkKeymapKey;
PGdkKeymapKey = ^TGdkKeymapKey;
PPGdkModifierIntent = ^PGdkModifierIntent;
PGdkModifierIntent = ^TGdkModifierIntent;
TGdkKeymap = object(TGObject)
function get_default: PGdkKeymap; cdecl; inline; static;
function get_for_display(display: PGdkDisplay): PGdkKeymap; cdecl; inline; static;
@ -3644,6 +3706,8 @@ type
function get_direction: TPangoDirection; cdecl; inline;
function get_entries_for_keycode(hardware_keycode: guint; keys: PPGdkKeymapKey; keyvals: PPguint; n_entries: Pgint): gboolean; cdecl; inline;
function get_entries_for_keyval(keyval: guint; keys: PPGdkKeymapKey; n_keys: Pgint): gboolean; cdecl; inline;
function get_modifier_mask(intent: TGdkModifierIntent): TGdkModifierType; cdecl; inline;
function get_modifier_state: guint; cdecl; inline;
function get_num_lock_state: gboolean; cdecl; inline;
function have_bidi_layouts: gboolean; cdecl; inline;
function lookup_key(key: PGdkKeymapKey): guint; cdecl; inline;
@ -3671,9 +3735,6 @@ type
PPGdkPropMode = ^PGdkPropMode;
PGdkPropMode = ^TGdkPropMode;
PPGdkPropertyState = ^PGdkPropertyState;
PGdkPropertyState = ^TGdkPropertyState;
TGdkRGBA = object
red: gdouble;
green: gdouble;
@ -3733,9 +3794,6 @@ type
PPGdkWindowAttributesType = ^PGdkWindowAttributesType;
PGdkWindowAttributesType = ^TGdkWindowAttributesType;
PPGdkWindowClass = ^PGdkWindowClass;
PGdkWindowClass = ^TGdkWindowClass;
TGdkWindowClass = object
@ -3860,16 +3918,19 @@ function gdk_event_get_button(AEvent: PGdkEvent; button: Pguint): gboolean; cdec
function gdk_event_get_click_count(AEvent: PGdkEvent; click_count: Pguint): gboolean; cdecl; external;
function gdk_event_get_coords(AEvent: PGdkEvent; x_win: Pgdouble; y_win: Pgdouble): gboolean; cdecl; external;
function gdk_event_get_device(AEvent: PGdkEvent): PGdkDevice; cdecl; external;
function gdk_event_get_event_sequence(AEvent: PGdkEvent): PGdkEventSequence; cdecl; external;
function gdk_event_get_keycode(AEvent: PGdkEvent; keycode: Pguint16): gboolean; cdecl; external;
function gdk_event_get_keyval(AEvent: PGdkEvent; keyval: Pguint): gboolean; cdecl; external;
function gdk_event_get_root_coords(AEvent: PGdkEvent; x_root: Pgdouble; y_root: Pgdouble): gboolean; cdecl; external;
function gdk_event_get_screen(AEvent: PGdkEvent): PGdkScreen; cdecl; external;
function gdk_event_get_scroll_deltas(AEvent: PGdkEvent; delta_x: Pgdouble; delta_y: Pgdouble): gboolean; cdecl; external;
function gdk_event_get_scroll_direction(AEvent: PGdkEvent; direction: PGdkScrollDirection): gboolean; cdecl; external;
function gdk_event_get_source_device(AEvent: PGdkEvent): PGdkDevice; cdecl; external;
function gdk_event_get_state(AEvent: PGdkEvent; state: PGdkModifierType): gboolean; cdecl; external;
function gdk_event_get_time(AEvent: PGdkEvent): guint32; cdecl; external;
function gdk_event_new(type_: TGdkEventType): PGdkEvent; cdecl; external;
function gdk_event_peek: PGdkEvent; cdecl; external;
function gdk_event_triggers_context_menu(AEvent: PGdkEvent): gboolean; cdecl; external;
function gdk_events_get_angle(AEvent: PGdkEvent; event2: PGdkEvent; angle: Pgdouble): gboolean; cdecl; external;
function gdk_events_get_center(AEvent: PGdkEvent; event2: PGdkEvent; x: Pgdouble; y: Pgdouble): gboolean; cdecl; external;
function gdk_events_get_distance(AEvent: PGdkEvent; event2: PGdkEvent; distance: Pgdouble): gboolean; cdecl; external;
@ -3887,6 +3948,8 @@ function gdk_keymap_get_direction(AKeymap: PGdkKeymap): TPangoDirection; cdecl;
function gdk_keymap_get_entries_for_keycode(AKeymap: PGdkKeymap; hardware_keycode: guint; keys: PPGdkKeymapKey; keyvals: PPguint; n_entries: Pgint): gboolean; cdecl; external;
function gdk_keymap_get_entries_for_keyval(AKeymap: PGdkKeymap; keyval: guint; keys: PPGdkKeymapKey; n_keys: Pgint): gboolean; cdecl; external;
function gdk_keymap_get_for_display(display: PGdkDisplay): PGdkKeymap; cdecl; external;
function gdk_keymap_get_modifier_mask(AKeymap: PGdkKeymap; intent: TGdkModifierIntent): TGdkModifierType; cdecl; external;
function gdk_keymap_get_modifier_state(AKeymap: PGdkKeymap): guint; cdecl; external;
function gdk_keymap_get_num_lock_state(AKeymap: PGdkKeymap): gboolean; cdecl; external;
function gdk_keymap_get_type: TGType; cdecl; external;
function gdk_keymap_have_bidi_layouts(AKeymap: PGdkKeymap): gboolean; cdecl; external;
@ -4023,7 +4086,7 @@ function gdk_window_is_input_only(AWindow: PGdkWindow): gboolean; cdecl; externa
function gdk_window_is_shaped(AWindow: PGdkWindow): gboolean; cdecl; external;
function gdk_window_is_viewable(AWindow: PGdkWindow): gboolean; cdecl; external;
function gdk_window_is_visible(AWindow: PGdkWindow): gboolean; cdecl; external;
function gdk_window_new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: gint): PGdkWindow; cdecl; external;
function gdk_window_new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: TGdkWindowAttributesType): PGdkWindow; cdecl; external;
function gdk_window_peek_children(AWindow: PGdkWindow): PGList; cdecl; external;
function gdk_window_set_static_gravities(AWindow: PGdkWindow; use_static: gboolean): gboolean; cdecl; external;
procedure gdk_add_option_entries_libgtk_only(group: PGOptionGroup); cdecl; external;
@ -4093,6 +4156,7 @@ procedure gdk_query_visual_types(visual_types: PPGdkVisualType; count: Pgint); c
procedure gdk_rectangle_union(src1: PGdkRectangle; src2: PGdkRectangle; dest: PGdkRectangle); cdecl; external;
procedure gdk_rgba_free(ARGBA: PGdkRGBA); cdecl; external;
procedure gdk_screen_get_monitor_geometry(AScreen: PGdkScreen; monitor_num: gint; dest: PGdkRectangle); cdecl; external;
procedure gdk_screen_get_monitor_workarea(AScreen: PGdkScreen; monitor_num: gint; dest: PGdkRectangle); cdecl; external;
procedure gdk_screen_set_font_options(AScreen: PGdkScreen; options: Pcairo_font_options_t); cdecl; external;
procedure gdk_screen_set_resolution(AScreen: PGdkScreen; dpi: gdouble); cdecl; external;
procedure gdk_selection_convert(requestor: PGdkWindow; selection: TGdkAtom; target: TGdkAtom; time_: guint32); cdecl; external;
@ -4113,9 +4177,11 @@ procedure gdk_visual_get_red_pixel_details(AVisual: PGdkVisual; mask: Pguint32;
procedure gdk_window_add_filter(AWindow: PGdkWindow; function_: TGdkFilterFunc; data: gpointer); cdecl; external;
procedure gdk_window_beep(AWindow: PGdkWindow); cdecl; external;
procedure gdk_window_begin_move_drag(AWindow: PGdkWindow; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; external;
procedure gdk_window_begin_move_drag_for_device(AWindow: PGdkWindow; device: PGdkDevice; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; external;
procedure gdk_window_begin_paint_rect(AWindow: PGdkWindow; rectangle: PGdkRectangle); cdecl; external;
procedure gdk_window_begin_paint_region(AWindow: PGdkWindow; region: Pcairo_region_t); cdecl; external;
procedure gdk_window_begin_resize_drag(AWindow: PGdkWindow; edge: TGdkWindowEdge; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; external;
procedure gdk_window_begin_resize_drag_for_device(AWindow: PGdkWindow; edge: TGdkWindowEdge; device: PGdkDevice; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl; external;
procedure gdk_window_configure_finished(AWindow: PGdkWindow); cdecl; external;
procedure gdk_window_constrain_size(geometry: PGdkGeometry; flags: guint; width: gint; height: gint; new_width: Pgint; new_height: Pgint); cdecl; external;
procedure gdk_window_coords_from_parent(AWindow: PGdkWindow; parent_x: gdouble; parent_y: gdouble; x: Pgdouble; y: Pgdouble); cdecl; external;
@ -4160,7 +4226,6 @@ procedure gdk_window_resize(AWindow: PGdkWindow; width: gint; height: gint); cde
procedure gdk_window_restack(AWindow: PGdkWindow; sibling: PGdkWindow; above: gboolean); cdecl; external;
procedure gdk_window_scroll(AWindow: PGdkWindow; dx: gint; dy: gint); cdecl; external;
procedure gdk_window_set_accept_focus(AWindow: PGdkWindow; accept_focus: gboolean); cdecl; external;
procedure gdk_window_set_background(AWindow: PGdkWindow; color: PGdkColor); cdecl; external;
procedure gdk_window_set_background_pattern(AWindow: PGdkWindow; pattern: Pcairo_pattern_t); cdecl; external;
procedure gdk_window_set_background_rgba(AWindow: PGdkWindow; rgba: PGdkRGBA); cdecl; external;
procedure gdk_window_set_child_input_shapes(AWindow: PGdkWindow); cdecl; external;
@ -4495,6 +4560,11 @@ begin
Result := Gdk3.gdk_screen_get_monitor_width_mm(@self, monitor_num);
end;
procedure TGdkScreen.get_monitor_workarea(monitor_num: gint; dest: PGdkRectangle); cdecl;
begin
Gdk3.gdk_screen_get_monitor_workarea(@self, monitor_num, dest);
end;
function TGdkScreen.get_n_monitors: gint; cdecl;
begin
Result := Gdk3.gdk_screen_get_n_monitors(@self);
@ -4780,7 +4850,7 @@ begin
Gdk3.gdk_device_warp(@self, screen, x, y);
end;
function TGdkWindow.new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: gint): PGdkWindow; cdecl;
function TGdkWindow.new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: TGdkWindowAttributesType): PGdkWindow; cdecl;
begin
Result := Gdk3.gdk_window_new(parent, attributes, attributes_mask);
end;
@ -4815,6 +4885,11 @@ begin
Gdk3.gdk_window_begin_move_drag(@self, button, root_x, root_y, timestamp);
end;
procedure TGdkWindow.begin_move_drag_for_device(device: PGdkDevice; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl;
begin
Gdk3.gdk_window_begin_move_drag_for_device(@self, device, button, root_x, root_y, timestamp);
end;
procedure TGdkWindow.begin_paint_rect(rectangle: PGdkRectangle); cdecl;
begin
Gdk3.gdk_window_begin_paint_rect(@self, rectangle);
@ -4830,6 +4905,11 @@ begin
Gdk3.gdk_window_begin_resize_drag(@self, edge, button, root_x, root_y, timestamp);
end;
procedure TGdkWindow.begin_resize_drag_for_device(edge: TGdkWindowEdge; device: PGdkDevice; button: gint; root_x: gint; root_y: gint; timestamp: guint32); cdecl;
begin
Gdk3.gdk_window_begin_resize_drag_for_device(@self, edge, device, button, root_x, root_y, timestamp);
end;
procedure TGdkWindow.configure_finished; cdecl;
begin
Gdk3.gdk_window_configure_finished(@self);
@ -5245,11 +5325,6 @@ begin
Gdk3.gdk_window_set_accept_focus(@self, accept_focus);
end;
procedure TGdkWindow.set_background(color: PGdkColor); cdecl;
begin
Gdk3.gdk_window_set_background(@self, color);
end;
procedure TGdkWindow.set_background_pattern(pattern: Pcairo_pattern_t); cdecl;
begin
Gdk3.gdk_window_set_background_pattern(@self, pattern);
@ -5585,6 +5660,16 @@ begin
Result := Gdk3.gdk_keymap_get_entries_for_keyval(@self, keyval, keys, n_keys);
end;
function TGdkKeymap.get_modifier_mask(intent: TGdkModifierIntent): TGdkModifierType; cdecl;
begin
Result := Gdk3.gdk_keymap_get_modifier_mask(@self, intent);
end;
function TGdkKeymap.get_modifier_state: guint; cdecl;
begin
Result := Gdk3.gdk_keymap_get_modifier_state(@self);
end;
function TGdkKeymap.get_num_lock_state: gboolean; cdecl;
begin
Result := Gdk3.gdk_keymap_get_num_lock_state(@self);

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit GdkPixbuf2;
{$MODE OBJFPC}{$H+}
@ -17,9 +17,9 @@ const
PIXBUF_FEATURES_H = 1;
PIXBUF_MAGIC_NUMBER = 1197763408;
PIXBUF_MAJOR = 2;
PIXBUF_MICRO = 0;
PIXBUF_MINOR = 24;
PIXBUF_VERSION = '2.24.0';
PIXBUF_MICRO = 1;
PIXBUF_MINOR = 26;
PIXBUF_VERSION = '2.26.1';
PIXDATA_HEADER_LENGTH = 24;
type
@ -100,8 +100,6 @@ type
PPGdkPixbuf = ^PGdkPixbuf;
PGdkPixbuf = ^TGdkPixbuf;
Pguchar = ^Tguchar;
PPGdkPixbufDestroyNotify = ^PGdkPixbufDestroyNotify;
PGdkPixbufDestroyNotify = ^TGdkPixbufDestroyNotify;
TGdkPixbufDestroyNotify = procedure(pixels: Pguint8; data: gpointer); cdecl;
@ -120,11 +118,13 @@ type
TGdkPixbufSaveFunc = function(buf: Pgchar; count: gsize; error: PPGError; data: gpointer): gboolean; cdecl;
TGdkPixbuf = object(TGObject)
function new(colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint): PGdkPixbuf; cdecl; inline; static;
function new_from_data(data: Pguchar; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl; inline; static;
function new_from_data(data: Pguint8; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl; inline; static;
function new_from_file(filename: Pgchar): PGdkPixbuf; cdecl; inline; static;
function new_from_file_at_scale(filename: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean): PGdkPixbuf; cdecl; inline; static;
function new_from_file_at_size(filename: Pgchar; width: gint; height: gint): PGdkPixbuf; cdecl; inline; static;
function new_from_inline(data_length: gint; data: Pguint8; copy_pixels: gboolean): PGdkPixbuf; cdecl; inline; static;
function new_from_resource(resource_path: Pgchar): PGdkPixbuf; cdecl; inline; static;
function new_from_resource_at_scale(resource_path: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean): PGdkPixbuf; cdecl; inline; static;
function new_from_stream(stream: PGInputStream; cancellable: PGCancellable): PGdkPixbuf; cdecl; inline; static;
function new_from_stream_at_scale(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable): PGdkPixbuf; cdecl; inline; static;
function new_from_stream_finish(async_result: PGAsyncResult): PGdkPixbuf; cdecl; inline; static;
@ -146,16 +146,17 @@ type
procedure fill(pixel: guint32); cdecl; inline;
function flip(horizontal: gboolean): PGdkPixbuf; cdecl; inline;
function get_bits_per_sample: gint; cdecl; inline;
function get_byte_length: gsize; cdecl; inline;
function get_colorspace: TGdkColorspace; cdecl; inline;
function get_has_alpha: gboolean; cdecl; inline;
function get_height: gint; cdecl; inline;
function get_n_channels: gint; cdecl; inline;
function get_option(key: Pgchar): Pgchar; cdecl; inline;
function get_pixels: Pguint8; cdecl; inline;
function get_pixels_with_length(length: Pguint): Pguint8; cdecl; inline;
function get_rowstride: gint; cdecl; inline;
function get_width: gint; cdecl; inline;
function new_subpixbuf(src_x: gint; src_y: gint; width: gint; height: gint): PGdkPixbuf; cdecl; inline;
function rotate_simple(angle: TGdkPixbufRotation): PGdkPixbuf; cdecl; inline;
procedure saturate_and_pixelate(dest: PGdkPixbuf; saturation: gfloat; pixelate: gboolean); cdecl; inline;
//function save(filename: Pgchar; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; inline;
@ -168,24 +169,16 @@ type
function savev(filename: Pgchar; type_: Pgchar; option_keys: PPgchar; option_values: PPgchar): gboolean; cdecl; inline;
procedure scale(dest: PGdkPixbuf; dest_x: gint; dest_y: gint; dest_width: gint; dest_height: gint; offset_x: gdouble; offset_y: gdouble; scale_x: gdouble; scale_y: gdouble; interp_type: TGdkInterpType); cdecl; inline;
function scale_simple(dest_width: gint; dest_height: gint; interp_type: TGdkInterpType): PGdkPixbuf; cdecl; inline;
property bits_per_sample: gint read get_bits_per_sample { property is writeable but setter not declared } ;
property colorspace: TGdkColorspace read get_colorspace { property is writeable but setter not declared } ;
property has_alpha: gboolean read get_has_alpha { property is writeable but setter not declared } ;
property height: gint read get_height { property is writeable but setter not declared } ;
property n_channels: gint read get_n_channels { property is writeable but setter not declared } ;
property pixels: Pguint8 read get_pixels { property is writeable but setter not declared } ;
property rowstride: gint read get_rowstride { property is writeable but setter not declared } ;
property width: gint read get_width { property is writeable but setter not declared } ;
property bits_per_sample: gint read get_bits_per_sample { property is writeable but setter not declared } ;
property colorspace: TGdkColorspace read get_colorspace { property is writeable but setter not declared } ;
property has_alpha: gboolean read get_has_alpha { property is writeable but setter not declared } ;
property height: gint read get_height { property is writeable but setter not declared } ;
property n_channels: gint read get_n_channels { property is writeable but setter not declared } ;
property pixels: Pguint8 read get_pixels { property is writeable but setter not declared } ;
property rowstride: gint read get_rowstride { property is writeable but setter not declared } ;
property width: gint read get_width { property is writeable but setter not declared } ;
end;
{ guchar* }
Tguchar = record
{ opaque type }
Unknown: Pointer;
end;
PPGdkPixdataDumpType = ^PGdkPixdataDumpType;
PGdkPixdataDumpType = ^TGdkPixdataDumpType;
TGdkPixdata = object
@ -195,7 +188,7 @@ type
rowstride: guint32;
width: guint32;
height: guint32;
pixel_data: Pguint8;
pixel_data: guint8;
function deserialize(stream_length: guint; stream: Pguint8): gboolean; cdecl; inline;
function from_pixbuf(pixbuf: PGdkPixbuf; use_rle: gboolean): gpointer; cdecl; inline;
function serialize(stream_length_p: Pguint): Pguint8; cdecl; inline;
@ -230,8 +223,6 @@ type
function get_static_image: PGdkPixbuf; cdecl; inline;
function get_width: gint; cdecl; inline;
function is_static_image: gboolean; cdecl; inline;
end;
TGdkPixbufAnimationIter = object(TGObject)
function advance(current_time: PGTimeVal): gboolean; cdecl; inline;
@ -275,7 +266,7 @@ type
procedure add_frame(pixbuf: PGdkPixbuf); cdecl; inline;
function get_loop: gboolean; cdecl; inline;
procedure set_loop(loop: gboolean); cdecl; inline;
property loop: gboolean read get_loop { property is writeable but setter not declared } ;
property loop: gboolean read get_loop write set_loop;
end;
PPGdkPixbufSimpleAnimClass = ^PGdkPixbufSimpleAnimClass;
@ -321,6 +312,7 @@ function gdk_pixbuf_format_is_scalable(APixbufFormat: PGdkPixbufFormat): gboolea
function gdk_pixbuf_format_is_writable(APixbufFormat: PGdkPixbufFormat): gboolean; cdecl; external;
function gdk_pixbuf_from_pixdata(pixdata: PGdkPixdata; copy_pixels: gboolean): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_get_bits_per_sample(APixbuf: PGdkPixbuf): gint; cdecl; external;
function gdk_pixbuf_get_byte_length(APixbuf: PGdkPixbuf): gsize; cdecl; external;
function gdk_pixbuf_get_colorspace(APixbuf: PGdkPixbuf): TGdkColorspace; cdecl; external;
function gdk_pixbuf_get_file_info(filename: Pgchar; width: Pgint; height: Pgint): PGdkPixbufFormat; cdecl; external;
function gdk_pixbuf_get_formats: PGSList; cdecl; external;
@ -329,6 +321,7 @@ function gdk_pixbuf_get_height(APixbuf: PGdkPixbuf): gint; cdecl; external;
function gdk_pixbuf_get_n_channels(APixbuf: PGdkPixbuf): gint; cdecl; external;
function gdk_pixbuf_get_option(APixbuf: PGdkPixbuf; key: Pgchar): Pgchar; cdecl; external;
function gdk_pixbuf_get_pixels(APixbuf: PGdkPixbuf): Pguint8; cdecl; external;
function gdk_pixbuf_get_pixels_with_length(APixbuf: PGdkPixbuf; length: Pguint): Pguint8; cdecl; external;
function gdk_pixbuf_get_rowstride(APixbuf: PGdkPixbuf): gint; cdecl; external;
function gdk_pixbuf_get_type: TGType; cdecl; external;
function gdk_pixbuf_get_width(APixbuf: PGdkPixbuf): gint; cdecl; external;
@ -343,11 +336,13 @@ function gdk_pixbuf_loader_new_with_mime_type(mime_type: Pgchar): PGdkPixbufLoad
function gdk_pixbuf_loader_new_with_type(image_type: Pgchar): PGdkPixbufLoader; cdecl; external;
function gdk_pixbuf_loader_write(APixbufLoader: PGdkPixbufLoader; buf: Pguint8; count: gsize): gboolean; cdecl; external;
function gdk_pixbuf_new(colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_data(data: Pguchar; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_data(data: Pguint8; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_file(filename: Pgchar): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_file_at_scale(filename: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_file_at_size(filename: Pgchar; width: gint; height: gint): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_inline(data_length: gint; data: Pguint8; copy_pixels: gboolean): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_resource(resource_path: Pgchar): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_resource_at_scale(resource_path: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_stream(stream: PGInputStream; cancellable: PGCancellable): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_stream_at_scale(stream: PGInputStream; width: gint; height: gint; preserve_aspect_ratio: gboolean; cancellable: PGCancellable): PGdkPixbuf; cdecl; external;
function gdk_pixbuf_new_from_stream_finish(async_result: PGAsyncResult): PGdkPixbuf; cdecl; external;
@ -391,7 +386,7 @@ begin
Result := GdkPixbuf2.gdk_pixbuf_new(colorspace, has_alpha, bits_per_sample, width, height);
end;
function TGdkPixbuf.new_from_data(data: Pguchar; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl;
function TGdkPixbuf.new_from_data(data: Pguint8; colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint; rowstride: gint; destroy_fn: TGdkPixbufDestroyNotify; destroy_fn_data: gpointer): PGdkPixbuf; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_new_from_data(data, colorspace, has_alpha, bits_per_sample, width, height, rowstride, destroy_fn, destroy_fn_data);
end;
@ -416,6 +411,16 @@ begin
Result := GdkPixbuf2.gdk_pixbuf_new_from_inline(data_length, data, copy_pixels);
end;
function TGdkPixbuf.new_from_resource(resource_path: Pgchar): PGdkPixbuf; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_new_from_resource(resource_path);
end;
function TGdkPixbuf.new_from_resource_at_scale(resource_path: Pgchar; width: gint; height: gint; preserve_aspect_ratio: gboolean): PGdkPixbuf; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_new_from_resource_at_scale(resource_path, width, height, preserve_aspect_ratio);
end;
function TGdkPixbuf.new_from_stream(stream: PGInputStream; cancellable: PGCancellable): PGdkPixbuf; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_new_from_stream(stream, cancellable);
@ -521,6 +526,11 @@ begin
Result := GdkPixbuf2.gdk_pixbuf_get_bits_per_sample(@self);
end;
function TGdkPixbuf.get_byte_length: gsize; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_get_byte_length(@self);
end;
function TGdkPixbuf.get_colorspace: TGdkColorspace; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_get_colorspace(@self);
@ -551,6 +561,11 @@ begin
Result := GdkPixbuf2.gdk_pixbuf_get_pixels(@self);
end;
function TGdkPixbuf.get_pixels_with_length(length: Pguint): Pguint8; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_get_pixels_with_length(@self, length);
end;
function TGdkPixbuf.get_rowstride: gint; cdecl;
begin
Result := GdkPixbuf2.gdk_pixbuf_get_rowstride(@self);

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit GModule2;
{$MODE OBJFPC}{$H+}

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit GObject2;
{$MODE OBJFPC}{$H+}
@ -18,7 +18,7 @@ const
PARAM_READWRITE = 0;
PARAM_STATIC_STRINGS = 0;
PARAM_USER_SHIFT = 8;
SIGNAL_FLAGS_MASK = 255;
SIGNAL_FLAGS_MASK = 511;
SIGNAL_MATCH_MASK = 63;
TYPE_FUNDAMENTAL_MAX = 255;
TYPE_FUNDAMENTAL_SHIFT = 2;
@ -73,6 +73,7 @@ const
G_SIGNAL_ACTION: TGSignalFlags = 32;
G_SIGNAL_NO_HOOKS: TGSignalFlags = 64;
G_SIGNAL_MUST_COLLECT: TGSignalFlags = 128;
G_SIGNAL_DEPRECATED: TGSignalFlags = 256;
type
TGSignalMatchType = Integer;
@ -122,6 +123,11 @@ type
PPGSignalCMarshaller = ^PGSignalCMarshaller;
PGSignalCMarshaller = ^TGSignalCMarshaller;
TGSignalCMarshaller = TGClosureMarshal;
TGVaClosureMarshal = procedure(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl;
PPGSignalCVaMarshaller = ^PGSignalCVaMarshaller;
PGSignalCVaMarshaller = ^TGSignalCVaMarshaller;
TGSignalCVaMarshaller = TGVaClosureMarshal;
PPGType = ^PGType;
PGType = ^TGType;
@ -138,13 +144,6 @@ type
PPGParameter = ^PGParameter;
PGParameter = ^TGParameter;
PPGBinding = ^PGBinding;
PGBinding = ^TGBinding;
PPGBindingTransformFunc = ^PGBindingTransformFunc;
PGBindingTransformFunc = ^TGBindingTransformFunc;
TGBindingTransformFunc = function(binding: PGBinding; source_value: PGValue; target_value: PGValue; user_data: gpointer): gboolean; cdecl;
PPGParamSpec = ^PGParamSpec;
PGParamSpec = ^TGParamSpec;
@ -152,6 +151,13 @@ type
PGToggleNotify = ^TGToggleNotify;
TGToggleNotify = procedure(data: gpointer; object_: PGObject; is_last_ref: gboolean); cdecl;
PPGBinding = ^PGBinding;
PGBinding = ^TGBinding;
PPGBindingTransformFunc = ^PGBindingTransformFunc;
PGBindingTransformFunc = ^TGBindingTransformFunc;
TGBindingTransformFunc = function(binding: PGBinding; source_value: PGValue; target_value: PGValue; user_data: gpointer): gboolean; cdecl;
PPGWeakNotify = ^PGWeakNotify;
PGWeakNotify = ^TGWeakNotify;
TGWeakNotify = procedure(data: gpointer; where_the_object_was: PGObject); cdecl;
@ -171,9 +177,6 @@ type
qdata: PGData;
//function new_valist(object_type: TGType; first_property_name: Pgchar; var_args: Tva_list): PGObject; cdecl; inline; static;
function newv(object_type: TGType; n_parameters: guint; parameters: PGParameter): PGObject; cdecl; inline; static;
function bind_property(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; inline; static;
function bind_property_full(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl; inline; static;
function bind_property_with_closures(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl; inline; static;
function compat_control(what: gsize; data: gpointer): gsize; cdecl; inline; static;
//function connect(object_: gpointer; signal_spec: Pgchar; args: array of const): gpointer; cdecl; inline; static;
//procedure disconnect(object_: gpointer; signal_spec: Pgchar; args: array of const); cdecl; inline; static;
@ -185,6 +188,9 @@ type
//procedure set_(object_: gpointer; first_property_name: Pgchar; args: array of const); cdecl; inline; static;
procedure add_toggle_ref(notify: TGToggleNotify; data: gpointer); cdecl; inline;
procedure add_weak_pointer(weak_pointer_location: Pgpointer); cdecl; inline;
function bind_property(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; inline;
function bind_property_full(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl; inline;
function bind_property_with_closures(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl; inline;
procedure force_floating; cdecl; inline;
procedure freeze_notify; cdecl; inline;
function get_data(key: Pgchar): gpointer; cdecl; inline;
@ -219,11 +225,11 @@ type
function get_source_property: Pgchar; cdecl; inline;
function get_target: PGObject; cdecl; inline;
function get_target_property: Pgchar; cdecl; inline;
property flags: TGBindingFlags read get_flags { property is writeable but setter not declared } ;
property source: PGObject read get_source { property is writeable but setter not declared } ;
property source_property: Pgchar read get_source_property { property is writeable but setter not declared } ;
property target: PGObject read get_target { property is writeable but setter not declared } ;
property target_property: Pgchar read get_target_property { property is writeable but setter not declared } ;
property flags: TGBindingFlags read get_flags { property is writeable but setter not declared } ;
property source: PGObject read get_source { property is writeable but setter not declared } ;
property source_property: Pgchar read get_source_property { property is writeable but setter not declared } ;
property target: PGObject read get_target { property is writeable but setter not declared } ;
property target_property: Pgchar read get_target_property { property is writeable but setter not declared } ;
end;
PPGValueTransform = ^PGValueTransform;
@ -258,17 +264,18 @@ type
function fits_pointer: gboolean; cdecl; inline;
function get_boolean: gboolean; cdecl; inline;
function get_boxed: gpointer; cdecl; inline;
function get_char: gchar; cdecl; inline;
function get_double: gdouble; cdecl; inline;
function get_enum: gint; cdecl; inline;
function get_flags: guint; cdecl; inline;
function get_float: gfloat; cdecl; inline;
function get_gtype: TGType; cdecl; inline;
function get_int: gint; cdecl; inline;
function get_int64: gint64; cdecl; inline;
function get_long: glong; cdecl; inline;
function get_object: PGObject; cdecl; inline;
function get_param: PGParamSpec; cdecl; inline;
function get_pointer: gpointer; cdecl; inline;
function get_schar: gint8; cdecl; inline;
function get_string: Pgchar; cdecl; inline;
function get_uchar: guint8; cdecl; inline;
function get_uint: guint; cdecl; inline;
@ -280,8 +287,6 @@ type
function reset: PGValue; cdecl; inline;
procedure set_boolean(v_boolean: gboolean); cdecl; inline;
procedure set_boxed(v_boxed: gpointer); cdecl; inline;
procedure set_char(v_char: gchar); cdecl; inline;
procedure set_double(v_double: gdouble); cdecl; inline;
procedure set_enum(v_enum: gint); cdecl; inline;
procedure set_flags(v_flags: guint); cdecl; inline;
@ -292,14 +297,12 @@ type
procedure set_int64(v_int64: gint64); cdecl; inline;
procedure set_long(v_long: glong); cdecl; inline;
procedure set_object(v_object: PGObject); cdecl; inline;
procedure set_param(param: PGParamSpec); cdecl; inline;
procedure set_pointer(v_pointer: gpointer); cdecl; inline;
procedure set_schar(v_char: gint8); cdecl; inline;
procedure set_static_boxed(v_boxed: gpointer); cdecl; inline;
procedure set_static_string(v_string: Pgchar); cdecl; inline;
procedure set_string(v_string: Pgchar); cdecl; inline;
procedure set_uchar(v_uchar: guint8); cdecl; inline;
procedure set_uint(v_uint: guint); cdecl; inline;
procedure set_uint64(v_uint64: guint64); cdecl; inline;
@ -327,7 +330,7 @@ type
PGClosureMarshal = ^TGClosureMarshal;
TGClosureBitfield0 = bitpacked record
ref_count: guint15 { changed from guint to accomodate 15 bitsize requirement };
meta_marshal: guint1 { changed from guint to accomodate 1 bitsize requirement };
meta_marshal_nouse: guint1 { changed from guint to accomodate 1 bitsize requirement };
n_guards: guint1 { changed from guint to accomodate 1 bitsize requirement };
n_fnotifiers: guint2 { changed from guint to accomodate 2 bitsize requirement };
n_inotifiers: guint8 { changed from guint to accomodate 8 bitsize requirement };
@ -372,28 +375,51 @@ type
closure: TGClosure;
callback: gpointer;
procedure marshal_BOOLEAN__BOXED_BOXED(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_BOOLEAN__BOXED_BOXEDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_BOOLEAN__FLAGS(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_BOOLEAN__FLAGSv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_STRING__OBJECT_POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_STRING__OBJECT_POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__BOOLEAN(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__BOOLEANv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__BOXED(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__BOXEDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__CHAR(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__CHARv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__DOUBLE(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__DOUBLEv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__ENUM(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__ENUMv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__FLAGS(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__FLAGSv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__FLOAT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__FLOATv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__INT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__INTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__LONG(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__LONGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__OBJECT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__OBJECTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__PARAM(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__PARAMv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__STRING(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__STRINGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__UCHAR(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__UCHARv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__UINT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
procedure marshal_VOID__UINT_POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__UINT_POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
//procedure marshal_VOID__UINTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__ULONG(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__ULONGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__VARIANT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__VARIANTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_VOID__VOID(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_VOID__VOIDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
procedure marshal_generic(closure: PGClosure; return_gvalue: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; inline; static;
//procedure marshal_generic_va(closure: PGClosure; return_value: PGValue; instance: gpointer; args_list: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; inline; static;
function new(callback_func: TGCallback; user_data: gpointer; destroy_data: TGClosureNotify): PGClosure; cdecl; inline; static;
function new_object(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; inline; static;
function new_object_swap(callback_func: TGCallback; object_: PGObject): PGClosure; cdecl; inline; static;
@ -1001,16 +1027,22 @@ type
n_values: guint;
values: PGValue;
n_prealloced: guint;
function new(n_prealloced: guint): PGValueArray; cdecl; inline; static;
function append(value: PGValue): PGValueArray; cdecl; inline;
function copy: PGValueArray; cdecl; inline;
procedure free; cdecl; inline;
function get_nth(index_: guint): PGValue; cdecl; inline;
function insert(index_: guint; value: PGValue): PGValueArray; cdecl; inline;
function prepend(value: PGValue): PGValueArray; cdecl; inline;
function remove(index_: guint): PGValueArray; cdecl; inline;
function sort(compare_func: TGCompareFunc): PGValueArray; cdecl; inline;
function sort_with_data(compare_func: TGCompareDataFunc; user_data: gpointer): PGValueArray; cdecl; inline;
end;
PPGWeakRef = ^PGWeakRef;
PGWeakRef = ^TGWeakRef;
TGWeakRef_union_priv = record
case longint of
0 : (p: gpointer);
end;
TGWeakRef = object
priv: TGWeakRef_union_priv; //union extracted from object and named 'TGWeakRef_union_priv'
procedure clear; cdecl; inline;
function get: PGObject; cdecl; inline;
procedure init(object_: gpointer); cdecl; inline;
procedure set_(object_: gpointer); cdecl; inline;
end;
function g_binding_get_flags(ABinding: PGBinding): TGBindingFlags; cdecl; external;
@ -1039,9 +1071,9 @@ function g_flags_get_value_by_nick(flags_class: PGFlagsClass; nick: Pgchar): PGF
function g_flags_register_static(name: Pgchar; const_static_values: PGFlagsValue): TGType; cdecl; external;
function g_gtype_get_type: TGType; cdecl; external;
function g_initially_unowned_get_type: TGType; cdecl; external;
function g_object_bind_property(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; external;
function g_object_bind_property_full(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl; external;
function g_object_bind_property_with_closures(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl; external;
function g_object_bind_property(AObject: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl; external;
function g_object_bind_property_full(AObject: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl; external;
function g_object_bind_property_with_closures(AObject: PGObject; source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl; external;
function g_object_class_find_property(AObjectClass: PGObjectClass; property_name: Pgchar): PGParamSpec; cdecl; external;
function g_object_class_list_properties(AObjectClass: PGObjectClass; n_properties: Pguint): PPGParamSpec; cdecl; external;
function g_object_compat_control(what: gsize; data: gpointer): gsize; cdecl; external;
@ -1173,16 +1205,7 @@ function g_type_register_static(parent_type: TGType; type_name: Pgchar; info: PG
function g_type_register_static_simple(parent_type: TGType; type_name: Pgchar; class_size: guint; class_init: TGClassInitFunc; instance_size: guint; instance_init: TGInstanceInitFunc; flags: TGTypeFlags): TGType; cdecl; external;
function g_type_test_flags(type_: TGType; flags: guint): gboolean; cdecl; external;
function g_type_value_table_peek(type_: TGType): PGTypeValueTable; cdecl; external;
function g_value_array_append(AValueArray: PGValueArray; value: PGValue): PGValueArray; cdecl; external;
function g_value_array_copy(AValueArray: PGValueArray): PGValueArray; cdecl; external;
function g_value_array_get_nth(AValueArray: PGValueArray; index_: guint): PGValue; cdecl; external;
function g_value_array_get_type: TGType; cdecl; external;
function g_value_array_insert(AValueArray: PGValueArray; index_: guint; value: PGValue): PGValueArray; cdecl; external;
function g_value_array_new(n_prealloced: guint): PGValueArray; cdecl; external;
function g_value_array_prepend(AValueArray: PGValueArray; value: PGValue): PGValueArray; cdecl; external;
function g_value_array_remove(AValueArray: PGValueArray; index_: guint): PGValueArray; cdecl; external;
function g_value_array_sort(AValueArray: PGValueArray; compare_func: TGCompareFunc): PGValueArray; cdecl; external;
function g_value_array_sort_with_data(AValueArray: PGValueArray; compare_func: TGCompareDataFunc; user_data: gpointer): PGValueArray; cdecl; external;
function g_value_dup_boxed(AValue: PGValue): gpointer; cdecl; external;
function g_value_dup_object(AValue: PGValue): PGObject; cdecl; external;
function g_value_dup_param(AValue: PGValue): PGParamSpec; cdecl; external;
@ -1191,18 +1214,18 @@ function g_value_dup_variant(AValue: PGValue): PGVariant; cdecl; external;
function g_value_fits_pointer(AValue: PGValue): gboolean; cdecl; external;
function g_value_get_boolean(AValue: PGValue): gboolean; cdecl; external;
function g_value_get_boxed(AValue: PGValue): gpointer; cdecl; external;
function g_value_get_char(AValue: PGValue): gchar; cdecl; external;
function g_value_get_double(AValue: PGValue): gdouble; cdecl; external;
function g_value_get_enum(AValue: PGValue): gint; cdecl; external;
function g_value_get_flags(AValue: PGValue): guint; cdecl; external;
function g_value_get_float(AValue: PGValue): gfloat; cdecl; external;
function g_value_get_gtype(value: PGValue): TGType; cdecl; external;
function g_value_get_gtype(AValue: PGValue): TGType; cdecl; external;
function g_value_get_int(AValue: PGValue): gint; cdecl; external;
function g_value_get_int64(AValue: PGValue): gint64; cdecl; external;
function g_value_get_long(AValue: PGValue): glong; cdecl; external;
function g_value_get_object(AValue: PGValue): PGObject; cdecl; external;
function g_value_get_param(AValue: PGValue): PGParamSpec; cdecl; external;
function g_value_get_pointer(AValue: PGValue): gpointer; cdecl; external;
function g_value_get_schar(AValue: PGValue): gint8; cdecl; external;
function g_value_get_string(AValue: PGValue): Pgchar; cdecl; external;
function g_value_get_type: TGType; cdecl; external;
function g_value_get_uchar(AValue: PGValue): guint8; cdecl; external;
@ -1216,30 +1239,54 @@ function g_value_reset(AValue: PGValue): PGValue; cdecl; external;
function g_value_transform(AValue: PGValue; dest_value: PGValue): gboolean; cdecl; external;
function g_value_type_compatible(src_type: TGType; dest_type: TGType): gboolean; cdecl; external;
function g_value_type_transformable(src_type: TGType; dest_type: TGType): gboolean; cdecl; external;
function g_weak_ref_get(AWeakRef: PGWeakRef): PGObject; cdecl; external;
procedure g_boxed_free(boxed_type: TGType; boxed: gpointer); cdecl; external;
procedure g_cclosure_marshal_BOOLEAN__BOXED_BOXED(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_BOOLEAN__BOXED_BOXEDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_BOOLEAN__FLAGS(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_BOOLEAN__FLAGSv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_generic(closure: PGClosure; return_gvalue: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_generic_va(closure: PGClosure; return_value: PGValue; instance: gpointer; args_list: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_STRING__OBJECT_POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_STRING__OBJECT_POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__BOOLEAN(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__BOOLEANv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__BOXED(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__BOXEDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__CHAR(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__CHARv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__DOUBLE(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__DOUBLEv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__ENUM(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__ENUMv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__FLAGS(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__FLAGSv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__FLOAT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__FLOATv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__INT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__INTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__LONG(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__LONGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__OBJECT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__OBJECTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__PARAM(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__PARAMv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__STRING(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__STRINGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__UCHAR(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__UCHARv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__UINT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__UINT_POINTER(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__UINT_POINTERv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__UINTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__ULONG(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__ULONGv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__VARIANT(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__VARIANTv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_cclosure_marshal_VOID__VOID(closure: PGClosure; return_value: PGValue; n_param_values: guint; param_values: PGValue; invocation_hint: gpointer; marshal_data: gpointer); cdecl; external;
procedure g_cclosure_marshal_VOID__VOIDv(closure: PGClosure; return_value: PGValue; instance: gpointer; args: Tva_list; marshal_data: gpointer; n_params: gint; param_types: PGType); cdecl; external;
procedure g_clear_object(object_ptr: PPGObject); cdecl; external;
procedure g_closure_add_finalize_notifier(AClosure: PGClosure; notify_data: gpointer; notify_func: TGClosureNotify); cdecl; external;
procedure g_closure_add_invalidate_notifier(AClosure: PGClosure; notify_data: gpointer; notify_func: TGClosureNotify); cdecl; external;
@ -1304,6 +1351,7 @@ procedure g_signal_override_class_closure(signal_id: guint; instance_type: TGTyp
procedure g_signal_override_class_handler(signal_name: Pgchar; instance_type: TGType; class_handler: TGCallback); cdecl; external;
procedure g_signal_query(signal_id: guint; query: PGSignalQuery); cdecl; external;
procedure g_signal_remove_emission_hook(signal_id: guint; hook_id: gulong); cdecl; external;
procedure g_signal_set_va_marshaller(signal_id: guint; instance_type: TGType; va_marshaller: TGSignalCVaMarshaller); cdecl; external;
procedure g_signal_stop_emission(instance: gpointer; signal_id: guint; detail: TGQuark); cdecl; external;
procedure g_signal_stop_emission_by_name(instance: gpointer; detailed_signal: Pgchar); cdecl; external;
procedure g_source_set_closure(source: PGSource; closure: PGClosure); cdecl; external;
@ -1332,12 +1380,10 @@ procedure g_type_query(type_: TGType; query: PGTypeQuery); cdecl; external;
procedure g_type_remove_class_cache_func(cache_data: gpointer; cache_func: TGTypeClassCacheFunc); cdecl; external;
procedure g_type_remove_interface_check(check_data: gpointer; check_func: TGTypeInterfaceCheckFunc); cdecl; external;
procedure g_type_set_qdata(type_: TGType; quark: TGQuark; data: gpointer); cdecl; external;
procedure g_value_array_free(AValueArray: PGValueArray); cdecl; external;
procedure g_value_copy(AValue: PGValue; dest_value: PGValue); cdecl; external;
procedure g_value_register_transform_func(src_type: TGType; dest_type: TGType; transform_func: TGValueTransform); cdecl; external;
procedure g_value_set_boolean(AValue: PGValue; v_boolean: gboolean); cdecl; external;
procedure g_value_set_boxed(AValue: PGValue; v_boxed: gpointer); cdecl; external;
procedure g_value_set_char(AValue: PGValue; v_char: gchar); cdecl; external;
procedure g_value_set_double(AValue: PGValue; v_double: gdouble); cdecl; external;
procedure g_value_set_enum(AValue: PGValue; v_enum: gint); cdecl; external;
procedure g_value_set_flags(AValue: PGValue; v_flags: guint); cdecl; external;
@ -1350,6 +1396,7 @@ procedure g_value_set_long(AValue: PGValue; v_long: glong); cdecl; external;
procedure g_value_set_object(AValue: PGValue; v_object: PGObject); cdecl; external;
procedure g_value_set_param(AValue: PGValue; param: PGParamSpec); cdecl; external;
procedure g_value_set_pointer(AValue: PGValue; v_pointer: gpointer); cdecl; external;
procedure g_value_set_schar(AValue: PGValue; v_char: gint8); cdecl; external;
procedure g_value_set_static_boxed(AValue: PGValue; v_boxed: gpointer); cdecl; external;
procedure g_value_set_static_string(AValue: PGValue; v_string: Pgchar); cdecl; external;
procedure g_value_set_string(AValue: PGValue; v_string: Pgchar); cdecl; external;
@ -1364,27 +1411,15 @@ procedure g_value_take_param(AValue: PGValue; param: PGParamSpec); cdecl; extern
procedure g_value_take_string(AValue: PGValue; v_string: Pgchar); cdecl; external;
procedure g_value_take_variant(AValue: PGValue; variant: PGVariant); cdecl; external;
procedure g_value_unset(AValue: PGValue); cdecl; external;
procedure g_weak_ref_clear(AWeakRef: PGWeakRef); cdecl; external;
procedure g_weak_ref_init(AWeakRef: PGWeakRef; object_: gpointer); cdecl; external;
procedure g_weak_ref_set(AWeakRef: PGWeakRef; object_: gpointer); cdecl; external;
implementation
function TGObject.newv(object_type: TGType; n_parameters: guint; parameters: PGParameter): PGObject; cdecl;
begin
Result := GObject2.g_object_newv(object_type, n_parameters, parameters);
end;
function TGObject.bind_property(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl;
begin
Result := GObject2.g_object_bind_property(source, source_property, target, target_property, flags);
end;
function TGObject.bind_property_full(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl;
begin
Result := GObject2.g_object_bind_property_full(source, source_property, target, target_property, flags, transform_to, transform_from, user_data, notify);
end;
function TGObject.bind_property_with_closures(source: gpointer; source_property: Pgchar; target: gpointer; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl;
begin
Result := GObject2.g_object_bind_property_with_closures(source, source_property, target, target_property, flags, transform_to, transform_from);
end;
function TGObject.compat_control(what: gsize; data: gpointer): gsize; cdecl;
begin
Result := GObject2.g_object_compat_control(what, data);
@ -1415,6 +1450,21 @@ begin
GObject2.g_object_add_weak_pointer(@self, weak_pointer_location);
end;
function TGObject.bind_property(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags): PGBinding; cdecl;
begin
Result := GObject2.g_object_bind_property(@self, source_property, target, target_property, flags);
end;
function TGObject.bind_property_full(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: TGBindingTransformFunc; transform_from: TGBindingTransformFunc; user_data: gpointer; notify: TGDestroyNotify): PGBinding; cdecl;
begin
Result := GObject2.g_object_bind_property_full(@self, source_property, target, target_property, flags, transform_to, transform_from, user_data, notify);
end;
function TGObject.bind_property_with_closures(source_property: Pgchar; target: PGObject; target_property: Pgchar; flags: TGBindingFlags; transform_to: PGClosure; transform_from: PGClosure): PGBinding; cdecl;
begin
Result := GObject2.g_object_bind_property_with_closures(@self, source_property, target, target_property, flags, transform_to, transform_from);
end;
procedure TGObject.force_floating; cdecl;
begin
GObject2.g_object_force_floating(@self);
@ -1615,11 +1665,6 @@ begin
Result := GObject2.g_value_get_boxed(@self);
end;
function TGValue.get_char: gchar; cdecl;
begin
Result := GObject2.g_value_get_char(@self);
end;
function TGValue.get_double: gdouble; cdecl;
begin
Result := GObject2.g_value_get_double(@self);
@ -1640,6 +1685,11 @@ begin
Result := GObject2.g_value_get_float(@self);
end;
function TGValue.get_gtype: TGType; cdecl;
begin
Result := GObject2.g_value_get_gtype(@self);
end;
function TGValue.get_int: gint; cdecl;
begin
Result := GObject2.g_value_get_int(@self);
@ -1670,6 +1720,11 @@ begin
Result := GObject2.g_value_get_pointer(@self);
end;
function TGValue.get_schar: gint8; cdecl;
begin
Result := GObject2.g_value_get_schar(@self);
end;
function TGValue.get_string: Pgchar; cdecl;
begin
Result := GObject2.g_value_get_string(@self);
@ -1725,11 +1780,6 @@ begin
GObject2.g_value_set_boxed(@self, v_boxed);
end;
procedure TGValue.set_char(v_char: gchar); cdecl;
begin
GObject2.g_value_set_char(@self, v_char);
end;
procedure TGValue.set_double(v_double: gdouble); cdecl;
begin
GObject2.g_value_set_double(@self, v_double);
@ -1790,6 +1840,11 @@ begin
GObject2.g_value_set_pointer(@self, v_pointer);
end;
procedure TGValue.set_schar(v_char: gint8); cdecl;
begin
GObject2.g_value_set_schar(@self, v_char);
end;
procedure TGValue.set_static_boxed(v_boxed: gpointer); cdecl;
begin
GObject2.g_value_set_static_boxed(@self, v_boxed);
@ -2330,54 +2385,24 @@ begin
Result := GObject2.g_type_module_use(@self);
end;
function TGValueArray.new(n_prealloced: guint): PGValueArray; cdecl;
procedure TGWeakRef.clear; cdecl;
begin
Result := GObject2.g_value_array_new(n_prealloced);
GObject2.g_weak_ref_clear(@self);
end;
function TGValueArray.append(value: PGValue): PGValueArray; cdecl;
function TGWeakRef.get: PGObject; cdecl;
begin
Result := GObject2.g_value_array_append(@self, value);
Result := GObject2.g_weak_ref_get(@self);
end;
function TGValueArray.copy: PGValueArray; cdecl;
procedure TGWeakRef.init(object_: gpointer); cdecl;
begin
Result := GObject2.g_value_array_copy(@self);
GObject2.g_weak_ref_init(@self, object_);
end;
procedure TGValueArray.free; cdecl;
procedure TGWeakRef.set_(object_: gpointer); cdecl;
begin
GObject2.g_value_array_free(@self);
end;
function TGValueArray.get_nth(index_: guint): PGValue; cdecl;
begin
Result := GObject2.g_value_array_get_nth(@self, index_);
end;
function TGValueArray.insert(index_: guint; value: PGValue): PGValueArray; cdecl;
begin
Result := GObject2.g_value_array_insert(@self, index_, value);
end;
function TGValueArray.prepend(value: PGValue): PGValueArray; cdecl;
begin
Result := GObject2.g_value_array_prepend(@self, value);
end;
function TGValueArray.remove(index_: guint): PGValueArray; cdecl;
begin
Result := GObject2.g_value_array_remove(@self, index_);
end;
function TGValueArray.sort(compare_func: TGCompareFunc): PGValueArray; cdecl;
begin
Result := GObject2.g_value_array_sort(@self, compare_func);
end;
function TGValueArray.sort_with_data(compare_func: TGCompareDataFunc; user_data: gpointer): PGValueArray; cdecl;
begin
Result := GObject2.g_value_array_sort_with_data(@self, compare_func, user_data);
GObject2.g_weak_ref_set(@self, object_);
end;
end.

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit JSCore3;
{$MODE OBJFPC}{$H+}

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit Pango1;
{$MODE OBJFPC}{$H+}

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit Soup2_4;
{$MODE OBJFPC}{$H+}
@ -103,22 +103,28 @@ const
SERVER_SERVER_HEADER = 'server-header';
SERVER_SSL_CERT_FILE = 'ssl-cert-file';
SERVER_SSL_KEY_FILE = 'ssl-key-file';
SERVER_TLS_CERTIFICATE = 'tls-certificate';
SESSION_ACCEPT_LANGUAGE = 'accept-language';
SESSION_ACCEPT_LANGUAGE_AUTO = 'accept-language-auto';
SESSION_ASYNC_CONTEXT = 'async-context';
SESSION_ASYNC_H = 1;
SESSION_FEATURE_H = 1;
SESSION_H = 1;
SESSION_HTTPS_ALIASES = 'https-aliases';
SESSION_HTTP_ALIASES = 'http-aliases';
SESSION_IDLE_TIMEOUT = 'idle-timeout';
SESSION_MAX_CONNS = 'max-conns';
SESSION_MAX_CONNS_PER_HOST = 'max-conns-per-host';
SESSION_PROXY_URI = 'proxy-uri';
SESSION_SSL_CA_FILE = 'ssl-ca-file';
SESSION_SSL_STRICT = 'ssl-strict';
SESSION_SSL_USE_SYSTEM_CA_FILE = 'ssl-use-system-ca-file';
SESSION_SYNC_H = 1;
SESSION_TIMEOUT = 'timeout';
SESSION_TLS_DATABASE = 'tls-database';
SESSION_USER_AGENT = 'user-agent';
SESSION_USE_NTLM = 'use-ntlm';
SESSION_USE_THREAD_CONTEXT = 'use-thread-context';
SOCKET_ASYNC_CONTEXT = 'async-context';
SOCKET_FLAG_NONBLOCKING = 'non-blocking';
SOCKET_H = 1;
@ -132,6 +138,7 @@ const
SOCKET_TLS_CERTIFICATE = 'tls-certificate';
SOCKET_TLS_ERRORS = 'tls-errors';
SOCKET_TRUSTED_CERTIFICATE = 'trusted-certificate';
SOCKET_USE_THREAD_CONTEXT = 'use-thread-context';
STATUS_H = 1;
TYPES_H = 1;
URI_H = 1;
@ -155,6 +162,7 @@ const
SOUP_MESSAGE_OVERWRITE_CHUNKS: TSoupMessageFlags = 8;
SOUP_MESSAGE_CONTENT_DECODED: TSoupMessageFlags = 16;
SOUP_MESSAGE_CERTIFICATE_TRUSTED: TSoupMessageFlags = 32;
SOUP_MESSAGE_NEW_CONNECTION: TSoupMessageFlags = 64;
type
TSoupHTTPVersion = Integer;
@ -337,15 +345,6 @@ const
SOUP_REQUESTER_ERROR_BAD_URI: TSoupRequesterError = 0;
SOUP_REQUESTER_ERROR_UNSUPPORTED_URI_SCHEME: TSoupRequesterError = 1;
type
TSoupSSLError = Integer;
const
{ SoupSSLError }
SOUP_SSL_ERROR_HANDSHAKE_NEEDS_READ: TSoupSSLError = 0;
SOUP_SSL_ERROR_HANDSHAKE_NEEDS_WRITE: TSoupSSLError = 1;
SOUP_SSL_ERROR_CERTIFICATE: TSoupSSLError = 2;
SOUP_SSL_ERROR_HANDSHAKE_FAILED: TSoupSSLError = 3;
type
TSoupSocketIOStatus = Integer;
const
@ -404,9 +403,9 @@ type
procedure resolve_async(async_context: PGMainContext; cancellable: PGCancellable; callback: TSoupAddressCallback; user_data: gpointer); cdecl; inline;
function resolve_sync(cancellable: PGCancellable): guint; cdecl; inline;
//property family: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_family { property is writeable but setter not declared } ;
property name: Pgchar read get_name { property is writeable but setter not declared } ;
property physical: Pgchar read get_physical ;
property port: guint read get_port { property is writeable but setter not declared } ;
property name: Pgchar read get_name { property is writeable but setter not declared } ;
property physical: Pgchar read get_physical ;
property port: guint read get_port { property is writeable but setter not declared } ;
//property sockaddr: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_sockaddr { property is writeable but setter not declared } ;
end;
@ -442,11 +441,11 @@ type
function is_authenticated: gboolean; cdecl; inline;
function is_for_proxy: gboolean; cdecl; inline;
function update(msg: PSoupMessage; auth_header: Pgchar): gboolean; cdecl; inline;
property host: Pgchar read get_host { property is writeable but setter not declared } ;
property host: Pgchar read get_host { property is writeable but setter not declared } ;
//property is_authenticated1: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_is_authenticated ;
//property is_for_proxy1: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_is_for_proxy { property is writeable but setter not declared } ;
property realm: Pgchar read get_realm { property is writeable but setter not declared } ;
property scheme_name: Pgchar read get_scheme_name ;
property realm: Pgchar read get_realm { property is writeable but setter not declared } ;
property scheme_name: Pgchar read get_scheme_name ;
end;
PPSoupMessageFlags = ^PSoupMessageFlags;
@ -501,6 +500,7 @@ type
procedure set_first_party(first_party: PSoupURI); cdecl; inline;
procedure set_flags(flags: TSoupMessageFlags); cdecl; inline;
procedure set_http_version(version: TSoupHTTPVersion); cdecl; inline;
procedure set_redirect(status_code: guint; redirect_uri: Pgchar); cdecl; inline;
procedure set_request(content_type: Pgchar; req_use: TSoupMemoryUse; req_body: Pgchar; req_length: gsize); cdecl; inline;
procedure set_response(content_type: Pgchar; resp_use: TSoupMemoryUse; resp_body: Pgchar; resp_length: gsize); cdecl; inline;
procedure set_status(status_code: guint); cdecl; inline;
@ -511,9 +511,9 @@ type
procedure wrote_chunk; cdecl; inline;
procedure wrote_headers; cdecl; inline;
procedure wrote_informational; cdecl; inline;
property first_party: PSoupURI read get_first_party { property is writeable but setter not declared } ;
property flags: TSoupMessageFlags read get_flags { property is writeable but setter not declared } ;
property http_version: TSoupHTTPVersion read get_http_version { property is writeable but setter not declared } ;
property first_party: PSoupURI read get_first_party write set_first_party;
property flags: TSoupMessageFlags read get_flags write set_flags;
property http_version: TSoupHTTPVersion read get_http_version write set_http_version;
//property method: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_method { property is writeable but setter not declared } ;
//property reason_phrase: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_reason_phrase { property is writeable but setter not declared } ;
//property request_body: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_request_body ;
@ -524,7 +524,7 @@ type
//property status_code: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_status_code { property is writeable but setter not declared } ;
//property tls_certificate: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_tls_certificate { property is writeable but setter not declared } ;
//property tls_errors: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_tls_errors { property is writeable but setter not declared } ;
property uri: PSoupURI read get_uri { property is writeable but setter not declared } ;
property uri: PSoupURI read get_uri write set_uri;
end;
TSoupURI = object
scheme: Pgchar;
@ -632,7 +632,7 @@ type
//property generic_auth_callback: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_generic_auth_callback { property is writeable but setter not declared } ;
//property generic_auth_data: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_generic_auth_data { property is writeable but setter not declared } ;
//property proxy: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_proxy { property is writeable but setter not declared } ;
property realm: Pgchar read get_realm { property is writeable but setter not declared } ;
property realm: Pgchar read get_realm { property is writeable but setter not declared } ;
//property remove_path1: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_remove_path { property is writeable but setter not declared } ;
end;
@ -739,9 +739,9 @@ type
//property async_context: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_async_context { property is writeable but setter not declared } ;
//property clean_dispose: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_clean_dispose { property is writeable but setter not declared } ;
//property is_server: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_is_server ;
property local_address: PSoupAddress read get_local_address { property is writeable but setter not declared } ;
property local_address: PSoupAddress read get_local_address { property is writeable but setter not declared } ;
//property non_blocking: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_non_blocking { property is writeable but setter not declared } ;
property remote_address: PSoupAddress read get_remote_address { property is writeable but setter not declared } ;
property remote_address: PSoupAddress read get_remote_address { property is writeable but setter not declared } ;
//property ssl_creds: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_creds { property is writeable but setter not declared } ;
//property ssl_fallback: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_fallback { property is writeable but setter not declared } ;
//property ssl_strict: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_strict { property is writeable but setter not declared } ;
@ -749,6 +749,7 @@ type
//property tls_certificate: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_tls_certificate ;
//property tls_errors: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_tls_errors ;
//property trusted_certificate: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_trusted_certificate ;
//property use_thread_context: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_use_thread_context { property is writeable but setter not declared } ;
end;
PPSoupClientContext = ^PSoupClientContext;
@ -925,7 +926,7 @@ type
procedure set_accept_policy(policy: TSoupCookieJarAcceptPolicy); cdecl; inline;
procedure set_cookie(uri: PSoupURI; cookie: Pgchar); cdecl; inline;
procedure set_cookie_with_first_party(uri: PSoupURI; first_party: PSoupURI; cookie: Pgchar); cdecl; inline;
property accept_policy: TSoupCookieJarAcceptPolicy read get_accept_policy { property is writeable but setter not declared } ;
property accept_policy: TSoupCookieJarAcceptPolicy read get_accept_policy write set_accept_policy;
//property read_only: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_read_only { property is writeable but setter not declared } ;
end;
@ -981,8 +982,6 @@ type
TSoupLoggerFilter = function(logger: PSoupLogger; msg: PSoupMessage; user_data: gpointer): TSoupLoggerLogLevel; cdecl;
TSoupLogger = object(TGObject)
function new(level: TSoupLoggerLogLevel; max_body_size: gint): PSoupLogger; cdecl; inline; static;
procedure set_printer(printer: TSoupLoggerPrinter; printer_data: gpointer; destroy_: TGDestroyNotify); cdecl; inline;
procedure set_request_filter(request_filter: TSoupLoggerFilter; filter_data: gpointer; destroy_: TGDestroyNotify); cdecl; inline;
procedure set_response_filter(response_filter: TSoupLoggerFilter; filter_data: gpointer; destroy_: TGDestroyNotify); cdecl; inline;
@ -1001,18 +1000,23 @@ type
function get_feature_for_message(feature_type: TGType; msg: PSoupMessage): PSoupSessionFeature; cdecl; inline;
function get_features(feature_type: TGType): PGSList; cdecl; inline;
procedure pause_message(msg: PSoupMessage); cdecl; inline;
procedure prefetch_dns(hostname: Pgchar; cancellable: PGCancellable; callback: TSoupAddressCallback; user_data: gpointer); cdecl; inline;
procedure prepare_for_uri(uri: PSoupURI); cdecl; inline;
procedure queue_message(msg: PSoupMessage; callback: TSoupSessionCallback; user_data: gpointer); cdecl; inline;
function redirect_message(msg: PSoupMessage): gboolean; cdecl; inline;
procedure remove_feature(feature: PSoupSessionFeature); cdecl; inline;
procedure remove_feature_by_type(feature_type: TGType); cdecl; inline;
procedure requeue_message(msg: PSoupMessage); cdecl; inline;
function send_message(msg: PSoupMessage): guint; cdecl; inline;
procedure unpause_message(msg: PSoupMessage); cdecl; inline;
function would_redirect(msg: PSoupMessage): gboolean; cdecl; inline;
//property accept_language: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accept_language { property is writeable but setter not declared } ;
//property accept_language_auto: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_accept_language_auto { property is writeable but setter not declared } ;
//property add_feature1: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_add_feature { property is writeable but setter not declared } ;
//property add_feature_by_type1: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_add_feature_by_type { property is writeable but setter not declared } ;
property async_context: PGMainContext read get_async_context { property is writeable but setter not declared } ;
property async_context: PGMainContext read get_async_context { property is writeable but setter not declared } ;
//property http_aliases: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_http_aliases { property is writeable but setter not declared } ;
//property https_aliases: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_https_aliases { property is writeable but setter not declared } ;
//property idle_timeout: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_idle_timeout { property is writeable but setter not declared } ;
//property max_conns: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_max_conns { property is writeable but setter not declared } ;
//property max_conns_per_host: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_max_conns_per_host { property is writeable but setter not declared } ;
@ -1020,8 +1024,11 @@ type
//property remove_feature_by_type1: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_remove_feature_by_type { property is writeable but setter not declared } ;
//property ssl_ca_file: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_ca_file { property is writeable but setter not declared } ;
//property ssl_strict: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_strict { property is writeable but setter not declared } ;
//property ssl_use_system_ca_file: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_use_system_ca_file { property is writeable but setter not declared } ;
//property timeout: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_timeout { property is writeable but setter not declared } ;
//property tls_database: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_tls_database { property is writeable but setter not declared } ;
//property use_ntlm: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_use_ntlm { property is writeable but setter not declared } ;
//property use_thread_context: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_use_thread_context { property is writeable but setter not declared } ;
//property user_agent: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_user_agent { property is writeable but setter not declared } ;
end;
@ -1069,7 +1076,6 @@ type
procedure foreach(func: TSoupMessageHeadersForeachFunc; user_data: gpointer); cdecl; inline;
procedure free; cdecl; inline;
procedure free_ranges(ranges: PSoupRange); cdecl; inline;
function get_content_disposition(disposition: PPgchar; params: PPGHashTable): gboolean; cdecl; inline;
function get_content_length: gint64; cdecl; inline;
function get_content_range(start: Pgint64; end_: Pgint64; total_length: Pgint64): gboolean; cdecl; inline;
@ -1194,9 +1200,6 @@ type
PPSoupRequesterError = ^PSoupRequesterError;
PSoupRequesterError = ^TSoupRequesterError;
PPSoupSSLError = ^PSoupSSLError;
PSoupSSLError = ^TSoupSSLError;
PPSoupServer = ^PSoupServer;
PSoupServer = ^TSoupServer;
@ -1219,13 +1222,14 @@ type
procedure run; cdecl; inline;
procedure run_async; cdecl; inline;
procedure unpause_message(msg: PSoupMessage); cdecl; inline;
property async_context: PGMainContext read get_async_context { property is writeable but setter not declared } ;
property async_context: PGMainContext read get_async_context { property is writeable but setter not declared } ;
//property interface_: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_interface { property is writeable but setter not declared } ;
property port: guint read get_port { property is writeable but setter not declared } ;
property port: guint read get_port { property is writeable but setter not declared } ;
//property raw_paths: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_raw_paths { property is writeable but setter not declared } ;
//property server_header: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_server_header { property is writeable but setter not declared } ;
//property ssl_cert_file: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_cert_file { property is writeable but setter not declared } ;
//property ssl_key_file: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_ssl_key_file { property is writeable but setter not declared } ;
//property tls_certificate: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_tls_certificate { property is writeable but setter not declared } ;
end;
PPSoupServerClass = ^PSoupServerClass;
@ -1261,7 +1265,7 @@ type
cancel_message: procedure(session: PSoupSession; msg: PSoupMessage; status_code: guint); cdecl;
auth_required: procedure(session: PSoupSession; msg: PSoupMessage; auth: PSoupAuth; retrying: gboolean); cdecl;
flush_queue: procedure(session: PSoupSession); cdecl;
_libsoup_reserved3: procedure; cdecl;
kick: procedure(session: PSoupSession); cdecl;
_libsoup_reserved4: procedure; cdecl;
end;
@ -1507,10 +1511,12 @@ function soup_session_get_feature(ASession: PSoupSession; feature_type: TGType):
function soup_session_get_feature_for_message(ASession: PSoupSession; feature_type: TGType; msg: PSoupMessage): PSoupSessionFeature; cdecl; external;
function soup_session_get_features(ASession: PSoupSession; feature_type: TGType): PGSList; cdecl; external;
function soup_session_get_type: TGType; cdecl; external;
function soup_session_redirect_message(ASession: PSoupSession; msg: PSoupMessage): gboolean; cdecl; external;
function soup_session_send_message(ASession: PSoupSession; msg: PSoupMessage): guint; cdecl; external;
function soup_session_sync_get_type: TGType; cdecl; external;
function soup_session_sync_new: PSoupSessionSync; cdecl; external;
function soup_session_sync_new_with_options(optname1: Pgchar; args: array of const): PSoupSessionSync; cdecl; external;
function soup_session_would_redirect(ASession: PSoupSession; msg: PSoupMessage): gboolean; cdecl; external;
function soup_socket_connect_sync(ASocket: PSoupSocket; cancellable: PGCancellable): guint; cdecl; external;
function soup_socket_get_fd(ASocket: PSoupSocket): gint; cdecl; external;
function soup_socket_get_local_address(ASocket: PSoupSocket): PSoupAddress; cdecl; external;
@ -1525,7 +1531,6 @@ function soup_socket_read_until(ASocket: PSoupSocket; buffer: gpointer; len: gsi
function soup_socket_start_proxy_ssl(ASocket: PSoupSocket; ssl_host: Pgchar; cancellable: PGCancellable): gboolean; cdecl; external;
function soup_socket_start_ssl(ASocket: PSoupSocket; cancellable: PGCancellable): gboolean; cdecl; external;
function soup_socket_write(ASocket: PSoupSocket; buffer: gpointer; len: gsize; nwrote: Pgsize; cancellable: PGCancellable): TSoupSocketIOStatus; cdecl; external;
function soup_ssl_error_quark: TGQuark; cdecl; external;
function soup_status_get_phrase(status_code: guint): Pgchar; cdecl; external;
function soup_status_proxify(status_code: guint): guint; cdecl; external;
function soup_str_case_equal(v1: gpointer; v2: gpointer): gboolean; cdecl; external;
@ -1647,6 +1652,7 @@ procedure soup_message_set_chunk_allocator(AMessage: PSoupMessage; allocator: TS
procedure soup_message_set_first_party(AMessage: PSoupMessage; first_party: PSoupURI); cdecl; external;
procedure soup_message_set_flags(AMessage: PSoupMessage; flags: TSoupMessageFlags); cdecl; external;
procedure soup_message_set_http_version(AMessage: PSoupMessage; version: TSoupHTTPVersion); cdecl; external;
procedure soup_message_set_redirect(AMessage: PSoupMessage; status_code: guint; redirect_uri: Pgchar); cdecl; external;
procedure soup_message_set_request(AMessage: PSoupMessage; content_type: Pgchar; req_use: TSoupMemoryUse; req_body: Pgchar; req_length: gsize); cdecl; external;
procedure soup_message_set_response(AMessage: PSoupMessage; content_type: Pgchar; resp_use: TSoupMemoryUse; resp_body: Pgchar; resp_length: gsize); cdecl; external;
procedure soup_message_set_status(AMessage: PSoupMessage; status_code: guint); cdecl; external;
@ -1680,6 +1686,7 @@ procedure soup_session_cancel_message(ASession: PSoupSession; msg: PSoupMessage;
procedure soup_session_feature_attach(ASessionFeature: PSoupSessionFeature; session: PSoupSession); cdecl; external;
procedure soup_session_feature_detach(ASessionFeature: PSoupSessionFeature; session: PSoupSession); cdecl; external;
procedure soup_session_pause_message(ASession: PSoupSession; msg: PSoupMessage); cdecl; external;
procedure soup_session_prefetch_dns(ASession: PSoupSession; hostname: Pgchar; cancellable: PGCancellable; callback: TSoupAddressCallback; user_data: gpointer); cdecl; external;
procedure soup_session_prepare_for_uri(ASession: PSoupSession; uri: PSoupURI); cdecl; external;
procedure soup_session_queue_message(ASession: PSoupSession; msg: PSoupMessage; callback: TSoupSessionCallback; user_data: gpointer); cdecl; external;
procedure soup_session_remove_feature(ASession: PSoupSession; feature: PSoupSessionFeature); cdecl; external;
@ -1958,6 +1965,11 @@ begin
Soup2_4.soup_message_set_http_version(@self, version);
end;
procedure TSoupMessage.set_redirect(status_code: guint; redirect_uri: Pgchar); cdecl;
begin
Soup2_4.soup_message_set_redirect(@self, status_code, redirect_uri);
end;
procedure TSoupMessage.set_request(content_type: Pgchar; req_use: TSoupMemoryUse; req_body: Pgchar; req_length: gsize); cdecl;
begin
Soup2_4.soup_message_set_request(@self, content_type, req_use, req_body, req_length);
@ -2723,6 +2735,11 @@ begin
Soup2_4.soup_session_pause_message(@self, msg);
end;
procedure TSoupSession.prefetch_dns(hostname: Pgchar; cancellable: PGCancellable; callback: TSoupAddressCallback; user_data: gpointer); cdecl;
begin
Soup2_4.soup_session_prefetch_dns(@self, hostname, cancellable, callback, user_data);
end;
procedure TSoupSession.prepare_for_uri(uri: PSoupURI); cdecl;
begin
Soup2_4.soup_session_prepare_for_uri(@self, uri);
@ -2733,6 +2750,11 @@ begin
Soup2_4.soup_session_queue_message(@self, msg, callback, user_data);
end;
function TSoupSession.redirect_message(msg: PSoupMessage): gboolean; cdecl;
begin
Result := Soup2_4.soup_session_redirect_message(@self, msg);
end;
procedure TSoupSession.remove_feature(feature: PSoupSessionFeature); cdecl;
begin
Soup2_4.soup_session_remove_feature(@self, feature);
@ -2758,6 +2780,11 @@ begin
Soup2_4.soup_session_unpause_message(@self, msg);
end;
function TSoupSession.would_redirect(msg: PSoupMessage): gboolean; cdecl;
begin
Result := Soup2_4.soup_session_would_redirect(@self, msg);
end;
function TSoupMessageBody.new: PSoupMessageBody; cdecl;
begin
Result := Soup2_4.soup_message_body_new();

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
{ This is an autogenerated unit using gobject introspection. Do not Edit. }
{ This is an autogenerated unit using gobject introspection (gir2pascal). Do not Edit. }
unit xlib2;
{$MODE OBJFPC}{$H+}