Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library: Add Tooltip entry #425

Merged
merged 3 commits into from
Jul 19, 2023
Merged

library: Add Tooltip entry #425

merged 3 commits into from
Jul 19, 2023

Conversation

AkshayWarrier
Copy link
Contributor

Closes #422

I'm having some trouble with the custom tooltip. It usually works fine the first time, but then occasionally I get these errors and the tooltip stops working.

(re.sonny.Workbench.Devel:4): Gtk-CRITICAL **: 18:00:43.428: gtk_box_append: assertion 'gtk_widget_get_parent (child) == NULL' failed

(re.sonny.Workbench.Devel:4): Gtk-CRITICAL **: 18:00:45.182: gtk_box_remove: assertion 'gtk_widget_get_parent (child) == (GtkWidget *)box' failed

@AkshayWarrier AkshayWarrier marked this pull request as ready for review July 17, 2023 14:35
@andyholmes andyholmes self-assigned this Jul 19, 2023
Copy link
Contributor

@andyholmes andyholmes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is all good.

I did encounter some different warnings, but I don't see that you're doing anything incorrect. It seems like the custom tooltip widget doesn't need to be replaced on each query-tooltip emission, but there's no way to query the child widget, so I don't think that's an issue either.

Good job!

@andyholmes andyholmes merged commit a3d5ae9 into main Jul 19, 2023
sonnyp pushed a commit to SoNiC-HeRE/Workbench that referenced this pull request Aug 13, 2023
* library: Add Tooltip entry

* Tooltip: Create custom tooltip in code

* Tooltip: Minor change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gtk Tooltip
2 participants