You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a minor thing, but I'm fairly new to Ruby so it took me a while to realize what I should do about the "3 for 0" argument error.
Additionally:
In my previous ticket we discerned that the scroll bars must be set with negative values when using FXImageView::setPosition. I wouldn't change that as it will break anyone using it correctly, but it might be a worthwhile mention. I'm admittedly doing a novel image-viewer project - this is the first GUI tool for ruby I've found that can actually do what I need in a sane cross-platform manner.
The text was updated successfully, but these errors were encountered:
Just an somewhat minor FYI that the API for FXAccelTable gives an example of adding hotkeys like so
accelTable.addAccel(hotKey, lambda { window.hide })
Actually that lambda needs to recieve 3 arguments, which I think are the sender, selector and message.
accelTable.addAccel(hotKey, lambda { |a,b,c| window.hide })
It's a minor thing, but I'm fairly new to Ruby so it took me a while to realize what I should do about the "3 for 0" argument error.
Additionally:
In my previous ticket we discerned that the scroll bars must be set with negative values when using FXImageView::setPosition. I wouldn't change that as it will break anyone using it correctly, but it might be a worthwhile mention. I'm admittedly doing a novel image-viewer project - this is the first GUI tool for ruby I've found that can actually do what I need in a sane cross-platform manner.
The text was updated successfully, but these errors were encountered: