Gtk callback stubs.

This commit is contained in:
mcafee%netscape.com 1999-04-07 05:40:37 +00:00
parent 30be3b777f
commit 7298ce63e0

View File

@ -190,3 +190,38 @@ void nsClipboard::SetTopLevelWidget(GtkWidget* w)
// Need to add entries for XIF and HTML
}
//
// The event handler to handle selection requests:
//
void nsClipboard::SelectionRequestCB( GtkWidget *widget,
GtkSelectionData *selection_data,
guint /*info*/,
guint /*time*/,
gpointer data)
{
printf(" nsClipboard::SelectionRequestCB\n");
}
// Called when another app requests the selection:
void nsClipboard::SelectionClearCB( GtkWidget *widget,
GdkEventSelection *event,
gpointer data)
{
printf(" nsClipboard::SelectionClearCB\n");
}
void
nsClipboard::SelectionReceivedCB (GtkWidget *aWidget,
GtkSelectionData *aSelectionData,
gpointer aData)
{
// ARGHH! GTK doesn't pass the arg to the callback, so we can't
// get "this" back! Until we solve this, use the global:
printf(" nsClipboard::SelectionReceivedCB\n");
}