/* Quick view widget for Gnomecal * * Copyright (C) 1998 The Free Software Foundation * * Author: Federico Mena #include "gnome-cal.h" BEGIN_GNOME_DECLS #define TYPE_QUICK_VIEW (quick_view_get_type ()) #define QUICK_VIEW(obj) (GTK_CHECK_CAST ((obj), TYPE_QUICK_VIEW, QuickView)) #define QUICK_VIEW_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), TYPE_QUICK_VIEW, QuickViewClass)) #define IS_QUICK_VIEW(obj) (GTK_CHECK_TYPE ((obj), TYPE_QUICK_VIEW)) #define IS_QUICK_VIEW_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), TYPE_QUICK_VIEW)) typedef struct _QuickView QuickView; typedef struct _QuickViewClass QuickViewClass; struct _QuickView { GtkWindow window; GnomeCalendar *calendar; /* The calendar we are associated to */ GtkWidget *canvas; /* The canvas that displays the contents of the quick view */ int button; /* The button that was pressed to pop up the quick view */ }; struct _QuickViewClass { GtkWindowClass parent_class; }; /* Standard Gtk function */ GtkType quick_view_get_type (void); /* Creates a new quick view with the specified title and the specified event list. It is associated * to the specified calendar. The event list must be a list of CalendarObject structures. */ GtkWidget *quick_view_new (GnomeCalendar *calendar, char *title, GList *event_list); /* Pops up the quick view widget modally and loops until the uses closes it by releasing the mouse * button. You can destroy the quick view when this function returns. */ void quick_view_do_popup (QuickView *qv, GdkEventButton *event); END_GNOME_DECLS #endif ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtk-engines2
diff options
context:
space:
mode:
authorKoop Mast <kwm@rainbow-runner.nl>2016-12-10 23:29:02 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2016-12-10 23:29:02 +0800
commitb1001d70f01d51c768db3a1e8e00cd1b7a245440 (patch)
tree7268e086efcba602ca5f14534bce6f7075c92810 /x11-toolkits/gtk-engines2
parent2c467c5afbd45537746e9d808e5e92481c8d28b9 (diff)
parent43ae45671e24ac2b498ed0e5af2e3d27383b4320 (diff)
downloadfreebsd-ports-graphics-mesa-next.tar.gz
freebsd-ports-graphics-mesa-next.tar.zst
freebsd-ports-graphics-mesa-next.zip
Merge branch 'master' into mesa-nextHEADmesa-next
Diffstat (limited to 'x11-toolkits/gtk-engines2')