Files
federated-calendar/src/gui/event-editor/gcal-date-chooser-day.h
T
Georges Basile Stavracas Neto 97456e3428 date-chooser-day: Port to GTK4
Subclass AdwBin. Remove unnecessary GtkWidget overrides.
2022-02-11 09:18:38 -03:00

46 lines
1.9 KiB
C

/* GTK - The GIMP Toolkit
* Copyright (C) 2015 Red Hat, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#include "gcal-date-chooser.h"
#include <adwaita.h>
G_BEGIN_DECLS
#define GCAL_TYPE_DATE_CHOOSER_DAY (gcal_date_chooser_day_get_type())
G_DECLARE_FINAL_TYPE (GcalDateChooserDay, gcal_date_chooser_day, GCAL, DATE_CHOOSER_DAY, AdwBin)
GtkWidget* gcal_date_chooser_day_new (void);
GDateTime* gcal_date_chooser_day_get_date (GcalDateChooserDay *day);
void gcal_date_chooser_day_set_date (GcalDateChooserDay *day,
GDateTime *date);
void gcal_date_chooser_day_set_other_month (GcalDateChooserDay *day,
gboolean other_month);
void gcal_date_chooser_day_set_selected (GcalDateChooserDay *day,
gboolean selected);
void gcal_date_chooser_day_set_options (GcalDateChooserDay *day,
GcalDateChooserDayOptions options);
G_END_DECLS