summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor typosYuri Chornoivan2020-05-281-1/+1
|
* Use gtk_widget_add/remove_css_class moreMatthias Clasen2020-04-101-2/+1
| | | | | | Replace most uses of gtk_style_context_add/remove_class by the new APIs. The only remaining uses of the old API are in save/restore situations.
* cellrenderer: Add accessors for {get,set}_is_expande{r,d}Timm Bäder2019-08-111-0/+56
|
* va_marshaller: add various va_marshallersChristian Hergert2019-06-061-0/+3
| | | | | | | | | We don't need to cover every case with a va_marshaller, but there are a number of them that are useful because they will often only be connected to by a single signal handler. Generally speaking, if I opened into a file to add a va_marshaller, I just set all of them.
* gtk: Don't include gtkstylecontext.h from gtkcsstypesprivate.hBenjamin Otte2019-03-191-0/+1
| | | | And make sure it's included everywhere it's needed.
* snapshot: Redo debug messagesBenjamin Otte2018-04-241-4/+5
| | | | | Instead of every snapshot function having debug messages, have an explicit gtk_snapshot_push_debug() function that appends a debug node.
* CellRenderer: Link to CellEditable.start_editing()Daniel Boles2018-04-171-0/+3
| | | | | | | ...from CellRenderer::start-editing, to point people in the direction of info about the lifecycle of the Editable and how to do generic setup. https://gitlab.gnome.org/GNOME/gtk/issues/154
* CellRenderer: Clarify doc of .start_editing()Daniel Boles2018-04-171-2/+4
| | | | | | | Drop the line copied from .activate(), replace it with a description of what this method actually does, and explain what a NULL result means. https://gitlab.gnome.org/GNOME/gtk/issues/154
* CellRenderer: Entry is not the only CellEditableDaniel Boles2018-04-171-1/+2
| | | | so link to GtkCellEditable and note that GtkEntry is just one example.
* CellRenderer|Editable: Don't @See_also subclassesDaniel Boles2018-04-171-1/+1
| | | | | The documentation knows that from the inheritance hierarchy, without us having to manually duplicate that info here. Link to each other instead.
* a11y: Remove gtk.h includeBenjamin Otte2018-02-081-1/+5
|
* The big versioning cleanupMatthias Clasen2018-02-061-44/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* Drop gtk_cell_renderer_get_sizeMatthias Clasen2017-10-251-48/+1
| | | | This function has been deprecated since 3.0, time to drop it.
* snapshot: Rename append APIsBenjamin Otte2017-01-131-7/+7
| | | | | | Instead of having gtk_snapshot_append_foo_node(), just have gtk_snapshot_append_foo(). Nobody needs to know that this internally uses nodes.
* snapshot: Redo pop() APIBenjamin Otte2017-01-131-1/+1
| | | | | | | | gtk_snapshot_pop() => removed gtk_snapshot_pop_and_append() => gtk_snapshot_pop() So now there is no way to get a rendernode out of the snapshotting API until you gtk_snapshot_finish().
* cellrenderer: Remove render() vfuncBenjamin Otte2016-12-231-32/+1
| | | | Make the last 2 cell renderers create the cairo node themselves.
* cellrenderer: Move snapshotting down into cell renderersBenjamin Otte2016-12-231-26/+65
| | | | | | 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.
* cellrenderer: Remove cell-background-gdkTimm Bäder2016-10-181-51/+0
|
* Add some missing (nullable) annotationsRico Tzschichholz2016-09-221-3/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=771826
* Use NULL for generic marshallers in g_signal_new()Benjamin Otte2016-08-291-1/+1
| | | | | glib will use the correct marshaller automatically. And as a side effect, we also get all glib optimizations, like a va marshaller.
* cell renderer: Strip out :drop(active) stateMatthias Clasen2016-03-011-1/+1
| | | | | | | It does not make sense to render every cell in a treeview as drop target, even when the treeview itself is set as a drop destination. https://bugzilla.gnome.org/show_bug.cgi?id=761686
* 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-1/+1
| | | | | | Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'.
* Fix check for 'y' padding in gtk_cell_renderer_set_padding()Maks Naumov2015-01-111-1/+1
| | | | | | Signed-off-by: Maks Naumov <maksqwe1@ukr.net> https://bugzilla.gnome.org/show_bug.cgi?id=742764
* GtkCellRenderer: Use G_PARAM_EXPLICIT_NOTIFYMatthias Clasen2014-06-091-29/+76
|
* Deprecate GdkColorMatthias Clasen2014-05-221-0/+2
| | | | | It has been replaced by GdkRGBA. Time to make it official. http://bugzilla.gnome.org/show_bug.cgi?id=636695
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-2/+2
| | | | Instead of Return value:
* Docs: use // for comments in examplesMatthias Clasen2014-02-141-1/+1
| | | | | Without sgml mode, we can't escape /* as /&ast; anymore, so just switch to // for comments in examples.
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-1/+1
|
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-2/+2
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-12/+12
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: use proper quotesWilliam Jon McCann2014-02-051-2/+2
|
* docs: use quotes instead of <firstterm>William Jon McCann2014-02-041-2/+2
|
* docs: Identify examples that are C codeWilliam Jon McCann2014-01-291-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723119
* cell-renderer: Check for NULL return in vfunc start_editing()Jonh Wendell2013-12-191-0/+3
| | | | | | | This virtual function may return NULL, so, let's check if that's the case and exit the function apropriately. https://bugzilla.gnome.org/show_bug.cgi?id=720554
* gtk: Use new macros for defining private dataEmmanuele Bassi2013-07-091-4/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702996
* docs: correct various spelling and grammar errorsWill Thompson2013-03-041-1/+1
| | | | | 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.
* API: Export gtk_cell_renderer_class_set_accessible_type()Benjamin Otte2013-02-251-5/+5
| | | | | This function is necessary to implement cell renderer accessibility support.
* Document "set" properties a bitMatthias Clasen2012-05-261-3/+8
| | | | | | | Both GtkTextTag and GtkCellRenderer make use of "set" properties which are a bit special. Document this. https://bugzilla.gnome.org/show_bug.cgi?id=531319
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* cell-renderer: add the CELL style class to the editing widgetCosimo Cecchi2012-01-311-0/+2
| | | | | When we create an editing widget, add the CELL style class to it, for identification by the themes.
* Deprecate all the public API that is using GdkColor structJavier Jardón2011-12-221-1/+8
|
* cellrenderer: Use the widget state flags as a base for cell renderers' stateRui Matos2011-12-191-1/+6
|
* cellrenderer: Add API to keep the accessible typeBenjamin Otte2011-12-161-0/+40
| | | | | It's private for now, because we require a GType that isn't exported in the API yet.
* API: cellrenderer: Add a private structBenjamin Otte2011-12-161-2/+40
|
* Minor documentation improvementsMurray Cumming2011-02-231-2/+2
| | | | Mostly correcting it's to its and changing some , to .
* gtk: gtk_cell_renderer_get_state(): check the widget's effective sensitivityMichael Natterer2011-02-061-1/+1
|
* gtk: gtk_cell_renderer_get_state(): a row can be both selected and insensitiveMichael Natterer2011-02-061-9/+9
| | | | | | so pull the SELECTED state flag out of the !sensitive branch. Also, don't make FOCUSED depend on SELECTED here, it's up to the widget to decide whether or not that is possible.
* Handle insensitive cell renderer flags in gtk_cell_renderer_get_state()Carlos Garnacho2011-02-061-1/+2
|
* Added default implementation of GtkCellRendererClass.get_request_mode()Tristan Van Berkom2011-02-031-8/+10
| | | | | | 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.