Files
bar/include/widgets/weather.hpp
2026-02-04 15:52:31 +01:00

21 lines
428 B
C++

#pragma once
#include <gtkmm/box.h>
#include <gtkmm/label.h>
#include <sigc++/sigc++.h>
class WeatherWidget : public Gtk::Box {
public:
WeatherWidget();
private:
Gtk::Label titleLabel;
Gtk::Label currentLabel;
Gtk::Label todayLabel;
bool onRefreshTick();
void fetchWeather();
void applyWeatherText(const std::string &current_text,
const std::string &today_text);
};