summaryrefslogtreecommitdiff
path: root/gtk/gtkcellarea.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop unused includes of gtkrender.hMatthias Clasen2017-10-251-1/+0
| | | | | | We don't use the gtk_render apis internally anymore. Drop these includes so it is clear where the remaining uses are.
* cellarea: Update to using GdkEvent APICarlos Garnacho2017-09-191-9/+11
|
* cellrenderer: Move snapshotting down into cell renderersBenjamin Otte2016-12-231-84/+31
| | | | | | Now that every call to GtkCellArea is a snapshot call and no more cairo calls are left, move the actual differentiation between Cairo and Snapshot down to the cell renderer.
* cellview: Implement snapshot()Benjamin Otte2016-12-201-0/+48
| | | | This also adds gtk_cell_area_snapshot().
* API: stylecontext: Remove state argument from gettersBenjamin Otte2016-10-161-6/+2
| | | | The argument must always be the current state.
* introspection: This patch fixes nullable return values fixes for the ↵Alberto Ruiz2016-01-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | following symbols in gtk gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc
* Use stupid quotes instead of dumb quotesMatthias Clasen2015-09-231-28/+28
| | | | | | Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'.
* Code cleanupMatthias Clasen2015-07-311-5/+2
| | | | | | Use g_slist_free_full more consistently. This commit just converts the obvious cases where g_slist_forall is directly followed by g_slist_free.
* gtkcellarea: Optimize GtkStyleContext usageJasper St. Pierre2014-11-251-2/+2
| | | | | | This is a bit bizarre, but the cell renderer can apply different flags from the actual style context, and we should use those instead of the widget flags.
* stylecontext: Split render functions out into gtkrender.[ch]Benjamin Otte2014-10-031-0/+1
|
* gtkcellarea: Fix docsJasper St. Pierre2014-06-291-2/+2
|
* cellarea: don't use focus-line-widthCosimo Cecchi2014-05-091-26/+24
| | | | Use CSS padding instead.
* GtkCellArea: allow finding attributes at runtimeMatthias Clasen2014-05-081-0/+40
| | | | | | This will allow e.g. GtkInspector to display attribute mappings. http://bugzilla.gnome.org/show_bug.cgi?id=729817
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-19/+19
| | | | Instead of Return value:
* docs: use proper apostropheWilliam Jon McCann2014-02-071-27/+27
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: Use markup for linksWilliam Jon McCann2014-02-071-3/+4
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-3/+3
|
* docs: Use "#" for refsect2 instead of ##William Jon McCann2014-02-041-6/+16
|
* docs: Convert to markdownMatthias Clasen2014-02-021-50/+26
| | | | Specifically, switch to using markdown syntax for sections.
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-5/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: use |[ ]| instead of <programlisting></programlisting>William Jon McCann2014-01-291-10/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* docs: don't use <emphasis>William Jon McCann2014-01-281-1/+1
| | | | It is a little heavy handed. The text can speak for itself.
* docs: don't try to link to vfuncsWilliam Jon McCann2014-01-211-3/+3
|
* Add missing introspection annotationsPhil Clayton2013-09-101-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=707519
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-5/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* Fix mouse interaction in combo cell rendererMatthias Clasen2013-04-191-1/+1
| | | | | Pass the event on when calling gtk_cell_editable_start_editing. https://bugzilla.gnome.org/show_bug.cgi?id=504901
* docs: correct various spelling and grammar errorsWill Thompson2013-03-041-4/+4
| | | | | I noticed a few cases of "wether", and while fixing them noticed a few "its" which should be "it's". It all went downhill from there.
* Fix a typo in the the commentsWilliam Jon McCann2012-08-261-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=682724
* Fix malformed doc commentsMatthias Clasen2012-04-121-1/+1
| | | | | Most of these are forgotten :'s and similar details which gtk-doc now warns about.
* Add custom va_marshallers in some placesAlexander Larsson2012-03-051-0/+2
| | | | This is a slight performance optimization in the common case.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* gtkcellarea: Use symbolic names for button numbersCarlos Garcia Campos2012-01-271-1/+1
|
* Use G_VALUE_INITJavier Jardón2011-10-151-5/+5
| | | | Instead of an explicit { 0, } when declaring the variable.
* Fixed gtk_cell_area_stop_editing() to properly notify when editing is not ↵Tristan Van Berkom2011-10-041-4/+14
| | | | | | | | canceled This fixes bug 653289, in gtk+-2 gtk_tree_view_stop_editing() was previously responsible for notifying with gtk_cell_editable_editing_done(), this detail was missed when porting the cell renderer management to GtkCellArea.
* Documentation fixesMatthias Clasen2011-09-251-4/+4
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* Make focus rectangles optionalMatthias Clasen2011-08-101-0/+3
| | | | | | | | | | | | | | | | | | This commit introduces a new setting, gtk-visible-focus, backed by the Gtk/VisibleFocus X setting. Its three values control how focus rectangles are displayed. 'always' is equivalent to the traditional GTK+ behaviour of always rendering focus rectangles. 'never' does what it says, and is intended for keyboardless situations, e.g. tablets. 'automatic' hides focus rectangles initially, until the user interacts with the keyboard, at which point focus rectangles become visible. https://bugzilla.gnome.org/show_bug.cgi?id=649567
* gtk: Use const instead G_CONST_RETURNJavier Jardón2011-06-101-1/+1
|
* cellarea: Fix warning messages to display the right typeBenjamin Otte2011-05-021-2/+2
| | | | | The warning displayed the type of the area instead of the cell renderer's type before.
* Minor documentation improvementsMurray Cumming2011-02-231-17/+17
| | | | Mostly correcting it's to its and changing some , to .
* Add some missing symbols to the docsMatthias Clasen2011-02-081-1/+3
|
* Use faster new G_VALUE_COLLECT_INIT variant instead G_VALUE_COLLECTJavier Jardón2011-02-071-2/+2
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=641621
* Added default implementations of various GtkCellArea vfuncs.Tristan Van Berkom2011-02-031-106/+152
| | | | | | Having default implementations on abstract classes that do nothing or print errors make life easier for language bindings implementors, inside GTK+ this makes little or no difference.
* Make GtkCellArea use GtkStyleContextCarlos Garnacho2011-01-271-65/+12
| | | | | | gtk_cell_area_[gs]et_style_detail() is no longer needed, as the passed widget's context would already have all necessary info.
* Silence new gcc warningsMatthias Clasen2011-01-231-4/+1
| | | | | gcc 4.6.0 has started to warn about set-but-unused variables. So don't do that, then.
* [GI] Add missing (out) and (array) annotationsPavel Holejsovsky2011-01-201-2/+3
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-7/+8
|
* [GI] Add missing (scope) annotationsPavel Holejsovsky2011-01-201-2/+2
|
* Plugging memory leak in GtkCellArea (free ->style_detail at finalize time).Tristan Van Berkom2011-01-161-0/+1
|
* _gtk_cell_area_set_cell_data_func_with_proxy: set the proxy when creating a ↵Guillaume Desmottes2011-01-121-0/+1
| | | | new CellInfo (#637965)
* Fixed GtkCellArea to never activate/start editing insensitive cells.Tristan Van Berkom2011-01-101-0/+3
| | | | Included extension to tests/testtreeedit to show this is working properly.