samples/99_genre_dev_tools/add_buttons_to_console/app/main.rb
def custom_buttons
    [
      (button id: :yay,
              # row for button
              row: 3,
              # column for button
              col: 10,
              # text
              text: "I AM CUSTOM",
              # when clicked call the custom_button_clicked function
              method: :custom_button_clicked),

      (button id: :yay,
              # row for button
              row: 3,
              # column for button
              col: 9,
              # text
              text: "CUSTOM ALSO",
              # when clicked call the custom_button_also_clicked function
              method: :custom_button_also_clicked)
    ]
  end
# STEP 1: Override the custom_buttons function.
STEP 1: Override the custom_buttons function.
STEP 1 : Override the custom_buttons function .
def custom_buttons
    [
      (button id: :yay,
              row: 3,
              col: 10,
              text: "I AM CUSTOM",
              method: :custom_button_clicked),
      (button id: :yay,
              row: 3,
              col: 9,
              text: "CUSTOM ALSO",
              method: :custom_button_also_clicked)
    ]
  end
def custom_buttons [ ( button id : :yay , row : 3 , col : 10 , text : "I AM CUSTOM" , method : :custom_button_clicked ) , ( button id : :yay , row : 3 , col : 9 , text : "CUSTOM ALSO" , method : :custom_button_also_clicked ) ] end
STEP 1: Override the custom_buttons function.
STEP 1 : Override the custom_buttons function .
# row for button # column for button # text # when clicked call the custom_button_clicked function # row for button # column for button # text # when clicked call the custom_button_also_clicked function