Class: Qt::ToolButton
Instance Method Summary collapse
Instance Method Details
#setShortcut(arg) ⇒ Object
2152 2153 2154 2155 2156 2157 2158 |
# File 'lib/Qt/qtruby4.rb', line 2152 def setShortcut(arg) if arg.kind_of?(String) return super(Qt::KeySequence.new(arg)) else return super(arg) end end |
#shortcut=(arg) ⇒ Object
2160 2161 2162 |
# File 'lib/Qt/qtruby4.rb', line 2160 def shortcut=(arg) setShortcut(arg) end |