[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingTopLevelWindo
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingTopLevelWindow.cs, 1.16, 1.17 |
Date: |
Tue, 02 Dec 2003 07:28:08 +0000 |
Update of /cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp
In directory subversions:/tmp/cvs-serv30371/System.Drawing.Xsharp
Modified Files:
DrawingTopLevelWindow.cs
Log Message:
Implement the "Help" button on caption bars under X using the
"_NET_WM_CONTEXT_HELP" window manager hint.
Index: DrawingTopLevelWindow.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/System.Drawing.Xsharp/DrawingTopLevelWindow.cs,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** DrawingTopLevelWindow.cs 2 Dec 2003 06:55:50 -0000 1.16
--- DrawingTopLevelWindow.cs 2 Dec 2003 07:28:06 -0000 1.17
***************
*** 330,333 ****
--- 330,334 ----
Functions = functions;
InputType = inputType;
+ HasHelpButton = ((flags &
ToolkitWindowFlags.Help) != 0);
}
***************
*** 533,536 ****
--- 534,546 ----
}
return false;
+ }
+
+ // Override the "OnHelp" event from Xsharp.
+ protected override void OnHelp()
+ {
+ if(sink != null)
+ {
+ sink.ToolkitHelp();
+ }
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] pnetlib/System.Drawing.Xsharp DrawingTopLevelWindow.cs, 1.16, 1.17,
Rhys Weatherley <address@hidden> <=