aboutsummaryrefslogtreecommitdiff
path: root/include/WindowNotification.hpp
blob: 87111def6e6fe49490319eb844b8739000953d17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <gtkmm/overlay.h>
#include <gtkmm/revealer.h>
#include <gtkmm/label.h>

namespace dchat
{
    class WindowNotification : public Gtk::Overlay
    {
    public:
        WindowNotification();
        void show(const Glib::ustring &text);
    private:
        Gtk::Revealer revealer;
        Gtk::Label label;
        sigc::connection hideTimer;
    };
}