Closed ejeschke closed 2 years ago
@pllim, looking to merge some improvements by our Akamai intern @kyraikeda who worked on improving the pg widgets functionality. I know you guys don't use that, but hoping you can give us a code review to show her how this works for github projects!
Wow, +1,683 −345
! I might be able to do a general review but unable to dive deep into pg land. Is that sufficient? Otherwise, it might be more useful to get a review from one of your colleagues who actually use the pg backend.
Also, is this time sensitive?
@pllim, no hurry. General, quick code review is fine. This is to fill in the compatibility of pg general widget wrappers compared to Qt and Gtk wrappers.
It is curious why @kyraikeda isn't the PR author. Anyways, this person can still get credit via https://docs.github.com/en/github/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors as you see fit.
@pllim, it is because her commits were a PR to a branch on a clone by @naojsoft. But we will definitely add credit using your suggestion above.
Probably want to add a change log summarizing all the breaking changes and new API in this PR.
Will do. Mostly, this is filling in API that is already in Qt and Gtk backends in the Pg backend. But I do think there may be one or two new additions that ended up also in Qt and Gtk.
Merged, finally, @kyraikeda. Thank you!
Some improvements to the pg widgets backend
Widget improvements
added set_value/get_value to ScrollBar
added set_text/get_text to Button
widgets sampler program updated to show changes
fixed pgw Scrollbar rendering
improvements to Label, TextEntry, TextArea, ComboBox, SpinBox, Slider
updated widgets sampler program to show changes
ComboBox allows scroll through entries with wheel now
fixed bugs in ComboBox and TextArea
implemented Frame set_widget() method
implemented scroll_to_pct() method for ScrollArea
improved GridBox
implemented Stack and Frame Widgets
improve GridBox functionality
implement set_state for CheckBox and ToggleButton
allow user to change increment value for SpinBox
Co-authored-by: Eric Jeschke eric@naoj.org