Fix: Translation and Scale are not editable in Edit-layer dialog#182
Fix: Translation and Scale are not editable in Edit-layer dialog#182ooxi merged 2 commits intogerbv:mainfrom
Conversation
|
I cannot reproduce the issue, it's fine entering a value from the keyboard into layer translation and scale. Nevertheless, I'm fine with changing the callback signature. But I cannot find any reference to it accepting According to gtkd.org it should have a |
|
Thank you for comment.
A certain source file on the web used Indeed, the link you posted above also said the following: This doesn't mean that all callback functions must take no parameters and return void. This means that the signature of the callback function seems to be context dependent. |
|
Thank you @kitanokitsune for all your work! It would be great if we can merge our efforts :-) |
gerbv.exe compiled by mingw-w64 with MSYS2 on Windows , in the Edit-layer dialog that opens by [Layer]-[Edit layer], numerical values cannot be entered into the edit box from the keyboard.
According to https://stackoverflow.com/questions/58318673/gtk-window-is-active-not-working-as-expected , the event handler which handles "focus-in-event" should return 0 or 1:
Yet focus_in_event_callback does not return a value (void).