After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 696966 - [PATCH] Add gtk_tree_view_is_blank_at_pos_full()
[PATCH] Add gtk_tree_view_is_blank_at_pos_full()
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
3.10.x
Other All
: Normal enhancement
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-31 13:31 UTC by Olivier Brunel (jjacky)
Modified: 2018-04-15 00:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add gtk_tree_view_is_blank_at_pos_full() (11.78 KB, patch)
2013-03-31 13:31 UTC, Olivier Brunel (jjacky)
none Details | Review
Some fixes in gtk_tree_view_is_blank_at_pos() (2.29 KB, patch)
2013-10-15 15:37 UTC, Olivier Brunel (jjacky)
none Details | Review
Add gtk_tree_view_is_blank_at_pos_full() (10.47 KB, patch)
2013-10-15 15:38 UTC, Olivier Brunel (jjacky)
none Details | Review

Description Olivier Brunel (jjacky) 2013-03-31 13:31:46 UTC
Created attachment 240205 [details] [review]
Add gtk_tree_view_is_blank_at_pos_full()

Similar to gtk_tree_view_is_blank_at_pos() but can also set a pointer to the
GtkCellRenderer as well.
This could be useful to have different actions depending on e.g. which renderer
is clicked, or over which one is the mouse pointer when showing a tooltip.
Comment 1 Olivier Brunel (jjacky) 2013-10-15 15:37:16 UTC
Created attachment 257361 [details] [review]
Some fixes in gtk_tree_view_is_blank_at_pos()

First, some fixes in gtk_tree_view_is_blank_at_pos() :

- Set path & column to NULL if blank
- _gtk_tree_view_column_is_blank_at_pos() would return FALSE instead of TRUE
  when no renderer was found at the given position.
- Fixed how we determine the expander column, which didn't account for using the
  first visible column
Comment 2 Olivier Brunel (jjacky) 2013-10-15 15:38:15 UTC
Created attachment 257362 [details] [review]
Add gtk_tree_view_is_blank_at_pos_full()

Then add a new function, similar to gtk_tree_view_is_blank_at_pos() but can also set a pointer to the GtkCellRenderer as well.
This could be useful to have different actions depending on e.g. which renderer is clicked, or over which one is the mouse pointer when showing a tooltip.
Comment 3 Matthias Clasen 2018-02-10 05:09:34 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 4 Matthias Clasen 2018-04-15 00:35:30 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new