Moved default mouse events handlers to mootermselection.c

master
Yevgen Muntyan 2005-07-15 10:15:40 +00:00
parent d7643e2472
commit 4c22327bca
1 changed files with 39 additions and 0 deletions

View File

@ -53,3 +53,42 @@ char *term_selection_get_text (MooTerm *term)
{
return NULL;
}
gboolean moo_term_button_press (GtkWidget *widget,
GdkEventButton *event)
{
MooTerm *term;
term = MOO_TERM (widget);
moo_term_set_pointer_visible (term, TRUE);
return FALSE;
}
gboolean moo_term_button_release (GtkWidget *widget,
GdkEventButton *event)
{
MooTerm *term;
term = MOO_TERM (widget);
moo_term_set_pointer_visible (term, TRUE);
return FALSE;
}
gboolean moo_term_motion_notify (GtkWidget *widget,
GdkEventMotion *event)
{
MooTerm *term;
term = MOO_TERM (widget);
moo_term_set_pointer_visible (term, TRUE);
return FALSE;
}