Skip to content

Instantly share code, notes, and snippets.

@jameshibbard
Created September 2, 2012 18:59
Show Gist options
  • Select an option

  • Save jameshibbard/3603180 to your computer and use it in GitHub Desktop.

Select an option

Save jameshibbard/3603180 to your computer and use it in GitHub Desktop.
FXButton.connect example
FXButton.connect(SEL_COMMAND)do
# This code fires when the button is clicked
p "Yay! I was clicked!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment