PHPGTK 1.x on OSX drop down issue

I'm using PHP 4.x and GTK 1.x.

Here are partial screenshots of Mac OSX. For some reason, the dropdown list is not "updating" the first time, until the dropdown menu is closed and re-opened by clicking the arrow button at the top right corner. This is causing user frustration, particularly with new users.

I was thinking that a workaround might be to explicitly call two clicks on the down arrow at the top right corner to drop/raise the dropdown, but I can't find the signal or method it would take to do this.

What is the method or signal used to identify a click on this arrow button?

Before

After