implemented labled switch
This commit is contained in:
@@ -6,8 +6,23 @@
|
||||
<object class="GtkBox" id="content">
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="LabledSwitch" id="hiragana-enable">
|
||||
<!-- <property name="label_text">Enable hiragana?</property> -->
|
||||
<object class="LabledSwitch" id="hiragana_enable">
|
||||
<property name="label_text">Enable hiragana?</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="LabledSwitch" id="katakana_enable">
|
||||
<property name="label_text">Enable katakana?</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="LabledSwitch" id="ktr_enable">
|
||||
<property name="label_text">Enable kana to romaji?</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="LabledSwitch" id="rtk_enable">
|
||||
<property name="label_text">Enable romaji to kana?</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
||||
@@ -1,15 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<interface>
|
||||
<template class="LabledSwitch" parent="GtkWidget">
|
||||
<!-- <property name="layout-managet">GtkBoxLayout</property> -->
|
||||
<property name="label_text">Practice vocabulary with memory cards</property>
|
||||
<property name="label_text">placeholder</property>
|
||||
<child>
|
||||
<object class="GtkSwitch" id="switch_obj">
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_obj">
|
||||
<property name="label">There's a question:</property>
|
||||
</object>
|
||||
</child>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user