summaryrefslogtreecommitdiff
path: root/gtk/gtkprintoperation.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2006-05-22 17:19:10 +0000
committerAlexander Larsson <alexl@src.gnome.org>2006-05-22 17:19:10 +0000
commitd2cb6c6eb21a1aa341c9555d5950a1b1da66a05a (patch)
treed3662d2f49fa74394e54fae3b1596ee26a2ca658 /gtk/gtkprintoperation.h
parentfb3eeb868689df25cc8fa56ed8471f1b880bb1c1 (diff)
downloadgtk+-d2cb6c6eb21a1aa341c9555d5950a1b1da66a05a.tar.gz
Make sure grab-notify is emitted on toplevels as well as child widgets.
2006-05-22 Alexander Larsson <alexl@redhat.com> * gtk/gtkmain.c: Make sure grab-notify is emitted on toplevels as well as child widgets. * gtk/Makefile.am: * gtk/gtkwin32embedwidget.[ch] Add new widget used for win32 port to embed gtk+ widgets in windows dialog. * gtk/gtkmarshalers.list: Add POINTER:VOID * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation.[ch]: Generic support for custom widgets in print dialog. * gtk/gtkprintoperation-win32.c: Implement custom widget support for win32. * tests/print-editor.c: Allow setting of font using custom widgets in the print dialog.
Diffstat (limited to 'gtk/gtkprintoperation.h')
-rw-r--r--gtk/gtkprintoperation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkprintoperation.h b/gtk/gtkprintoperation.h
index e60ec5bc92..58baf74561 100644
--- a/gtk/gtkprintoperation.h
+++ b/gtk/gtkprintoperation.h
@@ -80,6 +80,10 @@ struct _GtkPrintOperationClass
void (*end_print) (GtkPrintOperation *operation,
GtkPrintContext *context);
void (*status_changed) (GtkPrintOperation *operation);
+
+ GtkWidget *(*create_custom_widget) (GtkPrintOperation *operation);
+ void (*custom_widget_apply) (GtkPrintOperation *operation,
+ GtkWidget *widget);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);