diff options
Diffstat (limited to 'data/buttons-advanced.ui')
-rw-r--r-- | data/buttons-advanced.ui | 635 |
1 files changed, 211 insertions, 424 deletions
diff --git a/data/buttons-advanced.ui b/data/buttons-advanced.ui index 48de81d..a4b756b 100644 --- a/data/buttons-advanced.ui +++ b/data/buttons-advanced.ui @@ -1,39 +1,33 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- Generated with glade 3.20.4 --> <interface> - <requires lib="gtk+" version="2.16"/> - <!-- interface-naming-policy toplevel-contextual --> + <requires lib="gtk+" version="3.22"/> <object class="GtkWindow" id="window1"> <property name="can_focus">False</property> <child> - <object class="GtkTable" id="button_panel"> + <object class="GtkGrid" id="button_panel"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="n_rows">5</property> - <property name="n_columns">11</property> - <property name="homogeneous">True</property> + <property name="row_homogeneous">True</property> + <property name="column_homogeneous">True</property> <child> <object class="GtkButton" id="calc_factor_button"> <property name="label">a×b</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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="factorize_cb" swapped="no"/> <child internal-child="accessible"> <object class="AtkObject" id="calc_factor_button-atkobject"> <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the factorize button">Factorize</property> </object> </child> - <signal name="clicked" handler="factorize_cb" swapped="no"/> </object> <packing> <property name="left_attach">5</property> - <property name="right_attach">6</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> @@ -41,29 +35,23 @@ <property name="label">Im</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">7</property> - <property name="right_attach">8</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> <object class="GtkButton" id="calc_imaginary_button"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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"/> <child> <object class="GtkLabel" id="imaginary_label"> @@ -76,11 +64,7 @@ </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</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> @@ -88,17 +72,14 @@ <property name="label">4</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> + <property name="left_attach">0</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> @@ -106,17 +87,14 @@ <property name="label">7</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> + <property name="left_attach">0</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> @@ -124,19 +102,14 @@ <property name="label">8</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</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> @@ -144,19 +117,14 @@ <property name="label">9</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</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> @@ -164,19 +132,14 @@ <property name="label">5</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" 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> @@ -184,19 +147,14 @@ <property name="label">6</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" 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> <child> @@ -204,37 +162,14 @@ <property name="label">÷</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">3</property> - <property name="right_attach">4</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_1_button"> - <property name="label">1</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="digit_cb" swapped="no"/> - </object> - <packing> - <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> @@ -242,38 +177,14 @@ <property name="label">2</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</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_0_button"> - <property name="label">0</property> - <property name="width_request">50</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="digit_cb" swapped="no"/> - </object> - <packing> - <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> @@ -281,19 +192,14 @@ <property name="label" comments="Label is set in gtk.c to comply with LC flags">.</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">1</property> - <property name="right_attach">2</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> @@ -301,19 +207,14 @@ <property name="label">3</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">2</property> - <property name="right_attach">3</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> @@ -321,19 +222,14 @@ <property name="label">×</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">3</property> - <property name="right_attach">4</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> @@ -341,19 +237,14 @@ <property name="label">−</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">3</property> - <property name="right_attach">4</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> @@ -361,19 +252,14 @@ <property name="label">+</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">3</property> - <property name="right_attach">4</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> @@ -381,19 +267,14 @@ <property name="label" translatable="yes" comments="Label on the solve button (clicking this solves the displayed calculation)">=</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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" swapped="no"/> </object> <packing> <property name="left_attach">4</property> - <property name="right_attach">5</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> @@ -401,102 +282,40 @@ <property name="label" translatable="yes">Clear</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> + <property name="receives_default">True</property> <signal name="clicked" handler="clear_cb" swapped="no"/> </object> <packing> <property name="left_attach">5</property> - <property name="right_attach">6</property> - <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkToggleButton" id="calc_subscript_button"> + <object class="GtkButton" id="calc_exponential_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_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" swapped="no"/> - <child> - <object class="GtkLabel" id="label4"> - <property name="visible">True</property> - <property name="can_focus">False</property> - <property name="label">↓n</property> - <property name="use_markup">True</property> - </object> - </child> - </object> - <packing> - <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="GtkToggleButton" id="calc_superscript_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_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" swapped="no"/> + <property name="use_underline">True</property> + <signal name="clicked" handler="exponent_cb" swapped="no"/> <child> - <object class="GtkLabel" id="label3"> + <object class="GtkLabel" id="label2"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label">↑n</property> + <property name="label">×10<sup><i>y</i></sup></property> <property name="use_markup">True</property> </object> </child> - </object> - <packing> - <property name="left_attach">1</property> - <property name="right_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_exponential_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_exponential_button-atkobject"> <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" swapped="no"/> - <child> - <object class="GtkLabel" id="label2"> - <property name="visible">True</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> </object> <packing> <property name="left_attach">2</property> - <property name="right_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> + <property name="top_attach">0</property> </packing> </child> <child> @@ -504,17 +323,14 @@ <property name="label">mod</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">3</property> - <property name="right_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> + <property name="top_attach">0</property> </packing> </child> <child> @@ -522,19 +338,14 @@ <property name="label">(</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">4</property> - <property name="right_attach">5</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> @@ -542,36 +353,25 @@ <property name="label">)</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">5</property> - <property name="right_attach">6</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_memory_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_memory_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the memory button">Memory</property> - </object> - </child> + <property name="receives_default">True</property> <signal name="clicked" handler="memory_cb" swapped="no"/> <child> - <object class="GtkHBox" id="hbox20"> + <object class="GtkBox" id="hbox20"> <property name="visible">True</property> <property name="can_focus">False</property> <child> @@ -603,14 +403,16 @@ </child> </object> </child> + <child internal-child="accessible"> + <object class="AtkObject" id="calc_memory_button-atkobject"> + <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the memory button">Memory</property> + </object> + </child> </object> <packing> <property name="left_attach">4</property> - <property name="right_attach">6</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> + <property name="width">2</property> </packing> </child> <child> @@ -618,19 +420,14 @@ <property name="label">Re</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">6</property> - <property name="right_attach">7</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> @@ -638,19 +435,14 @@ <property name="label">conj</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">8</property> - <property name="right_attach">9</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> @@ -658,19 +450,14 @@ <property name="label">ln</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">9</property> - <property name="right_attach">10</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> @@ -678,32 +465,21 @@ <property name="label">log</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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> <property name="left_attach">8</property> - <property name="right_attach">9</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_x_pow_y_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_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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="x_pow_y_label"> @@ -713,14 +489,15 @@ <property name="use_markup">True</property> </object> </child> + <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> </object> <packing> <property name="left_attach">6</property> - <property name="right_attach">7</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> @@ -728,19 +505,14 @@ <property name="label">√</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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">7</property> - <property name="right_attach">8</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> @@ -748,26 +520,22 @@ <property name="label" translatable="yes">Undo</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> + <property name="receives_default">True</property> <signal name="clicked" handler="undo_cb" swapped="no"/> </object> <packing> <property name="left_attach">4</property> - <property name="right_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> + <property name="top_attach">0</property> </packing> </child> <child> <object class="GtkButton" id="calc_pi_button"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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"/> <child> <object class="GtkLabel" id="pi_label"> @@ -780,21 +548,16 @@ </object> <packing> <property name="left_attach">4</property> - <property name="right_attach">5</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_eulers_number_button"> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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"/> <child> <object class="GtkLabel" id="eulers_number_label"> @@ -807,33 +570,27 @@ </object> <packing> <property name="left_attach">5</property> - <property name="right_attach">6</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="GtkTable" id="table1"> + <object class="GtkGrid" id="table1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="n_rows">3</property> - <property name="n_columns">3</property> - <property name="homogeneous">True</property> + <property name="row_homogeneous">True</property> + <property name="column_homogeneous">True</property> <child> <object class="GtkButton" id="calc_cosine_button"> <property name="label">cos</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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> - <property name="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="left_attach">0</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -841,16 +598,13 @@ <property name="label">sin</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> + <property name="receives_default">True</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="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="top_attach">0</property> </packing> </child> <child> @@ -858,150 +612,116 @@ <property name="label">tan</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> + <property name="receives_default">True</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="x_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> - <property name="y_options">GTK_EXPAND | GTK_SHRINK | GTK_FILL</property> + <property name="top_attach">0</property> </packing> </child> <child> - <object class="GtkButton" id="calc_hyperbolic_cosine_button"> - <property name="label">cosh</property> + <object class="GtkButton" id="calc_hyperbolic_sine_button"> + <property name="label">sinh</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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> + <property name="left_attach">1</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_hyperbolic_sine_button"> - <property name="label">sinh</property> + <object class="GtkButton" id="calc_hyperbolic_tangent_button"> + <property name="label">tanh</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> + <property name="receives_default">True</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="left_attach">2</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_hyperbolic_tangent_button"> - <property name="label">tanh</property> + <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> + <property name="receives_default">True</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">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> + <property name="left_attach">1</property> + <property name="top_attach">2</property> </packing> </child> <child> - <object class="GtkButton" id="calc_inverse_cosine_button"> - <property name="label" translatable="yes">acos</property> + <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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> </object> <packing> + <property name="left_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_sine_button"> - <property name="label" translatable="yes">asin</property> + <object class="GtkButton" id="calc_hyperbolic_cosine_button"> + <property name="label">cosh</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> + <property name="receives_default">True</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> + <property name="left_attach">0</property> + <property name="top_attach">1</property> </packing> </child> <child> - <object class="GtkButton" id="calc_inverse_tangent_button"> - <property name="label" translatable="yes">atan</property> + <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> + <property name="receives_default">True</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="left_attach">0</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">3</property> + <property name="top_attach">0</property> + <property name="width">4</property> + <property name="height">3</property> </packing> </child> <child> <object class="GtkButton" id="calc_function_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_function_button-atkobject"> - <property name="AtkObject::accessible-name" translatable="yes" comments="Accessible name for the store value button">Store</property> - </object> - </child> + <property name="receives_default">True</property> <signal name="clicked" handler="function_cb" swapped="no"/> <child> - <object class="GtkHBox" id="hbox2"> + <object class="GtkBox" id="hbox2"> <property name="visible">True</property> <property name="can_focus">False</property> <child> @@ -1030,28 +750,23 @@ </child> </object> </child> + <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> </object> <packing> <property name="left_attach">9</property> - <property name="right_attach">10</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> <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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="label20"> @@ -1062,28 +777,23 @@ <property name="justify">center</property> </object> </child> + <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> </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> + <property name="receives_default">True</property> <signal name="clicked" handler="button_cb" swapped="no"/> <child> <object class="GtkLabel" id="label14"> @@ -1093,29 +803,24 @@ <property name="use_markup">True</property> </object> </child> + <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> </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="focus_on_click">False</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"> @@ -1125,14 +830,15 @@ <property name="use_markup">True</property> </object> </child> + <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> </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> @@ -1140,19 +846,97 @@ <property name="label">Arg</property> <property name="visible">True</property> <property name="can_focus">True</property> + <property name="focus_on_click">False</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> + <object class="GtkToggleButton" id="calc_superscript_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="focus_on_click">False</property> + <property name="receives_default">True</property> + <signal name="clicked" handler="set_superscript_cb" swapped="no"/> + <child> + <object class="GtkLabel" id="label3"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">↑n</property> + <property name="use_markup">True</property> + </object> + </child> + <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> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkToggleButton" id="calc_subscript_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="focus_on_click">False</property> + <property name="receives_default">True</property> + <signal name="clicked" handler="set_subscript_cb" swapped="no"/> + <child> + <object class="GtkLabel" id="label4"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label">↓n</property> + <property name="use_markup">True</property> + </object> + </child> + <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> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_1_button"> + <property name="label">1</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="focus_on_click">False</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + </packing> + </child> + <child> + <object class="GtkButton" id="calc_0_button"> + <property name="label">0</property> + <property name="width_request">50</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="focus_on_click">False</property> + <property name="receives_default">True</property> + <property name="use_underline">True</property> + <signal name="clicked" handler="digit_cb" swapped="no"/> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">4</property> </packing> </child> <child> @@ -1160,5 +944,8 @@ </child> </object> </child> + <child type="titlebar"> + <placeholder/> + </child> </object> </interface> |