2002-09-16 Martin Baulig <martin@gnome.org>
* gnome/Modules.cs (Module): Make this class public. * sample/CanvasExample.cs: Insert a missing `break' in a switch section to make this compile. * sample/Scribble.cs: Added missing casts from EventMask to int. svn path=/trunk/gtk-sharp/; revision=7493
This commit is contained in:
parent
0998fd871a
commit
f058a1b5f8
4 changed files with 15 additions and 5 deletions
|
@ -1,3 +1,12 @@
|
|||
2002-09-16 Martin Baulig <martin@gnome.org>
|
||||
|
||||
* gnome/Modules.cs (Module): Make this class public.
|
||||
|
||||
* sample/CanvasExample.cs: Insert a missing `break' in a switch
|
||||
section to make this compile.
|
||||
|
||||
* sample/Scribble.cs: Added missing casts from EventMask to int.
|
||||
|
||||
2002-09-15 Ricardo Fern<72>ndez Pascual <ric@users.sourceforge.net>
|
||||
|
||||
* glade/XML.custom: Added a constructor to read the glade file
|
||||
|
|
|
@ -3,7 +3,7 @@ namespace Gnome
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
class Modules
|
||||
public class Modules
|
||||
{
|
||||
[DllImport("libgnome-2.so.0")]
|
||||
static extern System.IntPtr libgnome_module_info_get ();
|
||||
|
|
|
@ -115,6 +115,7 @@ namespace GtkSamples {
|
|||
sa.RetVal = true;
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case EventType.TwoButtonPress:
|
||||
ChangeItemColor (item);
|
||||
sa.RetVal = true;
|
||||
|
|
|
@ -30,10 +30,10 @@ namespace GtkSamples {
|
|||
darea.MotionNotifyEvent += new MotionNotifyEventHandler (MotionNotifyEvent);
|
||||
darea.ButtonPressEvent += new ButtonPressEventHandler (ButtonPressEvent);
|
||||
darea.Events = (int)EventMask.ExposureMask |
|
||||
EventMask.LeaveNotifyMask |
|
||||
EventMask.ButtonPressMask |
|
||||
EventMask.PointerMotionMask |
|
||||
EventMask.PointerMotionHintMask;
|
||||
(int)EventMask.LeaveNotifyMask |
|
||||
(int)EventMask.ButtonPressMask |
|
||||
(int)EventMask.PointerMotionMask |
|
||||
(int)EventMask.PointerMotionHintMask;
|
||||
|
||||
win.ShowAll ();
|
||||
Application.Run ();
|
||||
|
|
Loading…
Reference in a new issue