<p><b>@PatrickGMM</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany-plugins/pull/895#discussion_r312715986">addons/src/ao_doclist.c</a>:</p>
<pre style='color:#555'>> +            int wx_root, wy_root, width;
+               window = gtk_widget_get_window (gtk_widget_get_ancestor(widget, GTK_TYPE_TOOLBAR));
+#if GTK_CHECK_VERSION(3, 0, 0)
+               gdk_window_get_geometry(window, &wx, &wy, &width, NULL);
+#else
+               gdk_window_get_geometry(window, &wx, &wy, &width, NULL, NULL);
+#endif
+               gdk_window_get_root_coords(window, wx, wy, &wx_root, &wy_root);
+
+#if GTK_CHECK_VERSION(3, 0, 0)
+               gtk_widget_get_preferred_size(widget, &widget_req, NULL);
+#else
+               gtk_widget_size_request(widget, &widget_req);
+#endif
+               /* Approximate the horizontal location of the overflow menu button */
+               /* TODO: See if there's a way to find the exact location */
</pre>
<p>I was hoping somebody with more Gtk experience would know how to find this button in the toolbar. If I can assume the drop-down for the overflow will be at the end of the toolbar item list, then I can easily resolve this. But I'm not sure if that is always the case (for instance in right-to-left locales).</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/895?email_source=notifications&email_token=AAIOWJ3M7GU5IT7PIZLT7EDQD4YNRA5CNFSM4IKYGLGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCBGF36I#discussion_r312715986">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ45WR6ZUPVDBZU4CO3QD4YNRANCNFSM4IKYGLGA">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6PQ2WKNREPBHXZ3ZDQD4YNRA5CNFSM4IKYGLGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCBGF36I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/895?email_source=notifications\u0026email_token=AAIOWJ3M7GU5IT7PIZLT7EDQD4YNRA5CNFSM4IKYGLGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCBGF36I#discussion_r312715986",
"url": "https://github.com/geany/geany-plugins/pull/895?email_source=notifications\u0026email_token=AAIOWJ3M7GU5IT7PIZLT7EDQD4YNRA5CNFSM4IKYGLGKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCBGF36I#discussion_r312715986",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>