From 29f8fee2b020ebfd25909114c783477220e32c97 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 31 Mar 2021 11:32:58 +0200 Subject: Sync Gtk4 fake package with gtk4-4.2.0 --- fake_packages/Gtk4.pm | 200 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 158 insertions(+), 42 deletions(-) (limited to 'fake_packages') diff --git a/fake_packages/Gtk4.pm b/fake_packages/Gtk4.pm index 95aad02..723b650 100644 --- a/fake_packages/Gtk4.pm +++ b/fake_packages/Gtk4.pm @@ -123,6 +123,9 @@ sub get_n_color_stops { } sub get_start { } sub new { } +package Gsk4::NglRenderer; +sub new { } + package Gsk4::OpacityNode; sub get_child { } sub get_opacity { } @@ -363,6 +366,7 @@ sub editable_delegate_get_property { } sub editable_delegate_set_property { } sub editable_install_properties { } sub enable_exceptions { } +sub enumerate_printers { } sub file_chooser_error_quark { } sub get_binary_age { } sub get_debug_flags { } @@ -374,9 +378,9 @@ sub get_micro_version { } sub get_minor_version { } sub hsv_to_rgb { } sub icon_theme_error_quark { } -sub im_modules_init { } sub is_initialized { } sub native_get_for_surface { } +sub ordering_from_cmpfunc { } sub paper_size_get_default { } sub paper_size_get_paper_sizes { } sub param_spec_expression { } @@ -4256,7 +4260,6 @@ sub KEY_zerosubscript { } sub KEY_zerosuperior { } sub KEY_zstroke { } sub MODIFIER_MASK { } -sub PIXBUF_FEATURES_H { } sub PIXBUF_MAJOR { } sub PIXBUF_MICRO { } sub PIXBUF_MINOR { } @@ -4438,6 +4441,7 @@ sub get_scroll_lock_state { } sub get_seat { } sub get_source { } sub get_surface_at_position { } +sub get_timestamp { } sub get_vendor_id { } sub has_bidi_layouts { } @@ -4730,17 +4734,36 @@ sub new_from_stream { } sub new_from_stream_async { } sub new_from_stream_finish { } +package Gtk4::Gdk::PixbufAnimationClass; +sub get_iter { } +sub get_size { } +sub get_static_image { } +sub is_static_image { } +sub parent_class { } + package Gtk4::Gdk::PixbufAnimationIter; sub advance { } sub get_delay_time { } sub get_pixbuf { } sub on_currently_loading_frame { } +package Gtk4::Gdk::PixbufAnimationIterClass; +sub advance { } +sub get_delay_time { } +sub get_pixbuf { } +sub on_currently_loading_frame { } +sub parent_class { } + package Gtk4::Gdk::PixbufError; sub quark { } package Gtk4::Gdk::PixbufFormat; sub copy { } +sub description { } +sub disabled { } +sub domain { } +sub extensions { } +sub flags { } sub free { } sub get_description { } sub get_extensions { } @@ -4751,7 +4774,11 @@ sub is_disabled { } sub is_save_option_supported { } sub is_scalable { } sub is_writable { } +sub license { } +sub mime_types { } +sub name { } sub set_disabled { } +sub signature { } package Gtk4::Gdk::PixbufLoader; sub close { } @@ -4772,6 +4799,33 @@ sub closed { } sub parent_class { } sub size_prepared { } +package Gtk4::Gdk::PixbufModule; +sub _reserved1 { } +sub _reserved2 { } +sub _reserved3 { } +sub _reserved4 { } +sub begin_load { } +sub info { } +sub is_save_option_supported { } +sub load { } +sub load_animation { } +sub load_increment { } +sub load_xpm_data { } +sub module { } +sub module_name { } +sub module_path { } +sub save { } +sub save_to_callback { } +sub stop_load { } + +package Gtk4::Gdk::PixbufModulePattern; +sub mask { } +sub prefix { } +sub relevance { } + +package Gtk4::Gdk::PixbufNonAnim; +sub new { } + package Gtk4::Gdk::PixbufSimpleAnim; sub add_frame { } sub get_loop { } @@ -4794,6 +4848,7 @@ sub get_anchor_hints { } sub get_anchor_rect { } sub get_offset { } sub get_rect_anchor { } +sub get_shadow_width { } sub get_surface_anchor { } sub new { } sub ref { } @@ -4801,6 +4856,7 @@ sub set_anchor_hints { } sub set_anchor_rect { } sub set_offset { } sub set_rect_anchor { } +sub set_shadow_width { } sub set_surface_anchor { } sub unref { } @@ -5161,10 +5217,12 @@ sub focus_in { } sub focus_out { } sub get_preedit_string { } sub get_surrounding { } +sub get_surrounding_with_selection { } sub reset { } sub set_client_widget { } sub set_cursor_location { } sub set_surrounding { } +sub set_surrounding_with_selection { } sub set_use_preedit { } package Gtk4::IMContextClass; @@ -5175,6 +5233,7 @@ sub focus_in { } sub focus_out { } sub get_preedit_string { } sub get_surrounding { } +sub get_surrounding_with_selection { } sub parent_class { } sub preedit_changed { } sub preedit_end { } @@ -5184,6 +5243,7 @@ sub retrieve_surrounding { } sub set_client_widget { } sub set_cursor_location { } sub set_surrounding { } +sub set_surrounding_with_selection { } sub set_use_preedit { } package Gtk4::IMContextSimple; @@ -5217,6 +5277,7 @@ sub get_icon_sizes { } sub get_resource_path { } sub get_search_path { } sub get_theme_name { } +sub has_gicon { } sub has_icon { } sub lookup_by_gicon { } sub lookup_icon { } @@ -5775,6 +5836,9 @@ package Gtk4::ObjectExpression; sub get_object { } sub new { } +package Gtk4::Ordering; +sub from_cmpfunc { } + package Gtk4::Orientable; sub get_orientation { } sub set_orientation { } @@ -5853,6 +5917,13 @@ sub to_file { } sub to_gvariant { } sub to_key_file { } +package Gtk4::PageSetupUnixDialog; +sub get_page_setup { } +sub get_print_settings { } +sub new { } +sub set_page_setup { } +sub set_print_settings { } + package Gtk4::Paned; sub get_end_child { } sub get_position { } @@ -5990,6 +6061,39 @@ sub set_cairo_context { } package Gtk4::PrintError; sub quark { } +package Gtk4::PrintJob; +sub get_collate { } +sub get_n_up { } +sub get_n_up_layout { } +sub get_num_copies { } +sub get_page_ranges { } +sub get_page_set { } +sub get_pages { } +sub get_printer { } +sub get_reverse { } +sub get_rotate { } +sub get_scale { } +sub get_settings { } +sub get_status { } +sub get_surface { } +sub get_title { } +sub get_track_print_status { } +sub new { } +sub send { } +sub set_collate { } +sub set_n_up { } +sub set_n_up_layout { } +sub set_num_copies { } +sub set_page_ranges { } +sub set_page_set { } +sub set_pages { } +sub set_reverse { } +sub set_rotate { } +sub set_scale { } +sub set_source_fd { } +sub set_source_file { } +sub set_track_print_status { } + package Gtk4::PrintOperation; sub cancel { } sub draw_page_finish { } @@ -6128,6 +6232,51 @@ sub to_gvariant { } sub to_key_file { } sub unset { } +package Gtk4::PrintUnixDialog; +sub add_custom_tab { } +sub get_current_page { } +sub get_embed_page_setup { } +sub get_has_selection { } +sub get_manual_capabilities { } +sub get_page_setup { } +sub get_page_setup_set { } +sub get_selected_printer { } +sub get_settings { } +sub get_support_selection { } +sub new { } +sub set_current_page { } +sub set_embed_page_setup { } +sub set_has_selection { } +sub set_manual_capabilities { } +sub set_page_setup { } +sub set_settings { } +sub set_support_selection { } + +package Gtk4::Printer; +sub accepts_pdf { } +sub accepts_ps { } +sub compare { } +sub get_backend { } +sub get_capabilities { } +sub get_default_page_size { } +sub get_description { } +sub get_hard_margins { } +sub get_hard_margins_for_paper_size { } +sub get_icon_name { } +sub get_job_count { } +sub get_location { } +sub get_name { } +sub get_state_message { } +sub has_details { } +sub is_accepting_jobs { } +sub is_active { } +sub is_default { } +sub is_paused { } +sub is_virtual { } +sub list_papers { } +sub new { } +sub request_details { } + package Gtk4::ProgressBar; sub get_ellipsize { } sub get_fraction { } @@ -6420,10 +6569,6 @@ sub get_default { } sub get_for_display { } sub reset_property { } -package Gtk4::SettingsValue; -sub origin { } -sub value { } - package Gtk4::Shortcut; sub get_action { } sub get_arguments { } @@ -7799,6 +7944,7 @@ sub get_destroy_with_parent { } sub get_focus { } sub get_focus_visible { } sub get_group { } +sub get_handle_menubar_accel { } sub get_hide_on_close { } sub get_icon_name { } sub get_mnemonics_visible { } @@ -7829,6 +7975,7 @@ sub set_destroy_with_parent { } sub set_display { } sub set_focus { } sub set_focus_visible { } +sub set_handle_menubar_accel { } sub set_hide_on_close { } sub set_icon_name { } sub set_interactive_debugging { } @@ -7885,16 +8032,15 @@ sub ANALYSIS_FLAG_CENTERED_BASELINE { } sub ANALYSIS_FLAG_IS_ELLIPSIS { } sub ANALYSIS_FLAG_NEED_HYPHEN { } sub ATTR_INDEX_FROM_TEXT_BEGINNING { } -sub ENGINE_TYPE_LANG { } -sub ENGINE_TYPE_SHAPE { } +sub ATTR_INDEX_TO_TEXT_END { } sub GLYPH_EMPTY { } sub GLYPH_INVALID_INPUT { } sub GLYPH_UNKNOWN_FLAG { } -sub RENDER_TYPE_NONE { } sub SCALE { } -sub UNKNOWN_GLYPH_HEIGHT { } -sub UNKNOWN_GLYPH_WIDTH { } -sub VERSION_MIN_REQUIRED { } +sub VERSION_MAJOR { } +sub VERSION_MICRO { } +sub VERSION_MINOR { } +sub VERSION_STRING { } sub attr_allow_breaks_new { } sub attr_background_alpha_new { } sub attr_background_new { } @@ -8132,35 +8278,11 @@ sub set { } sub to_bytes { } sub unref { } -package Pango::EngineClass; -sub parent_class { } - -package Pango::EngineInfo; -sub engine_type { } -sub id { } -sub n_scripts { } -sub render_type { } -sub scripts { } - -package Pango::EngineLangClass; -sub parent_class { } -sub script_break { } - -package Pango::EngineScriptInfo; -sub langs { } -sub script { } - -package Pango::EngineShapeClass; -sub covers { } -sub parent_class { } -sub script_shape { } - package Pango::Font; our @ISA = qw(GObject::Object); sub describe { } sub describe_with_absolute_size { } sub descriptions_free { } -sub find_shaper { } sub get_coverage { } sub get_face { } sub get_features { } @@ -8379,12 +8501,6 @@ sub get_for_script { } sub get_for_script_and_width { } sub to_rotation { } -package Pango::IncludedModule; -sub create { } -sub exit { } -sub init { } -sub list { } - package Pango::Item; sub analysis { } sub apply_attrs { } -- cgit v1.2.1