1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#ifndef __WIDGETS_H__ #define __WIDGETS_H__ #include <gtk/gtk.h> typedef enum { SMALL, MEDIUM, LARGE, ASIS } WidgetSize; typedef struct WidgetInfo { GtkWidget *window; gchar *name; gboolean no_focus; gboolean include_decorations; WidgetSize size; } WidgetInfo; GList *get_all_widgets (void); #endif /* __WIDGETS_H__ */