diff --git a/bindings/gtk3/atk1.pas b/bindings/gtk3/atk1.pas index 84fa0e306..6db96557c 100644 --- a/bindings/gtk3/atk1.pas +++ b/bindings/gtk3/atk1.pas @@ -376,8 +376,8 @@ type function get_attributes: PAtkAttributeSet; cdecl; inline; function get_description: Pgchar; cdecl; inline; function get_index_in_parent: gint; cdecl; inline; - function get_layer: TAtkLayer; cdecl; inline; - function get_mdi_zorder: gint; cdecl; inline; + + function get_n_accessible_children: gint; cdecl; inline; function get_name: Pgchar; cdecl; inline; function get_parent: PAtkObject; cdecl; inline; @@ -1250,8 +1250,6 @@ function atk_object_factory_get_type: TGType; cdecl; external; function atk_object_get_attributes(AObject: PAtkObject): PAtkAttributeSet; cdecl; external; function atk_object_get_description(AObject: PAtkObject): Pgchar; cdecl; external; function atk_object_get_index_in_parent(AObject: PAtkObject): gint; cdecl; external; -function atk_object_get_layer(AObject: PAtkObject): TAtkLayer; cdecl; external; -function atk_object_get_mdi_zorder(AObject: PAtkObject): gint; cdecl; external; function atk_object_get_n_accessible_children(AObject: PAtkObject): gint; cdecl; external; function atk_object_get_name(AObject: PAtkObject): Pgchar; cdecl; external; function atk_object_get_parent(AObject: PAtkObject): PAtkObject; cdecl; external; @@ -1476,16 +1474,6 @@ begin Result := Atk1.atk_object_get_index_in_parent(@self); end; -function TAtkObject.get_layer: TAtkLayer; cdecl; -begin - Result := Atk1.atk_object_get_layer(@self); -end; - -function TAtkObject.get_mdi_zorder: gint; cdecl; -begin - Result := Atk1.atk_object_get_mdi_zorder(@self); -end; - function TAtkObject.get_n_accessible_children: gint; cdecl; begin Result := Atk1.atk_object_get_n_accessible_children(@self); diff --git a/bindings/gtk3/gdk3.pas b/bindings/gtk3/gdk3.pas index 957ebe9a4..15f8239cf 100644 --- a/bindings/gtk3/gdk3.pas +++ b/bindings/gtk3/gdk3.pas @@ -2276,43 +2276,6 @@ const PARENT_RELATIVE = 1; PRIORITY_REDRAW = 20; -type - TGdkModifierType = Integer; -const - { GdkModifierType } - GDK_SHIFT_MASK: TGdkModifierType = 1; - GDK_LOCK_MASK: TGdkModifierType = 2; - GDK_CONTROL_MASK: TGdkModifierType = 4; - GDK_MOD1_MASK: TGdkModifierType = 8; - GDK_MOD2_MASK: TGdkModifierType = 16; - GDK_MOD3_MASK: TGdkModifierType = 32; - GDK_MOD4_MASK: TGdkModifierType = 64; - GDK_MOD5_MASK: TGdkModifierType = 128; - GDK_BUTTON1_MASK: TGdkModifierType = 256; - GDK_BUTTON2_MASK: TGdkModifierType = 512; - GDK_BUTTON3_MASK: TGdkModifierType = 1024; - GDK_BUTTON4_MASK: TGdkModifierType = 2048; - GDK_BUTTON5_MASK: TGdkModifierType = 4096; - GDK_MODIFIER_RESERVED_13_MASK: TGdkModifierType = 8192; - GDK_MODIFIER_RESERVED_14_MASK: TGdkModifierType = 16384; - GDK_MODIFIER_RESERVED_15_MASK: TGdkModifierType = 32768; - GDK_MODIFIER_RESERVED_16_MASK: TGdkModifierType = 65536; - GDK_MODIFIER_RESERVED_17_MASK: TGdkModifierType = 131072; - GDK_MODIFIER_RESERVED_18_MASK: TGdkModifierType = 262144; - GDK_MODIFIER_RESERVED_19_MASK: TGdkModifierType = 524288; - GDK_MODIFIER_RESERVED_20_MASK: TGdkModifierType = 1048576; - GDK_MODIFIER_RESERVED_21_MASK: TGdkModifierType = 2097152; - GDK_MODIFIER_RESERVED_22_MASK: TGdkModifierType = 4194304; - GDK_MODIFIER_RESERVED_23_MASK: TGdkModifierType = 8388608; - GDK_MODIFIER_RESERVED_24_MASK: TGdkModifierType = 16777216; - GDK_MODIFIER_RESERVED_25_MASK: TGdkModifierType = 33554432; - GDK_SUPER_MASK: TGdkModifierType = 67108864; - GDK_HYPER_MASK: TGdkModifierType = 134217728; - GDK_META_MASK: TGdkModifierType = 268435456; - GDK_MODIFIER_RESERVED_29_MASK: TGdkModifierType = 536870912; - GDK_RELEASE_MASK: TGdkModifierType = 1073741824; - GDK_MODIFIER_MASK: TGdkModifierType = 1543512063; - type TGdkAxisUse = Integer; const @@ -2429,6 +2392,43 @@ const GDK_BLANK_CURSOR: TGdkCursorType = -2; GDK_CURSOR_IS_PIXMAP: TGdkCursorType = -1; +type + TGdkModifierType = Integer; +const + { GdkModifierType } + GDK_SHIFT_MASK: TGdkModifierType = 1; + GDK_LOCK_MASK: TGdkModifierType = 2; + GDK_CONTROL_MASK: TGdkModifierType = 4; + GDK_MOD1_MASK: TGdkModifierType = 8; + GDK_MOD2_MASK: TGdkModifierType = 16; + GDK_MOD3_MASK: TGdkModifierType = 32; + GDK_MOD4_MASK: TGdkModifierType = 64; + GDK_MOD5_MASK: TGdkModifierType = 128; + GDK_BUTTON1_MASK: TGdkModifierType = 256; + GDK_BUTTON2_MASK: TGdkModifierType = 512; + GDK_BUTTON3_MASK: TGdkModifierType = 1024; + GDK_BUTTON4_MASK: TGdkModifierType = 2048; + GDK_BUTTON5_MASK: TGdkModifierType = 4096; + GDK_MODIFIER_RESERVED_13_MASK: TGdkModifierType = 8192; + GDK_MODIFIER_RESERVED_14_MASK: TGdkModifierType = 16384; + GDK_MODIFIER_RESERVED_15_MASK: TGdkModifierType = 32768; + GDK_MODIFIER_RESERVED_16_MASK: TGdkModifierType = 65536; + GDK_MODIFIER_RESERVED_17_MASK: TGdkModifierType = 131072; + GDK_MODIFIER_RESERVED_18_MASK: TGdkModifierType = 262144; + GDK_MODIFIER_RESERVED_19_MASK: TGdkModifierType = 524288; + GDK_MODIFIER_RESERVED_20_MASK: TGdkModifierType = 1048576; + GDK_MODIFIER_RESERVED_21_MASK: TGdkModifierType = 2097152; + GDK_MODIFIER_RESERVED_22_MASK: TGdkModifierType = 4194304; + GDK_MODIFIER_RESERVED_23_MASK: TGdkModifierType = 8388608; + GDK_MODIFIER_RESERVED_24_MASK: TGdkModifierType = 16777216; + GDK_MODIFIER_RESERVED_25_MASK: TGdkModifierType = 33554432; + GDK_SUPER_MASK: TGdkModifierType = 67108864; + GDK_HYPER_MASK: TGdkModifierType = 134217728; + GDK_META_MASK: TGdkModifierType = 268435456; + GDK_MODIFIER_RESERVED_29_MASK: TGdkModifierType = 536870912; + GDK_RELEASE_MASK: TGdkModifierType = 1073741824; + GDK_MODIFIER_MASK: TGdkModifierType = 1543512063; + type TGdkGrabOwnership = Integer; const @@ -2801,15 +2801,12 @@ type PPGdkAppLaunchContext = ^PGdkAppLaunchContext; PGdkAppLaunchContext = ^TGdkAppLaunchContext; - PPGdkDisplay = ^PGdkDisplay; - PGdkDisplay = ^TGdkDisplay; - PPGdkScreen = ^PGdkScreen; PGdkScreen = ^TGdkScreen; TGdkAppLaunchContext = object(TGAppLaunchContext) - function new: PGdkAppLaunchContext; cdecl; inline; static; + procedure set_desktop(desktop: gint); cdecl; inline; - procedure set_display(display: PGdkDisplay); 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; @@ -2817,6 +2814,9 @@ type //property display: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_display { property is writeable but setter not declared } ; end; + PPGdkDisplay = ^PGdkDisplay; + PGdkDisplay = ^TGdkDisplay; + PPGdkDevice = ^PGdkDevice; PGdkDevice = ^TGdkDevice; @@ -2829,9 +2829,6 @@ type PPGdkEvent = ^PGdkEvent; PGdkEvent = ^TGdkEvent; - PPGdkModifierType = ^PGdkModifierType; - PGdkModifierType = ^TGdkModifierType; - PPPGdkAtom = ^PPGdkAtom; PPGdkAtom = ^PGdkAtom; PGdkAtom = ^TGdkAtom; @@ -2857,17 +2854,17 @@ 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; - procedure get_pointer(screen: PPGdkScreen; x: Pgint; y: Pgint; mask: PGdkModifierType); cdecl; inline; + function get_screen(screen_num: gint): PGdkScreen; cdecl; inline; - function get_window_at_pointer(win_x: Pgint; win_y: Pgint): PGdkWindow; cdecl; inline; + function has_pending: gboolean; cdecl; inline; function is_closed: gboolean; cdecl; inline; - procedure keyboard_ungrab(time_: guint32); cdecl; inline; - function list_devices: PGList; cdecl; inline; + + procedure notify_startup_complete(startup_id: Pgchar); cdecl; inline; function peek_event: PGdkEvent; cdecl; inline; - function pointer_is_grabbed: gboolean; cdecl; inline; - procedure pointer_ungrab(time_: guint32); 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; @@ -2881,7 +2878,7 @@ type function supports_selection_notification: gboolean; cdecl; inline; function supports_shapes: gboolean; cdecl; inline; procedure sync; cdecl; inline; - procedure warp_pointer(screen: PGdkScreen; x: gint; y: gint); cdecl; inline; + end; PPGdkVisual = ^PGdkVisual; @@ -2961,8 +2958,8 @@ type function get_cursor_type: TGdkCursorType; cdecl; inline; function get_display: PGdkDisplay; cdecl; inline; function get_image: PGdkPixbuf; cdecl; inline; - function ref: PGdkCursor; cdecl; inline; - procedure unref; 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 } ; end; @@ -2981,6 +2978,9 @@ type PPGdkDeviceType = ^PGdkDeviceType; PGdkDeviceType = ^TGdkDeviceType; + PPGdkModifierType = ^PGdkModifierType; + PGdkModifierType = ^TGdkModifierType; + PPGdkInputMode = ^PGdkInputMode; PGdkInputMode = ^TGdkInputMode; @@ -3079,7 +3079,7 @@ type PGdkWindowHints = ^TGdkWindowHints; TGdkWindow = object(TGObject) function new(parent: PGdkWindow; attributes: PGdkWindowAttr; attributes_mask: gint): PGdkWindow; cdecl; inline; static; - function at_pointer(win_x: Pgint; win_y: Pgint): 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; @@ -3128,7 +3128,7 @@ type function get_modal_hint: gboolean; cdecl; inline; function get_origin(x: Pgint; y: Pgint): gint; cdecl; inline; function get_parent: PGdkWindow; cdecl; inline; - function get_pointer(x: Pgint; y: Pgint; mask: PGdkModifierType): 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; @@ -3763,7 +3763,6 @@ type function gdk_app_launch_context_get_type: TGType; cdecl; external; -function gdk_app_launch_context_new: PGdkAppLaunchContext; cdecl; external; function gdk_atom_intern(atom_name: Pgchar; only_if_exists: gboolean): TGdkAtom; cdecl; external; function gdk_atom_intern_static_string(atom_name: Pgchar): TGdkAtom; cdecl; external; function gdk_atom_name(AAtom: PGdkAtom): Pgchar; cdecl; external; @@ -3784,7 +3783,6 @@ function gdk_cursor_new(cursor_type: TGdkCursorType): PGdkCursor; cdecl; externa function gdk_cursor_new_for_display(display: PGdkDisplay; cursor_type: TGdkCursorType): PGdkCursor; cdecl; external; function gdk_cursor_new_from_name(display: PGdkDisplay; name: Pgchar): PGdkCursor; cdecl; external; function gdk_cursor_new_from_pixbuf(display: PGdkDisplay; pixbuf: PGdkPixbuf; x: gint; y: gint): PGdkCursor; cdecl; external; -function gdk_cursor_ref(ACursor: PGdkCursor): PGdkCursor; cdecl; external; function gdk_device_get_associated_device(ADevice: PGdkDevice): PGdkDevice; cdecl; external; function gdk_device_get_axis(ADevice: PGdkDevice; axes: Pgdouble; use: TGdkAxisUse; value: Pgdouble): gboolean; cdecl; external; function gdk_device_get_axis_use(ADevice: PGdkDevice; index_: guint): TGdkAxisUse; cdecl; external; @@ -3822,10 +3820,8 @@ function gdk_display_get_n_screens(ADisplay: PGdkDisplay): gint; cdecl; external function gdk_display_get_name(ADisplay: PGdkDisplay): Pgchar; cdecl; external; function gdk_display_get_screen(ADisplay: PGdkDisplay; screen_num: gint): PGdkScreen; cdecl; external; function gdk_display_get_type: TGType; cdecl; external; -function gdk_display_get_window_at_pointer(ADisplay: PGdkDisplay; win_x: Pgint; win_y: Pgint): PGdkWindow; cdecl; external; function gdk_display_has_pending(ADisplay: PGdkDisplay): gboolean; cdecl; external; function gdk_display_is_closed(ADisplay: PGdkDisplay): gboolean; cdecl; external; -function gdk_display_list_devices(ADisplay: PGdkDisplay): PGList; cdecl; external; function gdk_display_manager_get: PGdkDisplayManager; cdecl; external; function gdk_display_manager_get_default_display(ADisplayManager: PGdkDisplayManager): PGdkDisplay; cdecl; external; function gdk_display_manager_get_type: TGType; cdecl; external; @@ -3834,7 +3830,6 @@ function gdk_display_manager_open_display(ADisplayManager: PGdkDisplayManager; n function gdk_display_open(display_name: Pgchar): PGdkDisplay; cdecl; external; function gdk_display_open_default_libgtk_only: PGdkDisplay; cdecl; external; function gdk_display_peek_event(ADisplay: PGdkDisplay): PGdkEvent; cdecl; external; -function gdk_display_pointer_is_grabbed(ADisplay: PGdkDisplay): gboolean; cdecl; external; function gdk_display_request_selection_notification(ADisplay: PGdkDisplay; selection: TGdkAtom): gboolean; cdecl; external; function gdk_display_supports_clipboard_persistence(ADisplay: PGdkDisplay): gboolean; cdecl; external; function gdk_display_supports_composite(ADisplay: PGdkDisplay): gboolean; cdecl; external; @@ -3987,7 +3982,6 @@ function gdk_visual_get_screen(AVisual: PGdkVisual): PGdkScreen; cdecl; external function gdk_visual_get_system: PGdkVisual; cdecl; external; function gdk_visual_get_type: TGType; cdecl; external; function gdk_visual_get_visual_type(AVisual: PGdkVisual): TGdkVisualType; cdecl; external; -function gdk_window_at_pointer(win_x: Pgint; win_y: Pgint): PGdkWindow; cdecl; external; function gdk_window_create_similar_surface(AWindow: PGdkWindow; content: Tcairo_content_t; width: gint; height: gint): Pcairo_surface_t; cdecl; external; function gdk_window_ensure_native(AWindow: PGdkWindow): gboolean; cdecl; external; function gdk_window_get_accept_focus(AWindow: PGdkWindow): gboolean; cdecl; external; @@ -4011,7 +4005,6 @@ function gdk_window_get_height(AWindow: PGdkWindow): gint; cdecl; external; function gdk_window_get_modal_hint(AWindow: PGdkWindow): gboolean; cdecl; external; function gdk_window_get_origin(AWindow: PGdkWindow; x: Pgint; y: Pgint): gint; cdecl; external; function gdk_window_get_parent(AWindow: PGdkWindow): PGdkWindow; cdecl; external; -function gdk_window_get_pointer(AWindow: PGdkWindow; x: Pgint; y: Pgint; mask: PGdkModifierType): PGdkWindow; cdecl; external; function gdk_window_get_screen(AWindow: PGdkWindow): PGdkScreen; cdecl; external; function gdk_window_get_source_events(AWindow: PGdkWindow; source: TGdkInputSource): TGdkEventMask; cdecl; external; function gdk_window_get_state(AWindow: PGdkWindow): TGdkWindowState; cdecl; external; @@ -4035,7 +4028,6 @@ 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; procedure gdk_app_launch_context_set_desktop(AAppLaunchContext: PGdkAppLaunchContext; desktop: gint); cdecl; external; -procedure gdk_app_launch_context_set_display(AAppLaunchContext: PGdkAppLaunchContext; display: PGdkDisplay); cdecl; external; procedure gdk_app_launch_context_set_icon(AAppLaunchContext: PGdkAppLaunchContext; icon: PGIcon); cdecl; external; procedure gdk_app_launch_context_set_icon_name(AAppLaunchContext: PGdkAppLaunchContext; icon_name: Pgchar); cdecl; external; procedure gdk_app_launch_context_set_screen(AAppLaunchContext: PGdkAppLaunchContext; screen: PGdkScreen); cdecl; external; @@ -4048,7 +4040,6 @@ procedure gdk_cairo_set_source_pixbuf(cr: Pcairo_t; pixbuf: PGdkPixbuf; pixbuf_x procedure gdk_cairo_set_source_rgba(cr: Pcairo_t; rgba: PGdkRGBA); cdecl; external; procedure gdk_cairo_set_source_window(cr: Pcairo_t; window: PGdkWindow; x: gdouble; y: gdouble); cdecl; external; procedure gdk_color_free(AColor: PGdkColor); cdecl; external; -procedure gdk_cursor_unref(ACursor: PGdkCursor); cdecl; external; procedure gdk_device_free_history(events: PPGdkTimeCoord; n_events: gint); cdecl; external; procedure gdk_device_get_position(ADevice: PGdkDevice; screen: PPGdkScreen; x: Pgint; y: Pgint); cdecl; external; procedure gdk_device_get_state(ADevice: PGdkDevice; window: PGdkWindow; axes: Pgdouble; mask: PGdkModifierType); cdecl; external; @@ -4061,17 +4052,13 @@ procedure gdk_display_beep(ADisplay: PGdkDisplay); cdecl; external; procedure gdk_display_close(ADisplay: PGdkDisplay); cdecl; external; procedure gdk_display_flush(ADisplay: PGdkDisplay); cdecl; external; procedure gdk_display_get_maximal_cursor_size(ADisplay: PGdkDisplay; width: Pguint; height: Pguint); cdecl; external; -procedure gdk_display_get_pointer(ADisplay: PGdkDisplay; screen: PPGdkScreen; x: Pgint; y: Pgint; mask: PGdkModifierType); cdecl; external; -procedure gdk_display_keyboard_ungrab(ADisplay: PGdkDisplay; time_: guint32); cdecl; external; procedure gdk_display_manager_set_default_display(ADisplayManager: PGdkDisplayManager; display: PGdkDisplay); cdecl; external; procedure gdk_display_notify_startup_complete(ADisplay: PGdkDisplay; startup_id: Pgchar); cdecl; external; -procedure gdk_display_pointer_ungrab(ADisplay: PGdkDisplay; time_: guint32); cdecl; external; procedure gdk_display_put_event(ADisplay: PGdkDisplay; event: PGdkEvent); cdecl; external; procedure gdk_display_set_double_click_distance(ADisplay: PGdkDisplay; distance: guint); cdecl; external; procedure gdk_display_set_double_click_time(ADisplay: PGdkDisplay; msec: guint); cdecl; external; procedure gdk_display_store_clipboard(ADisplay: PGdkDisplay; clipboard_window: PGdkWindow; time_: guint32; targets: PGdkAtom; n_targets: gint); cdecl; external; procedure gdk_display_sync(ADisplay: PGdkDisplay); cdecl; external; -procedure gdk_display_warp_pointer(ADisplay: PGdkDisplay; screen: PGdkScreen; x: gint; y: gint); cdecl; external; procedure gdk_drag_abort(context: PGdkDragContext; time_: guint32); cdecl; external; procedure gdk_drag_context_set_device(ADragContext: PGdkDragContext; device: PGdkDevice); cdecl; external; procedure gdk_drag_drop(context: PGdkDragContext; time_: guint32); cdecl; external; @@ -4218,21 +4205,11 @@ procedure gdk_window_unmaximize(AWindow: PGdkWindow); cdecl; external; procedure gdk_window_unstick(AWindow: PGdkWindow); cdecl; external; procedure gdk_window_withdraw(AWindow: PGdkWindow); cdecl; external; implementation -function TGdkAppLaunchContext.new: PGdkAppLaunchContext; cdecl; -begin - Result := Gdk3.gdk_app_launch_context_new(); -end; - procedure TGdkAppLaunchContext.set_desktop(desktop: gint); cdecl; begin Gdk3.gdk_app_launch_context_set_desktop(@self, desktop); end; -procedure TGdkAppLaunchContext.set_display(display: PGdkDisplay); cdecl; -begin - Gdk3.gdk_app_launch_context_set_display(@self, display); -end; - procedure TGdkAppLaunchContext.set_icon(icon: PGIcon); cdecl; begin Gdk3.gdk_app_launch_context_set_icon(@self, icon); @@ -4333,21 +4310,11 @@ begin Result := Gdk3.gdk_display_get_name(@self); end; -procedure TGdkDisplay.get_pointer(screen: PPGdkScreen; x: Pgint; y: Pgint; mask: PGdkModifierType); cdecl; -begin - Gdk3.gdk_display_get_pointer(@self, screen, x, y, mask); -end; - function TGdkDisplay.get_screen(screen_num: gint): PGdkScreen; cdecl; begin Result := Gdk3.gdk_display_get_screen(@self, screen_num); end; -function TGdkDisplay.get_window_at_pointer(win_x: Pgint; win_y: Pgint): PGdkWindow; cdecl; -begin - Result := Gdk3.gdk_display_get_window_at_pointer(@self, win_x, win_y); -end; - function TGdkDisplay.has_pending: gboolean; cdecl; begin Result := Gdk3.gdk_display_has_pending(@self); @@ -4358,16 +4325,6 @@ begin Result := Gdk3.gdk_display_is_closed(@self); end; -procedure TGdkDisplay.keyboard_ungrab(time_: guint32); cdecl; -begin - Gdk3.gdk_display_keyboard_ungrab(@self, time_); -end; - -function TGdkDisplay.list_devices: PGList; cdecl; -begin - Result := Gdk3.gdk_display_list_devices(@self); -end; - procedure TGdkDisplay.notify_startup_complete(startup_id: Pgchar); cdecl; begin Gdk3.gdk_display_notify_startup_complete(@self, startup_id); @@ -4378,16 +4335,6 @@ begin Result := Gdk3.gdk_display_peek_event(@self); end; -function TGdkDisplay.pointer_is_grabbed: gboolean; cdecl; -begin - Result := Gdk3.gdk_display_pointer_is_grabbed(@self); -end; - -procedure TGdkDisplay.pointer_ungrab(time_: guint32); cdecl; -begin - Gdk3.gdk_display_pointer_ungrab(@self, time_); -end; - procedure TGdkDisplay.put_event(event: PGdkEvent); cdecl; begin Gdk3.gdk_display_put_event(@self, event); @@ -4468,11 +4415,6 @@ begin Gdk3.gdk_display_sync(@self); end; -procedure TGdkDisplay.warp_pointer(screen: PGdkScreen; x: gint; y: gint); cdecl; -begin - Gdk3.gdk_display_warp_pointer(@self, screen, x, y); -end; - function TGdkScreen.get_default: PGdkScreen; cdecl; begin Result := Gdk3.gdk_screen_get_default(); @@ -4703,16 +4645,6 @@ begin Result := Gdk3.gdk_cursor_get_image(@self); end; -function TGdkCursor.ref: PGdkCursor; cdecl; -begin - Result := Gdk3.gdk_cursor_ref(@self); -end; - -procedure TGdkCursor.unref; cdecl; -begin - Gdk3.gdk_cursor_unref(@self); -end; - procedure TGdkDevice.free_history(events: PPGdkTimeCoord; n_events: gint); cdecl; begin Gdk3.gdk_device_free_history(events, n_events); @@ -4853,11 +4785,6 @@ begin Result := Gdk3.gdk_window_new(parent, attributes, attributes_mask); end; -function TGdkWindow.at_pointer(win_x: Pgint; win_y: Pgint): PGdkWindow; cdecl; -begin - Result := Gdk3.gdk_window_at_pointer(win_x, win_y); -end; - procedure TGdkWindow.constrain_size(geometry: PGdkGeometry; flags: guint; width: gint; height: gint; new_width: Pgint; new_height: Pgint); cdecl; begin Gdk3.gdk_window_constrain_size(geometry, flags, width, height, new_width, new_height); @@ -5098,11 +5025,6 @@ begin Result := Gdk3.gdk_window_get_parent(@self); end; -function TGdkWindow.get_pointer(x: Pgint; y: Pgint; mask: PGdkModifierType): PGdkWindow; cdecl; -begin - Result := Gdk3.gdk_window_get_pointer(@self, x, y, mask); -end; - procedure TGdkWindow.get_position(x: Pgint; y: Pgint); cdecl; begin Gdk3.gdk_window_get_position(@self, x, y); diff --git a/bindings/gtk3/gdkpixbuf2.pas b/bindings/gtk3/gdkpixbuf2.pas index b406aae9c..378956af7 100644 --- a/bindings/gtk3/gdkpixbuf2.pas +++ b/bindings/gtk3/gdkpixbuf2.pas @@ -155,7 +155,7 @@ type 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 ref: 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,7 +168,7 @@ 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; - procedure unref; 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 } ; @@ -230,8 +230,8 @@ type function get_static_image: PGdkPixbuf; cdecl; inline; function get_width: gint; cdecl; inline; function is_static_image: gboolean; cdecl; inline; - function ref: PGdkPixbufAnimation; cdecl; inline; - procedure unref; cdecl; inline; + + end; TGdkPixbufAnimationIter = object(TGObject) function advance(current_time: PGTimeVal): gboolean; cdecl; inline; @@ -304,7 +304,6 @@ function gdk_pixbuf_animation_iter_get_pixbuf(APixbufAnimationIter: PGdkPixbufAn function gdk_pixbuf_animation_iter_get_type: TGType; cdecl; external; function gdk_pixbuf_animation_iter_on_currently_loading_frame(APixbufAnimationIter: PGdkPixbufAnimationIter): gboolean; cdecl; external; function gdk_pixbuf_animation_new_from_file(filename: Pgchar): PGdkPixbufAnimation; cdecl; external; -function gdk_pixbuf_animation_ref(APixbufAnimation: PGdkPixbufAnimation): PGdkPixbufAnimation; cdecl; external; function gdk_pixbuf_apply_embedded_orientation(APixbuf: PGdkPixbuf): PGdkPixbuf; cdecl; external; function gdk_pixbuf_composite_color_simple(APixbuf: PGdkPixbuf; dest_width: gint; dest_height: gint; interp_type: TGdkInterpType; overall_alpha: gint; check_size: gint; color1: guint32; color2: guint32): PGdkPixbuf; cdecl; external; function gdk_pixbuf_copy(APixbuf: PGdkPixbuf): PGdkPixbuf; cdecl; external; @@ -354,7 +353,6 @@ function gdk_pixbuf_new_from_stream_at_scale(stream: PGInputStream; width: gint; function gdk_pixbuf_new_from_stream_finish(async_result: PGAsyncResult): PGdkPixbuf; cdecl; external; function gdk_pixbuf_new_from_xpm_data(data: PPgchar): PGdkPixbuf; cdecl; external; function gdk_pixbuf_new_subpixbuf(APixbuf: PGdkPixbuf; src_x: gint; src_y: gint; width: gint; height: gint): PGdkPixbuf; cdecl; external; -function gdk_pixbuf_ref(APixbuf: PGdkPixbuf): PGdkPixbuf; cdecl; external; function gdk_pixbuf_rotate_simple(APixbuf: PGdkPixbuf; angle: TGdkPixbufRotation): PGdkPixbuf; cdecl; external; function gdk_pixbuf_save(APixbuf: PGdkPixbuf; filename: Pgchar; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; external; function gdk_pixbuf_save_to_buffer(APixbuf: PGdkPixbuf; buffer: PPgchar; buffer_size: Pgsize; type_: Pgchar; error: PPGError; args: array of const): gboolean; cdecl; external; @@ -373,7 +371,6 @@ function gdk_pixdata_deserialize(APixdata: PGdkPixdata; stream_length: guint; st function gdk_pixdata_from_pixbuf(APixdata: PGdkPixdata; pixbuf: PGdkPixbuf; use_rle: gboolean): gpointer; cdecl; external; function gdk_pixdata_serialize(APixdata: PGdkPixdata; stream_length_p: Pguint): Pguint8; cdecl; external; function gdk_pixdata_to_csource(APixdata: PGdkPixdata; name: Pgchar; dump_type: TGdkPixdataDumpType): PGString; cdecl; external; -procedure gdk_pixbuf_animation_unref(APixbufAnimation: PGdkPixbufAnimation); cdecl; external; procedure gdk_pixbuf_composite(APixbuf: PGdkPixbuf; 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; overall_alpha: gint); cdecl; external; procedure gdk_pixbuf_composite_color(APixbuf: PGdkPixbuf; 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; overall_alpha: gint; check_x: gint; check_y: gint; check_size: gint; color1: guint32; color2: guint32); cdecl; external; procedure gdk_pixbuf_copy_area(APixbuf: PGdkPixbuf; src_x: gint; src_y: gint; width: gint; height: gint; dest_pixbuf: PGdkPixbuf; dest_x: gint; dest_y: gint); cdecl; external; @@ -388,7 +385,6 @@ procedure gdk_pixbuf_save_to_stream_async(APixbuf: PGdkPixbuf; stream: PGOutputS procedure gdk_pixbuf_scale(APixbuf: PGdkPixbuf; 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; external; procedure gdk_pixbuf_simple_anim_add_frame(APixbufSimpleAnim: PGdkPixbufSimpleAnim; pixbuf: PGdkPixbuf); cdecl; external; procedure gdk_pixbuf_simple_anim_set_loop(APixbufSimpleAnim: PGdkPixbufSimpleAnim; loop: gboolean); cdecl; external; -procedure gdk_pixbuf_unref(APixbuf: PGdkPixbuf); cdecl; external; implementation function TGdkPixbuf.new(colorspace: TGdkColorspace; has_alpha: gboolean; bits_per_sample: gint; width: gint; height: gint): PGdkPixbuf; cdecl; begin @@ -570,11 +566,6 @@ begin Result := GdkPixbuf2.gdk_pixbuf_new_subpixbuf(@self, src_x, src_y, width, height); end; -function TGdkPixbuf.ref: PGdkPixbuf; cdecl; -begin - Result := GdkPixbuf2.gdk_pixbuf_ref(@self); -end; - function TGdkPixbuf.rotate_simple(angle: TGdkPixbufRotation): PGdkPixbuf; cdecl; begin Result := GdkPixbuf2.gdk_pixbuf_rotate_simple(@self, angle); @@ -610,11 +601,6 @@ begin Result := GdkPixbuf2.gdk_pixbuf_scale_simple(@self, dest_width, dest_height, interp_type); end; -procedure TGdkPixbuf.unref; cdecl; -begin - GdkPixbuf2.gdk_pixbuf_unref(@self); -end; - function TGdkPixdata.deserialize(stream_length: guint; stream: Pguint8): gboolean; cdecl; begin Result := GdkPixbuf2.gdk_pixdata_deserialize(@self, stream_length, stream); @@ -720,16 +706,6 @@ begin Result := GdkPixbuf2.gdk_pixbuf_animation_is_static_image(@self); end; -function TGdkPixbufAnimation.ref: PGdkPixbufAnimation; cdecl; -begin - Result := GdkPixbuf2.gdk_pixbuf_animation_ref(@self); -end; - -procedure TGdkPixbufAnimation.unref; cdecl; -begin - GdkPixbuf2.gdk_pixbuf_animation_unref(@self); -end; - function TGdkPixbufAnimationIter.advance(current_time: PGTimeVal): gboolean; cdecl; begin Result := GdkPixbuf2.gdk_pixbuf_animation_iter_advance(@self, current_time); diff --git a/bindings/gtk3/gio2.pas b/bindings/gtk3/gio2.pas index e32949c4d..4821bd3ab 100644 --- a/bindings/gtk3/gio2.pas +++ b/bindings/gtk3/gio2.pas @@ -1106,8 +1106,8 @@ type function create_readwrite_finish(res: PGAsyncResult): PGFileIOStream; cdecl; inline; function delete(cancellable: PGCancellable): gboolean; cdecl; inline; function dup: PGFile; cdecl; inline; - procedure eject_mountable(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; - function eject_mountable_finish(result_: PGAsyncResult): gboolean; cdecl; inline; + + procedure eject_mountable_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function eject_mountable_with_operation_finish(result_: PGAsyncResult): gboolean; cdecl; inline; function enumerate_children(attributes: Pgchar; flags: TGFileQueryInfoFlags; cancellable: PGCancellable): PGFileEnumerator; cdecl; inline; @@ -1195,8 +1195,8 @@ type function stop_mountable_finish(result_: PGAsyncResult): gboolean; cdecl; inline; function supports_thread_contexts: gboolean; cdecl; inline; function trash(cancellable: PGCancellable): gboolean; cdecl; inline; - procedure unmount_mountable(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; - function unmount_mountable_finish(result_: PGAsyncResult): gboolean; cdecl; inline; + + procedure unmount_mountable_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function unmount_mountable_with_operation_finish(result_: PGAsyncResult): gboolean; cdecl; inline; end; @@ -2472,7 +2472,7 @@ type PPGDesktopAppInfoLookup = ^PGDesktopAppInfoLookup; PGDesktopAppInfoLookup = ^TGDesktopAppInfoLookup; TGDesktopAppInfoLookup = object - function get_default_for_uri_scheme(uri_scheme: Pgchar): PGAppInfo; cdecl; inline; + end; PPGDesktopAppInfoLookupIface = ^PGDesktopAppInfoLookupIface; @@ -2529,8 +2529,8 @@ type function can_start: gboolean; cdecl; inline; function can_start_degraded: gboolean; cdecl; inline; function can_stop: gboolean; cdecl; inline; - procedure eject(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; - function eject_finish(result_: PGAsyncResult): gboolean; cdecl; inline; + + procedure eject_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function eject_with_operation_finish(result_: PGAsyncResult): gboolean; cdecl; inline; function enumerate_identifiers: PPgchar; cdecl; inline; @@ -2676,8 +2676,8 @@ type unmounted: procedure; cdecl; function can_eject: gboolean; cdecl; inline; function can_unmount: gboolean; cdecl; inline; - procedure eject(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; - function eject_finish(result_: PGAsyncResult): gboolean; cdecl; inline; + + procedure eject_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function eject_with_operation_finish(result_: PGAsyncResult): gboolean; cdecl; inline; function get_default_location: PGFile; cdecl; inline; @@ -2694,8 +2694,8 @@ type procedure remount(flags: TGMountMountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function remount_finish(result_: PGAsyncResult): gboolean; cdecl; inline; procedure shadow; cdecl; inline; - procedure unmount(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; - function unmount_finish(result_: PGAsyncResult): gboolean; cdecl; inline; + + procedure unmount_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function unmount_with_operation_finish(result_: PGAsyncResult): gboolean; cdecl; inline; procedure unshadow; cdecl; inline; @@ -3428,8 +3428,8 @@ type removed: procedure; cdecl; function can_eject: gboolean; cdecl; inline; function can_mount: gboolean; cdecl; inline; - procedure eject(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; - function eject_finish(result_: PGAsyncResult): gboolean; cdecl; inline; + + procedure eject_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function eject_with_operation_finish(result_: PGAsyncResult): gboolean; cdecl; inline; function enumerate_identifiers: PPgchar; cdecl; inline; @@ -3506,7 +3506,7 @@ type PGVolumeMonitor = ^TGVolumeMonitor; TGVolumeMonitor = object(TGObject) priv: gpointer; - function adopt_orphan_mount(mount: PGMount): PGVolume; cdecl; inline; static; + function get: PGVolumeMonitor; cdecl; inline; static; function get_connected_drives: PGList; cdecl; inline; function get_mount_for_uuid(uuid: Pgchar): PGMount; cdecl; inline; @@ -4613,7 +4613,7 @@ type function get_peer_certificate_errors: TGTlsCertificateFlags; cdecl; inline; function get_rehandshake_mode: TGTlsRehandshakeMode; cdecl; inline; function get_require_close_notify: gboolean; cdecl; inline; - function get_use_system_certdb: gboolean; cdecl; inline; + function handshake(cancellable: PGCancellable): gboolean; cdecl; inline; procedure handshake_async(io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; inline; function handshake_finish(result_: PGAsyncResult): gboolean; cdecl; inline; @@ -4622,7 +4622,7 @@ type procedure set_interaction(interaction: PGTlsInteraction); cdecl; inline; procedure set_rehandshake_mode(mode: TGTlsRehandshakeMode); cdecl; inline; procedure set_require_close_notify(require_close_notify: gboolean); cdecl; inline; - procedure set_use_system_certdb(use_system_certdb: gboolean); cdecl; inline; + //property base_io_stream: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_base_io_stream { property is writeable but setter not declared } ; property certificate: PGTlsCertificate read get_certificate { property is writeable but setter not declared } ; property database: PGTlsDatabase read get_database { property is writeable but setter not declared } ; @@ -4631,7 +4631,7 @@ type property peer_certificate_errors: TGTlsCertificateFlags read get_peer_certificate_errors ; property rehandshake_mode: TGTlsRehandshakeMode read get_rehandshake_mode { property is writeable but setter not declared } ; property require_close_notify: gboolean read get_require_close_notify { property is writeable but setter not declared } ; - property use_system_certdb: gboolean read get_use_system_certdb { property is writeable but setter not declared } ; + //property use_system_certdb: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_use_system_certdb { property is writeable but setter not declared } ; end; PPGTlsConnectionClass = ^PGTlsConnectionClass; @@ -4961,11 +4961,11 @@ type TGUnixSocketAddress = object(TGSocketAddress) priv: PGUnixSocketAddressPrivate; function new(path: Pgchar): PGUnixSocketAddress; cdecl; inline; static; - function new_abstract(path: Pgchar; path_len: gint): PGUnixSocketAddress; cdecl; inline; static; + function new_with_type(path: Pgchar; path_len: gint; type_: TGUnixSocketAddressType): PGUnixSocketAddress; cdecl; inline; static; function abstract_names_supported: gboolean; cdecl; inline; static; function get_address_type: TGUnixSocketAddressType; cdecl; inline; - function get_is_abstract: gboolean; cdecl; inline; + function get_path: Pgchar; cdecl; inline; function get_path_len: gsize; cdecl; inline; //property abstract: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_abstract { property is writeable but setter not declared } ; @@ -5430,7 +5430,6 @@ function g_desktop_app_info_get_nodisplay(ADesktopAppInfo: PGDesktopAppInfo): gb function g_desktop_app_info_get_show_in(ADesktopAppInfo: PGDesktopAppInfo; desktop_env: Pgchar): gboolean; cdecl; external; function g_desktop_app_info_get_type: TGType; cdecl; external; function g_desktop_app_info_launch_uris_as_manager(ADesktopAppInfo: PGDesktopAppInfo; uris: PGList; launch_context: PGAppLaunchContext; spawn_flags: TGSpawnFlags; user_setup: TGSpawnChildSetupFunc; user_setup_data: gpointer; pid_callback: TGDesktopAppLaunchCallback; pid_callback_data: gpointer): gboolean; cdecl; external; -function g_desktop_app_info_lookup_get_default_for_uri_scheme(ADesktopAppInfoLookup: PGDesktopAppInfoLookup; uri_scheme: Pgchar): PGAppInfo; cdecl; external; function g_desktop_app_info_lookup_get_type: TGType; cdecl; external; function g_desktop_app_info_new(desktop_id: Pgchar): PGDesktopAppInfo; cdecl; external; function g_desktop_app_info_new_from_filename(filename: Pgchar): PGDesktopAppInfo; cdecl; external; @@ -5440,7 +5439,6 @@ function g_drive_can_poll_for_media(ADrive: PGDrive): gboolean; cdecl; external; function g_drive_can_start(ADrive: PGDrive): gboolean; cdecl; external; function g_drive_can_start_degraded(ADrive: PGDrive): gboolean; cdecl; external; function g_drive_can_stop(ADrive: PGDrive): gboolean; cdecl; external; -function g_drive_eject_finish(ADrive: PGDrive; result_: PGAsyncResult): gboolean; cdecl; external; function g_drive_eject_with_operation_finish(ADrive: PGDrive; result_: PGAsyncResult): gboolean; cdecl; external; function g_drive_enumerate_identifiers(ADrive: PGDrive): PPgchar; cdecl; external; function g_drive_get_icon(ADrive: PGDrive): PGIcon; cdecl; external; @@ -5490,7 +5488,6 @@ function g_file_delete(AFile: PGFile; cancellable: PGCancellable): gboolean; cde function g_file_descriptor_based_get_fd(AFileDescriptorBased: PGFileDescriptorBased): gint; cdecl; external; function g_file_descriptor_based_get_type: TGType; cdecl; external; function g_file_dup(AFile: PGFile): PGFile; cdecl; external; -function g_file_eject_mountable_finish(AFile: PGFile; result_: PGAsyncResult): gboolean; cdecl; external; function g_file_eject_mountable_with_operation_finish(AFile: PGFile; result_: PGAsyncResult): gboolean; cdecl; external; function g_file_enumerate_children(AFile: PGFile; attributes: Pgchar; flags: TGFileQueryInfoFlags; cancellable: PGCancellable): PGFileEnumerator; cdecl; external; function g_file_enumerate_children_finish(AFile: PGFile; res: PGAsyncResult): PGFileEnumerator; cdecl; external; @@ -5622,7 +5619,6 @@ function g_file_start_mountable_finish(AFile: PGFile; result_: PGAsyncResult): g function g_file_stop_mountable_finish(AFile: PGFile; result_: PGAsyncResult): gboolean; cdecl; external; function g_file_supports_thread_contexts(AFile: PGFile): gboolean; cdecl; external; function g_file_trash(AFile: PGFile; cancellable: PGCancellable): gboolean; cdecl; external; -function g_file_unmount_mountable_finish(AFile: PGFile; result_: PGAsyncResult): gboolean; cdecl; external; function g_file_unmount_mountable_with_operation_finish(AFile: PGFile; result_: PGAsyncResult): gboolean; cdecl; external; function g_filename_completer_get_completion_suffix(AFilenameCompleter: PGFilenameCompleter; initial_text: Pgchar): Pgchar; cdecl; external; function g_filename_completer_get_completions(AFilenameCompleter: PGFilenameCompleter; initial_text: Pgchar): PPgchar; cdecl; external; @@ -5720,7 +5716,6 @@ function g_memory_output_stream_new(data: gpointer; size: gsize; realloc_functio function g_memory_output_stream_steal_data(AMemoryOutputStream: PGMemoryOutputStream): gpointer; cdecl; external; function g_mount_can_eject(AMount: PGMount): gboolean; cdecl; external; function g_mount_can_unmount(AMount: PGMount): gboolean; cdecl; external; -function g_mount_eject_finish(AMount: PGMount; result_: PGAsyncResult): gboolean; cdecl; external; function g_mount_eject_with_operation_finish(AMount: PGMount; result_: PGAsyncResult): gboolean; cdecl; external; function g_mount_get_default_location(AMount: PGMount): PGFile; cdecl; external; function g_mount_get_drive(AMount: PGMount): PGDrive; cdecl; external; @@ -5742,7 +5737,6 @@ function g_mount_operation_get_type: TGType; cdecl; external; function g_mount_operation_get_username(AMountOperation: PGMountOperation): Pgchar; cdecl; external; function g_mount_operation_new: PGMountOperation; cdecl; external; function g_mount_remount_finish(AMount: PGMount; result_: PGAsyncResult): gboolean; cdecl; external; -function g_mount_unmount_finish(AMount: PGMount; result_: PGAsyncResult): gboolean; cdecl; external; function g_mount_unmount_with_operation_finish(AMount: PGMount; result_: PGAsyncResult): gboolean; cdecl; external; function g_native_volume_monitor_get_type: TGType; cdecl; external; function g_network_address_get_hostname(ANetworkAddress: PGNetworkAddress): Pgchar; cdecl; external; @@ -6015,7 +6009,6 @@ function g_tls_connection_get_peer_certificate_errors(ATlsConnection: PGTlsConne function g_tls_connection_get_rehandshake_mode(ATlsConnection: PGTlsConnection): TGTlsRehandshakeMode; cdecl; external; function g_tls_connection_get_require_close_notify(ATlsConnection: PGTlsConnection): gboolean; cdecl; external; function g_tls_connection_get_type: TGType; cdecl; external; -function g_tls_connection_get_use_system_certdb(ATlsConnection: PGTlsConnection): gboolean; cdecl; external; function g_tls_connection_handshake(ATlsConnection: PGTlsConnection; cancellable: PGCancellable): gboolean; cdecl; external; function g_tls_connection_handshake_finish(ATlsConnection: PGTlsConnection; result_: PGAsyncResult): gboolean; cdecl; external; function g_tls_database_create_certificate_handle(ATlsDatabase: PGTlsDatabase; certificate: PGTlsCertificate): Pgchar; cdecl; external; @@ -6105,12 +6098,10 @@ function g_unix_output_stream_get_type: TGType; cdecl; external; function g_unix_output_stream_new(fd: gint; close_fd: gboolean): PGUnixOutputStream; cdecl; external; function g_unix_socket_address_abstract_names_supported: gboolean; cdecl; external; function g_unix_socket_address_get_address_type(AUnixSocketAddress: PGUnixSocketAddress): TGUnixSocketAddressType; cdecl; external; -function g_unix_socket_address_get_is_abstract(AUnixSocketAddress: PGUnixSocketAddress): gboolean; cdecl; external; function g_unix_socket_address_get_path(AUnixSocketAddress: PGUnixSocketAddress): Pgchar; cdecl; external; function g_unix_socket_address_get_path_len(AUnixSocketAddress: PGUnixSocketAddress): gsize; cdecl; external; function g_unix_socket_address_get_type: TGType; cdecl; external; function g_unix_socket_address_new(path: Pgchar): PGUnixSocketAddress; cdecl; external; -function g_unix_socket_address_new_abstract(path: Pgchar; path_len: gint): PGUnixSocketAddress; cdecl; external; function g_unix_socket_address_new_with_type(path: Pgchar; path_len: gint; type_: TGUnixSocketAddressType): PGUnixSocketAddress; cdecl; external; function g_vfs_get_default: PGVfs; cdecl; external; function g_vfs_get_file_for_path(AVfs: PGVfs; path: Pgchar): PGFile; cdecl; external; @@ -6122,7 +6113,6 @@ function g_vfs_is_active(AVfs: PGVfs): gboolean; cdecl; external; function g_vfs_parse_name(AVfs: PGVfs; parse_name: Pgchar): PGFile; cdecl; external; function g_volume_can_eject(AVolume: PGVolume): gboolean; cdecl; external; function g_volume_can_mount(AVolume: PGVolume): gboolean; cdecl; external; -function g_volume_eject_finish(AVolume: PGVolume; result_: PGAsyncResult): gboolean; cdecl; external; function g_volume_eject_with_operation_finish(AVolume: PGVolume; result_: PGAsyncResult): gboolean; cdecl; external; function g_volume_enumerate_identifiers(AVolume: PGVolume): PPgchar; cdecl; external; function g_volume_get_activation_root(AVolume: PGVolume): PGFile; cdecl; external; @@ -6133,7 +6123,6 @@ function g_volume_get_mount(AVolume: PGVolume): PGMount; cdecl; external; function g_volume_get_name(AVolume: PGVolume): Pgchar; cdecl; external; function g_volume_get_type: TGType; cdecl; external; function g_volume_get_uuid(AVolume: PGVolume): Pgchar; cdecl; external; -function g_volume_monitor_adopt_orphan_mount(mount: PGMount): PGVolume; cdecl; external; function g_volume_monitor_get: PGVolumeMonitor; cdecl; external; function g_volume_monitor_get_connected_drives(AVolumeMonitor: PGVolumeMonitor): PGList; cdecl; external; function g_volume_monitor_get_mount_for_uuid(AVolumeMonitor: PGVolumeMonitor; uuid: Pgchar): PGMount; cdecl; external; @@ -6272,7 +6261,6 @@ procedure g_dbus_server_start(ADBusServer: PGDBusServer); cdecl; external; procedure g_dbus_server_stop(ADBusServer: PGDBusServer); cdecl; external; procedure g_dbus_signal_info_unref(ADBusSignalInfo: PGDBusSignalInfo); cdecl; external; procedure g_desktop_app_info_set_desktop_env(desktop_env: Pgchar); cdecl; external; -procedure g_drive_eject(ADrive: PGDrive; flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_drive_eject_with_operation(ADrive: PGDrive; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_drive_poll_for_media(ADrive: PGDrive; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_drive_start(ADrive: PGDrive; flags: TGDriveStartFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; @@ -6286,7 +6274,6 @@ procedure g_file_attribute_matcher_unref(AFileAttributeMatcher: PGFileAttributeM procedure g_file_copy_async(AFile: PGFile; destination: PGFile; flags: TGFileCopyFlags; io_priority: gint; cancellable: PGCancellable; progress_callback: TGFileProgressCallback; progress_callback_data: gpointer; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_create_async(AFile: PGFile; flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_create_readwrite_async(AFile: PGFile; flags: TGFileCreateFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; -procedure g_file_eject_mountable(AFile: PGFile; flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_eject_mountable_with_operation(AFile: PGFile; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_enumerate_children_async(AFile: PGFile; attributes: Pgchar; flags: TGFileQueryInfoFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_enumerator_close_async(AFileEnumerator: PGFileEnumerator; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; @@ -6342,7 +6329,6 @@ procedure g_file_set_attributes_async(AFile: PGFile; info: PGFileInfo; flags: TG procedure g_file_set_display_name_async(AFile: PGFile; display_name: Pgchar; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_start_mountable(AFile: PGFile; flags: TGDriveStartFlags; start_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_stop_mountable(AFile: PGFile; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; -procedure g_file_unmount_mountable(AFile: PGFile; flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_file_unmount_mountable_with_operation(AFile: PGFile; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_filename_completer_set_dirs_only(AFilenameCompleter: PGFilenameCompleter; dirs_only: gboolean); cdecl; external; procedure g_filter_input_stream_set_close_base_stream(AFilterInputStream: PGFilterInputStream; close_base: gboolean); cdecl; external; @@ -6364,7 +6350,6 @@ procedure g_io_stream_close_async(AIOStream: PGIOStream; io_priority: gint; canc procedure g_io_stream_splice_async(AIOStream: PGIOStream; stream2: PGIOStream; flags: TGIOStreamSpliceFlags; io_priority: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_loadable_icon_load_async(ALoadableIcon: PGLoadableIcon; size: gint; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_memory_input_stream_add_data(AMemoryInputStream: PGMemoryInputStream; data: Pguint8; len: gssize; destroy_: TGDestroyNotify); cdecl; external; -procedure g_mount_eject(AMount: PGMount; flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_mount_eject_with_operation(AMount: PGMount; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_mount_guess_content_type(AMount: PGMount; force_rescan: gboolean; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_mount_operation_reply(AMountOperation: PGMountOperation; result_: TGMountOperationResult); cdecl; external; @@ -6376,7 +6361,6 @@ procedure g_mount_operation_set_password_save(AMountOperation: PGMountOperation; procedure g_mount_operation_set_username(AMountOperation: PGMountOperation; username: Pgchar); cdecl; external; procedure g_mount_remount(AMount: PGMount; flags: TGMountMountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_mount_shadow(AMount: PGMount); cdecl; external; -procedure g_mount_unmount(AMount: PGMount; flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_mount_unmount_with_operation(AMount: PGMount; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_mount_unshadow(AMount: PGMount); cdecl; external; procedure g_network_service_set_scheme(ANetworkService: PGNetworkService; scheme: Pgchar); cdecl; external; @@ -6464,7 +6448,6 @@ procedure g_tls_connection_set_database(ATlsConnection: PGTlsConnection; databas procedure g_tls_connection_set_interaction(ATlsConnection: PGTlsConnection; interaction: PGTlsInteraction); cdecl; external; procedure g_tls_connection_set_rehandshake_mode(ATlsConnection: PGTlsConnection; mode: TGTlsRehandshakeMode); cdecl; external; procedure g_tls_connection_set_require_close_notify(ATlsConnection: PGTlsConnection; require_close_notify: gboolean); cdecl; external; -procedure g_tls_connection_set_use_system_certdb(ATlsConnection: PGTlsConnection; use_system_certdb: gboolean); cdecl; external; procedure g_tls_database_lookup_certificate_for_handle_async(ATlsDatabase: PGTlsDatabase; handle: Pgchar; interaction: PGTlsInteraction; flags: TGTlsDatabaseLookupFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_tls_database_lookup_certificate_issuer_async(ATlsDatabase: PGTlsDatabase; certificate: PGTlsCertificate; interaction: PGTlsInteraction; flags: TGTlsDatabaseLookupFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_tls_database_lookup_certificates_issued_by_async(ATlsDatabase: PGTlsDatabase; issuer_raw_dn: Pguint8; interaction: PGTlsInteraction; flags: TGTlsDatabaseLookupFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; @@ -6480,7 +6463,6 @@ procedure g_unix_mount_free(mount_entry: PGUnixMountEntry); cdecl; external; procedure g_unix_mount_monitor_set_rate_limit(AUnixMountMonitor: PGUnixMountMonitor; limit_msec: gint); cdecl; external; procedure g_unix_mount_point_free(AUnixMountPoint: PGUnixMountPoint); cdecl; external; procedure g_unix_output_stream_set_close_fd(AUnixOutputStream: PGUnixOutputStream; close_fd: gboolean); cdecl; external; -procedure g_volume_eject(AVolume: PGVolume; flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_volume_eject_with_operation(AVolume: PGVolume; flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_volume_mount(AVolume: PGVolume; flags: TGMountMountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; external; procedure g_zlib_compressor_set_file_info(AZlibCompressor: PGZlibCompressor; file_info: PGFileInfo); cdecl; external; @@ -7030,16 +7012,6 @@ begin Result := Gio2.g_file_dup(@self); end; -procedure TGFile.eject_mountable(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; -begin - Gio2.g_file_eject_mountable(@self, flags, cancellable, callback, user_data); -end; - -function TGFile.eject_mountable_finish(result_: PGAsyncResult): gboolean; cdecl; -begin - Result := Gio2.g_file_eject_mountable_finish(@self, result_); -end; - procedure TGFile.eject_mountable_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; begin Gio2.g_file_eject_mountable_with_operation(@self, flags, mount_operation, cancellable, callback, user_data); @@ -7475,16 +7447,6 @@ begin Result := Gio2.g_file_trash(@self, cancellable); end; -procedure TGFile.unmount_mountable(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; -begin - Gio2.g_file_unmount_mountable(@self, flags, cancellable, callback, user_data); -end; - -function TGFile.unmount_mountable_finish(result_: PGAsyncResult): gboolean; cdecl; -begin - Result := Gio2.g_file_unmount_mountable_finish(@self, result_); -end; - procedure TGFile.unmount_mountable_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; begin Gio2.g_file_unmount_mountable_with_operation(@self, flags, mount_operation, cancellable, callback, user_data); @@ -9300,11 +9262,6 @@ begin Result := Gio2.g_desktop_app_info_launch_uris_as_manager(@self, uris, launch_context, spawn_flags, user_setup, user_setup_data, pid_callback, pid_callback_data); end; -function TGDesktopAppInfoLookup.get_default_for_uri_scheme(uri_scheme: Pgchar): PGAppInfo; cdecl; -begin - Result := Gio2.g_desktop_app_info_lookup_get_default_for_uri_scheme(@self, uri_scheme); -end; - function TGMountOperation.new: PGMountOperation; cdecl; begin Result := Gio2.g_mount_operation_new(); @@ -9400,16 +9357,6 @@ begin Result := Gio2.g_drive_can_stop(@self); end; -procedure TGDrive.eject(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; -begin - Gio2.g_drive_eject(@self, flags, cancellable, callback, user_data); -end; - -function TGDrive.eject_finish(result_: PGAsyncResult): gboolean; cdecl; -begin - Result := Gio2.g_drive_eject_finish(@self, result_); -end; - procedure TGDrive.eject_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; begin Gio2.g_drive_eject_with_operation(@self, flags, mount_operation, cancellable, callback, user_data); @@ -9645,16 +9592,6 @@ begin Result := Gio2.g_mount_can_unmount(@self); end; -procedure TGMount.eject(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; -begin - Gio2.g_mount_eject(@self, flags, cancellable, callback, user_data); -end; - -function TGMount.eject_finish(result_: PGAsyncResult): gboolean; cdecl; -begin - Result := Gio2.g_mount_eject_finish(@self, result_); -end; - procedure TGMount.eject_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; begin Gio2.g_mount_eject_with_operation(@self, flags, mount_operation, cancellable, callback, user_data); @@ -9735,16 +9672,6 @@ begin Gio2.g_mount_shadow(@self); end; -procedure TGMount.unmount(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; -begin - Gio2.g_mount_unmount(@self, flags, cancellable, callback, user_data); -end; - -function TGMount.unmount_finish(result_: PGAsyncResult): gboolean; cdecl; -begin - Result := Gio2.g_mount_unmount_finish(@self, result_); -end; - procedure TGMount.unmount_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; begin Gio2.g_mount_unmount_with_operation(@self, flags, mount_operation, cancellable, callback, user_data); @@ -10500,16 +10427,6 @@ begin Result := Gio2.g_volume_can_mount(@self); end; -procedure TGVolume.eject(flags: TGMountUnmountFlags; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; -begin - Gio2.g_volume_eject(@self, flags, cancellable, callback, user_data); -end; - -function TGVolume.eject_finish(result_: PGAsyncResult): gboolean; cdecl; -begin - Result := Gio2.g_volume_eject_finish(@self, result_); -end; - procedure TGVolume.eject_with_operation(flags: TGMountUnmountFlags; mount_operation: PGMountOperation; cancellable: PGCancellable; callback: TGAsyncReadyCallback; user_data: gpointer); cdecl; begin Gio2.g_volume_eject_with_operation(@self, flags, mount_operation, cancellable, callback, user_data); @@ -10575,11 +10492,6 @@ begin Result := Gio2.g_volume_should_automount(@self); end; -function TGVolumeMonitor.adopt_orphan_mount(mount: PGMount): PGVolume; cdecl; -begin - Result := Gio2.g_volume_monitor_adopt_orphan_mount(mount); -end; - function TGVolumeMonitor.get: PGVolumeMonitor; cdecl; begin Result := Gio2.g_volume_monitor_get(); @@ -12050,11 +11962,6 @@ begin Result := Gio2.g_tls_connection_get_require_close_notify(@self); end; -function TGTlsConnection.get_use_system_certdb: gboolean; cdecl; -begin - Result := Gio2.g_tls_connection_get_use_system_certdb(@self); -end; - function TGTlsConnection.handshake(cancellable: PGCancellable): gboolean; cdecl; begin Result := Gio2.g_tls_connection_handshake(@self, cancellable); @@ -12095,11 +12002,6 @@ begin Gio2.g_tls_connection_set_require_close_notify(@self, require_close_notify); end; -procedure TGTlsConnection.set_use_system_certdb(use_system_certdb: gboolean); cdecl; -begin - Gio2.g_tls_connection_set_use_system_certdb(@self, use_system_certdb); -end; - function TGTlsFileDatabase.new(anchors: Pgchar): PGTlsDatabase; cdecl; begin Result := Gio2.g_tls_file_database_new(anchors); @@ -12335,11 +12237,6 @@ begin Result := Gio2.g_unix_socket_address_new(path); end; -function TGUnixSocketAddress.new_abstract(path: Pgchar; path_len: gint): PGUnixSocketAddress; cdecl; -begin - Result := Gio2.g_unix_socket_address_new_abstract(path, path_len); -end; - function TGUnixSocketAddress.new_with_type(path: Pgchar; path_len: gint; type_: TGUnixSocketAddressType): PGUnixSocketAddress; cdecl; begin Result := Gio2.g_unix_socket_address_new_with_type(path, path_len, type_); @@ -12355,11 +12252,6 @@ begin Result := Gio2.g_unix_socket_address_get_address_type(@self); end; -function TGUnixSocketAddress.get_is_abstract: gboolean; cdecl; -begin - Result := Gio2.g_unix_socket_address_get_is_abstract(@self); -end; - function TGUnixSocketAddress.get_path: Pgchar; cdecl; begin Result := Gio2.g_unix_socket_address_get_path(@self); diff --git a/bindings/gtk3/glib2.pas b/bindings/gtk3/glib2.pas index c1ee1bde7..b43a2f89d 100644 --- a/bindings/gtk3/glib2.pas +++ b/bindings/gtk3/glib2.pas @@ -1315,24 +1315,24 @@ type PPGCompletion = ^PGCompletion; PGCompletion = ^TGCompletion; - PPGCompletionStrncmpFunc = ^PGCompletionStrncmpFunc; - PGCompletionStrncmpFunc = ^TGCompletionStrncmpFunc; - PPGCompletionFunc = ^PGCompletionFunc; PGCompletionFunc = ^TGCompletionFunc; + + PPGCompletionStrncmpFunc = ^PGCompletionStrncmpFunc; + PGCompletionStrncmpFunc = ^TGCompletionStrncmpFunc; TGCompletion = object items: PGList; func: TGCompletionFunc; prefix: Pgchar; cache: PGList; strncmp_func: TGCompletionStrncmpFunc; - procedure add_items(items: PGList); cdecl; inline; - procedure clear_items; cdecl; inline; - function complete(prefix: Pgchar; new_prefix: PPgchar): PGList; cdecl; inline; - function complete_utf8(prefix: Pgchar; new_prefix: PPgchar): PGList; cdecl; inline; - procedure free; cdecl; inline; - procedure remove_items(items: PGList); cdecl; inline; - procedure set_compare(strncmp_func: TGCompletionStrncmpFunc); cdecl; inline; + + + + + + + function new(func: TGCompletionFunc): PGCompletion; cdecl; inline; static; end; @@ -1408,7 +1408,7 @@ type procedure set_julian(julian_date: guint32); cdecl; inline; procedure set_month(month: TGDateMonth); cdecl; inline; procedure set_parse(str: Pgchar); cdecl; inline; - procedure set_time(time_: TGTime); cdecl; inline; + procedure set_time_t(timet: glong); cdecl; inline; procedure set_time_val(timeval: PGTimeVal); cdecl; inline; procedure set_year(year: TGDateYear); cdecl; inline; @@ -1938,7 +1938,7 @@ type procedure destroy_; cdecl; inline; function get_can_recurse: gboolean; cdecl; inline; function get_context: PGMainContext; cdecl; inline; - procedure get_current_time(timeval: PGTimeVal); cdecl; inline; + function get_id: guint; cdecl; inline; function get_name: Pgchar; cdecl; inline; function get_priority: gint; cdecl; inline; @@ -2143,10 +2143,10 @@ type function length(list: PGSList): guint; cdecl; inline; static; function nth(list: PGSList; n: guint): PGSList; cdecl; inline; static; function nth_data(list: PGSList; n: guint): gpointer; cdecl; inline; static; - procedure pop_allocator; cdecl; inline; static; + function position(list: PGSList; llink: PGSList): gint; cdecl; inline; static; function prepend(list: PGSList; data: gpointer): PGSList; cdecl; inline; static; - procedure push_allocator(dummy: gpointer); cdecl; inline; static; + function remove(list: PGSList; data: gpointer): PGSList; cdecl; inline; static; function remove_all(list: PGSList; data: gpointer): PGSList; cdecl; inline; static; function remove_link(list: PGSList; link_: PGSList): PGSList; cdecl; inline; static; @@ -2533,22 +2533,22 @@ type PGTuples = ^TGTuples; TGTuples = object len: guint; - procedure destroy_; cdecl; inline; - function index(index_: gint; field: gint): gpointer; cdecl; inline; + + end; PPGRelation = ^PGRelation; PGRelation = ^TGRelation; TGRelation = object - function count(key: gpointer; field: gint): gint; cdecl; inline; - function delete(key: gpointer; field: gint): gint; cdecl; inline; - procedure destroy_; cdecl; inline; - //function exists(args: array of const): gboolean; cdecl; inline; - procedure index(field: gint; hash_func: TGHashFunc; key_equal_func: TGEqualFunc); cdecl; inline; - //procedure insert(args: array of const); cdecl; inline; - procedure print; cdecl; inline; - function select(key: gpointer; field: gint): PGTuples; cdecl; inline; - function new(fields: gint): PGRelation; cdecl; inline; static; + + + + + + + + + end; PPGScannerConfig = ^PGScannerConfig; @@ -3325,8 +3325,6 @@ function g_checksum_type_get_length(checksum_type: TGChecksumType): gssize; cdec function g_child_watch_add(pid: TGPid; function_: TGChildWatchFunc; data: gpointer): guint; cdecl; external; function g_child_watch_add_full(priority: gint; pid: TGPid; function_: TGChildWatchFunc; data: gpointer; notify: TGDestroyNotify): guint; cdecl; external; function g_child_watch_source_new(pid: TGPid): PGSource; cdecl; external; -function g_completion_complete(ACompletion: PGCompletion; prefix: Pgchar; new_prefix: PPgchar): PGList; cdecl; external; -function g_completion_complete_utf8(ACompletion: PGCompletion; prefix: Pgchar; new_prefix: PPgchar): PGList; cdecl; external; function g_completion_new(func: TGCompletionFunc): PGCompletion; cdecl; external; function g_compute_checksum_for_data(checksum_type: TGChecksumType; data: Pguint8; length: gsize): Pgchar; cdecl; external; function g_compute_checksum_for_string(checksum_type: TGChecksumType; str: Pgchar; length: gssize): Pgchar; cdecl; external; @@ -3812,11 +3810,6 @@ function g_regex_replace_literal(ARegex: PGRegex; string_: Pgchar; string_len: g function g_regex_split(ARegex: PGRegex; string_: Pgchar; match_options: TGRegexMatchFlags): PPgchar; cdecl; external; function g_regex_split_full(ARegex: PGRegex; string_: Pgchar; string_len: gssize; start_position: gint; match_options: TGRegexMatchFlags; max_tokens: gint): PPgchar; cdecl; external; function g_regex_split_simple(pattern: Pgchar; string_: Pgchar; compile_options: TGRegexCompileFlags; match_options: TGRegexMatchFlags): PPgchar; cdecl; external; -function g_relation_count(ARelation: PGRelation; key: gpointer; field: gint): gint; cdecl; external; -function g_relation_delete(ARelation: PGRelation; key: gpointer; field: gint): gint; cdecl; external; -function g_relation_exists(ARelation: PGRelation; args: array of const): gboolean; cdecl; external; -function g_relation_new(fields: gint): PGRelation; cdecl; external; -function g_relation_select(ARelation: PGRelation; key: gpointer; field: gint): PGTuples; cdecl; external; function g_rmdir(filename: Pgchar): gint; cdecl; external; function g_scanner_cur_line(AScanner: PGScanner): guint; cdecl; external; function g_scanner_cur_position(AScanner: PGScanner): guint; cdecl; external; @@ -4058,7 +4051,6 @@ function g_try_malloc0_n(n_blocks: gsize; n_block_bytes: gsize): gpointer; cdecl function g_try_malloc_n(n_blocks: gsize; n_block_bytes: gsize): gpointer; cdecl; external; function g_try_realloc(mem: gpointer; n_bytes: gsize): gpointer; cdecl; external; function g_try_realloc_n(mem: gpointer; n_blocks: gsize; n_block_bytes: gsize): gpointer; cdecl; external; -function g_tuples_index(ATuples: PGTuples; index_: gint; field: gint): gpointer; cdecl; external; function g_ucs4_to_utf16(str: Pgunichar; len: glong; items_read: Pglong; items_written: Pglong): Pguint16; cdecl; external; function g_ucs4_to_utf8(str: Pgunichar; len: glong; items_read: Pglong; items_written: Pglong): Pgchar; cdecl; external; function g_unichar_break_type(c: gunichar): TGUnicodeBreakType; cdecl; external; @@ -4305,11 +4297,6 @@ procedure g_checksum_get_digest(AChecksum: PGChecksum; buffer: Pguint8; digest_l procedure g_checksum_reset(AChecksum: PGChecksum); cdecl; external; procedure g_checksum_update(AChecksum: PGChecksum; data: Pguint8; length: gssize); cdecl; external; procedure g_clear_error; cdecl; external; -procedure g_completion_add_items(ACompletion: PGCompletion; items: PGList); cdecl; external; -procedure g_completion_clear_items(ACompletion: PGCompletion); cdecl; external; -procedure g_completion_free(ACompletion: PGCompletion); cdecl; external; -procedure g_completion_remove_items(ACompletion: PGCompletion; items: PGList); cdecl; external; -procedure g_completion_set_compare(ACompletion: PGCompletion; strncmp_func: TGCompletionStrncmpFunc); cdecl; external; procedure g_datalist_clear(datalist: PPGData); cdecl; external; procedure g_datalist_foreach(datalist: PPGData; func: TGDataForeachFunc; user_data: gpointer); cdecl; external; procedure g_datalist_id_set_data_full(datalist: PPGData; key_id: TGQuark; data: gpointer; destroy_func: TGDestroyNotify); cdecl; external; @@ -4331,7 +4318,6 @@ procedure g_date_set_dmy(ADate: PGDate; day: TGDateDay; month: TGDateMonth; y: T procedure g_date_set_julian(ADate: PGDate; julian_date: guint32); cdecl; external; procedure g_date_set_month(ADate: PGDate; month: TGDateMonth); cdecl; external; procedure g_date_set_parse(ADate: PGDate; str: Pgchar); cdecl; external; -procedure g_date_set_time(ADate: PGDate; time_: TGTime); cdecl; external; procedure g_date_set_time_t(ADate: PGDate; timet: glong); cdecl; external; procedure g_date_set_time_val(ADate: PGDate; timeval: PGTimeVal); cdecl; external; procedure g_date_set_year(ADate: PGDate; year: TGDateYear); cdecl; external; @@ -4499,10 +4485,6 @@ procedure g_rand_set_seed(ARand: PGRand; seed: guint32); cdecl; external; procedure g_rand_set_seed_array(ARand: PGRand; seed: Pguint32; seed_length: guint); cdecl; external; procedure g_random_set_seed(seed: guint32); cdecl; external; procedure g_regex_unref(ARegex: PGRegex); cdecl; external; -procedure g_relation_destroy(ARelation: PGRelation); cdecl; external; -procedure g_relation_index(ARelation: PGRelation; field: gint; hash_func: TGHashFunc; key_equal_func: TGEqualFunc); cdecl; external; -procedure g_relation_insert(ARelation: PGRelation; args: array of const); cdecl; external; -procedure g_relation_print(ARelation: PGRelation); cdecl; external; procedure g_reload_user_special_dirs_cache; cdecl; external; procedure g_return_if_fail_warning(log_domain: Pgchar; pretty_function: Pgchar; expression: Pgchar); cdecl; external; procedure g_scanner_destroy(AScanner: PGScanner); cdecl; external; @@ -4544,7 +4526,6 @@ procedure g_slist_push_allocator(dummy: gpointer); cdecl; external; procedure g_source_add_child_source(ASource: PGSource; child_source: PGSource); cdecl; external; procedure g_source_add_poll(ASource: PGSource; fd: PGPollFD); cdecl; external; procedure g_source_destroy(ASource: PGSource); cdecl; external; -procedure g_source_get_current_time(ASource: PGSource; timeval: PGTimeVal); cdecl; external; procedure g_source_remove_child_source(ASource: PGSource; child_source: PGSource); cdecl; external; procedure g_source_remove_poll(ASource: PGSource; fd: PGPollFD); cdecl; external; procedure g_source_set_callback(ASource: PGSource; func: TGSourceFunc; data: gpointer; notify: TGDestroyNotify); cdecl; external; @@ -4625,7 +4606,6 @@ procedure g_tree_insert(ATree: PGTree; key: gpointer; value: gpointer); cdecl; e procedure g_tree_replace(ATree: PGTree; key: gpointer; value: gpointer); cdecl; external; procedure g_tree_traverse(ATree: PGTree; traverse_func: TGTraverseFunc; traverse_type: TGTraverseType; user_data: gpointer); cdecl; external; procedure g_tree_unref(ATree: PGTree); cdecl; external; -procedure g_tuples_destroy(ATuples: PGTuples); cdecl; external; procedure g_unicode_canonical_ordering(string_: Pgunichar; len: gsize); cdecl; external; procedure g_unsetenv(variable: Pgchar); cdecl; external; procedure g_usleep(microseconds: gulong); cdecl; external; @@ -5352,41 +5332,6 @@ begin Result := GLib2.g_list_sort_with_data(list, compare_func, user_data); end; -procedure TGCompletion.add_items(items: PGList); cdecl; -begin - GLib2.g_completion_add_items(@self, items); -end; - -procedure TGCompletion.clear_items; cdecl; -begin - GLib2.g_completion_clear_items(@self); -end; - -function TGCompletion.complete(prefix: Pgchar; new_prefix: PPgchar): PGList; cdecl; -begin - Result := GLib2.g_completion_complete(@self, prefix, new_prefix); -end; - -function TGCompletion.complete_utf8(prefix: Pgchar; new_prefix: PPgchar): PGList; cdecl; -begin - Result := GLib2.g_completion_complete_utf8(@self, prefix, new_prefix); -end; - -procedure TGCompletion.free; cdecl; -begin - GLib2.g_completion_free(@self); -end; - -procedure TGCompletion.remove_items(items: PGList); cdecl; -begin - GLib2.g_completion_remove_items(@self, items); -end; - -procedure TGCompletion.set_compare(strncmp_func: TGCompletionStrncmpFunc); cdecl; -begin - GLib2.g_completion_set_compare(@self, strncmp_func); -end; - function TGCompletion.new(func: TGCompletionFunc): PGCompletion; cdecl; begin Result := GLib2.g_completion_new(func); @@ -5532,11 +5477,6 @@ begin GLib2.g_date_set_parse(@self, str); end; -procedure TGDate.set_time(time_: TGTime); cdecl; -begin - GLib2.g_date_set_time(@self, time_); -end; - procedure TGDate.set_time_t(timet: glong); cdecl; begin GLib2.g_date_set_time_t(@self, timet); @@ -6597,11 +6537,6 @@ begin Result := GLib2.g_source_get_context(@self); end; -procedure TGSource.get_current_time(timeval: PGTimeVal); cdecl; -begin - GLib2.g_source_get_current_time(@self, timeval); -end; - function TGSource.get_id: guint; cdecl; begin Result := GLib2.g_source_get_id(@self); @@ -7222,11 +7157,6 @@ begin Result := GLib2.g_slist_nth_data(list, n); end; -procedure TGSList.pop_allocator; cdecl; -begin - GLib2.g_slist_pop_allocator(); -end; - function TGSList.position(list: PGSList; llink: PGSList): gint; cdecl; begin Result := GLib2.g_slist_position(list, llink); @@ -7237,11 +7167,6 @@ begin Result := GLib2.g_slist_prepend(list, data); end; -procedure TGSList.push_allocator(dummy: gpointer); cdecl; -begin - GLib2.g_slist_push_allocator(dummy); -end; - function TGSList.remove(list: PGSList; data: gpointer): PGSList; cdecl; begin Result := GLib2.g_slist_remove(list, data); @@ -8202,51 +8127,6 @@ begin Result := GLib2.g_rand_new_with_seed_array(seed, seed_length); end; -procedure TGTuples.destroy_; cdecl; -begin - GLib2.g_tuples_destroy(@self); -end; - -function TGTuples.index(index_: gint; field: gint): gpointer; cdecl; -begin - Result := GLib2.g_tuples_index(@self, index_, field); -end; - -function TGRelation.count(key: gpointer; field: gint): gint; cdecl; -begin - Result := GLib2.g_relation_count(@self, key, field); -end; - -function TGRelation.delete(key: gpointer; field: gint): gint; cdecl; -begin - Result := GLib2.g_relation_delete(@self, key, field); -end; - -procedure TGRelation.destroy_; cdecl; -begin - GLib2.g_relation_destroy(@self); -end; - -procedure TGRelation.index(field: gint; hash_func: TGHashFunc; key_equal_func: TGEqualFunc); cdecl; -begin - GLib2.g_relation_index(@self, field, hash_func, key_equal_func); -end; - -procedure TGRelation.print; cdecl; -begin - GLib2.g_relation_print(@self); -end; - -function TGRelation.select(key: gpointer; field: gint): PGTuples; cdecl; -begin - Result := GLib2.g_relation_select(@self, key, field); -end; - -function TGRelation.new(fields: gint): PGRelation; cdecl; -begin - Result := GLib2.g_relation_new(fields); -end; - function TGScanner.cur_line: guint; cdecl; begin Result := GLib2.g_scanner_cur_line(@self); diff --git a/bindings/gtk3/gobject2.pas b/bindings/gtk3/gobject2.pas index 24f3b0188..839c27118 100644 --- a/bindings/gtk3/gobject2.pas +++ b/bindings/gtk3/gobject2.pas @@ -280,7 +280,7 @@ type function reset: PGValue; cdecl; inline; procedure set_boolean(v_boolean: gboolean); cdecl; inline; procedure set_boxed(v_boxed: gpointer); cdecl; inline; - procedure set_boxed_take_ownership(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; @@ -292,14 +292,14 @@ 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_object_take_ownership(v_object: gpointer); cdecl; inline; + procedure set_param(param: PGParamSpec); cdecl; inline; - procedure set_param_take_ownership(param: PGParamSpec); cdecl; inline; + procedure set_pointer(v_pointer: gpointer); 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_string_take_ownership(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; @@ -1337,7 +1337,6 @@ 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_boxed_take_ownership(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; @@ -1349,14 +1348,11 @@ procedure g_value_set_int(AValue: PGValue; v_int: gint); cdecl; external; procedure g_value_set_int64(AValue: PGValue; v_int64: gint64); cdecl; external; 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_object_take_ownership(AValue: PGValue; v_object: gpointer); cdecl; external; procedure g_value_set_param(AValue: PGValue; param: PGParamSpec); cdecl; external; -procedure g_value_set_param_take_ownership(AValue: PGValue; param: PGParamSpec); cdecl; external; procedure g_value_set_pointer(AValue: PGValue; v_pointer: gpointer); 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; -procedure g_value_set_string_take_ownership(AValue: PGValue; v_string: Pgchar); cdecl; external; procedure g_value_set_uchar(AValue: PGValue; v_uchar: guint8); cdecl; external; procedure g_value_set_uint(AValue: PGValue; v_uint: guint); cdecl; external; procedure g_value_set_uint64(AValue: PGValue; v_uint64: guint64); cdecl; external; @@ -1729,11 +1725,6 @@ begin GObject2.g_value_set_boxed(@self, v_boxed); end; -procedure TGValue.set_boxed_take_ownership(v_boxed: gpointer); cdecl; -begin - GObject2.g_value_set_boxed_take_ownership(@self, v_boxed); -end; - procedure TGValue.set_char(v_char: gchar); cdecl; begin GObject2.g_value_set_char(@self, v_char); @@ -1789,21 +1780,11 @@ begin GObject2.g_value_set_object(@self, v_object); end; -procedure TGValue.set_object_take_ownership(v_object: gpointer); cdecl; -begin - GObject2.g_value_set_object_take_ownership(@self, v_object); -end; - procedure TGValue.set_param(param: PGParamSpec); cdecl; begin GObject2.g_value_set_param(@self, param); end; -procedure TGValue.set_param_take_ownership(param: PGParamSpec); cdecl; -begin - GObject2.g_value_set_param_take_ownership(@self, param); -end; - procedure TGValue.set_pointer(v_pointer: gpointer); cdecl; begin GObject2.g_value_set_pointer(@self, v_pointer); @@ -1824,11 +1805,6 @@ begin GObject2.g_value_set_string(@self, v_string); end; -procedure TGValue.set_string_take_ownership(v_string: Pgchar); cdecl; -begin - GObject2.g_value_set_string_take_ownership(@self, v_string); -end; - procedure TGValue.set_uchar(v_uchar: guint8); cdecl; begin GObject2.g_value_set_uchar(@self, v_uchar); diff --git a/bindings/gtk3/gtk3.pas b/bindings/gtk3/gtk3.pas index 7c110dc2c..bc2c99a84 100644 --- a/bindings/gtk3/gtk3.pas +++ b/bindings/gtk3/gtk3.pas @@ -1303,9 +1303,6 @@ type PPGtkTargetEntry = ^PGtkTargetEntry; PGtkTargetEntry = ^TGtkTargetEntry; - PPGtkRequisition = ^PGtkRequisition; - PGtkRequisition = ^TGtkRequisition; - PPGtkClipboard = ^PGtkClipboard; PGtkClipboard = ^TGtkClipboard; @@ -1318,15 +1315,15 @@ type PPGtkWidgetPath = ^PGtkWidgetPath; PGtkWidgetPath = ^TGtkWidgetPath; + PPGtkRequisition = ^PGtkRequisition; + PGtkRequisition = ^TGtkRequisition; + PPGtkSizeRequestMode = ^PGtkSizeRequestMode; PGtkSizeRequestMode = ^TGtkSizeRequestMode; PPGtkSettings = ^PGtkSettings; PGtkSettings = ^TGtkSettings; - PPGtkStateType = ^PGtkStateType; - PGtkStateType = ^TGtkStateType; - PPGtkStateFlags = ^PGtkStateFlags; PGtkStateFlags = ^TGtkStateFlags; @@ -1336,6 +1333,9 @@ type PPGtkWindow = ^PGtkWindow; PGtkWindow = ^TGtkWindow; + PPGtkStateType = ^PGtkStateType; + PGtkStateType = ^TGtkStateType; + PPGtkWidgetPrivate = ^PGtkWidgetPrivate; PGtkWidgetPrivate = ^TGtkWidgetPrivate; TGtkWidget = object(TGInitiallyUnowned) @@ -1401,7 +1401,7 @@ type function get_app_paintable: gboolean; cdecl; inline; function get_can_default: gboolean; cdecl; inline; function get_can_focus: gboolean; cdecl; inline; - procedure get_child_requisition(requisition: PGtkRequisition); cdecl; inline; + function get_child_visible: gboolean; cdecl; inline; function get_clipboard(selection: TGdkAtom): PGtkClipboard; cdecl; inline; function get_composite_name: Pgchar; cdecl; inline; @@ -1437,13 +1437,13 @@ type function get_realized: gboolean; cdecl; inline; function get_receives_default: gboolean; cdecl; inline; function get_request_mode: TGtkSizeRequestMode; cdecl; inline; - procedure get_requisition(requisition: PGtkRequisition); cdecl; inline; + function get_root_window: PGdkWindow; cdecl; inline; function get_screen: PGdkScreen; cdecl; inline; function get_sensitive: gboolean; cdecl; inline; function get_settings: PGtkSettings; cdecl; inline; procedure get_size_request(width: Pgint; height: Pgint); cdecl; inline; - function get_state: TGtkStateType; cdecl; inline; + function get_state_flags: TGtkStateFlags; cdecl; inline; function get_style: PGtkStyle; cdecl; inline; function get_style_context: PGtkStyleContext; cdecl; inline; @@ -1486,7 +1486,7 @@ type function mnemonic_activate(group_cycling: gboolean): gboolean; cdecl; inline; procedure modify_base(state: TGtkStateType; color: PGdkColor); cdecl; inline; procedure modify_bg(state: TGtkStateType; color: PGdkColor); cdecl; inline; - procedure modify_cursor(primary: PGdkColor; secondary: PGdkColor); cdecl; inline; + procedure modify_fg(state: TGtkStateType; color: PGdkColor); cdecl; inline; procedure modify_font(font_desc: PPangoFontDescription); cdecl; inline; procedure modify_style(style: PGtkRcStyle); cdecl; inline; @@ -1507,7 +1507,7 @@ type function region_intersect(region: Pcairo_region_t): Pcairo_region_t; cdecl; inline; function remove_accelerator(accel_group: PGtkAccelGroup; accel_key: guint; accel_mods: TGdkModifierType): gboolean; cdecl; inline; procedure remove_mnemonic_label(label_: PGtkWidget); cdecl; inline; - function render_icon(stock_id: Pgchar; size: gint; detail: Pgchar): PGdkPixbuf; cdecl; inline; + function render_icon_pixbuf(stock_id: Pgchar; size: gint): PGdkPixbuf; cdecl; inline; procedure reparent(new_parent: PGtkWidget); cdecl; inline; procedure reset_rc_styles; cdecl; inline; @@ -1545,7 +1545,7 @@ type procedure set_redraw_on_allocate(redraw_on_allocate: gboolean); cdecl; inline; procedure set_sensitive(sensitive: gboolean); cdecl; inline; procedure set_size_request(width: gint; height: gint); cdecl; inline; - procedure set_state(state: TGtkStateType); cdecl; inline; + procedure set_state_flags(flags: TGtkStateFlags; clear: gboolean); cdecl; inline; procedure set_style(style: PGtkStyle); cdecl; inline; procedure set_support_multidevice(support_multidevice: gboolean); cdecl; inline; @@ -1563,8 +1563,8 @@ type procedure show_all; cdecl; inline; procedure show_now; cdecl; inline; procedure size_allocate(allocation: PGtkAllocation); cdecl; inline; - procedure size_request(requisition: PGtkRequisition); cdecl; inline; - procedure style_attach; cdecl; inline; + + //procedure style_get(first_property_name: Pgchar; args: array of const); cdecl; inline; procedure style_get_property(property_name: Pgchar; value: PGValue); cdecl; inline; //procedure style_get_valist(first_property_name: Pgchar; var_args: Tva_list); cdecl; inline; @@ -3204,8 +3204,8 @@ type function get_n_pages: gint; cdecl; inline; function get_nth_page(page_num: gint): PGtkWidget; cdecl; inline; function get_page_complete(page: PGtkWidget): gboolean; cdecl; inline; - function get_page_header_image(page: PGtkWidget): PGdkPixbuf; cdecl; inline; - function get_page_side_image(page: PGtkWidget): PGdkPixbuf; cdecl; inline; + + function get_page_title(page: PGtkWidget): Pgchar; cdecl; inline; function get_page_type(page: PGtkWidget): TGtkAssistantPageType; cdecl; inline; function insert_page(page: PGtkWidget; position: gint): gint; cdecl; inline; @@ -3217,8 +3217,8 @@ type procedure set_current_page(page_num: gint); cdecl; inline; procedure set_forward_page_func(page_func: TGtkAssistantPageFunc; data: gpointer; destroy_: TGDestroyNotify); cdecl; inline; procedure set_page_complete(page: PGtkWidget; complete: gboolean); cdecl; inline; - procedure set_page_header_image(page: PGtkWidget; pixbuf: PGdkPixbuf); cdecl; inline; - procedure set_page_side_image(page: PGtkWidget; pixbuf: PGdkPixbuf); cdecl; inline; + + procedure set_page_title(page: PGtkWidget; title: Pgchar); cdecl; inline; procedure set_page_type(page: PGtkWidget; type_: TGtkAssistantPageType); cdecl; inline; procedure update_buttons_state; cdecl; inline; @@ -3265,12 +3265,6 @@ type PPGtkBindingSet = ^PGtkBindingSet; PGtkBindingSet = ^TGtkBindingSet; - PPGtkPathType = ^PGtkPathType; - PGtkPathType = ^TGtkPathType; - - PPGtkPathPriorityType = ^PGtkPathPriorityType; - PGtkPathPriorityType = ^TGtkPathPriorityType; - PPGtkBindingEntry = ^PGtkBindingEntry; PGtkBindingEntry = ^TGtkBindingEntry; TGtkBindingSetBitfield0 = bitpacked record @@ -3287,7 +3281,7 @@ type current: PGtkBindingEntry; Bitfield0 : TGtkBindingSetBitfield0; { auto generated type } function activate(keyval: guint; modifiers: TGdkModifierType; object_: PGObject): gboolean; cdecl; inline; - procedure add_path(path_type: TGtkPathType; path_pattern: Pgchar; priority: TGtkPathPriorityType); cdecl; inline; + function by_class(object_class: gpointer): PGtkBindingSet; cdecl; inline; static; function find(set_name: Pgchar): PGtkBindingSet; cdecl; inline; static; function new(set_name: Pgchar): PGtkBindingSet; cdecl; inline; static; @@ -3325,6 +3319,12 @@ type + PPGtkPathType = ^PGtkPathType; + PGtkPathType = ^TGtkPathType; + + PPGtkPathPriorityType = ^PGtkPathPriorityType; + PGtkPathPriorityType = ^TGtkPathPriorityType; + PPGtkBorder = ^PGtkBorder; PGtkBorder = ^TGtkBorder; TGtkBorder = object @@ -3432,7 +3432,7 @@ type function new_with_label(label_: Pgchar): PGtkButton; cdecl; inline; static; function new_with_mnemonic(label_: Pgchar): PGtkButton; cdecl; inline; static; procedure clicked; cdecl; inline; - procedure enter; cdecl; inline; + procedure get_alignment(xalign: Pgfloat; yalign: Pgfloat); cdecl; inline; function get_event_window: PGdkWindow; cdecl; inline; function get_focus_on_click: gboolean; cdecl; inline; @@ -3442,9 +3442,9 @@ type function get_relief: TGtkReliefStyle; cdecl; inline; function get_use_stock: gboolean; cdecl; inline; function get_use_underline: gboolean; cdecl; inline; - procedure leave; cdecl; inline; - procedure pressed; cdecl; inline; - procedure released; cdecl; inline; + + + procedure set_alignment(xalign: gfloat; yalign: gfloat); cdecl; inline; procedure set_focus_on_click(focus_on_click: gboolean); cdecl; inline; procedure set_image(image: PGtkWidget); cdecl; inline; @@ -3600,7 +3600,7 @@ type procedure get_preferred_width_for_height(widget: PGtkWidget; height: gint; minimum_width: Pgint; natural_width: Pgint); cdecl; inline; function get_request_mode: TGtkSizeRequestMode; cdecl; inline; function get_sensitive: gboolean; cdecl; inline; - procedure get_size(widget: PGtkWidget; cell_area: PGdkRectangle; x_offset: Pgint; y_offset: Pgint; width: Pgint; height: Pgint); cdecl; inline; + function get_state(widget: PGtkWidget; cell_state: TGtkCellRendererState): TGtkStateFlags; cdecl; inline; function get_visible: gboolean; cdecl; inline; function is_activatable: gboolean; cdecl; inline; @@ -4260,7 +4260,7 @@ type function get_draw_sensitive: gboolean; cdecl; inline; function get_fit_model: gboolean; cdecl; inline; function get_model: PGtkTreeModel; cdecl; inline; - function get_size_of_row(path: PGtkTreePath; requisition: PGtkRequisition): gboolean; cdecl; inline; + procedure set_background_color(color: PGdkColor); cdecl; inline; procedure set_background_rgba(rgba: PGdkRGBA); cdecl; inline; procedure set_displayed_row(path: PGtkTreePath); cdecl; inline; @@ -4355,21 +4355,21 @@ type function get_accel_path: Pgchar; cdecl; inline; function get_label: Pgchar; cdecl; inline; function get_reserve_indicator: gboolean; cdecl; inline; - function get_right_justified: gboolean; cdecl; inline; + function get_submenu: PGtkWidget; cdecl; inline; function get_use_underline: gboolean; cdecl; inline; procedure select; cdecl; inline; procedure set_accel_path(accel_path: Pgchar); cdecl; inline; procedure set_label(label_: Pgchar); cdecl; inline; procedure set_reserve_indicator(reserve: gboolean); cdecl; inline; - procedure set_right_justified(right_justified: gboolean); cdecl; inline; + procedure set_submenu(submenu: PGtkWidget); cdecl; inline; procedure set_use_underline(setting: gboolean); cdecl; inline; procedure toggle_size_allocate(allocation: gint); cdecl; inline; procedure toggle_size_request(requisition: Pgint); cdecl; inline; property accel_path: Pgchar read get_accel_path { property is writeable but setter not declared } ; property label_: Pgchar read get_label { property is writeable but setter not declared } ; - property right_justified: gboolean read get_right_justified { property is writeable but setter not declared } ; + //property right_justified: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_right_justified { property is writeable but setter not declared } ; property submenu: PGtkWidget read get_submenu { property is writeable but setter not declared } ; property use_underline: gboolean read get_use_underline { property is writeable but setter not declared } ; end; @@ -5753,20 +5753,20 @@ type TGtkFontSelection = object(TGtkBox) priv3: PGtkFontSelectionPrivate; function new: PGtkFontSelection; cdecl; inline; static; - function get_face: PPangoFontFace; cdecl; inline; - function get_face_list: PGtkWidget; cdecl; inline; - function get_family: PPangoFontFamily; cdecl; inline; - function get_family_list: PGtkWidget; cdecl; inline; - function get_font_name: Pgchar; cdecl; inline; - function get_preview_entry: PGtkWidget; cdecl; inline; - function get_preview_text: Pgchar; cdecl; inline; - function get_size: gint; cdecl; inline; - function get_size_entry: PGtkWidget; cdecl; inline; - function get_size_list: PGtkWidget; cdecl; inline; - function set_font_name(fontname: Pgchar): gboolean; cdecl; inline; - procedure set_preview_text(text: Pgchar); cdecl; inline; - property font_name: Pgchar read get_font_name { property is writeable but setter not declared } ; - property preview_text: Pgchar read get_preview_text { property is writeable but setter not declared } ; + + + + + + + + + + + + + //property font_name: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_font_name { property is writeable but setter not declared } ; + //property preview_text: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_preview_text { property is writeable but setter not declared } ; end; PPGtkFontSelectionClass = ^PGtkFontSelectionClass; @@ -5791,14 +5791,14 @@ type PGtkFontSelectionDialog = ^TGtkFontSelectionDialog; TGtkFontSelectionDialog = object(TGtkDialog) priv5: PGtkFontSelectionDialogPrivate; - function new(title: Pgchar): PGtkFontSelectionDialog; cdecl; inline; static; - function get_cancel_button: PGtkWidget; cdecl; inline; - function get_font_name: Pgchar; cdecl; inline; - function get_font_selection: PGtkWidget; cdecl; inline; - function get_ok_button: PGtkWidget; cdecl; inline; - function get_preview_text: Pgchar; cdecl; inline; - function set_font_name(fontname: Pgchar): gboolean; cdecl; inline; - procedure set_preview_text(text: Pgchar); cdecl; inline; + + + + + + + + end; PPGtkFontSelectionDialogClass = ^PGtkFontSelectionDialogClass; @@ -5913,7 +5913,7 @@ type PPGtkHBox = ^PGtkHBox; PGtkHBox = ^TGtkHBox; TGtkHBox = object(TGtkBox) - function new(homogeneous: gboolean; spacing: gint): PGtkHBox; cdecl; inline; static; + end; PPGtkHBoxClass = ^PGtkHBoxClass; @@ -5925,7 +5925,7 @@ type PPGtkHButtonBox = ^PGtkHButtonBox; PGtkHButtonBox = ^TGtkHButtonBox; TGtkHButtonBox = object(TGtkButtonBox) - function new: PGtkHButtonBox; cdecl; inline; static; + end; PPGtkHButtonBoxClass = ^PGtkHButtonBoxClass; @@ -5960,7 +5960,7 @@ type PPGtkHPaned = ^PGtkHPaned; PGtkHPaned = ^TGtkHPaned; TGtkHPaned = object(TGtkPaned) - function new: PGtkHPaned; cdecl; inline; static; + end; PPGtkPanedClass = ^PGtkPanedClass; @@ -6090,8 +6090,8 @@ type PPGtkHScale = ^PGtkHScale; PGtkHScale = ^TGtkHScale; TGtkHScale = object(TGtkScale) - function new(adjustment: PGtkAdjustment): PGtkHScale; cdecl; inline; static; - function new_with_range(min: gdouble; max: gdouble; step: gdouble): PGtkHScale; cdecl; inline; static; + + end; PPGtkScaleClass = ^PGtkScaleClass; @@ -6139,7 +6139,7 @@ type PPGtkHScrollbar = ^PGtkHScrollbar; PGtkHScrollbar = ^TGtkHScrollbar; TGtkHScrollbar = object(TGtkScrollbar) - function new(adjustment: PGtkAdjustment): PGtkHScrollbar; cdecl; inline; static; + end; PPGtkScrollbarClass = ^PGtkScrollbarClass; @@ -6171,7 +6171,7 @@ type PPGtkHSeparator = ^PGtkHSeparator; PGtkHSeparator = ^TGtkHSeparator; TGtkHSeparator = object(TGtkSeparator) - function new: PGtkHSeparator; cdecl; inline; static; + end; PPGtkSeparatorClass = ^PGtkSeparatorClass; @@ -6366,7 +6366,7 @@ type function copy: PGtkIconSet; cdecl; inline; procedure get_sizes(sizes: PPgint; n_sizes: Pgint); cdecl; inline; function ref: PGtkIconSet; cdecl; inline; - function render_icon(style: PGtkStyle; direction: TGtkTextDirection; state: TGtkStateType; size: gint; widget: PGtkWidget; detail: Pgchar): PGdkPixbuf; cdecl; inline; + function render_icon_pixbuf(context: PGtkStyleContext; size: gint): PGdkPixbuf; cdecl; inline; procedure unref; cdecl; inline; end; @@ -6404,7 +6404,7 @@ type function load_icon: PGdkPixbuf; cdecl; inline; function load_symbolic(fg: PGdkRGBA; success_color: PGdkRGBA; warning_color: PGdkRGBA; error_color: PGdkRGBA; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; inline; function load_symbolic_for_context(context: PGtkStyleContext; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; inline; - function load_symbolic_for_style(style: PGtkStyle; state: TGtkStateType; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; inline; + procedure set_raw_coordinates(raw_coordinates: gboolean); cdecl; inline; end; @@ -6518,7 +6518,7 @@ type styles: PGSList; property_cache: gpointer; icon_factories: PGSList; - function new: PGtkStyle; cdecl; inline; static; + procedure apply_default_background(cr: Pcairo_t; window: PGdkWindow; state_type: TGtkStateType; x: gint; y: gint; width: gint; height: gint); cdecl; inline; function attach(window: PGdkWindow): PGtkStyle; cdecl; inline; function copy: PGtkStyle; cdecl; inline; @@ -7011,14 +7011,14 @@ type priv2: PGtkLayoutPrivate; function new(hadjustment: PGtkAdjustment; vadjustment: PGtkAdjustment): PGtkLayout; cdecl; inline; static; function get_bin_window: PGdkWindow; cdecl; inline; - function get_hadjustment: PGtkAdjustment; cdecl; inline; + procedure get_size(width: Pguint; height: Pguint); cdecl; inline; - function get_vadjustment: PGtkAdjustment; cdecl; inline; + procedure move(child_widget: PGtkWidget; x: gint; y: gint); cdecl; inline; procedure put(child_widget: PGtkWidget; x: gint; y: gint); cdecl; inline; - procedure set_hadjustment(adjustment: PGtkAdjustment); cdecl; inline; + procedure set_size(width: guint; height: guint); cdecl; inline; - procedure set_vadjustment(adjustment: PGtkAdjustment); cdecl; inline; + //property height: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_height { property is writeable but setter not declared } ; //property width: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_width { property is writeable but setter not declared } ; end; @@ -8292,8 +8292,8 @@ type rc_style_lists: PGSList; icon_factories: PGSList; Bitfield0 : TGtkRcStyleBitfield0; { auto generated type } - function new: PGtkRcStyle; cdecl; inline; static; - function copy: PGtkRcStyle; cdecl; inline; + + end; PPGtkRcStyleClass = ^PGtkRcStyleClass; @@ -9734,7 +9734,7 @@ type function get_cursor_visible: gboolean; cdecl; inline; function get_default_attributes: PGtkTextAttributes; cdecl; inline; function get_editable: gboolean; cdecl; inline; - function get_hadjustment: PGtkAdjustment; cdecl; inline; + function get_indent: gint; cdecl; inline; procedure get_iter_at_location(iter: PGtkTextIter; x: gint; y: gint); cdecl; inline; procedure get_iter_at_position(iter: PGtkTextIter; trailing: Pgint; x: gint; y: gint); cdecl; inline; @@ -9749,7 +9749,7 @@ type function get_pixels_inside_wrap: gint; cdecl; inline; function get_right_margin: gint; cdecl; inline; function get_tabs: PPangoTabArray; cdecl; inline; - function get_vadjustment: PGtkAdjustment; cdecl; inline; + procedure get_visible_rect(visible_rect: PGdkRectangle); cdecl; inline; function get_window(win: TGtkTextWindowType): PGdkWindow; cdecl; inline; function get_window_type(window: PGdkWindow): TGtkTextWindowType; cdecl; inline; @@ -10001,10 +10001,10 @@ type function get_exclusive(group: PGtkToolItemGroup): gboolean; cdecl; inline; function get_expand(group: PGtkToolItemGroup): gboolean; cdecl; inline; function get_group_position(group: PGtkToolItemGroup): gint; cdecl; inline; - function get_hadjustment: PGtkAdjustment; cdecl; inline; + function get_icon_size: gint; cdecl; inline; function get_style: TGtkToolbarStyle; cdecl; inline; - function get_vadjustment: PGtkAdjustment; cdecl; inline; + procedure set_drag_source(targets: TGtkToolPaletteDragTargets); cdecl; inline; procedure set_exclusive(group: PGtkToolItemGroup; exclusive: gboolean); cdecl; inline; procedure set_expand(group: PGtkToolItemGroup; expand: gboolean); cdecl; inline; @@ -10248,7 +10248,7 @@ type function get_expander_column: PGtkTreeViewColumn; cdecl; inline; function get_fixed_height_mode: gboolean; cdecl; inline; function get_grid_lines: TGtkTreeViewGridLines; cdecl; inline; - function get_hadjustment: PGtkAdjustment; cdecl; inline; + function get_headers_clickable: gboolean; cdecl; inline; function get_headers_visible: gboolean; cdecl; inline; function get_hover_expand: gboolean; cdecl; inline; @@ -10268,7 +10268,7 @@ type function get_show_expanders: gboolean; cdecl; inline; function get_tooltip_column: gint; cdecl; inline; function get_tooltip_context(x: Pgint; y: Pgint; keyboard_tip: gboolean; model: PPGtkTreeModel; path: PPGtkTreePath; iter: PGtkTreeIter): gboolean; cdecl; inline; - function get_vadjustment: PGtkAdjustment; cdecl; inline; + function get_visible_range(start_path: PPGtkTreePath; end_path: PPGtkTreePath): gboolean; cdecl; inline; procedure get_visible_rect(visible_rect: PGdkRectangle); cdecl; inline; function insert_column(column: PGtkTreeViewColumn; position: gint): gint; cdecl; inline; @@ -10293,7 +10293,7 @@ type procedure set_expander_column(column: PGtkTreeViewColumn); cdecl; inline; procedure set_fixed_height_mode(enable: gboolean); cdecl; inline; procedure set_grid_lines(grid_lines: TGtkTreeViewGridLines); cdecl; inline; - procedure set_hadjustment(adjustment: PGtkAdjustment); cdecl; inline; + procedure set_headers_clickable(setting: gboolean); cdecl; inline; procedure set_headers_visible(headers_visible: gboolean); cdecl; inline; procedure set_hover_expand(expand: gboolean); cdecl; inline; @@ -10312,7 +10312,7 @@ type procedure set_tooltip_cell(tooltip: PGtkTooltip; path: PGtkTreePath; column: PGtkTreeViewColumn; cell: PGtkCellRenderer); cdecl; inline; procedure set_tooltip_column(column: gint); cdecl; inline; procedure set_tooltip_row(tooltip: PGtkTooltip; path: PGtkTreePath); cdecl; inline; - procedure set_vadjustment(adjustment: PGtkAdjustment); cdecl; inline; + procedure unset_rows_drag_dest; cdecl; inline; procedure unset_rows_drag_source; cdecl; inline; //property enable_grid_lines: UNABLE_TO_FIND_TYPE_FOR_PROPERTY read get_enable_grid_lines { property is writeable but setter not declared } ; @@ -10688,7 +10688,7 @@ type PPGtkVBox = ^PGtkVBox; PGtkVBox = ^TGtkVBox; TGtkVBox = object(TGtkBox) - function new(homogeneous: gboolean; spacing: gint): PGtkVBox; cdecl; inline; static; + end; PPGtkVBoxClass = ^PGtkVBoxClass; @@ -10700,7 +10700,7 @@ type PPGtkVButtonBox = ^PGtkVButtonBox; PGtkVButtonBox = ^TGtkVButtonBox; TGtkVButtonBox = object(TGtkButtonBox) - function new: PGtkVButtonBox; cdecl; inline; static; + end; PPGtkVButtonBoxClass = ^PGtkVButtonBoxClass; @@ -10712,7 +10712,7 @@ type PPGtkVPaned = ^PGtkVPaned; PGtkVPaned = ^TGtkVPaned; TGtkVPaned = object(TGtkPaned) - function new: PGtkVPaned; cdecl; inline; static; + end; PPGtkVPanedClass = ^PGtkVPanedClass; @@ -10724,8 +10724,8 @@ type PPGtkVScale = ^PGtkVScale; PGtkVScale = ^TGtkVScale; TGtkVScale = object(TGtkScale) - function new(adjustment: PGtkAdjustment): PGtkVScale; cdecl; inline; static; - function new_with_range(min: gdouble; max: gdouble; step: gdouble): PGtkVScale; cdecl; inline; static; + + end; PPGtkVScaleClass = ^PGtkVScaleClass; @@ -10737,7 +10737,7 @@ type PPGtkVScrollbar = ^PGtkVScrollbar; PGtkVScrollbar = ^TGtkVScrollbar; TGtkVScrollbar = object(TGtkScrollbar) - function new(adjustment: PGtkAdjustment): PGtkVScrollbar; cdecl; inline; static; + end; PPGtkVScrollbarClass = ^PGtkVScrollbarClass; @@ -10749,7 +10749,7 @@ type PPGtkVSeparator = ^PGtkVSeparator; PGtkVSeparator = ^TGtkVSeparator; TGtkVSeparator = object(TGtkSeparator) - function new: PGtkVSeparator; cdecl; inline; static; + end; PPGtkVSeparatorClass = ^PGtkVSeparatorClass; @@ -10772,13 +10772,13 @@ type priv3: PGtkViewportPrivate; function new(hadjustment: PGtkAdjustment; vadjustment: PGtkAdjustment): PGtkViewport; cdecl; inline; static; function get_bin_window: PGdkWindow; cdecl; inline; - function get_hadjustment: PGtkAdjustment; cdecl; inline; + function get_shadow_type: TGtkShadowType; cdecl; inline; - function get_vadjustment: PGtkAdjustment; cdecl; inline; + function get_view_window: PGdkWindow; cdecl; inline; - procedure set_hadjustment(adjustment: PGtkAdjustment); cdecl; inline; + procedure set_shadow_type(type_: TGtkShadowType); cdecl; inline; - procedure set_vadjustment(adjustment: PGtkAdjustment); cdecl; inline; + property shadow_type: TGtkShadowType read get_shadow_type { property is writeable but setter not declared } ; end; @@ -11000,8 +11000,6 @@ function gtk_assistant_get_current_page(AAssistant: PGtkAssistant): gint; cdecl; function gtk_assistant_get_n_pages(AAssistant: PGtkAssistant): gint; cdecl; external; function gtk_assistant_get_nth_page(AAssistant: PGtkAssistant; page_num: gint): PGtkWidget; cdecl; external; function gtk_assistant_get_page_complete(AAssistant: PGtkAssistant; page: PGtkWidget): gboolean; cdecl; external; -function gtk_assistant_get_page_header_image(AAssistant: PGtkAssistant; page: PGtkWidget): PGdkPixbuf; cdecl; external; -function gtk_assistant_get_page_side_image(AAssistant: PGtkAssistant; page: PGtkWidget): PGdkPixbuf; cdecl; external; function gtk_assistant_get_page_title(AAssistant: PGtkAssistant; page: PGtkWidget): Pgchar; cdecl; external; function gtk_assistant_get_page_type(AAssistant: PGtkAssistant; page: PGtkWidget): TGtkAssistantPageType; cdecl; external; function gtk_assistant_get_type: TGType; cdecl; external; @@ -11127,7 +11125,6 @@ function gtk_cell_view_get_displayed_row(ACellView: PGtkCellView): PGtkTreePath; function gtk_cell_view_get_draw_sensitive(ACellView: PGtkCellView): gboolean; cdecl; external; function gtk_cell_view_get_fit_model(ACellView: PGtkCellView): gboolean; cdecl; external; function gtk_cell_view_get_model(ACellView: PGtkCellView): PGtkTreeModel; cdecl; external; -function gtk_cell_view_get_size_of_row(ACellView: PGtkCellView; path: PGtkTreePath; requisition: PGtkRequisition): gboolean; cdecl; external; function gtk_cell_view_get_type: TGType; cdecl; external; function gtk_cell_view_new: PGtkCellView; cdecl; external; function gtk_cell_view_new_with_context(area: PGtkCellArea; context: PGtkCellAreaContext): PGtkCellView; cdecl; external; @@ -11420,27 +11417,9 @@ function gtk_font_chooser_get_show_preview_entry(AFontChooser: PGtkFontChooser): function gtk_font_chooser_get_type: TGType; cdecl; external; function gtk_font_chooser_widget_get_type: TGType; cdecl; external; function gtk_font_chooser_widget_new: PGtkFontChooserWidget; cdecl; external; -function gtk_font_selection_dialog_get_cancel_button(AFontSelectionDialog: PGtkFontSelectionDialog): PGtkWidget; cdecl; external; -function gtk_font_selection_dialog_get_font_name(AFontSelectionDialog: PGtkFontSelectionDialog): Pgchar; cdecl; external; -function gtk_font_selection_dialog_get_font_selection(AFontSelectionDialog: PGtkFontSelectionDialog): PGtkWidget; cdecl; external; -function gtk_font_selection_dialog_get_ok_button(AFontSelectionDialog: PGtkFontSelectionDialog): PGtkWidget; cdecl; external; -function gtk_font_selection_dialog_get_preview_text(AFontSelectionDialog: PGtkFontSelectionDialog): Pgchar; cdecl; external; function gtk_font_selection_dialog_get_type: TGType; cdecl; external; -function gtk_font_selection_dialog_new(title: Pgchar): PGtkFontSelectionDialog; cdecl; external; -function gtk_font_selection_dialog_set_font_name(AFontSelectionDialog: PGtkFontSelectionDialog; fontname: Pgchar): gboolean; cdecl; external; -function gtk_font_selection_get_face(AFontSelection: PGtkFontSelection): PPangoFontFace; cdecl; external; -function gtk_font_selection_get_face_list(AFontSelection: PGtkFontSelection): PGtkWidget; cdecl; external; -function gtk_font_selection_get_family(AFontSelection: PGtkFontSelection): PPangoFontFamily; cdecl; external; -function gtk_font_selection_get_family_list(AFontSelection: PGtkFontSelection): PGtkWidget; cdecl; external; -function gtk_font_selection_get_font_name(AFontSelection: PGtkFontSelection): Pgchar; cdecl; external; -function gtk_font_selection_get_preview_entry(AFontSelection: PGtkFontSelection): PGtkWidget; cdecl; external; -function gtk_font_selection_get_preview_text(AFontSelection: PGtkFontSelection): Pgchar; cdecl; external; -function gtk_font_selection_get_size(AFontSelection: PGtkFontSelection): gint; cdecl; external; -function gtk_font_selection_get_size_entry(AFontSelection: PGtkFontSelection): PGtkWidget; cdecl; external; -function gtk_font_selection_get_size_list(AFontSelection: PGtkFontSelection): PGtkWidget; cdecl; external; function gtk_font_selection_get_type: TGType; cdecl; external; function gtk_font_selection_new: PGtkFontSelection; cdecl; external; -function gtk_font_selection_set_font_name(AFontSelection: PGtkFontSelection; fontname: Pgchar): gboolean; cdecl; external; function gtk_frame_get_label(AFrame: PGtkFrame): Pgchar; cdecl; external; function gtk_frame_get_label_widget(AFrame: PGtkFrame): PGtkWidget; cdecl; external; function gtk_frame_get_shadow_type(AFrame: PGtkFrame): TGtkShadowType; cdecl; external; @@ -11480,18 +11459,11 @@ function gtk_handle_box_get_snap_edge(AHandleBox: PGtkHandleBox): TGtkPositionTy function gtk_handle_box_get_type: TGType; cdecl; external; function gtk_handle_box_new: PGtkHandleBox; cdecl; external; function gtk_hbox_get_type: TGType; cdecl; external; -function gtk_hbox_new(homogeneous: gboolean; spacing: gint): PGtkHBox; cdecl; external; function gtk_hbutton_box_get_type: TGType; cdecl; external; -function gtk_hbutton_box_new: PGtkHButtonBox; cdecl; external; function gtk_hpaned_get_type: TGType; cdecl; external; -function gtk_hpaned_new: PGtkHPaned; cdecl; external; function gtk_hscale_get_type: TGType; cdecl; external; -function gtk_hscale_new(adjustment: PGtkAdjustment): PGtkHScale; cdecl; external; -function gtk_hscale_new_with_range(min: gdouble; max: gdouble; step: gdouble): PGtkHScale; cdecl; external; function gtk_hscrollbar_get_type: TGType; cdecl; external; -function gtk_hscrollbar_new(adjustment: PGtkAdjustment): PGtkHScrollbar; cdecl; external; function gtk_hseparator_get_type: TGType; cdecl; external; -function gtk_hseparator_new: PGtkHSeparator; cdecl; external; function gtk_hsv_get_type: TGType; cdecl; external; function gtk_hsv_is_adjusting(AHSV: PGtkHSV): gboolean; cdecl; external; function gtk_hsv_new: PGtkHSV; cdecl; external; @@ -11510,14 +11482,12 @@ function gtk_icon_info_get_type: TGType; cdecl; external; function gtk_icon_info_load_icon(AIconInfo: PGtkIconInfo): PGdkPixbuf; cdecl; external; function gtk_icon_info_load_symbolic(AIconInfo: PGtkIconInfo; fg: PGdkRGBA; success_color: PGdkRGBA; warning_color: PGdkRGBA; error_color: PGdkRGBA; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; external; function gtk_icon_info_load_symbolic_for_context(AIconInfo: PGtkIconInfo; context: PGtkStyleContext; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; external; -function gtk_icon_info_load_symbolic_for_style(AIconInfo: PGtkIconInfo; style: PGtkStyle; state: TGtkStateType; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; external; function gtk_icon_info_new_for_pixbuf(icon_theme: PGtkIconTheme; pixbuf: PGdkPixbuf): PGtkIconInfo; cdecl; external; function gtk_icon_set_copy(AIconSet: PGtkIconSet): PGtkIconSet; cdecl; external; function gtk_icon_set_get_type: TGType; cdecl; external; function gtk_icon_set_new: PGtkIconSet; cdecl; external; function gtk_icon_set_new_from_pixbuf(pixbuf: PGdkPixbuf): PGtkIconSet; cdecl; external; function gtk_icon_set_ref(AIconSet: PGtkIconSet): PGtkIconSet; cdecl; external; -function gtk_icon_set_render_icon(AIconSet: PGtkIconSet; style: PGtkStyle; direction: TGtkTextDirection; state: TGtkStateType; size: gint; widget: PGtkWidget; detail: Pgchar): PGdkPixbuf; cdecl; external; function gtk_icon_set_render_icon_pixbuf(AIconSet: PGtkIconSet; context: PGtkStyleContext; size: gint): PGdkPixbuf; cdecl; external; function gtk_icon_size_from_name(name: Pgchar): gint; cdecl; external; function gtk_icon_size_get_name(size: gint): Pgchar; cdecl; external; @@ -11649,9 +11619,7 @@ function gtk_label_get_width_chars(ALabel: PGtkLabel): gint; cdecl; external; function gtk_label_new(str: Pgchar): PGtkLabel; cdecl; external; function gtk_label_new_with_mnemonic(str: Pgchar): PGtkLabel; cdecl; external; function gtk_layout_get_bin_window(ALayout: PGtkLayout): PGdkWindow; cdecl; external; -function gtk_layout_get_hadjustment(ALayout: PGtkLayout): PGtkAdjustment; cdecl; external; function gtk_layout_get_type: TGType; cdecl; external; -function gtk_layout_get_vadjustment(ALayout: PGtkLayout): PGtkAdjustment; cdecl; external; function gtk_layout_new(hadjustment: PGtkAdjustment; vadjustment: PGtkAdjustment): PGtkLayout; cdecl; external; function gtk_link_button_get_type: TGType; cdecl; external; function gtk_link_button_get_uri(ALinkButton: PGtkLinkButton): Pgchar; cdecl; external; @@ -11686,7 +11654,6 @@ function gtk_menu_get_type: TGType; cdecl; external; function gtk_menu_item_get_accel_path(AMenuItem: PGtkMenuItem): Pgchar; cdecl; external; function gtk_menu_item_get_label(AMenuItem: PGtkMenuItem): Pgchar; cdecl; external; function gtk_menu_item_get_reserve_indicator(AMenuItem: PGtkMenuItem): gboolean; cdecl; external; -function gtk_menu_item_get_right_justified(AMenuItem: PGtkMenuItem): gboolean; cdecl; external; function gtk_menu_item_get_submenu(AMenuItem: PGtkMenuItem): PGtkWidget; cdecl; external; function gtk_menu_item_get_type: TGType; cdecl; external; function gtk_menu_item_get_use_underline(AMenuItem: PGtkMenuItem): gboolean; cdecl; external; @@ -11942,9 +11909,7 @@ function gtk_rc_property_parse_requisition(pspec: PGParamSpec; gstring: PGString function gtk_rc_reparse_all: gboolean; cdecl; external; function gtk_rc_reparse_all_for_settings(settings: PGtkSettings; force_load: gboolean): gboolean; cdecl; external; function gtk_rc_scanner_new: PGScanner; cdecl; external; -function gtk_rc_style_copy(ARcStyle: PGtkRcStyle): PGtkRcStyle; cdecl; external; function gtk_rc_style_get_type: TGType; cdecl; external; -function gtk_rc_style_new: PGtkRcStyle; cdecl; external; function gtk_recent_action_get_show_numbers(ARecentAction: PGtkRecentAction): gboolean; cdecl; external; function gtk_recent_action_get_type: TGType; cdecl; external; function gtk_recent_action_new(name: Pgchar; label_: Pgchar; tooltip: Pgchar; stock_id: Pgchar): PGtkRecentAction; cdecl; external; @@ -12162,7 +12127,6 @@ function gtk_style_get_type: TGType; cdecl; external; function gtk_style_has_context(AStyle: PGtkStyle): gboolean; cdecl; external; function gtk_style_lookup_color(AStyle: PGtkStyle; color_name: Pgchar; color: PGdkColor): gboolean; cdecl; external; function gtk_style_lookup_icon_set(AStyle: PGtkStyle; stock_id: Pgchar): PGtkIconSet; cdecl; external; -function gtk_style_new: PGtkStyle; cdecl; external; function gtk_style_properties_get_property(AStyleProperties: PGtkStyleProperties; property_: Pgchar; state: TGtkStateFlags; value: PGValue): gboolean; cdecl; external; function gtk_style_properties_get_type: TGType; cdecl; external; function gtk_style_properties_lookup_color(AStyleProperties: PGtkStyleProperties; name: Pgchar): PGtkSymbolicColor; cdecl; external; @@ -12366,7 +12330,6 @@ function gtk_text_view_get_buffer(ATextView: PGtkTextView): PGtkTextBuffer; cdec function gtk_text_view_get_cursor_visible(ATextView: PGtkTextView): gboolean; cdecl; external; function gtk_text_view_get_default_attributes(ATextView: PGtkTextView): PGtkTextAttributes; cdecl; external; function gtk_text_view_get_editable(ATextView: PGtkTextView): gboolean; cdecl; external; -function gtk_text_view_get_hadjustment(ATextView: PGtkTextView): PGtkAdjustment; cdecl; external; function gtk_text_view_get_indent(ATextView: PGtkTextView): gint; cdecl; external; function gtk_text_view_get_justification(ATextView: PGtkTextView): TGtkJustification; cdecl; external; function gtk_text_view_get_left_margin(ATextView: PGtkTextView): gint; cdecl; external; @@ -12377,7 +12340,6 @@ function gtk_text_view_get_pixels_inside_wrap(ATextView: PGtkTextView): gint; cd function gtk_text_view_get_right_margin(ATextView: PGtkTextView): gint; cdecl; external; function gtk_text_view_get_tabs(ATextView: PGtkTextView): PPangoTabArray; cdecl; external; function gtk_text_view_get_type: TGType; cdecl; external; -function gtk_text_view_get_vadjustment(ATextView: PGtkTextView): PGtkAdjustment; cdecl; external; function gtk_text_view_get_window(ATextView: PGtkTextView; win: TGtkTextWindowType): PGdkWindow; cdecl; external; function gtk_text_view_get_window_type(ATextView: PGtkTextView; window: PGdkWindow): TGtkTextWindowType; cdecl; external; function gtk_text_view_get_wrap_mode(ATextView: PGtkTextView): TGtkWrapMode; cdecl; external; @@ -12462,11 +12424,9 @@ function gtk_tool_palette_get_drop_item(AToolPalette: PGtkToolPalette; x: gint; function gtk_tool_palette_get_exclusive(AToolPalette: PGtkToolPalette; group: PGtkToolItemGroup): gboolean; cdecl; external; function gtk_tool_palette_get_expand(AToolPalette: PGtkToolPalette; group: PGtkToolItemGroup): gboolean; cdecl; external; function gtk_tool_palette_get_group_position(AToolPalette: PGtkToolPalette; group: PGtkToolItemGroup): gint; cdecl; external; -function gtk_tool_palette_get_hadjustment(AToolPalette: PGtkToolPalette): PGtkAdjustment; cdecl; external; function gtk_tool_palette_get_icon_size(AToolPalette: PGtkToolPalette): gint; cdecl; external; function gtk_tool_palette_get_style(AToolPalette: PGtkToolPalette): TGtkToolbarStyle; cdecl; external; function gtk_tool_palette_get_type: TGType; cdecl; external; -function gtk_tool_palette_get_vadjustment(AToolPalette: PGtkToolPalette): PGtkAdjustment; cdecl; external; function gtk_tool_palette_new: PGtkToolPalette; cdecl; external; function gtk_tool_shell_get_ellipsize_mode(AToolShell: PGtkToolShell): TPangoEllipsizeMode; cdecl; external; function gtk_tool_shell_get_icon_size(AToolShell: PGtkToolShell): gint; cdecl; external; @@ -12609,7 +12569,6 @@ function gtk_tree_view_get_enable_tree_lines(ATreeView: PGtkTreeView): gboolean; function gtk_tree_view_get_expander_column(ATreeView: PGtkTreeView): PGtkTreeViewColumn; cdecl; external; function gtk_tree_view_get_fixed_height_mode(ATreeView: PGtkTreeView): gboolean; cdecl; external; function gtk_tree_view_get_grid_lines(ATreeView: PGtkTreeView): TGtkTreeViewGridLines; cdecl; external; -function gtk_tree_view_get_hadjustment(ATreeView: PGtkTreeView): PGtkAdjustment; cdecl; external; function gtk_tree_view_get_headers_clickable(ATreeView: PGtkTreeView): gboolean; cdecl; external; function gtk_tree_view_get_headers_visible(ATreeView: PGtkTreeView): gboolean; cdecl; external; function gtk_tree_view_get_hover_expand(ATreeView: PGtkTreeView): gboolean; cdecl; external; @@ -12630,7 +12589,6 @@ function gtk_tree_view_get_show_expanders(ATreeView: PGtkTreeView): gboolean; cd function gtk_tree_view_get_tooltip_column(ATreeView: PGtkTreeView): gint; cdecl; external; function gtk_tree_view_get_tooltip_context(ATreeView: PGtkTreeView; x: Pgint; y: Pgint; keyboard_tip: gboolean; model: PPGtkTreeModel; path: PPGtkTreePath; iter: PGtkTreeIter): gboolean; cdecl; external; function gtk_tree_view_get_type: TGType; cdecl; external; -function gtk_tree_view_get_vadjustment(ATreeView: PGtkTreeView): PGtkAdjustment; cdecl; external; function gtk_tree_view_get_visible_range(ATreeView: PGtkTreeView; start_path: PPGtkTreePath; end_path: PPGtkTreePath): gboolean; cdecl; external; function gtk_tree_view_insert_column(ATreeView: PGtkTreeView; column: PGtkTreeViewColumn; position: gint): gint; cdecl; external; function gtk_tree_view_insert_column_with_attributes(ATreeView: PGtkTreeView; position: gint; title: Pgchar; cell: PGtkCellRenderer; args: array of const): gint; cdecl; external; @@ -12655,27 +12613,18 @@ function gtk_ui_manager_get_widget(AUIManager: PGtkUIManager; path: Pgchar): PGt function gtk_ui_manager_new: PGtkUIManager; cdecl; external; function gtk_ui_manager_new_merge_id(AUIManager: PGtkUIManager): guint; cdecl; external; function gtk_vbox_get_type: TGType; cdecl; external; -function gtk_vbox_new(homogeneous: gboolean; spacing: gint): PGtkVBox; cdecl; external; function gtk_vbutton_box_get_type: TGType; cdecl; external; -function gtk_vbutton_box_new: PGtkVButtonBox; cdecl; external; function gtk_viewport_get_bin_window(AViewport: PGtkViewport): PGdkWindow; cdecl; external; -function gtk_viewport_get_hadjustment(AViewport: PGtkViewport): PGtkAdjustment; cdecl; external; function gtk_viewport_get_shadow_type(AViewport: PGtkViewport): TGtkShadowType; cdecl; external; function gtk_viewport_get_type: TGType; cdecl; external; -function gtk_viewport_get_vadjustment(AViewport: PGtkViewport): PGtkAdjustment; cdecl; external; function gtk_viewport_get_view_window(AViewport: PGtkViewport): PGdkWindow; cdecl; external; function gtk_viewport_new(hadjustment: PGtkAdjustment; vadjustment: PGtkAdjustment): PGtkViewport; cdecl; external; function gtk_volume_button_get_type: TGType; cdecl; external; function gtk_volume_button_new: PGtkVolumeButton; cdecl; external; function gtk_vpaned_get_type: TGType; cdecl; external; -function gtk_vpaned_new: PGtkVPaned; cdecl; external; function gtk_vscale_get_type: TGType; cdecl; external; -function gtk_vscale_new(adjustment: PGtkAdjustment): PGtkVScale; cdecl; external; -function gtk_vscale_new_with_range(min: gdouble; max: gdouble; step: gdouble): PGtkVScale; cdecl; external; function gtk_vscrollbar_get_type: TGType; cdecl; external; -function gtk_vscrollbar_new(adjustment: PGtkAdjustment): PGtkVScrollbar; cdecl; external; function gtk_vseparator_get_type: TGType; cdecl; external; -function gtk_vseparator_new: PGtkVSeparator; cdecl; external; function gtk_widget_activate(AWidget: PGtkWidget): gboolean; cdecl; external; function gtk_widget_can_activate_accel(AWidget: PGtkWidget; signal_id: guint): gboolean; cdecl; external; function gtk_widget_child_focus(AWidget: PGtkWidget; direction: TGtkDirectionType): gboolean; cdecl; external; @@ -12728,7 +12677,6 @@ function gtk_widget_get_root_window(AWidget: PGtkWidget): PGdkWindow; cdecl; ext function gtk_widget_get_screen(AWidget: PGtkWidget): PGdkScreen; cdecl; external; function gtk_widget_get_sensitive(AWidget: PGtkWidget): gboolean; cdecl; external; function gtk_widget_get_settings(AWidget: PGtkWidget): PGtkSettings; cdecl; external; -function gtk_widget_get_state(AWidget: PGtkWidget): TGtkStateType; cdecl; external; function gtk_widget_get_state_flags(AWidget: PGtkWidget): TGtkStateFlags; cdecl; external; function gtk_widget_get_style(AWidget: PGtkWidget): PGtkStyle; cdecl; external; function gtk_widget_get_style_context(AWidget: PGtkWidget): PGtkStyleContext; cdecl; external; @@ -12790,7 +12738,6 @@ function gtk_widget_path_ref(AWidgetPath: PGtkWidgetPath): PGtkWidgetPath; cdecl function gtk_widget_path_to_string(AWidgetPath: PGtkWidgetPath): Pgchar; cdecl; external; function gtk_widget_region_intersect(AWidget: PGtkWidget; region: Pcairo_region_t): Pcairo_region_t; cdecl; external; function gtk_widget_remove_accelerator(AWidget: PGtkWidget; accel_group: PGtkAccelGroup; accel_key: guint; accel_mods: TGdkModifierType): gboolean; cdecl; external; -function gtk_widget_render_icon(AWidget: PGtkWidget; stock_id: Pgchar; size: gint; detail: Pgchar): PGdkPixbuf; cdecl; external; function gtk_widget_render_icon_pixbuf(AWidget: PGtkWidget; stock_id: Pgchar; size: gint): PGdkPixbuf; cdecl; external; function gtk_widget_send_expose(AWidget: PGtkWidget; event: PGdkEvent): gint; cdecl; external; function gtk_widget_send_focus_change(AWidget: PGtkWidget; event: PGdkEvent): gboolean; cdecl; external; @@ -12959,8 +12906,6 @@ procedure gtk_assistant_remove_page(AAssistant: PGtkAssistant; page_num: gint); procedure gtk_assistant_set_current_page(AAssistant: PGtkAssistant; page_num: gint); cdecl; external; procedure gtk_assistant_set_forward_page_func(AAssistant: PGtkAssistant; page_func: TGtkAssistantPageFunc; data: gpointer; destroy_: TGDestroyNotify); cdecl; external; procedure gtk_assistant_set_page_complete(AAssistant: PGtkAssistant; page: PGtkWidget; complete: gboolean); cdecl; external; -procedure gtk_assistant_set_page_header_image(AAssistant: PGtkAssistant; page: PGtkWidget; pixbuf: PGdkPixbuf); cdecl; external; -procedure gtk_assistant_set_page_side_image(AAssistant: PGtkAssistant; page: PGtkWidget; pixbuf: PGdkPixbuf); cdecl; external; procedure gtk_assistant_set_page_title(AAssistant: PGtkAssistant; page: PGtkWidget; title: Pgchar); cdecl; external; procedure gtk_assistant_set_page_type(AAssistant: PGtkAssistant; page: PGtkWidget; type_: TGtkAssistantPageType); cdecl; external; procedure gtk_assistant_update_buttons_state(AAssistant: PGtkAssistant); cdecl; external; @@ -12968,7 +12913,6 @@ procedure gtk_binding_entry_add_signal(binding_set: PGtkBindingSet; keyval: guin procedure gtk_binding_entry_add_signall(binding_set: PGtkBindingSet; keyval: guint; modifiers: TGdkModifierType; signal_name: Pgchar; binding_args: PGSList); cdecl; external; procedure gtk_binding_entry_remove(binding_set: PGtkBindingSet; keyval: guint; modifiers: TGdkModifierType); cdecl; external; procedure gtk_binding_entry_skip(binding_set: PGtkBindingSet; keyval: guint; modifiers: TGdkModifierType); cdecl; external; -procedure gtk_binding_set_add_path(ABindingSet: PGtkBindingSet; path_type: TGtkPathType; path_pattern: Pgchar; priority: TGtkPathPriorityType); cdecl; external; procedure gtk_border_free(ABorder: PGtkBorder); cdecl; external; procedure gtk_box_pack_end(ABox: PGtkBox; child: PGtkWidget; expand: gboolean; fill: gboolean; padding: guint); cdecl; external; procedure gtk_box_pack_start(ABox: PGtkBox; child: PGtkWidget; expand: gboolean; fill: gboolean; padding: guint); cdecl; external; @@ -12990,11 +12934,7 @@ procedure gtk_button_box_set_child_non_homogeneous(AButtonBox: PGtkButtonBox; ch procedure gtk_button_box_set_child_secondary(AButtonBox: PGtkButtonBox; child: PGtkWidget; is_secondary: gboolean); cdecl; external; procedure gtk_button_box_set_layout(AButtonBox: PGtkButtonBox; layout_style: TGtkButtonBoxStyle); cdecl; external; procedure gtk_button_clicked(AButton: PGtkButton); cdecl; external; -procedure gtk_button_enter(AButton: PGtkButton); cdecl; external; procedure gtk_button_get_alignment(AButton: PGtkButton; xalign: Pgfloat; yalign: Pgfloat); cdecl; external; -procedure gtk_button_leave(AButton: PGtkButton); cdecl; external; -procedure gtk_button_pressed(AButton: PGtkButton); cdecl; external; -procedure gtk_button_released(AButton: PGtkButton); cdecl; external; procedure gtk_button_set_alignment(AButton: PGtkButton; xalign: gfloat; yalign: gfloat); cdecl; external; procedure gtk_button_set_focus_on_click(AButton: PGtkButton; focus_on_click: gboolean); cdecl; external; procedure gtk_button_set_image(AButton: PGtkButton; image: PGtkWidget); cdecl; external; @@ -13073,7 +13013,6 @@ procedure gtk_cell_renderer_get_preferred_height_for_width(ACellRenderer: PGtkCe procedure gtk_cell_renderer_get_preferred_size(ACellRenderer: PGtkCellRenderer; widget: PGtkWidget; minimum_size: PGtkRequisition; natural_size: PGtkRequisition); cdecl; external; procedure gtk_cell_renderer_get_preferred_width(ACellRenderer: PGtkCellRenderer; widget: PGtkWidget; minimum_size: Pgint; natural_size: Pgint); cdecl; external; procedure gtk_cell_renderer_get_preferred_width_for_height(ACellRenderer: PGtkCellRenderer; widget: PGtkWidget; height: gint; minimum_width: Pgint; natural_width: Pgint); cdecl; external; -procedure gtk_cell_renderer_get_size(ACellRenderer: PGtkCellRenderer; widget: PGtkWidget; cell_area: PGdkRectangle; x_offset: Pgint; y_offset: Pgint; width: Pgint; height: Pgint); cdecl; external; procedure gtk_cell_renderer_render(ACellRenderer: PGtkCellRenderer; cr: Pcairo_t; widget: PGtkWidget; background_area: PGdkRectangle; cell_area: PGdkRectangle; flags: TGtkCellRendererState); cdecl; external; procedure gtk_cell_renderer_set_alignment(ACellRenderer: PGtkCellRenderer; xalign: gfloat; yalign: gfloat); cdecl; external; procedure gtk_cell_renderer_set_fixed_size(ACellRenderer: PGtkCellRenderer; width: gint; height: gint); cdecl; external; @@ -13323,8 +13262,6 @@ procedure gtk_font_chooser_set_font(AFontChooser: PGtkFontChooser; fontname: Pgc procedure gtk_font_chooser_set_font_desc(AFontChooser: PGtkFontChooser; font_desc: PPangoFontDescription); cdecl; external; procedure gtk_font_chooser_set_preview_text(AFontChooser: PGtkFontChooser; text: Pgchar); cdecl; external; procedure gtk_font_chooser_set_show_preview_entry(AFontChooser: PGtkFontChooser; show_preview_entry: gboolean); cdecl; external; -procedure gtk_font_selection_dialog_set_preview_text(AFontSelectionDialog: PGtkFontSelectionDialog; text: Pgchar); cdecl; external; -procedure gtk_font_selection_set_preview_text(AFontSelection: PGtkFontSelection; text: Pgchar); cdecl; external; procedure gtk_frame_get_label_align(AFrame: PGtkFrame; xalign: Pgfloat; yalign: Pgfloat); cdecl; external; procedure gtk_frame_set_label(AFrame: PGtkFrame; label_: Pgchar); cdecl; external; procedure gtk_frame_set_label_align(AFrame: PGtkFrame; xalign: gfloat; yalign: gfloat); cdecl; external; @@ -13471,9 +13408,7 @@ procedure gtk_label_set_width_chars(ALabel: PGtkLabel; n_chars: gint); cdecl; ex procedure gtk_layout_get_size(ALayout: PGtkLayout; width: Pguint; height: Pguint); cdecl; external; procedure gtk_layout_move(ALayout: PGtkLayout; child_widget: PGtkWidget; x: gint; y: gint); cdecl; external; procedure gtk_layout_put(ALayout: PGtkLayout; child_widget: PGtkWidget; x: gint; y: gint); cdecl; external; -procedure gtk_layout_set_hadjustment(ALayout: PGtkLayout; adjustment: PGtkAdjustment); cdecl; external; procedure gtk_layout_set_size(ALayout: PGtkLayout; width: guint; height: guint); cdecl; external; -procedure gtk_layout_set_vadjustment(ALayout: PGtkLayout; adjustment: PGtkAdjustment); cdecl; external; procedure gtk_link_button_set_uri(ALinkButton: PGtkLinkButton; uri: Pgchar); cdecl; external; procedure gtk_link_button_set_visited(ALinkButton: PGtkLinkButton; visited: gboolean); cdecl; external; procedure gtk_list_store_append(AListStore: PGtkListStore; iter: PGtkTreeIter); cdecl; external; @@ -13508,7 +13443,6 @@ procedure gtk_menu_item_select(AMenuItem: PGtkMenuItem); cdecl; external; procedure gtk_menu_item_set_accel_path(AMenuItem: PGtkMenuItem; accel_path: Pgchar); cdecl; external; procedure gtk_menu_item_set_label(AMenuItem: PGtkMenuItem; label_: Pgchar); cdecl; external; procedure gtk_menu_item_set_reserve_indicator(AMenuItem: PGtkMenuItem; reserve: gboolean); cdecl; external; -procedure gtk_menu_item_set_right_justified(AMenuItem: PGtkMenuItem; right_justified: gboolean); cdecl; external; procedure gtk_menu_item_set_submenu(AMenuItem: PGtkMenuItem; submenu: PGtkWidget); cdecl; external; procedure gtk_menu_item_set_use_underline(AMenuItem: PGtkMenuItem; setting: gboolean); cdecl; external; procedure gtk_menu_item_toggle_size_allocate(AMenuItem: PGtkMenuItem; allocation: gint); cdecl; external; @@ -14184,7 +14118,6 @@ procedure gtk_tree_view_set_enable_tree_lines(ATreeView: PGtkTreeView; enabled: procedure gtk_tree_view_set_expander_column(ATreeView: PGtkTreeView; column: PGtkTreeViewColumn); cdecl; external; procedure gtk_tree_view_set_fixed_height_mode(ATreeView: PGtkTreeView; enable: gboolean); cdecl; external; procedure gtk_tree_view_set_grid_lines(ATreeView: PGtkTreeView; grid_lines: TGtkTreeViewGridLines); cdecl; external; -procedure gtk_tree_view_set_hadjustment(ATreeView: PGtkTreeView; adjustment: PGtkAdjustment); cdecl; external; procedure gtk_tree_view_set_headers_clickable(ATreeView: PGtkTreeView; setting: gboolean); cdecl; external; procedure gtk_tree_view_set_headers_visible(ATreeView: PGtkTreeView; headers_visible: gboolean); cdecl; external; procedure gtk_tree_view_set_hover_expand(ATreeView: PGtkTreeView; expand: gboolean); cdecl; external; @@ -14203,7 +14136,6 @@ procedure gtk_tree_view_set_show_expanders(ATreeView: PGtkTreeView; enabled: gbo procedure gtk_tree_view_set_tooltip_cell(ATreeView: PGtkTreeView; tooltip: PGtkTooltip; path: PGtkTreePath; column: PGtkTreeViewColumn; cell: PGtkCellRenderer); cdecl; external; procedure gtk_tree_view_set_tooltip_column(ATreeView: PGtkTreeView; column: gint); cdecl; external; procedure gtk_tree_view_set_tooltip_row(ATreeView: PGtkTreeView; tooltip: PGtkTooltip; path: PGtkTreePath); cdecl; external; -procedure gtk_tree_view_set_vadjustment(ATreeView: PGtkTreeView; adjustment: PGtkAdjustment); cdecl; external; procedure gtk_tree_view_unset_rows_drag_dest(ATreeView: PGtkTreeView); cdecl; external; procedure gtk_tree_view_unset_rows_drag_source(ATreeView: PGtkTreeView); cdecl; external; procedure gtk_ui_manager_add_ui(AUIManager: PGtkUIManager; merge_id: guint; path: Pgchar; name: Pgchar; action: Pgchar; type_: TGtkUIManagerItemType; top: gboolean); cdecl; external; @@ -14212,9 +14144,7 @@ procedure gtk_ui_manager_insert_action_group(AUIManager: PGtkUIManager; action_g procedure gtk_ui_manager_remove_action_group(AUIManager: PGtkUIManager; action_group: PGtkActionGroup); cdecl; external; procedure gtk_ui_manager_remove_ui(AUIManager: PGtkUIManager; merge_id: guint); cdecl; external; procedure gtk_ui_manager_set_add_tearoffs(AUIManager: PGtkUIManager; add_tearoffs: gboolean); cdecl; external; -procedure gtk_viewport_set_hadjustment(AViewport: PGtkViewport; adjustment: PGtkAdjustment); cdecl; external; procedure gtk_viewport_set_shadow_type(AViewport: PGtkViewport; type_: TGtkShadowType); cdecl; external; -procedure gtk_viewport_set_vadjustment(AViewport: PGtkViewport; adjustment: PGtkAdjustment); cdecl; external; procedure gtk_widget_add_accelerator(AWidget: PGtkWidget; accel_signal: Pgchar; accel_group: PGtkAccelGroup; accel_key: guint; accel_mods: TGdkModifierType; accel_flags: TGtkAccelFlags); cdecl; external; procedure gtk_widget_add_device_events(AWidget: PGtkWidget; device: PGdkDevice; events: TGdkEventMask); cdecl; external; procedure gtk_widget_add_events(AWidget: PGtkWidget; events: gint); cdecl; external; @@ -14232,14 +14162,12 @@ procedure gtk_widget_ensure_style(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_error_bell(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_freeze_child_notify(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_get_allocation(AWidget: PGtkWidget; allocation: PGtkAllocation); cdecl; external; -procedure gtk_widget_get_child_requisition(AWidget: PGtkWidget; requisition: PGtkRequisition); cdecl; external; procedure gtk_widget_get_pointer(AWidget: PGtkWidget; x: Pgint; y: Pgint); cdecl; external; procedure gtk_widget_get_preferred_height(AWidget: PGtkWidget; minimum_height: Pgint; natural_height: Pgint); cdecl; external; procedure gtk_widget_get_preferred_height_for_width(AWidget: PGtkWidget; width: gint; minimum_height: Pgint; natural_height: Pgint); cdecl; external; procedure gtk_widget_get_preferred_size(AWidget: PGtkWidget; minimum_size: PGtkRequisition; natural_size: PGtkRequisition); cdecl; external; procedure gtk_widget_get_preferred_width(AWidget: PGtkWidget; minimum_width: Pgint; natural_width: Pgint); cdecl; external; procedure gtk_widget_get_preferred_width_for_height(AWidget: PGtkWidget; height: gint; minimum_width: Pgint; natural_width: Pgint); cdecl; external; -procedure gtk_widget_get_requisition(AWidget: PGtkWidget; requisition: PGtkRequisition); cdecl; external; procedure gtk_widget_get_size_request(AWidget: PGtkWidget; width: Pgint; height: Pgint); cdecl; external; procedure gtk_widget_grab_default(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_grab_focus(AWidget: PGtkWidget); cdecl; external; @@ -14248,7 +14176,6 @@ procedure gtk_widget_input_shape_combine_region(AWidget: PGtkWidget; region: Pca procedure gtk_widget_map(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_modify_base(AWidget: PGtkWidget; state: TGtkStateType; color: PGdkColor); cdecl; external; procedure gtk_widget_modify_bg(AWidget: PGtkWidget; state: TGtkStateType; color: PGdkColor); cdecl; external; -procedure gtk_widget_modify_cursor(AWidget: PGtkWidget; primary: PGdkColor; secondary: PGdkColor); cdecl; external; procedure gtk_widget_modify_fg(AWidget: PGtkWidget; state: TGtkStateType; color: PGdkColor); cdecl; external; procedure gtk_widget_modify_font(AWidget: PGtkWidget; font_desc: PPangoFontDescription); cdecl; external; procedure gtk_widget_modify_style(AWidget: PGtkWidget; style: PGtkRcStyle); cdecl; external; @@ -14315,7 +14242,6 @@ procedure gtk_widget_set_receives_default(AWidget: PGtkWidget; receives_default: procedure gtk_widget_set_redraw_on_allocate(AWidget: PGtkWidget; redraw_on_allocate: gboolean); cdecl; external; procedure gtk_widget_set_sensitive(AWidget: PGtkWidget; sensitive: gboolean); cdecl; external; procedure gtk_widget_set_size_request(AWidget: PGtkWidget; width: gint; height: gint); cdecl; external; -procedure gtk_widget_set_state(AWidget: PGtkWidget; state: TGtkStateType); cdecl; external; procedure gtk_widget_set_state_flags(AWidget: PGtkWidget; flags: TGtkStateFlags; clear: gboolean); cdecl; external; procedure gtk_widget_set_style(AWidget: PGtkWidget; style: PGtkStyle); cdecl; external; procedure gtk_widget_set_support_multidevice(AWidget: PGtkWidget; support_multidevice: gboolean); cdecl; external; @@ -14333,8 +14259,6 @@ procedure gtk_widget_show(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_show_all(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_show_now(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_size_allocate(AWidget: PGtkWidget; allocation: PGtkAllocation); cdecl; external; -procedure gtk_widget_size_request(AWidget: PGtkWidget; requisition: PGtkRequisition); cdecl; external; -procedure gtk_widget_style_attach(AWidget: PGtkWidget); cdecl; external; procedure gtk_widget_style_get(AWidget: PGtkWidget; first_property_name: Pgchar; args: array of const); cdecl; external; procedure gtk_widget_style_get_property(AWidget: PGtkWidget; property_name: Pgchar; value: PGValue); cdecl; external; procedure gtk_widget_style_get_valist(AWidget: PGtkWidget; first_property_name: Pgchar; var_args: Tva_list); cdecl; external; @@ -14760,11 +14684,6 @@ begin Result := Gtk3.gtk_widget_get_can_focus(@self); end; -procedure TGtkWidget.get_child_requisition(requisition: PGtkRequisition); cdecl; -begin - Gtk3.gtk_widget_get_child_requisition(@self, requisition); -end; - function TGtkWidget.get_child_visible: gboolean; cdecl; begin Result := Gtk3.gtk_widget_get_child_visible(@self); @@ -14940,11 +14859,6 @@ begin Result := Gtk3.gtk_widget_get_request_mode(@self); end; -procedure TGtkWidget.get_requisition(requisition: PGtkRequisition); cdecl; -begin - Gtk3.gtk_widget_get_requisition(@self, requisition); -end; - function TGtkWidget.get_root_window: PGdkWindow; cdecl; begin Result := Gtk3.gtk_widget_get_root_window(@self); @@ -14970,11 +14884,6 @@ begin Gtk3.gtk_widget_get_size_request(@self, width, height); end; -function TGtkWidget.get_state: TGtkStateType; cdecl; -begin - Result := Gtk3.gtk_widget_get_state(@self); -end; - function TGtkWidget.get_state_flags: TGtkStateFlags; cdecl; begin Result := Gtk3.gtk_widget_get_state_flags(@self); @@ -15185,11 +15094,6 @@ begin Gtk3.gtk_widget_modify_bg(@self, state, color); end; -procedure TGtkWidget.modify_cursor(primary: PGdkColor; secondary: PGdkColor); cdecl; -begin - Gtk3.gtk_widget_modify_cursor(@self, primary, secondary); -end; - procedure TGtkWidget.modify_fg(state: TGtkStateType; color: PGdkColor); cdecl; begin Gtk3.gtk_widget_modify_fg(@self, state, color); @@ -15290,11 +15194,6 @@ begin Gtk3.gtk_widget_remove_mnemonic_label(@self, label_); end; -function TGtkWidget.render_icon(stock_id: Pgchar; size: gint; detail: Pgchar): PGdkPixbuf; cdecl; -begin - Result := Gtk3.gtk_widget_render_icon(@self, stock_id, size, detail); -end; - function TGtkWidget.render_icon_pixbuf(stock_id: Pgchar; size: gint): PGdkPixbuf; cdecl; begin Result := Gtk3.gtk_widget_render_icon_pixbuf(@self, stock_id, size); @@ -15480,11 +15379,6 @@ begin Gtk3.gtk_widget_set_size_request(@self, width, height); end; -procedure TGtkWidget.set_state(state: TGtkStateType); cdecl; -begin - Gtk3.gtk_widget_set_state(@self, state); -end; - procedure TGtkWidget.set_state_flags(flags: TGtkStateFlags; clear: gboolean); cdecl; begin Gtk3.gtk_widget_set_state_flags(@self, flags, clear); @@ -15570,16 +15464,6 @@ begin Gtk3.gtk_widget_size_allocate(@self, allocation); end; -procedure TGtkWidget.size_request(requisition: PGtkRequisition); cdecl; -begin - Gtk3.gtk_widget_size_request(@self, requisition); -end; - -procedure TGtkWidget.style_attach; cdecl; -begin - Gtk3.gtk_widget_style_attach(@self); -end; - procedure TGtkWidget.style_get_property(property_name: Pgchar; value: PGValue); cdecl; begin Gtk3.gtk_widget_style_get_property(@self, property_name, value); @@ -18240,16 +18124,6 @@ begin Result := Gtk3.gtk_assistant_get_page_complete(@self, page); end; -function TGtkAssistant.get_page_header_image(page: PGtkWidget): PGdkPixbuf; cdecl; -begin - Result := Gtk3.gtk_assistant_get_page_header_image(@self, page); -end; - -function TGtkAssistant.get_page_side_image(page: PGtkWidget): PGdkPixbuf; cdecl; -begin - Result := Gtk3.gtk_assistant_get_page_side_image(@self, page); -end; - function TGtkAssistant.get_page_title(page: PGtkWidget): Pgchar; cdecl; begin Result := Gtk3.gtk_assistant_get_page_title(@self, page); @@ -18305,16 +18179,6 @@ begin Gtk3.gtk_assistant_set_page_complete(@self, page, complete); end; -procedure TGtkAssistant.set_page_header_image(page: PGtkWidget; pixbuf: PGdkPixbuf); cdecl; -begin - Gtk3.gtk_assistant_set_page_header_image(@self, page, pixbuf); -end; - -procedure TGtkAssistant.set_page_side_image(page: PGtkWidget; pixbuf: PGdkPixbuf); cdecl; -begin - Gtk3.gtk_assistant_set_page_side_image(@self, page, pixbuf); -end; - procedure TGtkAssistant.set_page_title(page: PGtkWidget; title: Pgchar); cdecl; begin Gtk3.gtk_assistant_set_page_title(@self, page, title); @@ -18335,11 +18199,6 @@ begin Result := Gtk3.gtk_binding_set_activate(@self, keyval, modifiers, object_); end; -procedure TGtkBindingSet.add_path(path_type: TGtkPathType; path_pattern: Pgchar; priority: TGtkPathPriorityType); cdecl; -begin - Gtk3.gtk_binding_set_add_path(@self, path_type, path_pattern, priority); -end; - function TGtkBindingSet.by_class(object_class: gpointer): PGtkBindingSet; cdecl; begin Result := Gtk3.gtk_binding_set_by_class(object_class); @@ -18485,11 +18344,6 @@ begin Gtk3.gtk_button_clicked(@self); end; -procedure TGtkButton.enter; cdecl; -begin - Gtk3.gtk_button_enter(@self); -end; - procedure TGtkButton.get_alignment(xalign: Pgfloat; yalign: Pgfloat); cdecl; begin Gtk3.gtk_button_get_alignment(@self, xalign, yalign); @@ -18535,21 +18389,6 @@ begin Result := Gtk3.gtk_button_get_use_underline(@self); end; -procedure TGtkButton.leave; cdecl; -begin - Gtk3.gtk_button_leave(@self); -end; - -procedure TGtkButton.pressed; cdecl; -begin - Gtk3.gtk_button_pressed(@self); -end; - -procedure TGtkButton.released; cdecl; -begin - Gtk3.gtk_button_released(@self); -end; - procedure TGtkButton.set_alignment(xalign: gfloat; yalign: gfloat); cdecl; begin Gtk3.gtk_button_set_alignment(@self, xalign, yalign); @@ -18760,11 +18599,6 @@ begin Result := Gtk3.gtk_cell_renderer_get_sensitive(@self); end; -procedure TGtkCellRenderer.get_size(widget: PGtkWidget; cell_area: PGdkRectangle; x_offset: Pgint; y_offset: Pgint; width: Pgint; height: Pgint); cdecl; -begin - Gtk3.gtk_cell_renderer_get_size(@self, widget, cell_area, x_offset, y_offset, width, height); -end; - function TGtkCellRenderer.get_state(widget: PGtkWidget; cell_state: TGtkCellRendererState): TGtkStateFlags; cdecl; begin Result := Gtk3.gtk_cell_renderer_get_state(@self, widget, cell_state); @@ -19465,11 +19299,6 @@ begin Result := Gtk3.gtk_cell_view_get_model(@self); end; -function TGtkCellView.get_size_of_row(path: PGtkTreePath; requisition: PGtkRequisition): gboolean; cdecl; -begin - Result := Gtk3.gtk_cell_view_get_size_of_row(@self, path, requisition); -end; - procedure TGtkCellView.set_background_color(color: PGdkColor); cdecl; begin Gtk3.gtk_cell_view_set_background_color(@self, color); @@ -19605,11 +19434,6 @@ begin Result := Gtk3.gtk_menu_item_get_reserve_indicator(@self); end; -function TGtkMenuItem.get_right_justified: gboolean; cdecl; -begin - Result := Gtk3.gtk_menu_item_get_right_justified(@self); -end; - function TGtkMenuItem.get_submenu: PGtkWidget; cdecl; begin Result := Gtk3.gtk_menu_item_get_submenu(@self); @@ -19640,11 +19464,6 @@ begin Gtk3.gtk_menu_item_set_reserve_indicator(@self, reserve); end; -procedure TGtkMenuItem.set_right_justified(right_justified: gboolean); cdecl; -begin - Gtk3.gtk_menu_item_set_right_justified(@self, right_justified); -end; - procedure TGtkMenuItem.set_submenu(submenu: PGtkWidget); cdecl; begin Gtk3.gtk_menu_item_set_submenu(@self, submenu); @@ -22120,106 +21939,6 @@ begin Result := Gtk3.gtk_font_selection_new(); end; -function TGtkFontSelection.get_face: PPangoFontFace; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_face(@self); -end; - -function TGtkFontSelection.get_face_list: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_face_list(@self); -end; - -function TGtkFontSelection.get_family: PPangoFontFamily; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_family(@self); -end; - -function TGtkFontSelection.get_family_list: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_family_list(@self); -end; - -function TGtkFontSelection.get_font_name: Pgchar; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_font_name(@self); -end; - -function TGtkFontSelection.get_preview_entry: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_preview_entry(@self); -end; - -function TGtkFontSelection.get_preview_text: Pgchar; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_preview_text(@self); -end; - -function TGtkFontSelection.get_size: gint; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_size(@self); -end; - -function TGtkFontSelection.get_size_entry: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_size_entry(@self); -end; - -function TGtkFontSelection.get_size_list: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_get_size_list(@self); -end; - -function TGtkFontSelection.set_font_name(fontname: Pgchar): gboolean; cdecl; -begin - Result := Gtk3.gtk_font_selection_set_font_name(@self, fontname); -end; - -procedure TGtkFontSelection.set_preview_text(text: Pgchar); cdecl; -begin - Gtk3.gtk_font_selection_set_preview_text(@self, text); -end; - -function TGtkFontSelectionDialog.new(title: Pgchar): PGtkFontSelectionDialog; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_new(title); -end; - -function TGtkFontSelectionDialog.get_cancel_button: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_get_cancel_button(@self); -end; - -function TGtkFontSelectionDialog.get_font_name: Pgchar; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_get_font_name(@self); -end; - -function TGtkFontSelectionDialog.get_font_selection: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_get_font_selection(@self); -end; - -function TGtkFontSelectionDialog.get_ok_button: PGtkWidget; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_get_ok_button(@self); -end; - -function TGtkFontSelectionDialog.get_preview_text: Pgchar; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_get_preview_text(@self); -end; - -function TGtkFontSelectionDialog.set_font_name(fontname: Pgchar): gboolean; cdecl; -begin - Result := Gtk3.gtk_font_selection_dialog_set_font_name(@self, fontname); -end; - -procedure TGtkFontSelectionDialog.set_preview_text(text: Pgchar); cdecl; -begin - Gtk3.gtk_font_selection_dialog_set_preview_text(@self, text); -end; - function TGtkGradient.new_linear(x0: gdouble; y0: gdouble; x1: gdouble; y1: gdouble): PGtkGradient; cdecl; begin Result := Gtk3.gtk_gradient_new_linear(x0, y0, x1, y1); @@ -22425,16 +22144,6 @@ begin Gtk3.gtk_grid_set_row_spacing(@self, spacing); end; -function TGtkHBox.new(homogeneous: gboolean; spacing: gint): PGtkHBox; cdecl; -begin - Result := Gtk3.gtk_hbox_new(homogeneous, spacing); -end; - -function TGtkHButtonBox.new: PGtkHButtonBox; cdecl; -begin - Result := Gtk3.gtk_hbutton_box_new(); -end; - function TGtkPaned.new(orientation: TGtkOrientation): PGtkPaned; cdecl; begin Result := Gtk3.gtk_paned_new(orientation); @@ -22485,11 +22194,6 @@ begin Gtk3.gtk_paned_set_position(@self, position); end; -function TGtkHPaned.new: PGtkHPaned; cdecl; -begin - Result := Gtk3.gtk_hpaned_new(); -end; - function TGtkHSV.new: PGtkHSV; cdecl; begin Result := Gtk3.gtk_hsv_new(); @@ -22725,36 +22429,16 @@ begin Gtk3.gtk_scale_set_value_pos(@self, pos); end; -function TGtkHScale.new(adjustment: PGtkAdjustment): PGtkHScale; cdecl; -begin - Result := Gtk3.gtk_hscale_new(adjustment); -end; - -function TGtkHScale.new_with_range(min: gdouble; max: gdouble; step: gdouble): PGtkHScale; cdecl; -begin - Result := Gtk3.gtk_hscale_new_with_range(min, max, step); -end; - function TGtkScrollbar.new(orientation: TGtkOrientation; adjustment: PGtkAdjustment): PGtkScrollbar; cdecl; begin Result := Gtk3.gtk_scrollbar_new(orientation, adjustment); end; -function TGtkHScrollbar.new(adjustment: PGtkAdjustment): PGtkHScrollbar; cdecl; -begin - Result := Gtk3.gtk_hscrollbar_new(adjustment); -end; - function TGtkSeparator.new(orientation: TGtkOrientation): PGtkSeparator; cdecl; begin Result := Gtk3.gtk_separator_new(orientation); end; -function TGtkHSeparator.new: PGtkHSeparator; cdecl; -begin - Result := Gtk3.gtk_hseparator_new(); -end; - function TGtkHandleBox.new: PGtkHandleBox; cdecl; begin Result := Gtk3.gtk_handle_box_new(); @@ -22940,11 +22624,6 @@ begin Result := Gtk3.gtk_icon_set_ref(@self); end; -function TGtkIconSet.render_icon(style: PGtkStyle; direction: TGtkTextDirection; state: TGtkStateType; size: gint; widget: PGtkWidget; detail: Pgchar): PGdkPixbuf; cdecl; -begin - Result := Gtk3.gtk_icon_set_render_icon(@self, style, direction, state, size, widget, detail); -end; - function TGtkIconSet.render_icon_pixbuf(context: PGtkStyleContext; size: gint): PGdkPixbuf; cdecl; begin Result := Gtk3.gtk_icon_set_render_icon_pixbuf(@self, context, size); @@ -23015,11 +22694,6 @@ begin Result := Gtk3.gtk_icon_info_load_symbolic_for_context(@self, context, was_symbolic); end; -function TGtkIconInfo.load_symbolic_for_style(style: PGtkStyle; state: TGtkStateType; was_symbolic: Pgboolean): PGdkPixbuf; cdecl; -begin - Result := Gtk3.gtk_icon_info_load_symbolic_for_style(@self, style, state, was_symbolic); -end; - procedure TGtkIconInfo.set_raw_coordinates(raw_coordinates: gboolean); cdecl; begin Gtk3.gtk_icon_info_set_raw_coordinates(@self, raw_coordinates); @@ -23350,11 +23024,6 @@ begin Result := Gtk3.gtk_style_context_state_is_running(@self, state, progress); end; -function TGtkStyle.new: PGtkStyle; cdecl; -begin - Result := Gtk3.gtk_style_new(); -end; - procedure TGtkStyle.apply_default_background(cr: Pcairo_t; window: PGdkWindow; state_type: TGtkStateType; x: gint; y: gint; width: gint; height: gint); cdecl; begin Gtk3.gtk_style_apply_default_background(@self, cr, window, state_type, x, y, width, height); @@ -24200,21 +23869,11 @@ begin Result := Gtk3.gtk_layout_get_bin_window(@self); end; -function TGtkLayout.get_hadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_layout_get_hadjustment(@self); -end; - procedure TGtkLayout.get_size(width: Pguint; height: Pguint); cdecl; begin Gtk3.gtk_layout_get_size(@self, width, height); end; -function TGtkLayout.get_vadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_layout_get_vadjustment(@self); -end; - procedure TGtkLayout.move(child_widget: PGtkWidget; x: gint; y: gint); cdecl; begin Gtk3.gtk_layout_move(@self, child_widget, x, y); @@ -24225,21 +23884,11 @@ begin Gtk3.gtk_layout_put(@self, child_widget, x, y); end; -procedure TGtkLayout.set_hadjustment(adjustment: PGtkAdjustment); cdecl; -begin - Gtk3.gtk_layout_set_hadjustment(@self, adjustment); -end; - procedure TGtkLayout.set_size(width: guint; height: guint); cdecl; begin Gtk3.gtk_layout_set_size(@self, width, height); end; -procedure TGtkLayout.set_vadjustment(adjustment: PGtkAdjustment); cdecl; -begin - Gtk3.gtk_layout_set_vadjustment(@self, adjustment); -end; - function TGtkLinkButton.new(uri: Pgchar): PGtkLinkButton; cdecl; begin Result := Gtk3.gtk_link_button_new(uri); @@ -26190,16 +25839,6 @@ begin Result := Gtk3.gtk_rc_property_parse_requisition(pspec, gstring, property_value); end; -function TGtkRcStyle.new: PGtkRcStyle; cdecl; -begin - Result := Gtk3.gtk_rc_style_new(); -end; - -function TGtkRcStyle.copy: PGtkRcStyle; cdecl; -begin - Result := Gtk3.gtk_rc_style_copy(@self); -end; - procedure TGtkRecentChooser.add_filter(filter: PGtkRecentFilter); cdecl; begin Gtk3.gtk_recent_chooser_add_filter(@self, filter); @@ -27965,11 +27604,6 @@ begin Result := Gtk3.gtk_text_view_get_editable(@self); end; -function TGtkTextView.get_hadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_text_view_get_hadjustment(@self); -end; - function TGtkTextView.get_indent: gint; cdecl; begin Result := Gtk3.gtk_text_view_get_indent(@self); @@ -28040,11 +27674,6 @@ begin Result := Gtk3.gtk_text_view_get_tabs(@self); end; -function TGtkTextView.get_vadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_text_view_get_vadjustment(@self); -end; - procedure TGtkTextView.get_visible_rect(visible_rect: PGdkRectangle); cdecl; begin Gtk3.gtk_text_view_get_visible_rect(@self, visible_rect); @@ -28475,11 +28104,6 @@ begin Result := Gtk3.gtk_tool_palette_get_group_position(@self, group); end; -function TGtkToolPalette.get_hadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_tool_palette_get_hadjustment(@self); -end; - function TGtkToolPalette.get_icon_size: gint; cdecl; begin Result := Gtk3.gtk_tool_palette_get_icon_size(@self); @@ -28490,11 +28114,6 @@ begin Result := Gtk3.gtk_tool_palette_get_style(@self); end; -function TGtkToolPalette.get_vadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_tool_palette_get_vadjustment(@self); -end; - procedure TGtkToolPalette.set_drag_source(targets: TGtkToolPaletteDragTargets); cdecl; begin Gtk3.gtk_tool_palette_set_drag_source(@self, targets); @@ -29025,11 +28644,6 @@ begin Result := Gtk3.gtk_tree_view_get_grid_lines(@self); end; -function TGtkTreeView.get_hadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_tree_view_get_hadjustment(@self); -end; - function TGtkTreeView.get_headers_clickable: gboolean; cdecl; begin Result := Gtk3.gtk_tree_view_get_headers_clickable(@self); @@ -29125,11 +28739,6 @@ begin Result := Gtk3.gtk_tree_view_get_tooltip_context(@self, x, y, keyboard_tip, model, path, iter); end; -function TGtkTreeView.get_vadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_tree_view_get_vadjustment(@self); -end; - function TGtkTreeView.get_visible_range(start_path: PPGtkTreePath; end_path: PPGtkTreePath): gboolean; cdecl; begin Result := Gtk3.gtk_tree_view_get_visible_range(@self, start_path, end_path); @@ -29245,11 +28854,6 @@ begin Gtk3.gtk_tree_view_set_grid_lines(@self, grid_lines); end; -procedure TGtkTreeView.set_hadjustment(adjustment: PGtkAdjustment); cdecl; -begin - Gtk3.gtk_tree_view_set_hadjustment(@self, adjustment); -end; - procedure TGtkTreeView.set_headers_clickable(setting: gboolean); cdecl; begin Gtk3.gtk_tree_view_set_headers_clickable(@self, setting); @@ -29340,11 +28944,6 @@ begin Gtk3.gtk_tree_view_set_tooltip_row(@self, tooltip, path); end; -procedure TGtkTreeView.set_vadjustment(adjustment: PGtkAdjustment); cdecl; -begin - Gtk3.gtk_tree_view_set_vadjustment(@self, adjustment); -end; - procedure TGtkTreeView.unset_rows_drag_dest; cdecl; begin Gtk3.gtk_tree_view_unset_rows_drag_dest(@self); @@ -29775,41 +29374,6 @@ begin Gtk3.gtk_ui_manager_set_add_tearoffs(@self, add_tearoffs); end; -function TGtkVBox.new(homogeneous: gboolean; spacing: gint): PGtkVBox; cdecl; -begin - Result := Gtk3.gtk_vbox_new(homogeneous, spacing); -end; - -function TGtkVButtonBox.new: PGtkVButtonBox; cdecl; -begin - Result := Gtk3.gtk_vbutton_box_new(); -end; - -function TGtkVPaned.new: PGtkVPaned; cdecl; -begin - Result := Gtk3.gtk_vpaned_new(); -end; - -function TGtkVScale.new(adjustment: PGtkAdjustment): PGtkVScale; cdecl; -begin - Result := Gtk3.gtk_vscale_new(adjustment); -end; - -function TGtkVScale.new_with_range(min: gdouble; max: gdouble; step: gdouble): PGtkVScale; cdecl; -begin - Result := Gtk3.gtk_vscale_new_with_range(min, max, step); -end; - -function TGtkVScrollbar.new(adjustment: PGtkAdjustment): PGtkVScrollbar; cdecl; -begin - Result := Gtk3.gtk_vscrollbar_new(adjustment); -end; - -function TGtkVSeparator.new: PGtkVSeparator; cdecl; -begin - Result := Gtk3.gtk_vseparator_new(); -end; - function TGtkViewport.new(hadjustment: PGtkAdjustment; vadjustment: PGtkAdjustment): PGtkViewport; cdecl; begin Result := Gtk3.gtk_viewport_new(hadjustment, vadjustment); @@ -29820,41 +29384,21 @@ begin Result := Gtk3.gtk_viewport_get_bin_window(@self); end; -function TGtkViewport.get_hadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_viewport_get_hadjustment(@self); -end; - function TGtkViewport.get_shadow_type: TGtkShadowType; cdecl; begin Result := Gtk3.gtk_viewport_get_shadow_type(@self); end; -function TGtkViewport.get_vadjustment: PGtkAdjustment; cdecl; -begin - Result := Gtk3.gtk_viewport_get_vadjustment(@self); -end; - function TGtkViewport.get_view_window: PGdkWindow; cdecl; begin Result := Gtk3.gtk_viewport_get_view_window(@self); end; -procedure TGtkViewport.set_hadjustment(adjustment: PGtkAdjustment); cdecl; -begin - Gtk3.gtk_viewport_set_hadjustment(@self, adjustment); -end; - procedure TGtkViewport.set_shadow_type(type_: TGtkShadowType); cdecl; begin Gtk3.gtk_viewport_set_shadow_type(@self, type_); end; -procedure TGtkViewport.set_vadjustment(adjustment: PGtkAdjustment); cdecl; -begin - Gtk3.gtk_viewport_set_vadjustment(@self, adjustment); -end; - function TGtkVolumeButton.new: PGtkVolumeButton; cdecl; begin Result := Gtk3.gtk_volume_button_new(); diff --git a/bindings/gtk3/soup2_4.pas b/bindings/gtk3/soup2_4.pas index efc0b5ced..bbc2c48b0 100644 --- a/bindings/gtk3/soup2_4.pas +++ b/bindings/gtk3/soup2_4.pas @@ -981,8 +981,8 @@ 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 attach(session: PSoupSession); cdecl; inline; - procedure detach(session: PSoupSession); cdecl; inline; + + 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; @@ -1069,7 +1069,7 @@ type procedure foreach(func: TSoupMessageHeadersForeachFunc; user_data: gpointer); cdecl; inline; procedure free; cdecl; inline; procedure free_ranges(ranges: PSoupRange); cdecl; inline; - function get(name: Pgchar): Pgchar; 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; @@ -1466,7 +1466,6 @@ function soup_message_get_http_version(AMessage: PSoupMessage): TSoupHTTPVersion function soup_message_get_https_status(AMessage: PSoupMessage; certificate: PPGTlsCertificate; errors: PGTlsCertificateFlags): gboolean; cdecl; external; function soup_message_get_type: TGType; cdecl; external; function soup_message_get_uri(AMessage: PSoupMessage): PSoupURI; cdecl; external; -function soup_message_headers_get(AMessageHeaders: PSoupMessageHeaders; name: Pgchar): Pgchar; cdecl; external; function soup_message_headers_get_content_disposition(AMessageHeaders: PSoupMessageHeaders; disposition: PPgchar; params: PPGHashTable): gboolean; cdecl; external; function soup_message_headers_get_content_length(AMessageHeaders: PSoupMessageHeaders): gint64; cdecl; external; function soup_message_headers_get_content_range(AMessageHeaders: PSoupMessageHeaders; start: Pgint64; end_: Pgint64; total_length: Pgint64): gboolean; cdecl; external; @@ -1607,8 +1606,6 @@ procedure soup_header_free_list(list: PGSList); cdecl; external; procedure soup_header_free_param_list(param_list: PGHashTable); cdecl; external; procedure soup_header_g_string_append_param(string_: PGString; name: Pgchar; value: Pgchar); cdecl; external; procedure soup_header_g_string_append_param_quoted(string_: PGString; name: Pgchar; value: Pgchar); cdecl; external; -procedure soup_logger_attach(ALogger: PSoupLogger; session: PSoupSession); cdecl; external; -procedure soup_logger_detach(ALogger: PSoupLogger; session: PSoupSession); cdecl; external; procedure soup_logger_set_printer(ALogger: PSoupLogger; printer: TSoupLoggerPrinter; printer_data: gpointer; destroy_: TGDestroyNotify); cdecl; external; procedure soup_logger_set_request_filter(ALogger: PSoupLogger; request_filter: TSoupLoggerFilter; filter_data: gpointer; destroy_: TGDestroyNotify); cdecl; external; procedure soup_logger_set_response_filter(ALogger: PSoupLogger; response_filter: TSoupLoggerFilter; filter_data: gpointer; destroy_: TGDestroyNotify); cdecl; external; @@ -2666,16 +2663,6 @@ begin Result := Soup2_4.soup_logger_new(level, max_body_size); end; -procedure TSoupLogger.attach(session: PSoupSession); cdecl; -begin - Soup2_4.soup_logger_attach(@self, session); -end; - -procedure TSoupLogger.detach(session: PSoupSession); cdecl; -begin - Soup2_4.soup_logger_detach(@self, session); -end; - procedure TSoupLogger.set_printer(printer: TSoupLoggerPrinter; printer_data: gpointer; destroy_: TGDestroyNotify); cdecl; begin Soup2_4.soup_logger_set_printer(@self, printer, printer_data, destroy_); @@ -2871,11 +2858,6 @@ begin Soup2_4.soup_message_headers_free_ranges(@self, ranges); end; -function TSoupMessageHeaders.get(name: Pgchar): Pgchar; cdecl; -begin - Result := Soup2_4.soup_message_headers_get(@self, name); -end; - function TSoupMessageHeaders.get_content_disposition(disposition: PPgchar; params: PPGHashTable): gboolean; cdecl; begin Result := Soup2_4.soup_message_headers_get_content_disposition(@self, disposition, params); diff --git a/bindings/gtk3/webkit3.pas b/bindings/gtk3/webkit3.pas index 70e535c66..a65963ebd 100644 --- a/bindings/gtk3/webkit3.pas +++ b/bindings/gtk3/webkit3.pas @@ -3906,9 +3906,6 @@ type PPWebKitWebFrame = ^PWebKitWebFrame; PWebKitWebFrame = ^TWebKitWebFrame; - PPWebKitWebView = ^PWebKitWebView; - PWebKitWebView = ^TWebKitWebView; - PPWebKitWebDataSource = ^PWebKitWebDataSource; PWebKitWebDataSource = ^TWebKitWebDataSource; @@ -3918,11 +3915,14 @@ type PPWebKitSecurityOrigin = ^PWebKitSecurityOrigin; PWebKitSecurityOrigin = ^TWebKitSecurityOrigin; + PPWebKitWebView = ^PWebKitWebView; + PWebKitWebView = ^TWebKitWebView; + PPWebKitWebFramePrivate = ^PWebKitWebFramePrivate; PWebKitWebFramePrivate = ^TWebKitWebFramePrivate; TWebKitWebFrame = object(TGObject) priv: PWebKitWebFramePrivate; - function new(web_view: PWebKitWebView): PWebKitWebFrame; cdecl; inline; static; + function find_frame(name: Pgchar): PWebKitWebFrame; cdecl; inline; function get_data_source: PWebKitWebDataSource; cdecl; inline; function get_global_context: TJSGlobalContextRef; cdecl; inline; @@ -4137,7 +4137,7 @@ type PWebKitWebBackForwardListPrivate = ^TWebKitWebBackForwardListPrivate; TWebKitWebBackForwardList = object(TGObject) priv: PWebKitWebBackForwardListPrivate; - function new_with_web_view(web_view: PWebKitWebView): PWebKitWebBackForwardList; cdecl; inline; static; + procedure add_item(history_item: TWebKitWebHistoryItem); cdecl; inline; procedure clear; cdecl; inline; function contains_item(history_item: TWebKitWebHistoryItem): gboolean; cdecl; inline; @@ -4216,13 +4216,13 @@ type procedure go_forward; cdecl; inline; function go_to_back_forward_item(item: PWebKitWebHistoryItem): gboolean; cdecl; inline; function has_selection: gboolean; cdecl; inline; - procedure load_html_string(content: Pgchar; base_uri: Pgchar); cdecl; inline; + procedure load_request(request: PWebKitNetworkRequest); cdecl; inline; procedure load_string(content: Pgchar; mime_type: Pgchar; encoding: Pgchar; base_uri: Pgchar); cdecl; inline; procedure load_uri(uri: Pgchar); cdecl; inline; function mark_text_matches(string_: Pgchar; case_sensitive: gboolean; limit: guint): guint; cdecl; inline; procedure move_cursor(step: TGtkMovementStep; count: gint); cdecl; inline; - procedure open(uri: Pgchar); cdecl; inline; + procedure paste_clipboard; cdecl; inline; procedure redo; cdecl; inline; procedure reload; cdecl; inline; @@ -5795,7 +5795,6 @@ function webkit_web_back_forward_list_get_forward_list_with_limit(AWebBackForwar function webkit_web_back_forward_list_get_limit(AWebBackForwardList: PWebKitWebBackForwardList): gint; cdecl; external; function webkit_web_back_forward_list_get_nth_item(AWebBackForwardList: PWebKitWebBackForwardList; index: gint): TWebKitWebHistoryItem; cdecl; external; function webkit_web_back_forward_list_get_type: TGType; cdecl; external; -function webkit_web_back_forward_list_new_with_web_view(web_view: PWebKitWebView): PWebKitWebBackForwardList; cdecl; external; function webkit_web_data_source_get_data(AWebDataSource: PWebKitWebDataSource): PGString; cdecl; external; function webkit_web_data_source_get_encoding(AWebDataSource: PWebKitWebDataSource): Pgchar; cdecl; external; function webkit_web_data_source_get_initial_request(AWebDataSource: PWebKitWebDataSource): PWebKitNetworkRequest; cdecl; external; @@ -5830,7 +5829,6 @@ function webkit_web_frame_get_type: TGType; cdecl; external; function webkit_web_frame_get_uri(AWebFrame: PWebKitWebFrame): Pgchar; cdecl; external; function webkit_web_frame_get_vertical_scrollbar_policy(AWebFrame: PWebKitWebFrame): TGtkPolicyType; cdecl; external; function webkit_web_frame_get_web_view(AWebFrame: PWebKitWebFrame): PWebKitWebView; cdecl; external; -function webkit_web_frame_new(web_view: PWebKitWebView): PWebKitWebFrame; cdecl; external; function webkit_web_frame_print_full(AWebFrame: PWebKitWebFrame; operation: PGtkPrintOperation; action: TGtkPrintOperationAction): TGtkPrintOperationResult; cdecl; external; function webkit_web_history_item_copy(AWebHistoryItem: PWebKitWebHistoryItem): PWebKitWebHistoryItem; cdecl; external; function webkit_web_history_item_get_alternate_title(AWebHistoryItem: PWebKitWebHistoryItem): Pgchar; cdecl; external; @@ -6461,12 +6459,10 @@ procedure webkit_web_view_execute_script(AWebView: PWebKitWebView; script: Pgcha procedure webkit_web_view_go_back(AWebView: PWebKitWebView); cdecl; external; procedure webkit_web_view_go_back_or_forward(AWebView: PWebKitWebView; steps: gint); cdecl; external; procedure webkit_web_view_go_forward(AWebView: PWebKitWebView); cdecl; external; -procedure webkit_web_view_load_html_string(AWebView: PWebKitWebView; content: Pgchar; base_uri: Pgchar); cdecl; external; procedure webkit_web_view_load_request(AWebView: PWebKitWebView; request: PWebKitNetworkRequest); cdecl; external; procedure webkit_web_view_load_string(AWebView: PWebKitWebView; content: Pgchar; mime_type: Pgchar; encoding: Pgchar; base_uri: Pgchar); cdecl; external; procedure webkit_web_view_load_uri(AWebView: PWebKitWebView; uri: Pgchar); cdecl; external; procedure webkit_web_view_move_cursor(AWebView: PWebKitWebView; step: TGtkMovementStep; count: gint); cdecl; external; -procedure webkit_web_view_open(AWebView: PWebKitWebView; uri: Pgchar); cdecl; external; procedure webkit_web_view_paste_clipboard(AWebView: PWebKitWebView); cdecl; external; procedure webkit_web_view_redo(AWebView: PWebKitWebView); cdecl; external; procedure webkit_web_view_reload(AWebView: PWebKitWebView); cdecl; external; @@ -13523,11 +13519,6 @@ begin WebKit3.webkit_network_response_set_uri(@self, uri); end; -function TWebKitWebFrame.new(web_view: PWebKitWebView): PWebKitWebFrame; cdecl; -begin - Result := WebKit3.webkit_web_frame_new(web_view); -end; - function TWebKitWebFrame.find_frame(name: Pgchar): PWebKitWebFrame; cdecl; begin Result := WebKit3.webkit_web_frame_find_frame(@self, name); @@ -13703,11 +13694,6 @@ begin WebKit3.webkit_viewport_attributes_recompute(@self); end; -function TWebKitWebBackForwardList.new_with_web_view(web_view: PWebKitWebView): PWebKitWebBackForwardList; cdecl; -begin - Result := WebKit3.webkit_web_back_forward_list_new_with_web_view(web_view); -end; - function TWebKitWebHistoryItem.new: PWebKitWebHistoryItem; cdecl; begin Result := WebKit3.webkit_web_history_item_new(); @@ -14053,11 +14039,6 @@ begin Result := WebKit3.webkit_web_view_has_selection(@self); end; -procedure TWebKitWebView.load_html_string(content: Pgchar; base_uri: Pgchar); cdecl; -begin - WebKit3.webkit_web_view_load_html_string(@self, content, base_uri); -end; - procedure TWebKitWebView.load_request(request: PWebKitNetworkRequest); cdecl; begin WebKit3.webkit_web_view_load_request(@self, request); @@ -14083,11 +14064,6 @@ begin WebKit3.webkit_web_view_move_cursor(@self, step, count); end; -procedure TWebKitWebView.open(uri: Pgchar); cdecl; -begin - WebKit3.webkit_web_view_open(@self, uri); -end; - procedure TWebKitWebView.paste_clipboard; cdecl; begin WebKit3.webkit_web_view_paste_clipboard(@self);