![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /usr/share/doc/renaissance-doc/examples/Examples/Applications/Calculator/ |
Upload File : |
<?xml version="1.0"?> <!DOCTYPE gsmarkup> <gsmarkup> <objects> <window title="Calculator" initialFirstResponder="#equal"> <vbox halign="center"> <hbox type="proportional"> <button title="CL" keyEquivalent="d" action="clear:" target="#NSOwner" border="1" halign="wexpand" /> <!-- NB: editing the text field is not really implemented ... --> <textField id="textField" proportion="5" textAlignment="right" border="1" /> </hbox> <hbox type="proportional"> <button title="*" tag="3" keyEquivalent="*" border="1" action="operation:" target="#NSOwner" halign="wexpand" /> <button title="/" tag="4" keyEquivalent="/" border="1" action="operation:" target="#NSOwner" halign="wexpand" /> <button title="SQR" keyEquivalent="s" border="1" action="squareRoot:" target="#NSOwner" halign="wexpand" /> <button title="7" tag="7" keyEquivalent="7" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="8" tag="8" keyEquivalent="8" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="9" tag="9" keyEquivalent="9" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> </hbox> <hbox type="proportional" halign="expand"> <button title="+" tag="1" keyEquivalent="+" border="1" action="operation:" target="#NSOwner" halign="wexpand" /> <button title="-" tag="2" keyEquivalent="-" border="1" action="operation:" target="#NSOwner" halign="wexpand" /> <button title="." keyEquivalent="." border="1" action="decimalSeparator:" target="#NSOwner" halign="wexpand" /> <button title="4" tag="4" keyEquivalent="4" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="5" tag="5" keyEquivalent="5" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="6" tag="6" keyEquivalent="6" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> </hbox> <hbox type="proportional" halign="expand"> <button title="=" id="equal" proportion="2" keyEquivalent="=" border="1" action="equal:" target="#NSOwner" halign="wexpand" /> <button title="0" tag="0" keyEquivalent="0" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="1" tag="1" keyEquivalent="1" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="2" tag="2" keyEquivalent="2" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> <button title="3" tag="3" keyEquivalent="3" border="1" action="digit:" target="#NSOwner" halign="wexpand" /> </hbox> </vbox> </window> </objects> <connectors> <outlet source="#NSOwner" target="#textField" key="textField" /> </connectors> </gsmarkup>