diff options
author | Steve Zesch <[email protected]> | 2012-11-16 14:44:42 -0500 |
---|---|---|
committer | Steve Zesch <[email protected]> | 2012-11-16 14:44:42 -0500 |
commit | 1cfad684d98f3f9648069f093b761f1885cefd7d (patch) | |
tree | d59ca81a6762dbea6d527d9c0bd1d2b03392d0a3 /data/buttons-advanced.ui | |
parent | fa82b016b8d3b5c63ad5f1af8f021a341d7e3560 (diff) | |
download | mate-calc-1cfad684d98f3f9648069f093b761f1885cefd7d.tar.bz2 mate-calc-1cfad684d98f3f9648069f093b761f1885cefd7d.tar.xz |
Added buttons for inverse trig functions.
Diffstat (limited to 'data/buttons-advanced.ui')
-rw-r--r-- | data/buttons-advanced.ui | 481 |
1 files changed, 314 insertions, 167 deletions
diff --git a/data/buttons-advanced.ui b/data/buttons-advanced.ui index 6ac97a0..30f01ec 100644 --- a/data/buttons-advanced.ui +++ b/data/buttons-advanced.ui @@ -1,29 +1,35 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> <interface> <requires lib="gtk+" version="2.16"/> <!-- interface-naming-policy toplevel-contextual --> <object class="GtkWindow" id="window1"> + <property name="can_focus">False</property> <child> <object class="GtkVBox" id="button_panel"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkHBox" id="hbox1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="spacing">6</property> <child> <object class="GtkComboBox" id="angle_units_combo"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="focus_on_click">False</property> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkLabel" id="angle_label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="xalign">1</property> <property name="label" comments="Example content">3.14159 radians = 180 degrees</property> <child internal-child="accessible"> @@ -34,57 +40,32 @@ </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkTable" id="button_table"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="n_rows">5</property> - <property name="n_columns">10</property> + <property name="n_columns">11</property> <property name="homogeneous">True</property> <child> - <object class="GtkButton" id="calc_inverse_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_inverse_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the inverse button">Inverse</property> - </object> - </child> - <signal name="clicked" handler="button_cb"/> - <child> - <object class="GtkLabel" id="label20"> - <property name="visible">True</property> - <property name="label"><i>x</i><sup>−1</sup></property> - <property name="use_markup">True</property> - <property name="justify">center</property> - </object> - </child> - </object> - <packing> - <property name="left_attach">6</property> - <property name="right_attach">7</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> <object class="GtkButton" id="calc_factor_button"> - <property name="label">a×b</property> + <property name="label">a×b</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> @@ -92,7 +73,7 @@ <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorize button">Factorize</property> </object> </child> - <signal name="clicked" handler="factorize_cb"/> + <signal name="clicked" handler="factorize_cb" swapped="no"/> </object> <packing> <property name="left_attach">5</property> @@ -104,43 +85,15 @@ </packing> </child> <child> - <object class="GtkButton" id="calc_factorial_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_factorial_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorial button">Factorial</property> - </object> - </child> - <signal name="clicked" handler="button_cb"/> - <child> - <object class="GtkLabel" id="label14"> - <property name="visible">True</property> - <property name="label"><i>x</i>!</property> - <property name="use_markup">True</property> - </object> - </child> - </object> - <packing> - <property name="left_attach">7</property> - <property name="right_attach">8</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> <object class="GtkButton" id="calc_imaginary_portion_button"> <property name="label">Im</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">7</property> @@ -156,12 +109,14 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="imaginary_label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label"><i>i</i></property> <property name="use_markup">True</property> </object> @@ -182,9 +137,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="top_attach">2</property> @@ -199,9 +155,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="top_attach">1</property> @@ -216,9 +173,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -235,9 +193,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="left_attach">2</property> @@ -254,9 +213,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -273,9 +233,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="left_attach">2</property> @@ -288,13 +249,14 @@ </child> <child> <object class="GtkButton" id="calc_divide_button"> - <property name="label">÷</property> + <property name="label">÷</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">3</property> @@ -311,9 +273,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="top_attach">3</property> @@ -328,9 +291,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -347,9 +311,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="top_attach">4</property> @@ -364,9 +329,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="numeric_point_cb"/> + <signal name="clicked" handler="numeric_point_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -383,9 +349,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="digit_cb"/> + <signal name="clicked" handler="digit_cb" swapped="no"/> </object> <packing> <property name="left_attach">2</property> @@ -398,13 +365,14 @@ </child> <child> <object class="GtkButton" id="calc_multiply_button"> - <property name="label">×</property> + <property name="label">×</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">3</property> @@ -417,13 +385,14 @@ </child> <child> <object class="GtkButton" id="calc_subtract_button"> - <property name="label">−</property> + <property name="label">−</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="subtract_cb"/> + <signal name="clicked" handler="subtract_cb" swapped="no"/> </object> <packing> <property name="left_attach">3</property> @@ -440,9 +409,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">3</property> @@ -459,9 +429,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="solve_cb"/> + <signal name="clicked" handler="solve_cb" swapped="no"/> </object> <packing> <property name="left_attach">4</property> @@ -478,9 +449,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="clear_cb"/> + <signal name="clicked" handler="clear_cb" swapped="no"/> </object> <packing> <property name="left_attach">5</property> @@ -494,17 +466,19 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> <object class="AtkObject" id="calc_subscript_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the subscript mode button">Subscript</property> </object> </child> - <signal name="clicked" handler="set_subscript_cb"/> + <signal name="clicked" handler="set_subscript_cb" swapped="no"/> <child> <object class="GtkLabel" id="label4"> <property name="visible">True</property> - <property name="label">↓n</property> + <property name="can_focus">False</property> + <property name="label">↓n</property> <property name="use_markup">True</property> </object> </child> @@ -519,17 +493,19 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> <object class="AtkObject" id="calc_superscript_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the superscript mode button">Superscript</property> </object> </child> - <signal name="clicked" handler="set_superscript_cb"/> + <signal name="clicked" handler="set_superscript_cb" swapped="no"/> <child> <object class="GtkLabel" id="label3"> <property name="visible">True</property> - <property name="label">↑n</property> + <property name="can_focus">False</property> + <property name="label">↑n</property> <property name="use_markup">True</property> </object> </child> @@ -546,6 +522,7 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> @@ -553,11 +530,12 @@ <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the scientific exponent button">Scientific Exponent</property> </object> </child> - <signal name="clicked" handler="exponent_cb"/> + <signal name="clicked" handler="exponent_cb" swapped="no"/> <child> <object class="GtkLabel" id="label2"> <property name="visible">True</property> - <property name="label">×10<sup><i>y</i></sup></property> + <property name="can_focus">False</property> + <property name="label">×10<sup><i>y</i></sup></property> <property name="use_markup">True</property> </object> </child> @@ -575,9 +553,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">3</property> @@ -592,9 +571,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">4</property> @@ -611,9 +591,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">5</property> @@ -629,32 +610,39 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> <object class="AtkObject" id="calc_recall_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the recall value button">Recall</property> </object> </child> - <signal name="clicked" handler="recall_cb"/> + <signal name="clicked" handler="recall_cb" swapped="no"/> <child> <object class="GtkHBox" id="hbox19"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label22"> <property name="visible">True</property> - <property name="label" translatable="yes" comments="The label on the memory recall button">← R</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" comments="The label on the memory recall button">← R</property> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkArrow" id="arrow13"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="arrow_type">down</property> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -675,32 +663,39 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> <object class="AtkObject" id="calc_store_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> </object> </child> - <signal name="clicked" handler="store_cb"/> + <signal name="clicked" handler="store_cb" swapped="no"/> <child> <object class="GtkHBox" id="hbox20"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label23"> <property name="visible">True</property> - <property name="label" translatable="yes" comments="The label on the memory store button">→ R</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes" comments="The label on the memory store button">→ R</property> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkArrow" id="arrow14"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="arrow_type">down</property> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -717,44 +712,15 @@ </packing> </child> <child> - <object class="GtkButton" id="calc_abs_button"> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <child internal-child="accessible"> - <object class="AtkObject" id="calc_abs_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the absolute value button">Absolute Value</property> - </object> - </child> - <signal name="clicked" handler="button_cb"/> - <child> - <object class="GtkLabel" id="label1"> - <property name="visible">True</property> - <property name="label">|<i>x</i>|</property> - <property name="use_markup">True</property> - </object> - </child> - </object> - <packing> - <property name="left_attach">8</property> - <property name="right_attach">9</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> <object class="GtkButton" id="calc_real_portion_button"> <property name="label">Re</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">6</property> @@ -771,9 +737,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">8</property> @@ -785,33 +752,15 @@ </packing> </child> <child> - <object class="GtkButton" id="calc_arg_button"> - <property name="label">Arg</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_underline">True</property> - <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> - </object> - <packing> - <property name="left_attach">9</property> - <property name="right_attach">10</property> - <property name="top_attach">2</property> - <property name="bottom_attach">3</property> - <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - </packing> - </child> - <child> <object class="GtkButton" id="calc_natural_logarithm_button"> <property name="label">ln</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">9</property> @@ -828,8 +777,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">8</property> @@ -845,16 +795,18 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> <object class="AtkObject" id="calc_x_pow_y_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the exponentiation (x to the power of y) button">Exponent</property> </object> </child> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="x_pow_y_label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label"><i>x</i><sup><i>y</i></sup></property> <property name="use_markup">True</property> </object> @@ -871,13 +823,14 @@ </child> <child> <object class="GtkButton" id="calc_root_button"> - <property name="label">√</property> + <property name="label">√</property> <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">7</property> @@ -894,9 +847,10 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="undo_cb"/> + <signal name="clicked" handler="undo_cb" swapped="no"/> </object> <packing> <property name="left_attach">4</property> @@ -910,13 +864,15 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="pi_label"> <property name="visible">True</property> - <property name="label">π</property> + <property name="can_focus">False</property> + <property name="label">π</property> <property name="use_markup">True</property> </object> </child> @@ -935,12 +891,14 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="use_underline">True</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="eulers_number_label"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label"><i>e</i></property> <property name="use_markup">True</property> </object> @@ -958,7 +916,8 @@ <child> <object class="GtkTable" id="table1"> <property name="visible">True</property> - <property name="n_rows">2</property> + <property name="can_focus">False</property> + <property name="n_rows">3</property> <property name="n_columns">3</property> <property name="homogeneous">True</property> <child> @@ -967,8 +926,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> @@ -981,8 +941,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -997,8 +958,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">2</property> @@ -1013,8 +975,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="top_attach">1</property> @@ -1029,8 +992,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">1</property> @@ -1047,8 +1011,9 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> - <signal name="clicked" handler="button_cb"/> + <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">2</property> @@ -1059,11 +1024,66 @@ <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> </packing> </child> + <child> + <object class="GtkButton" id="calc_inverse_cosine_button"> + <property name="label" translatable="yes">acos</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_inverse_sine_button"> + <property name="label" translatable="yes">asin</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">1</property> + <property name="right_attach">2</property> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_inverse_tangent_button"> + <property name="label" translatable="yes">atan</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">2</property> + <property name="right_attach">3</property> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> </object> <packing> <property name="left_attach">6</property> <property name="right_attach">10</property> - <property name="bottom_attach">2</property> + <property name="bottom_attach">3</property> </packing> </child> <child> @@ -1071,32 +1091,39 @@ <property name="visible">True</property> <property name="can_focus">True</property> <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> <property name="focus_on_click">False</property> <child internal-child="accessible"> <object class="AtkObject" id="calc_function_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> </object> </child> - <signal name="clicked" handler="function_cb"/> + <signal name="clicked" handler="function_cb" swapped="no"/> <child> <object class="GtkHBox" id="hbox2"> <property name="visible">True</property> + <property name="can_focus">False</property> <child> <object class="GtkLabel" id="label5"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="label">f(x)</property> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">0</property> </packing> </child> <child> <object class="GtkArrow" id="arrow1"> <property name="visible">True</property> + <property name="can_focus">False</property> <property name="arrow_type">down</property> </object> <packing> <property name="expand">False</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> @@ -1112,8 +1139,128 @@ <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> </packing> </child> + <child> + <object class="GtkButton" id="calc_inverse_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_inverse_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the inverse button">Inverse</property> + </object> + </child> + <signal name="clicked" handler="button_cb" swapped="no"/> + <child> + <object class="GtkLabel" id="label20"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label"><i>x</i><sup>−1</sup></property> + <property name="use_markup">True</property> + <property name="justify">center</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">10</property> + <property name="right_attach">11</property> + <property name="top_attach">1</property> + <property name="bottom_attach">2</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_factorial_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="focus_on_click">False</property> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_factorial_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorial button">Factorial</property> + </object> + </child> + <signal name="clicked" handler="button_cb" swapped="no"/> + <child> + <object class="GtkLabel" id="label14"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label"><i>x</i>!</property> + <property name="use_markup">True</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">10</property> + <property name="right_attach">11</property> + <property name="top_attach">2</property> + <property name="bottom_attach">3</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_abs_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_abs_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the absolute value button">Absolute Value</property> + </object> + </child> + <signal name="clicked" handler="button_cb" swapped="no"/> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">|<i>x</i>|</property> + <property name="use_markup">True</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">10</property> + <property name="right_attach">11</property> + <property name="top_attach">3</property> + <property name="bottom_attach">4</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_arg_button"> + <property name="label">Arg</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + <property name="focus_on_click">False</property> + <signal name="clicked" handler="button_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">10</property> + <property name="right_attach">11</property> + <property name="top_attach">4</property> + <property name="bottom_attach">5</property> + <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + </packing> + </child> + <child> + <placeholder/> + </child> </object> <packing> + <property name="expand">True</property> + <property name="fill">True</property> <property name="position">1</property> </packing> </child> |