[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp GrabWindow.cs,1.1,1.2 Widget.
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/Xsharp GrabWindow.cs,1.1,1.2 Widget.cs,1.5,1.6 |
Date: |
Tue, 24 Jun 2003 03:52:51 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/Xsharp
In directory subversions:/tmp/cvs-serv10584/Xsharp
Modified Files:
GrabWindow.cs Widget.cs
Log Message:
Add the internal "PopupControl" class to Forms, to support popup menus and
combox box drop-down lists.
Index: GrabWindow.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/GrabWindow.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** GrabWindow.cs 24 Jun 2003 02:18:56 -0000 1.1
--- GrabWindow.cs 24 Jun 2003 07:52:49 -0000 1.2
***************
*** 78,82 ****
EventMask.PointerMotionMask),
1 /* GrabModeAsync */, 1 /*
GrabModeAsync */,
! Xlib.Window.Zero,
Xlib.Cursor.Zero,
dpy.knownEventTime);
Xlib.XFlush(display);
--- 78,83 ----
EventMask.PointerMotionMask),
1 /* GrabModeAsync */, 1 /*
GrabModeAsync */,
! Xlib.Window.Zero,
!
dpy.GetCursor(CursorType.XC_left_ptr),
dpy.knownEventTime);
Xlib.XFlush(display);
Index: Widget.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/Xsharp/Widget.cs,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** Widget.cs 13 Jun 2003 02:39:29 -0000 1.5
--- Widget.cs 24 Jun 2003 07:52:49 -0000 1.6
***************
*** 672,682 ****
IntPtr display = dpy.Lock();
XWindowChanges changes = new
XWindowChanges();
- changes.sibling =
child.GetWidgetHandle();
changes.stack_mode = 1; /*
Below */
! Xlib.XConfigureWindow
! (display,
GetWidgetHandle(),
!
(uint)(ConfigureWindowMask.CWSibling |
!
ConfigureWindowMask.CWStackMode),
! ref changes);
}
finally
--- 672,692 ----
IntPtr display = dpy.Lock();
XWindowChanges changes = new
XWindowChanges();
changes.stack_mode = 1; /*
Below */
! if(child is TopLevelWindow)
! {
! Xlib.XConfigureWindow
! (display,
GetWidgetHandle(),
!
(uint)(ConfigureWindowMask.CWStackMode),
! ref changes);
! }
! else
! {
! changes.sibling =
child.GetWidgetHandle();
! Xlib.XConfigureWindow
! (display,
GetWidgetHandle(),
!
(uint)(ConfigureWindowMask.CWSibling |
!
ConfigureWindowMask.CWStackMode),
! ref changes);
! }
}
finally
***************
*** 693,703 ****
IntPtr display = dpy.Lock();
XWindowChanges changes = new
XWindowChanges();
- changes.sibling =
child.GetWidgetHandle();
changes.stack_mode = 0; /*
Above */
! Xlib.XConfigureWindow
! (display,
GetWidgetHandle(),
!
(uint)(ConfigureWindowMask.CWSibling |
!
ConfigureWindowMask.CWStackMode),
! ref changes);
}
finally
--- 703,723 ----
IntPtr display = dpy.Lock();
XWindowChanges changes = new
XWindowChanges();
changes.stack_mode = 0; /*
Above */
! if(child is TopLevelWindow)
! {
! Xlib.XConfigureWindow
! (display,
GetWidgetHandle(),
!
(uint)(ConfigureWindowMask.CWStackMode),
! ref changes);
! }
! else
! {
! changes.sibling =
child.GetWidgetHandle();
! Xlib.XConfigureWindow
! (display,
GetWidgetHandle(),
!
(uint)(ConfigureWindowMask.CWSibling |
!
ConfigureWindowMask.CWStackMode),
! ref changes);
! }
}
finally
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/Xsharp GrabWindow.cs,1.1,1.2 Widget.cs,1.5,1.6,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingPopupWindow.cs,NONE,1.1 DrawingToolkit.cs,1.10,1.11
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms PopupControl.cs,NONE,1.1
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Drawing.Xsharp DrawingPopupWindow.cs,NONE,1.1 DrawingToolkit.cs,1.10,1.11
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/System.Windows.Forms PopupControl.cs,NONE,1.1
- Index(es):