views/month-cell: Add method for retrieving overflow button

This is needed for keyboard navigation, specifically for grabbing
focus and checking focus.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/598>
This commit is contained in:
Hari Rana
2026-03-01 19:35:44 +00:00
committed by Marge Bot
parent 24dd9be132
commit 5ed93e73d4
2 changed files with 11 additions and 0 deletions
+9
View File
@@ -637,3 +637,12 @@ gcal_month_cell_set_selected (GcalMonthCell *self,
gtk_widget_queue_resize (GTK_WIDGET (self));
}
GtkWidget *
gcal_month_cell_get_overflow_button (GcalMonthCell *self)
{
g_assert (GCAL_IS_MONTH_CELL (self));
return self->overflow_button;
}
+2
View File
@@ -57,6 +57,8 @@ gboolean gcal_month_cell_get_selected (GcalMonthCell
void gcal_month_cell_set_selected (GcalMonthCell *self,
gboolean selected);
GtkWidget *gcal_month_cell_get_overflow_button (GcalMonthCell *self);
G_END_DECLS
#endif /* GCAL_MONTH_VIEW_CELL_H */