Stepan Salenikovich | d2cad06 | 2016-01-08 13:43:49 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <interface> |
| 3 | <requires lib="gtk+" version="3.10"/> |
| 4 | <template class="ChatView" parent="GtkBox"> |
| 5 | <property name="orientation">vertical</property> |
Stepan Salenikovich | c6a3b98 | 2016-01-11 18:11:39 -0500 | [diff] [blame] | 6 | |
| 7 | <!-- chat info (only show for out of call conversations) --> |
| 8 | <child> |
| 9 | <object class="GtkBox" id="hbox_chat_info"> |
| 10 | <property name="visible">False</property> |
| 11 | <property name="no-show-all">True</property> |
| 12 | <property name="orientation">horizontal</property> |
| 13 | <property name="spacing">5</property> |
| 14 | <property name="border-width">5</property> |
| 15 | <child> |
| 16 | <object class="GtkLabel" id="label_peer"> |
| 17 | <property name="visible">True</property> |
| 18 | <property name="selectable">True</property> |
| 19 | <property name="ellipsize">end</property> |
| 20 | <attributes> |
| 21 | <attribute name="weight" value="bold"/> |
| 22 | </attributes> |
| 23 | </object> |
| 24 | <packing> |
| 25 | <property name="expand">False</property> |
| 26 | <property name="fill">True</property> |
| 27 | </packing> |
| 28 | </child> |
| 29 | <child> |
| 30 | <object class="GtkComboBox" id="combobox_cm"> |
| 31 | <property name="visible">False</property> |
| 32 | <property name="popup-fixed-width">False</property> |
| 33 | </object> |
| 34 | <packing> |
| 35 | <property name="expand">False</property> |
| 36 | <property name="fill">True</property> |
| 37 | <property name="pack-type">end</property> |
| 38 | </packing> |
| 39 | </child> |
| 40 | </object> |
| 41 | <packing> |
| 42 | <property name="expand">False</property> |
| 43 | <property name="fill">True</property> |
| 44 | </packing> |
| 45 | </child> |
| 46 | <!-- end of chat info --> |
| 47 | |
Stepan Salenikovich | d2cad06 | 2016-01-08 13:43:49 -0500 | [diff] [blame] | 48 | <!-- start of chat text view --> |
| 49 | <child> |
| 50 | <object class="GtkScrolledWindow" id="scrolledwindow_chat"> |
| 51 | <property name="visible">True</property> |
| 52 | <child> |
| 53 | <object class="GtkTextView" id="textview_chat"> |
| 54 | <property name="visible">True</property> |
| 55 | <property name="can_focus">True</property> |
| 56 | <property name="editable">False</property> |
| 57 | <property name="wrap-mode">word-char</property> |
| 58 | <property name="left-margin">5</property> |
| 59 | <property name="right-margin">5</property> |
| 60 | <property name="height-request">50</property> |
| 61 | </object> |
| 62 | </child> |
| 63 | </object> |
| 64 | <packing> |
| 65 | <property name="expand">True</property> |
| 66 | <property name="fill">True</property> |
| 67 | </packing> |
| 68 | </child> |
| 69 | <!-- end of chat text view --> |
Stepan Salenikovich | c6a3b98 | 2016-01-11 18:11:39 -0500 | [diff] [blame] | 70 | |
Stepan Salenikovich | d2cad06 | 2016-01-08 13:43:49 -0500 | [diff] [blame] | 71 | <!-- start of chat entry --> |
| 72 | <child> |
| 73 | <object class="GtkBox" id="hbox_chat_input"> |
| 74 | <property name="visible">True</property> |
| 75 | <property name="orientation">horizontal</property> |
Stepan Salenikovich | d2cad06 | 2016-01-08 13:43:49 -0500 | [diff] [blame] | 76 | <child> |
| 77 | <object class="GtkEntry" id="entry_chat_input"> |
| 78 | <property name="visible">True</property> |
| 79 | </object> |
| 80 | <packing> |
| 81 | <property name="expand">True</property> |
| 82 | <property name="fill">True</property> |
| 83 | </packing> |
| 84 | </child> |
| 85 | <child> |
| 86 | <object class="GtkButton" id="button_chat_input"> |
| 87 | <property name="visible">True</property> |
| 88 | <property name="label" translatable="yes">Send</property> |
| 89 | </object> |
| 90 | </child> |
| 91 | </object> |
| 92 | <packing> |
| 93 | <property name="expand">False</property> |
| 94 | <property name="fill">True</property> |
| 95 | </packing> |
| 96 | </child> |
Stepan Salenikovich | c6a3b98 | 2016-01-11 18:11:39 -0500 | [diff] [blame] | 97 | <!-- end of chat entry --> |
| 98 | |
Stepan Salenikovich | d2cad06 | 2016-01-08 13:43:49 -0500 | [diff] [blame] | 99 | </template> |
| 100 | </interface> |