Add gtk_print_unix_dialog_add_custom_tab
2006-05-23 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: * gtk/gtkprintunixdialog.[ch]: Add gtk_print_unix_dialog_add_custom_tab * gtk/gtkprintoperation-unix.c: Implement custom widgets for unix. Fix some warnings by including cairo-ps/pdf.h * gtk/gtkprintoperation-win32.c: Mark string for translation.
This commit is contained in:

committed by
Alexander Larsson

parent
fdddcbf842
commit
07d2dd1700
@ -2637,6 +2637,17 @@ gtk_print_unix_dialog_get_settings (GtkPrintUnixDialog *dialog)
|
||||
return settings;
|
||||
}
|
||||
|
||||
void
|
||||
gtk_print_unix_dialog_add_custom_tab (GtkPrintUnixDialog *dialog,
|
||||
GtkWidget *child,
|
||||
GtkWidget *tab_label)
|
||||
{
|
||||
gtk_notebook_insert_page (GTK_NOTEBOOK (dialog->priv->notebook),
|
||||
child, tab_label, 2);
|
||||
gtk_widget_show (child);
|
||||
gtk_widget_show (tab_label);
|
||||
}
|
||||
|
||||
|
||||
#define __GTK_PRINT_UNIX_DIALOG_C__
|
||||
#include "gtkaliasdef.c"
|
||||
|
Reference in New Issue
Block a user