Re: missing getters



Kristian Rietveld <kristian planet nl> writes: 
> getset.pl: found 425 setters.
> getset.pl: found 602 getters.
> getsel.pl: 265 missing getters found.

265 seems like a lot of bloat, but a lot of these wouldn't need to be
added, so it may be OK. I'd lean toward the change I suppose.

Would be worth scanning GDK and gdk-pixbuf as well.

> gtk_clist_get_shadow_type
> gtk_clist_get_selection_mode
> gtk_clist_get_reorderable
> gtk_clist_get_use_drag_icons
> gtk_clist_get_button_actions
> gtk_clist_get_column_justification
> gtk_clist_get_column_visibility
> gtk_clist_get_column_resizeable
> gtk_clist_get_column_auto_resize
> gtk_clist_get_column_width
> gtk_clist_get_column_min_width
> gtk_clist_get_column_max_width
> gtk_clist_get_row_height
> gtk_clist_get_foreground
> gtk_clist_get_background
> gtk_clist_get_shift
> gtk_clist_get_row_data_full
> gtk_clist_get_compare_func
> gtk_clist_get_sort_column
> gtk_clist_get_sort_type
> gtk_clist_get_auto_sort

Should add none of these, CList is deprecated.

> gtk_combo_get_value_in_list
> gtk_combo_get_use_arrows
> gtk_combo_get_use_arrows_always
> gtk_combo_get_case_sensitive
> gtk_combo_get_item_string
> gtk_combo_get_popdown_strings

Ditto, deprecated or will be when we can replace it at least.

> gtk_ctree_node_get_shift
> gtk_ctree_node_get_foreground
> gtk_ctree_node_get_background
> gtk_ctree_node_get_row_data_full
> gtk_ctree_get_indent
> gtk_ctree_get_spacing
> gtk_ctree_get_show_stub
> gtk_ctree_get_line_style
> gtk_ctree_get_expander_style
> gtk_ctree_get_drag_compare_func
> gtk_curve_get_gamma
> gtk_curve_get_range
> gtk_curve_get_curve_type

Deprecated

> gtk_icon_get_new
> gtk_icon_get_new_from_pixbuf
> gtk_icon_get_ref
> gtk_icon_get_unref
> gtk_icon_get_copy
> gtk_icon_get_render_icon
> gtk_icon_get_add_source
> gtk_icon_get_invalidate_caches

icon_set_ here doesn't indicate a setter ;-)

> gtk_image_get_from_pixmap
> gtk_image_get_from_image
> gtk_image_get_from_file
> gtk_image_get_from_pixbuf
> gtk_image_get_from_stock
> gtk_image_get_from_icon_set
> gtk_image_get_from_animation

These have getters, they just have an odd naming convention.

> gtk_item_factory_get_translate_func

Pretty darn useless, though I don't know if we should try to decide
useless/useful on a per-getter basis.

> gtk_list_get_selection_mode
> gtk_list_store_get_n_columns
> gtk_list_store_get_column_type
> gtk_list_store_get_value
> gtk_list_store_get_valist

Deprecated.

> gtk_notebook_get_page
> gtk_notebook_get_show_border
> gtk_notebook_get_show_tabs
> gtk_notebook_get_tab_pos
> gtk_notebook_get_homogeneous_tabs
> gtk_notebook_get_tab_border
> gtk_notebook_get_tab_hborder
> gtk_notebook_get_tab_vborder
> gtk_notebook_get_scrollable
> gtk_notebook_get_tab_label_text
> gtk_notebook_get_menu_label_text
> gtk_notebook_get_tab_label_packing

Some of these are deprecated.

> gtk_object_get_data_full
> gtk_object_get_data_by_id_full
> gtk_packer_get_child_packing
> gtk_packer_get_spacing
> gtk_packer_get_default_border_width
> gtk_packer_get_default_pad
> gtk_packer_get_default_ipad
> gtk_pixmap_get_build_insensitive
> gtk_preview_get_expand
> gtk_preview_get_gamma
> gtk_preview_get_color_cube
> gtk_preview_get_install_cmap
> gtk_preview_get_reserved
> gtk_preview_get_dither
> gtk_progress_get_show_text
> gtk_progress_get_text_alignment
> gtk_progress_get_format_string
> gtk_progress_get_adjustment
> gtk_progress_get_percentage
> gtk_progress_get_activity_mode

All deprecated.

> gtk_rbtree_node_get_height

Internal/private.

> gtk_text_get_editable
> gtk_text_get_word_wrap
> gtk_text_get_line_wrap
> gtk_text_get_adjustments

Deprecated.

> gtk_text_btree_get_mark

Internal, needs a uscore prefix I guess.

> gtk_text_anchored_child_get_layout

Internal IIRC.

> gtk_tips_query_get_caller
> gtk_tips_query_get_labels

Deprecated.

> gtk_tooltips_get_tip

That one's kind of useful even.

> gtk_tooltips_get_delay
> gtk_tooltips_get_colors

Deprecated.

> gtk_tree_get_selection_mode
> gtk_tree_get_view_mode
> gtk_tree_get_view_lines
> gtk_tree_item_get_subtree

Deprecated.

> gtk_clist_get_reorderable

Deprecated.

Havoc






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