From b891ca115e590d0d5d77afa5ccbf9cfe492c365c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 30 Jan 2012 17:48:10 +0000 Subject: update fake packages --- fake_packages/Gtk2.pm | 99 ++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 94 insertions(+), 5 deletions(-) (limited to 'fake_packages/Gtk2.pm') diff --git a/fake_packages/Gtk2.pm b/fake_packages/Gtk2.pm index 3900ee4..a2992ea 100644 --- a/fake_packages/Gtk2.pm +++ b/fake_packages/Gtk2.pm @@ -12,6 +12,7 @@ sub alternative_dialog_button_order { my ($_class, $_o_screen) = @_ } sub check_version { my ($_class, $_required_major, $_required_minor, $_required_micro) = @_ } sub croak_execeptions { my ($_class) = @_ } sub disable_setlocale { my ($_class) = @_ } +sub dl_load_flags() {} sub draw_insertion_cursor { my ($_class, $_widget, $_drawable, $_area, $_location, $_is_primary, $_direction, $_draw_arrow) = @_ } sub events_pending { my ($_class) = @_ } sub exit { my ($_error_code) = @_ } @@ -26,6 +27,7 @@ sub grab_add { my ($_class, $_widget) = @_ } sub grab_get_current { my ($_class) = @_ } sub grab_remove { my ($_class, $_widget) = @_ } sub hsv_to_rgb { my ($_h, $_s, $_v) = @_ } +sub import() {} sub init { my ($_o_class) = @_ } sub init_add { my ($_class, $_function, $_o_data) = @_ } sub init_check { my ($_o_class) = @_ } @@ -333,11 +335,12 @@ sub get_position { my ($_sv) = @_ } package Gtk2::Builder; our @ISA = qw(); +sub _do_connect { my ($_o_handler) = @_ } sub add_from_file { my ($_builder, $_filename) = @_ } sub add_from_string { my ($_builder, $_buffer) = @_ } sub add_objects_from_file { my ($_builder, $_filename, $_first_object_id, @_more_paras) = @_ } sub add_objects_from_string { my ($_builder, $_buffer, $_first_object_id, @_more_paras) = @_ } -sub connect_signals { my ($_builder, @_more_paras) = @_ } +sub connect_signals { my ($_o_flags) = @_ } sub connect_signals_full { my ($_builder, $_func, $_o_user_data) = @_ } sub get_object { my ($_builder, $_name) = @_ } sub get_objects { my ($_builder) = @_ } @@ -429,7 +432,8 @@ sub set_cell_data_func { my ($_cell_layout, $_cell, $_func, $_o_func_data) = @_ package Gtk2::CellLayout::DataFunc; our @ISA = qw(); sub DESTROY { my ($_code) = @_ } -sub invoke { my ($_cell_layout, $_cell, $_tree_model, $_iter, $_data) = @_ } +sub ULONGS { my ($_o_func) = @_ } +sub invoke { my ($_code, $_cell_layout, $_cell, $_tree_model, $_iter, $_data) = @_ } package Gtk2::CellRenderer; our @ISA = qw(); @@ -564,6 +568,15 @@ sub wait_is_target_available { my ($_clipboard, $_target) = @_ } sub wait_is_text_available { my ($_clipboard) = @_ } sub wait_is_uris_available { my ($_clipboard) = @_ } +package Gtk2::CodeGen; +our @ISA = qw(); +sub gen_alias_stuff { my ($_typemacro, $_func, $_o_package) = @_ } +sub gen_boxed_alias_stuff { my ($_typemacro, $_classname, $_root, $_o_package) = @_ } +sub gen_fundamental_alias_stuff { my ($_typemacro, $_classname, $_root, $_o_package) = @_ } +sub gen_gtkobject_stuff { my ($_typemacro, $_classname, $_root, $_o_package) = @_ } +sub gen_object_alias_stuff { my ($_typemacro, $_classname, $_root, $_o_package) = @_ } +sub generate_constants_wrappers() {} + package Gtk2::ColorButton; our @ISA = qw(); sub get_alpha { my ($_color_button) = @_ } @@ -1088,6 +1101,8 @@ sub new { my ($_class) = @_ } package Gtk2::Gdk; our @ISA = qw(); +sub CHARS() {} +sub LONGS() {} sub SELECTION_CLIPBOARD { my ($_class) = @_ } sub SELECTION_PRIMARY { my ($_class) = @_ } sub SELECTION_SECONDARY { my ($_class) = @_ } @@ -1099,11 +1114,14 @@ sub SELECTION_TYPE_INTEGER { my ($_class) = @_ } sub SELECTION_TYPE_PIXMAP { my ($_class) = @_ } sub SELECTION_TYPE_STRING { my ($_class) = @_ } sub SELECTION_TYPE_WINDOW { my ($_class) = @_ } +sub SHORTS() {} sub TARGET_BITMAP { my ($_class) = @_ } sub TARGET_COLORMAP { my ($_class) = @_ } sub TARGET_DRAWABLE { my ($_class) = @_ } sub TARGET_PIXMAP { my ($_class) = @_ } sub TARGET_STRING { my ($_class) = @_ } +sub ULONGS() {} +sub USHORTS() {} sub beep { my ($_class) = @_ } sub devices_list { my ($_class) = @_ } sub error_trap_pop { my ($_class) = @_ } @@ -1333,7 +1351,6 @@ sub targets { my ($_dc) = @_ } package Gtk2::Gdk::Drawable; our @ISA = qw(); sub XID { my ($_drawable) = @_ } -sub XSetInputFocus { my ($_drawable) = @_ } sub XWINDOW { my ($_drawable) = @_ } sub copy_to_image { my ($_drawable, $_image, $_src_x, $_src_y, $_dest_x, $_dest_y, $_width, $_height) = @_ } sub draw_arc { my ($_drawable, $_gc, $_filled, $_x, $_y, $_width, $_height, $_angle1, $_angle2) = @_ } @@ -2080,6 +2097,11 @@ sub set_handle_position { my ($_handle_box, $_position) = @_ } sub set_shadow_type { my ($_handle_box, $_type) = @_ } sub set_snap_edge { my ($_handle_box, $_edge) = @_ } +package Gtk2::Helper; +our @ISA = qw(); +sub add_watch { my ($_fd, $_cond, $_callback, $_o_data) = @_ } +sub remove_watch { my ($_o_tag) = @_ } + package Gtk2::IMContext; our @ISA = qw(); sub delete_surrounding { my ($_context, $_offset, $_n_chars) = @_ } @@ -3145,6 +3167,60 @@ sub get_draw { my ($_item) = @_ } sub new { my ($_class) = @_ } sub set_draw { my ($_tool_item, $_draw) = @_ } +package Gtk2::SimpleList; +our @ISA = qw(); +sub add_column_type() {} +sub get_column_editable { my ($_self, $_index, $_o_editable) = @_ } +sub get_row_data_from_path { my ($_self, $_o_path) = @_ } +sub get_selected_indices() {} +sub new() {} +sub new_from_treeview { my ($_renderer, $_row, $_o_slist) = @_ } +sub select() {} +sub set_column_editable { my ($_self, $_index, $_o_editable) = @_ } +sub set_data_array() {} +sub text_cell_edited { my ($_cell_renderer, $_text_path, $_new_text, $_o_slist) = @_ } +sub unselect() {} + +package Gtk2::SimpleList::TiedList; +our @ISA = qw(); +sub CLEAR() {} +sub DELETE() {} +sub EXISTS() {} +sub EXTEND() {} +sub FETCH() {} +sub FETCHSIZE() {} +sub POP() {} +sub PUSH() {} +sub SHIFT() {} +sub SPLICE { my ($_o_list) = @_ } +sub STORE() {} +sub STORESIZE() {} +sub TIEARRAY() {} +sub UNSHIFT() {} +sub get_model() {} + +package Gtk2::SimpleList::TiedRow; +our @ISA = qw(); +sub CLEAR() {} +sub EXISTS() {} +sub EXTEND() {} +sub FETCH() {} +sub FETCHSIZE() {} +sub POP() {} +sub PUSH() {} +sub SHIFT() {} +sub SPLICE() {} +sub STORE() {} +sub STORESIZE() {} +sub TIEARRAY() {} +sub UNSHIFT() {} +sub new { my ($_class, $_model, $_o_iter) = @_ } + +package Gtk2::SimpleMenu; +our @ISA = qw(); +sub new() {} +sub parse() {} + package Gtk2::SizeGroup; our @ISA = qw(); sub add_widget { my ($_size_group, $_widget) = @_ } @@ -3348,6 +3424,10 @@ package Gtk2::TearoffMenuItem; our @ISA = qw(); sub new { my ($_class) = @_ } +package Gtk2::TestHelper; +our @ISA = qw(); +sub import() {} + package Gtk2::TextAttributes; our @ISA = qw(); sub copy_values { my ($_dest, $_src) = @_ } @@ -3875,6 +3955,7 @@ sub convert_child_iter_to_iter { my ($_tree_model_sort, $_child_iter) = @_ } sub convert_child_path_to_path { my ($_tree_model_sort, $_child_path) = @_ } sub convert_iter_to_child_iter { my ($_tree_model_sort, $_sorted_iter) = @_ } sub convert_path_to_child_path { my ($_tree_model_sort, $_sorted_path) = @_ } +sub get() {} sub get_model { my ($_tree_model) = @_ } sub iter_is_valid { my ($_tree_model_sort, $_iter) = @_ } sub new { my ($_class, @_more_paras) = @_ } @@ -3942,7 +4023,7 @@ sub sort_column_changed { my ($_sortable) = @_ } package Gtk2::TreeSortable::IterCompareFunc; our @ISA = qw(); sub DESTROY { my ($_code) = @_ } -sub invoke { my ($_model, $_a, $_b, $_data) = @_ } +sub invoke { my ($_code, $_model, $_a, $_b, $_data) = @_ } package Gtk2::TreeStore; our @ISA = qw(); @@ -4311,7 +4392,7 @@ sub is_ancestor { my ($_widget, $_ancestor) = @_ } sub is_composited { my ($_widget) = @_ } sub is_drawable { my ($_widget) = @_ } sub is_focus { my ($_widget) = @_ } -sub is_sensitive { my ($_widget) = @_ } +sub is_sensitive { my ($_widget, @_more_paras) = @_ } sub is_toplevel { my ($_widget) = @_ } sub keynav_failed { my ($_widget, $_direction) = @_ } sub list_mnemonic_labels { my ($_widget) = @_ } @@ -4530,3 +4611,11 @@ sub get_current_grab { my ($_window_group) = @_ } sub list_windows { my ($_window_group) = @_ } sub new { my ($_class) = @_ } sub remove_window { my ($_window_group, $_window) = @_ } + +package main; +our @ISA = qw(); +sub delta_ok { my ($_a, $_b, $_o_msg) = @_ } +sub ginterfaces_ok { my ($_o_object_or_package) = @_ } +sub is_idle { my ($_asub, $_b, $_o_test_name) = @_ } +sub ok_idle { my ($_testsub, $_o_test_name) = @_ } +sub run_main() {} -- cgit v1.2.1