2003-02-12 01:57:20 +00:00
<Type Name= "Screen" FullName= "Gdk.Screen" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "auto" Value= "public class Screen : GLib.Object" />
2003-02-12 01:57:20 +00:00
<AssemblyInfo >
<AssemblyName > gdk-sharp</AssemblyName>
2003-12-24 01:35:30 +00:00
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-05-23 20:41:51 +00:00
<AssemblyVersion > 2.0.0.0</AssemblyVersion>
2003-02-12 01:57:20 +00:00
</AssemblyInfo>
2003-02-23 07:26:30 +00:00
<ThreadSafetyStatement > Gtk# is thread aware, but not thread safe; See the <link location= "node:gtk-sharp/programming/threads" > Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
2003-02-12 01:57:20 +00:00
<Docs >
2004-01-13 21:25:07 +00:00
<summary > Object representing a physical screen.</summary>
2003-02-12 01:57:20 +00:00
<remarks > To be added</remarks>
</Docs>
<Base >
2005-02-15 21:53:03 +00:00
<BaseTypeName > GLib.Object</BaseTypeName>
2003-02-12 01:57:20 +00:00
</Base>
<Interfaces >
</Interfaces>
<Members >
2003-07-17 06:38:40 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Screen (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
<summary > Internal constructor</summary>
<param name= "raw" > Pointer to the C object.</param>
<remarks >
<para > This is an internal constructor, and should not be used by user code.</para>
</remarks>
</Docs>
</Member>
<Member MemberName= "Default" >
<MemberSignature Language= "C#" Value= "public static Gdk.Screen Default { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Screen</ReturnType>
</ReturnValue>
<Docs >
2005-02-23 19:01:51 +00:00
<summary > The default screen of the default display.</summary>
2005-05-23 20:41:51 +00:00
<value > The default <see cref= "T:Gdk.Screen" /> .</value>
2005-02-23 19:01:51 +00:00
<remarks > Returns null if there iss no default display.</remarks>
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= "NMonitors" >
<MemberSignature Language= "C#" Value= "public int NMonitors { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2004-06-11 19:09:54 +00:00
<remarks >
<para > Returns an <see cref= "T:System.Int32" /> of the number of monitors attached to the current <see cref= "T:Gdk.Screen" /> .</para>
<para > The following example will print the number of monitors in the current display to the console.</para>
<example >
<code lang= "C#" > Display theDisplay = Display.OpenDefaultLibgtkOnly();
Screen defaultScreen = theDisplay.DefaultScreen;
int numMonitors = defaultScreen.NMonitors;
Console.WriteLine("You have {0} monitors.",numMonitors);
</code>
</example>
</remarks>
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= "RootWindow" >
<MemberSignature Language= "C#" Value= "public Gdk.Window RootWindow { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Window</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Window" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Height" >
<MemberSignature Language= "C#" Value= "public int Height { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2005-02-23 19:01:51 +00:00
<summary > The height of the screen in pixels.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Int32" /> with the number of pixels of the screen.</value>
2005-02-23 19:01:51 +00:00
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= "Display" >
<MemberSignature Language= "C#" Value= "public Gdk.Display Display { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Display</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Display" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "Number" >
<MemberSignature Language= "C#" Value= "public int Number { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SystemVisual" >
<MemberSignature Language= "C#" Value= "public Gdk.Visual SystemVisual { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Visual</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Visual" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "HeightMm" >
<MemberSignature Language= "C#" Value= "public int HeightMm { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2005-02-23 19:01:51 +00:00
<summary > The height of the screen in millimeters.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Int32" /> with the height of the screen in millimeters.</value>
2005-02-23 19:01:51 +00:00
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
<Member MemberName= "Width" >
2003-07-17 06:38:40 +00:00
<MemberSignature Language= "C#" Value= "public int Width { get; };" />
<MemberType > Property</MemberType>
2003-02-12 01:57:20 +00:00
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Docs >
2005-02-23 19:01:51 +00:00
<summary > The width of the screen in pixels.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Int32" /> with the number of pixels of the screen.</value>
2005-02-23 19:01:51 +00:00
<remarks />
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
<Member MemberName= "WidthMm" >
2003-07-17 06:38:40 +00:00
<MemberSignature Language= "C#" Value= "public int WidthMm { get; };" />
<MemberType > Property</MemberType>
2003-02-12 01:57:20 +00:00
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-07-17 06:38:40 +00:00
<Docs >
2005-02-23 19:01:51 +00:00
<summary > The width of the screen in millimeters.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Int32" /> with the width of the screen in millimeters.</value>
2005-02-23 19:01:51 +00:00
<remarks />
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= "DefaultColormap" >
<MemberSignature Language= "C#" Value= "public Gdk.Colormap DefaultColormap { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Colormap</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Colormap" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "RgbVisual" >
<MemberSignature Language= "C#" Value= "public Gdk.Visual RgbVisual { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Visual</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Visual" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SystemColormap" >
<MemberSignature Language= "C#" Value= "public Gdk.Colormap SystemColormap { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Colormap</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Colormap" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "RgbColormap" >
<MemberSignature Language= "C#" Value= "public Gdk.Colormap RgbColormap { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Colormap</ReturnType>
</ReturnValue>
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Colormap" /> </value>
2003-07-17 06:38:40 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "SizeChanged" >
<MemberSignature Language= "C#" Value= "public event EventHandler SizeChanged;" />
<MemberType > Event</MemberType>
2003-09-17 21:56:59 +00:00
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
2003-02-12 01:57:20 +00:00
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > GLib.Signal(CName="size_changed")</AttributeName>
</Attribute>
</Attributes> </Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "GetMonitorAtWindow" >
<MemberSignature Language= "C#" Value= "public int GetMonitorAtWindow (Gdk.Window window);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-07-17 06:38:40 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "window" Type= "Gdk.Window" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
2005-02-23 19:01:51 +00:00
<summary > Gets the monitor that contains most of the given window.</summary>
<param name= "window" > A <see cref= "T:Gdk.Window" /> whose main monitor is claimed.</param>
<returns > A <see cref= "T:System.Int32" /> indicating the required monitor.</returns>
<remarks > If the window does not intersect any of the monitors, then the a close one is returned.</remarks>
2003-07-17 06:38:40 +00:00
</Docs>
</Member>
<Member MemberName= "GetMonitorAtPoint" >
<MemberSignature Language= "C#" Value= "public int GetMonitorAtPoint (int x, int y);" />
2003-02-12 01:57:20 +00:00
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-07-17 06:38:40 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2005-02-23 19:01:51 +00:00
<summary > Gets the monitor number where the point is located.</summary>
<param name= "x" > A <see cref= "T:System.Int32" /> representing the x coordinate on the virtual screen.</param>
<param name= "y" > A <see cref= "T:System.Int32" /> representing the y coordinate on the virtual screen.</param>
<returns > A <see cref= "T:System.Int32" /> indicating the monitor where the point is located.</returns>
<remarks > If the point isn't in any monitor, then the nearest monitor is returned.</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
</Member>
2003-07-17 06:38:40 +00:00
<Member MemberName= "BroadcastClientMessage" >
<MemberSignature Language= "C#" Value= "public void BroadcastClientMessage (Gdk.Event evnt);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
2003-02-12 01:57:20 +00:00
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "evnt" Type= "Gdk.Event" />
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2003-07-17 06:38:40 +00:00
<summary > To be added</summary>
<param name= "evnt" > a <see cref= "T:Gdk.Event" /> </param>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "GetSetting" >
<MemberSignature Language= "C#" Value= "public bool GetSetting (string name, GLib.Value value);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Boolean</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "name" Type= "System.String" />
<Parameter Name= "value" Type= "GLib.Value" />
</Parameters>
2003-07-17 06:38:40 +00:00
<Docs >
<summary > To be added</summary>
<param name= "name" > a <see cref= "T:System.String" /> </param>
<param name= "value" > a <see cref= "T:GLib.Value" /> </param>
<returns > a <see cref= "T:System.Boolean" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "MakeDisplayName" >
<MemberSignature Language= "C#" Value= "public string MakeDisplayName ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:System.String" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2005-05-23 21:11:27 +00:00
2003-12-24 01:35:30 +00:00
<Member MemberName= "GType" >
<MemberSignature Language= "C#" Value= "public static GLib.GType GType { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > GLib.GType</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-21 20:14:42 +00:00
<summary > GType Property.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:GLib.GType" /> </value>
2004-06-21 20:14:42 +00:00
<remarks > Returns the native <see cref= "T:GLib.GType" /> value for <see cref= "T:Gdk.Screen" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= "OnSizeChanged" >
<MemberSignature Language= "C#" Value= "protected virtual void OnSizeChanged ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-06-15 15:41:25 +00:00
<summary > Default handler for the <see cref= "M:Gdk.Screen.SizeChanged" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gdk.Screen.SizeChanged" /> event.</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
<Member MemberName= ".ctor" >
2003-12-24 01:35:30 +00:00
<MemberSignature Language= "C#" Value= "protected Screen (GLib.GType gtype);" />
2003-02-12 01:57:20 +00:00
<MemberType > Constructor</MemberType>
<ReturnValue />
2003-07-17 06:38:40 +00:00
<Parameters >
2003-12-24 01:35:30 +00:00
<Parameter Name= "gtype" Type= "GLib.GType" />
2003-09-17 21:56:59 +00:00
</Parameters>
2003-02-12 01:57:20 +00:00
<Docs >
2004-06-21 20:33:11 +00:00
<summary > Protected Constructor.</summary>
2003-12-24 01:35:30 +00:00
<param name= "gtype" > a <see cref= "T:GLib.GType" /> </param>
2004-06-21 20:33:11 +00:00
<remarks > Chain to this constructor if you have manually registered a native <see cref= "T:GLib.GType" /> value for your subclass.</remarks>
2003-02-12 01:57:20 +00:00
</Docs>
2005-05-23 20:41:51 +00:00
<Attributes >
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
</Attributes> </Member>
2004-02-26 18:46:28 +00:00
<Member MemberName= "ToplevelWindows" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Window[] ToplevelWindows { get; };" />
2004-02-26 18:46:28 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Window[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Window[]" /> </value>
2004-02-26 18:46:28 +00:00
<remarks > To be added</remarks>
</Docs>
</Member>
<Member MemberName= "ListVisuals" >
<MemberSignature Language= "C#" Value= "public Gdk.Visual[] ListVisuals ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Visual[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > To be added</summary>
<returns > a <see cref= "T:Gdk.Visual[]" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-05-27 19:02:19 +00:00
<Member MemberName= "GetMonitorGeometry" >
<MemberSignature Language= "C#" Value= "public Gdk.Rectangle GetMonitorGeometry (int monitor_num);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Rectangle</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "monitor_num" Type= "System.Int32" />
</Parameters>
<Docs >
<summary > To be added</summary>
<param name= "monitor_num" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Rectangle" /> </returns>
<remarks > To be added</remarks>
</Docs>
</Member>
2004-06-01 18:05:26 +00:00
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Screen ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
<summary > To be added</summary>
<remarks > To be added</remarks>
</Docs>
</Member>
2003-02-12 01:57:20 +00:00
</Members>
2005-05-23 20:41:51 +00:00
</Type>