diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-09 18:32:45 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-09-09 18:32:45 -0400 |
commit | 76cbaa377d3edb9e72ffaf23ac666b1cd57ca3f2 (patch) | |
tree | bea746b9b3841230d604345402dba9bf4a713dc4 /components/chatwindow.cpp | |
parent | 397702b6c9659510f781847814f606857a60b38d (diff) | |
download | abaddon-portaudio-76cbaa377d3edb9e72ffaf23ac666b1cd57ca3f2.tar.gz abaddon-portaudio-76cbaa377d3edb9e72ffaf23ac666b1cd57ca3f2.zip |
add more css selectors
Diffstat (limited to 'components/chatwindow.cpp')
-rw-r--r-- | components/chatwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/chatwindow.cpp b/components/chatwindow.cpp index 603ebb0..a3fb872 100644 --- a/components/chatwindow.cpp +++ b/components/chatwindow.cpp @@ -16,6 +16,9 @@ ChatWindow::ChatWindow() { m_input = Gtk::manage(new Gtk::TextView); m_entry_scroll = Gtk::manage(new Gtk::ScrolledWindow); + m_listbox->get_style_context()->add_class("messages"); + m_input->get_style_context()->add_class("message-input"); + m_input->signal_key_press_event().connect(sigc::mem_fun(*this, &ChatWindow::on_key_press_event), false); m_main->set_hexpand(true); |