Partial patch for bug 55767



Hi all,

I worked on a patch for bug 55767 ("Getters for all setters"). More than
50% of the missings getters in GTK+ have been added. Attached are:

1. 'added-getters-Jun15'. This is a list with all missing getters. Every
function with 'DONE' before it has been added. Every function with 'XXXX'
before it won't be added (with a short explanation behind the function).
And all functions between square brackets aren't implemented yet, because
I don't know what to do with them. For some I don't know if we want them
and/or I don't know on which way we want them implemented (some functions
require new signals and stuff).

2. 'missing-getters-Jun15.diff.gz', the actual patch. I created it with
cvs diff (my first cvs diff, so I hope I did it the right way ;). It
compiles on my machine without problems. As you'll understand, I didn't
test every added function seperately ;).

I hope somebody is able to comment on those functions between square
brackets and of course on the patch itself.


regards,


	Kris

-- 
Odi et amo. Quare id faciam, fortasse requiris?
	Nescio, sed fieri sentio et excrucior.

-Catullus (Carmen 85)
DONE gtk_accel_label_get_accel_widget
DONE gtk_adjustment_get_value
DONE gtk_box_get_homogeneous
DONE gtk_cell_renderer_text_get_fixed_size
DONE gtk_cell_renderer_toggle_get_radio (only the prototype was missing)
DONE gtk_check_menu_item_get_active
[gtk_clipboard_get_with_data]
[gtk_clipboard_get_with_owner]
[gtk_clipboard_get_text]
XXXX gtk_color_selection_get_update_policy [DEPRECATED]
DONE gtk_color_selection_get_change_palette_hook
DONE gtk_container_get_border_width
DONE gtk_container_get_resize_mode
DONE gtk_container_get_focus_chain
DONE gtk_container_get_reallocate_redraws
DONE gtk_container_get_focus_child
DONE gtk_container_get_focus_vadjustment
DONE gtk_container_get_focus_hadjustment
DONE gtk_window_get_modal
DONE gtk_window_get_destroy_with_parent
[gtk_dialog_get_response_sensitive]
[gtk_dialog_get_default_response]
[gtk_drag_dest_get_proxy]
[gtk_drag_source_get_icon]
[gtk_drag_get_icon_widget]
[gtk_drag_get_icon_pixmap]
[gtk_drag_get_default_icon]
DONE gtk_editable_get_editable
DONE gtk_entry_get_visibility
DONE gtk_entry_get_invisible_char
DONE gtk_entry_get_editable
DONE gtk_entry_get_max_length
gtk_entry_get_position [this one is static in gtkentry.c, should we make it
			public?]
