From 76cbaa377d3edb9e72ffaf23ac666b1cd57ca3f2 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Wed, 9 Sep 2020 18:32:45 -0400 Subject: add more css selectors --- components/chatwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components/chatwindow.cpp') 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); -- cgit v1.2.3