Posting this in case anyone else might find this useful. It adds a gtk_combo_box_get_popup_widget method to the gtk_combo_box. I needed it specifically so that I could call it via introspection and attach a motion-notify-event to the returned menu widget to know what line item the user was hovered over at any given moment.

I couldn't figure out the data source for the generated introspection file I just patched it after the fact. If anyone does find this useful and wants to do that the right way; please feel free.

Attachment: Gtk-3.0.gir.diff
Description: Text document

Attachment: gtkcombobox.c.diff
Description: Text document

Attachment: gtkcombobox.h.diff
Description: Text document

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]