DONE gtk_frame_get_label_widget
DONE gtk_frame_get_label_align
DONE gtk_frame_get_shadow_type
DONE gtk_handle_box_get_shadow_type
DONE gtk_handle_box_get_handle_position
DONE gtk_handle_box_get_snap_edge
[gtk_im_context_get_client_window]
[gtk_im_context_get_cursor_location]
[gtk_im_context_get_use_preedit]
DONE gtk_label_get_attributes
[gtk_label_get_markup]
[gtk_label_get_markup_with_mnemonic]
DONE gtk_label_get_mnemonic_widget
[gtk_label_get_text_with_mnemonic]
DONE gtk_label_get_justify
[gtk_label_get_pattern]
DONE gtk_label_get_line_wrap
DONE gtk_layout_get_size
DONE gtk_menu_get_tearoff_state
DONE gtk_menu_get_title
DONE gtk_menu_item_get_submenu
DONE gtk_menu_item_get_placement
DONE gtk_misc_get_alignment
DONE gtk_misc_get_padding
XXXX gtk_notebook_get_page (-> gtk_notebook_get_current_page)
DONE gtk_notebook_get_show_border
DONE gtk_notebook_get_show_tabs
DONE gtk_notebook_get_tab_pos
DONE gtk_notebook_get_homogeneous_tabs
DONE gtk_notebook_get_tab_border
DONE gtk_notebook_get_tab_hborder
DONE gtk_notebook_get_tab_vborder
DONE gtk_notebook_get_scrollable
DONE gtk_notebook_get_tab_label_text
DONE gtk_notebook_get_menu_label_text
XXXX gtk_notebook_get_tab_label_packing (-> gtk_notebook_query_tab_label_packing)
XXXX gtk_progress_bar_get_bar_style [deprecated]
XXXX gtk_progress_bar_get_discrete_blocks [deprecated]
XXXX gtk_progress_bar_get_activity_step [deprecated]
XXXX gtk_progress_bar_get_activity_blocks [deprecated]
XXXX gtk_radio_button_get_group (-> gtk_radio_button_group)
XXXX gtk_radio_menu_item_get_group (-> gtk_radio_menu_item_group)
DONE gtk_range_get_update_policy
DONE gtk_rc_get_image_loader
[gtk_ruler_get_metric]
DONE gtk_ruler_get_range
DONE gtk_scrolled_window_get_policy
DONE gtk_scrolled_window_get_placement
DONE gtk_scrolled_window_get_shadow_type
XXXX gtk_settings_get_property_value [private]
XXXX gtk_settings_get_string_property [private]
XXXX gtk_settings_get_long_property [private]
XXXX gtk_settings_get_double_property [private]
DONE gtk_spin_button_get_digits
DONE gtk_spin_button_get_increments
DONE gtk_spin_button_get_range
DONE gtk_spin_button_get_update_policy
DONE gtk_spin_button_get_numeric
DONE gtk_spin_button_get_wrap
DONE gtk_spin_button_get_snap_to_ticks
[gtk_style_get_background]
DONE gtk_table_get_row_spacing
DONE gtk_table_get_col_spacing
DONE gtk_table_get_row_spacings
DONE gtk_table_get_col_spacings
DONE gtk_table_get_homogeneous
DONE gtk_text_layout_get_buffer
DONE gtk_text_layout_get_default_style
DONE gtk_text_layout_get_contexts
DONE gtk_text_layout_get_screen_width
[gtk_text_layout_get_preedit_string]
[gtk_text_view_get_border_window_size]
DONE gtk_text_view_get_text_window_size
DONE gtk_toggle_button_get_mode
DONE gtk_toolbar_get_icon_size
DONE gtk_toolbar_get_orientation
DONE gtk_toolbar_get_style
DONE gtk_toolbar_get_tooltips
DONE gtk_tree_item_get_subtree
XXXX gtk_tree_view_column_get_tree_view [private]
DONE gtk_tree_selection_get_mode
[gtk_tree_selection_get_select_function]
[gtk_tree_sortable_sort_column_id_get_func]
XXXX gtk_tree_store_get_n_columns [private]
XXXX gtk_tree_store_get_column_type [private]
[gtk_tree_store_get_value]
[gtk_tree_store_get_valist]
[gtk_tree_view_get_headers_clickable]
[gtk_tree_view_get_column_drag_function]
DONE gtk_tree_view_get_reorderable
[gtk_tree_view_get_rows_drag_source]
[gtk_tree_view_get_rows_drag_dest]
[gtk_tree_view_column_get_attributes]
[gtk_tree_view_column_get_cell_data_func]
DONE gtk_tree_view_column_get_sort_column_id
[gtk_tree_view_column_cell_get_cell_data]
DONE gtk_viewport_get_shadow_type
[gtk_widget_get_scroll_adjustments]
DONE gtk_widget_get_state
DONE gtk_widget_get_sensitive
DONE gtk_widget_get_app_paintable
DONE gtk_widget_get_double_buffered
DONE gtk_widget_get_parent
DONE gtk_widget_get_uposition
DONE gtk_widget_get_usize
XXXX gtk_widget_get_rc_style
[gtk_decorated_window_get_title]
DONE gtk_window_get_title
DONE gtk_window_get_wmclass
DONE gtk_window_get_role
DONE gtk_window_get_position
DONE gtk_window_get_transient_for
DONE gtk_window_get_type_hint
[gtk_window_get_geometry_hints]
DONE gtk_window_get_has_frame
DONE gtk_window_get_frame_dimensions
DONE gtk_window_get_decorated
DONE gtk_window_get_mnemonic_modifier
XXXX gtk_window_get_policy [deprecated]
DONE gtk_window_get_default_size
XXXX gtk_window_get_focus [internal]
XXXX gtk_window_get_default [internal]
XXXX gtk_paned_get_gutter_size [in compat_h]

Attachment: missing-getters-Jun15.diff.gz
Description: GNU Zip compressed data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]