diff options
Diffstat (limited to 'fake_packages')
-rw-r--r-- | fake_packages/Gtk4.pm | 211 |
1 files changed, 121 insertions, 90 deletions
diff --git a/fake_packages/Gtk4.pm b/fake_packages/Gtk4.pm index 33c383d..64f468f 100644 --- a/fake_packages/Gtk4.pm +++ b/fake_packages/Gtk4.pm @@ -493,12 +493,13 @@ sub widget_set { } sub widget_unset { } package Gtk4::ActionBar; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub get_center_widget { } sub get_revealed { } sub new { } sub pack_end { } sub pack_start { } +sub remove { } sub set_center_widget { } sub set_revealed { } @@ -635,12 +636,14 @@ sub padding { } sub parent_class { } package Gtk4::AspectFrame; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); +sub get_child { } sub get_obey_child { } sub get_ratio { } sub get_xalign { } sub get_yalign { } sub new { } +sub set_child { } sub set_obey_child { } sub set_ratio { } sub set_xalign { } @@ -677,14 +680,6 @@ package Gtk4::AssistantPage; our @ISA = qw(GObject::Object); sub get_child { } -package Gtk4::Bin; -our @ISA = qw(Gtk4::Container); -sub get_child { } - -package Gtk4::BinClass; -sub padding { } -sub parent_class { } - package Gtk4::BinLayout; our @ISA = qw(Gtk4::LayoutManager); sub new { } @@ -705,12 +700,15 @@ sub right { } sub top { } package Gtk4::Box; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); +sub append { } sub get_baseline_position { } sub get_homogeneous { } sub get_spacing { } sub insert_child_after { } sub new { } +sub prepend { } +sub remove { } sub reorder_child_after { } sub set_baseline_position { } sub set_homogeneous { } @@ -814,7 +812,8 @@ sub get_type_from_function { } sub get_type_from_name { } package Gtk4::Button; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); +sub get_child { } sub get_has_frame { } sub get_icon_name { } sub get_label { } @@ -822,6 +821,7 @@ sub get_use_underline { } sub new_from_icon_name { } sub new_with_label { } sub new_with_mnemonic { } +sub set_child { } sub set_has_frame { } sub set_icon_name { } sub set_label { } @@ -1202,11 +1202,12 @@ our @ISA = qw(Gtk4::Widget); sub new { } package Gtk4::ComboBox; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub get_active { } sub get_active_id { } sub get_active_iter { } sub get_button_sensitivity { } +sub get_child { } sub get_entry_text_column { } sub get_has_entry { } sub get_id_column { } @@ -1224,6 +1225,7 @@ sub set_active { } sub set_active_id { } sub set_active_iter { } sub set_button_sensitivity { } +sub set_child { } sub set_entry_text_column { } sub set_id_column { } sub set_model { } @@ -1313,20 +1315,6 @@ sub parent_class { } package Gtk4::ConstraintVflParserError; sub quark { } -package Gtk4::Container; -our @ISA = qw(Gtk4::Widget); -sub add { } -sub child_type { } -sub forall { } -sub Gtk4::Container::foreach { } -sub get_children { } -sub remove { } - -package Gtk4::ContainerAccessibleClass; -sub add_gtk { } -sub parent_class { } -sub remove_gtk { } - package Gtk4::ContainerCellAccessible; sub add_child { } sub get_children { } @@ -1336,14 +1324,6 @@ sub remove_child { } package Gtk4::ContainerCellAccessibleClass; sub parent_class { } -package Gtk4::ContainerClass; -sub add { } -sub child_type { } -sub forall { } -sub padding { } -sub parent_class { } -sub remove { } - package Gtk4::CssLocation; sub bytes { } sub chars { } @@ -1371,6 +1351,10 @@ sub ref { } sub to_string { } sub unref { } +package Gtk4::CustomLayout; +our @ISA = qw(Gtk4::LayoutManager); +sub new { } + package Gtk4::CustomLayoutClass; sub parent_class { } @@ -1386,7 +1370,7 @@ sub parent_class { } sub response { } package Gtk4::DragIcon; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub create_widget_for_value { } sub get_child { } sub get_for_drag { } @@ -1419,6 +1403,7 @@ sub set_draw_func { } package Gtk4::DrawingAreaClass; sub padding { } sub parent_class { } +sub resize { } package Gtk4::DropControllerMotion; our @ISA = qw(Gtk4::EventController); @@ -1662,7 +1647,8 @@ sub new { } sub set_flags { } package Gtk4::Expander; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); +sub get_child { } sub get_expanded { } sub get_label { } sub get_label_widget { } @@ -1671,6 +1657,7 @@ sub get_use_markup { } sub get_use_underline { } sub new { } sub new_with_mnemonic { } +sub set_child { } sub set_expanded { } sub set_label { } sub set_label_widget { } @@ -1776,12 +1763,13 @@ package Gtk4::FilterListModelClass; sub parent_class { } package Gtk4::Fixed; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub get_child_position { } sub get_child_transform { } sub move { } sub new { } sub put { } +sub remove { } sub set_child_transform { } package Gtk4::FixedClass; @@ -1814,7 +1802,7 @@ package Gtk4::FlattenListModelClass; sub parent_class { } package Gtk4::FlowBox; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub bind_model { } sub get_activate_on_single_click { } sub get_child_at_index { } @@ -1830,6 +1818,7 @@ sub insert { } sub invalidate_filter { } sub invalidate_sort { } sub new { } +sub remove { } sub select_all { } sub select_child { } sub selected_foreach { } @@ -1851,11 +1840,13 @@ package Gtk4::FlowBoxAccessibleClass; sub parent_class { } package Gtk4::FlowBoxChild; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub changed { } +sub get_child { } sub get_index { } sub is_selected { } sub new { } +sub set_child { } package Gtk4::FlowBoxChildAccessibleClass; sub parent_class { } @@ -1918,11 +1909,13 @@ our @ISA = qw(Gtk4::Widget); sub new { } package Gtk4::Frame; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); +sub get_child { } sub get_label { } sub get_label_align { } sub get_label_widget { } sub new { } +sub set_child { } sub set_label { } sub set_label_align { } sub set_label_widget { } @@ -4479,9 +4472,8 @@ sub get_default { } sub get_default_group { } sub get_default_seat { } sub get_event { } -sub get_monitor { } sub get_monitor_at_surface { } -sub get_n_monitors { } +sub get_monitors { } sub get_name { } sub get_primary_clipboard { } sub get_setting { } @@ -4498,7 +4490,6 @@ sub open { } sub peek_event { } sub put_event { } sub supports_input_shapes { } -sub supports_shapes { } sub sync { } package Gtk4::Gdk::DisplayManager; @@ -4885,8 +4876,6 @@ sub get_slaves { } package Gtk4::Gdk::Surface; our @ISA = qw(GObject::Object); sub beep { } -sub begin_move_drag { } -sub begin_resize_drag { } sub create_cairo_context { } sub create_gl_context { } sub create_similar_surface { } @@ -4905,7 +4894,6 @@ sub get_support_multidevice { } sub get_width { } sub hide { } sub is_destroyed { } -sub is_viewable { } sub new_popup { } sub new_toplevel { } sub queue_expose { } @@ -4933,6 +4921,8 @@ sub axes { } sub time { } package Gtk4::Gdk::Toplevel; +sub begin_move { } +sub begin_resize { } sub focus { } sub get_state { } sub inhibit_system_shortcuts { } @@ -4990,7 +4980,6 @@ sub x11_get_server_time { } sub x11_get_xatom_by_name_for_display { } sub x11_get_xatom_name_for_display { } sub x11_lookup_xdisplay { } -sub x11_register_standard_event_type { } sub x11_set_sm_client_id { } package Gtk4::GdkX11::X11Display; @@ -5067,9 +5056,7 @@ sub ungroup { } package Gtk4::GestureClick; our @ISA = qw(Gtk4::GestureSingle); -sub get_area { } sub new { } -sub set_area { } package Gtk4::GestureDrag; our @ISA = qw(Gtk4::GestureSingle); @@ -5124,7 +5111,7 @@ sub get_scale_delta { } sub new { } package Gtk4::Grid; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub attach { } sub attach_next_to { } sub get_baseline_row { } @@ -5139,6 +5126,7 @@ sub insert_next_to { } sub insert_row { } sub new { } sub query_child { } +sub remove { } sub remove_column { } sub remove_row { } sub set_baseline_row { } @@ -5186,22 +5174,17 @@ package Gtk4::GridLayoutClass; sub parent_class { } package Gtk4::HeaderBar; -our @ISA = qw(Gtk4::Container); -sub get_custom_title { } +our @ISA = qw(Gtk4::Widget); sub get_decoration_layout { } -sub get_has_subtitle { } sub get_show_title_buttons { } -sub get_subtitle { } -sub get_title { } +sub get_title_widget { } sub new { } sub pack_end { } sub pack_start { } -sub set_custom_title { } +sub remove { } sub set_decoration_layout { } -sub set_has_subtitle { } sub set_show_title_buttons { } -sub set_subtitle { } -sub set_title { } +sub set_title_widget { } package Gtk4::IMContext; our @ISA = qw(GObject::Object); @@ -5282,7 +5265,7 @@ package Gtk4::IconThemeError; sub quark { } package Gtk4::IconView; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub create_drag_icon { } sub enable_model_drag_dest { } sub enable_model_drag_source { } @@ -5376,10 +5359,13 @@ package Gtk4::ImageCellAccessibleClass; sub parent_class { } package Gtk4::InfoBar; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); +sub add_child { } sub get_message_type { } sub get_revealed { } sub get_show_close_button { } +sub remove_action_widget { } +sub remove_child { } sub set_message_type { } sub set_revealed { } sub set_show_close_button { } @@ -5504,7 +5490,7 @@ package Gtk4::LinkButtonAccessibleClass; sub parent_class { } package Gtk4::ListBox; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub bind_model { } sub drag_highlight_row { } sub drag_unhighlight_row { } @@ -5522,6 +5508,7 @@ sub invalidate_headers { } sub invalidate_sort { } sub new { } sub prepend { } +sub remove { } sub select_all { } sub select_row { } sub selected_foreach { } @@ -5540,15 +5527,17 @@ package Gtk4::ListBoxAccessibleClass; sub parent_class { } package Gtk4::ListBoxRow; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub changed { } sub get_activatable { } +sub get_child { } sub get_header { } sub get_index { } sub get_selectable { } sub is_selected { } sub new { } sub set_activatable { } +sub set_child { } sub set_header { } sub set_selectable { } @@ -5734,6 +5723,7 @@ sub check_resize { } sub get_for_surface { } sub get_renderer { } sub get_surface { } +sub get_surface_transform { } package Gtk4::NativeDialog; our @ISA = qw(GObject::Object); @@ -5743,7 +5733,6 @@ sub get_title { } sub get_transient_for { } sub get_visible { } sub hide { } -sub run { } sub set_modal { } sub set_title { } sub set_transient_for { } @@ -5775,7 +5764,7 @@ package Gtk4::NoSelectionClass; sub parent_class { } package Gtk4::Notebook; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub append_page { } sub append_page_menu { } sub detach_tab { } @@ -5849,11 +5838,14 @@ package Gtk4::OrientableIface; sub base_iface { } package Gtk4::Overlay; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub add_overlay { } +sub get_child { } sub get_clip_overlay { } sub get_measure_overlay { } sub new { } +sub remove_overlay { } +sub set_child { } sub set_clip_overlay { } sub set_measure_overlay { } @@ -5905,17 +5897,23 @@ sub to_gvariant { } sub to_key_file { } package Gtk4::Paned; -our @ISA = qw(Gtk4::Container); -sub add1 { } -sub add2 { } -sub get_child1 { } -sub get_child2 { } +our @ISA = qw(Gtk4::Widget); +sub get_end_child { } sub get_position { } +sub get_resize_end_child { } +sub get_resize_start_child { } +sub get_shrink_end_child { } +sub get_shrink_start_child { } +sub get_start_child { } sub get_wide_handle { } sub new { } -sub pack1 { } -sub pack2 { } +sub set_end_child { } sub set_position { } +sub set_resize_end_child { } +sub set_resize_start_child { } +sub set_shrink_end_child { } +sub set_shrink_start_child { } +sub set_start_child { } sub set_wide_handle { } package Gtk4::PanedAccessibleClass; @@ -5982,8 +5980,9 @@ package Gtk4::PictureClass; sub parent_class { } package Gtk4::Popover; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub get_autohide { } +sub get_child { } sub get_has_arrow { } sub get_mnemonics_visible { } sub get_pointing_to { } @@ -5992,6 +5991,7 @@ sub new { } sub popdown { } sub popup { } sub set_autohide { } +sub set_child { } sub set_default_widget { } sub set_has_arrow { } sub set_mnemonics_visible { } @@ -6320,12 +6320,14 @@ sub new { } sub width { } package Gtk4::Revealer; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); +sub get_child { } sub get_child_revealed { } sub get_reveal_child { } sub get_transition_duration { } sub get_transition_type { } sub new { } +sub set_child { } sub set_reveal_child { } sub set_transition_duration { } sub set_transition_type { } @@ -6406,8 +6408,9 @@ package Gtk4::ScrollbarAccessibleClass; sub parent_class { } package Gtk4::ScrolledWindow; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub get_capture_button_press { } +sub get_child { } sub get_hadjustment { } sub get_has_frame { } sub get_hscrollbar { } @@ -6425,6 +6428,7 @@ sub get_vadjustment { } sub get_vscrollbar { } sub new { } sub set_capture_button_press { } +sub set_child { } sub set_hadjustment { } sub set_has_frame { } sub set_kinetic_scrolling { } @@ -6444,12 +6448,14 @@ package Gtk4::ScrolledWindowAccessibleClass; sub parent_class { } package Gtk4::SearchBar; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub connect_entry { } +sub get_child { } sub get_key_capture_widget { } sub get_search_mode { } sub get_show_close_button { } sub new { } +sub set_child { } sub set_key_capture_widget { } sub set_search_mode { } sub set_show_close_button { } @@ -6692,7 +6698,7 @@ package Gtk4::SpinnerAccessibleClass; sub parent_class { } package Gtk4::Stack; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub add_named { } sub add_titled { } sub get_child_by_name { } @@ -6708,6 +6714,7 @@ sub get_vhomogeneous { } sub get_visible_child { } sub get_visible_child_name { } sub new { } +sub remove { } sub set_hhomogeneous { } sub set_homogeneous { } sub set_interpolate_size { } @@ -6764,7 +6771,6 @@ sub get_padding { } sub get_scale { } sub get_state { } sub has_class { } -sub list_classes { } sub lookup_color { } sub remove_class { } sub remove_provider { } @@ -7062,7 +7068,7 @@ sub new { } sub remove { } package Gtk4::TextView; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub add_child_at_anchor { } sub add_overlay { } sub backward_display_line { } @@ -7105,6 +7111,7 @@ sub move_visually { } sub new { } sub new_with_buffer { } sub place_cursor_onscreen { } +sub remove { } sub reset_cursor_blink { } sub reset_im_context { } sub scroll_mark_onscreen { } @@ -7417,7 +7424,7 @@ sub padding { } sub parent_class { } package Gtk4::TreeView; -our @ISA = qw(Gtk4::Container); +our @ISA = qw(Gtk4::Widget); sub append_column { } sub collapse_all { } sub collapse_row { } @@ -7585,9 +7592,11 @@ package Gtk4::VideoClass; sub parent_class { } package Gtk4::Viewport; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); +sub get_child { } sub get_scroll_to_focus { } sub new { } +sub set_child { } sub set_scroll_to_focus { } package Gtk4::VolumeButton; @@ -7613,8 +7622,6 @@ sub compute_transform { } sub contains { } sub create_pango_context { } sub create_pango_layout { } -sub destroy { } -sub destroyed { } sub device_is_shadowed { } sub drag_check_threshold { } sub error_bell { } @@ -7637,6 +7644,7 @@ sub get_display { } sub get_first_child { } sub get_focus_child { } sub get_focus_on_click { } +sub get_focusable { } sub get_font_map { } sub get_font_options { } sub get_frame_clock { } @@ -7685,7 +7693,6 @@ sub grab_focus { } sub has_css_class { } sub has_default { } sub has_focus { } -sub has_grab { } sub has_visible_focus { } sub hide { } sub in_destruction { } @@ -7714,7 +7721,6 @@ sub remove_controller { } sub remove_css_class { } sub remove_mnemonic_label { } sub remove_tick_callback { } -sub reset_style { } sub set_can_focus { } sub set_can_target { } sub set_child_visible { } @@ -7725,6 +7731,7 @@ sub set_default_direction { } sub set_direction { } sub set_focus_child { } sub set_focus_on_click { } +sub set_focusable { } sub set_font_map { } sub set_font_options { } sub set_halign { } @@ -7774,7 +7781,6 @@ sub bind_template_child_full { } sub compute_expand { } sub contains { } sub css_changed { } -sub destroy { } sub direction_changed { } sub focus { } sub get_accessible { } @@ -7784,6 +7790,7 @@ sub get_request_mode { } sub grab_focus { } sub grab_notify { } sub hide { } +sub install_action { } sub install_property_action { } sub keynav_failed { } sub map { } @@ -7809,6 +7816,7 @@ sub show { } sub size_allocate { } sub snapshot { } sub state_flags_changed { } +sub system_setting_changed { } sub unmap { } sub unrealize { } sub unroot { } @@ -7823,11 +7831,13 @@ package Gtk4::WidgetPaintableClass; sub parent_class { } package Gtk4::Window; -our @ISA = qw(Gtk4::Bin); +our @ISA = qw(Gtk4::Widget); sub close { } +sub destroy { } sub fullscreen { } sub fullscreen_on_monitor { } sub get_application { } +sub get_child { } sub get_decorated { } sub get_default_icon_name { } sub get_default_size { } @@ -7858,6 +7868,7 @@ sub present_with_time { } sub resize { } sub set_application { } sub set_auto_startup_notification { } +sub set_child { } sub set_decorated { } sub set_default_icon_name { } sub set_default_size { } @@ -7867,7 +7878,6 @@ sub set_destroy_with_parent { } sub set_display { } sub set_focus { } sub set_focus_visible { } -sub set_has_user_ref_count { } sub set_hide_on_close { } sub set_icon_name { } sub set_interactive_debugging { } @@ -7894,6 +7904,18 @@ sub keys_changed { } sub padding { } sub parent_class { } +package Gtk4::WindowControls; +our @ISA = qw(Gtk4::Widget); +sub get_decoration_layout { } +sub get_empty { } +sub get_side { } +sub new { } +sub set_decoration_layout { } +sub set_side { } + +package Gtk4::WindowControlsClass; +sub parent_class { } + package Gtk4::WindowGroup; our @ISA = qw(GObject::Object); sub add_window { } @@ -7904,6 +7926,15 @@ sub remove_window { } package Gtk4::WindowGroupClass; sub parent_class { } +package Gtk4::WindowHandle; +our @ISA = qw(Gtk4::Widget); +sub get_child { } +sub new { } +sub set_child { } + +package Gtk4::WindowHandleClass; +sub parent_class { } + package Pango; sub ANALYSIS_FLAG_CENTERED_BASELINE { } sub ANALYSIS_FLAG_IS_ELLIPSIS { } |