2003-02-12 02:00:12 +00:00
<Type Name= "Style" FullName= "Gtk.Style" >
2005-05-23 20:41:51 +00:00
<TypeSignature Language= "C#" Maintainer= "Hector Gomez M" Value= "public class Style : GLib.Object" />
<AssemblyInfo >
<AssemblyName > gtk-sharp</AssemblyName>
<AssemblyPublicKey >
</AssemblyPublicKey>
2005-06-17 18:43:30 +00:00
<AssemblyVersion > 2.6.0.0</AssemblyVersion>
2005-05-23 20:41:51 +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 02:00:12 +00:00
<Docs >
2004-01-13 01:30:01 +00:00
<summary > Methods for drawing widget parts.</summary>
2004-02-26 18:46:28 +00:00
<remarks >
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
<Base >
<BaseTypeName > GLib.Object</BaseTypeName>
</Base>
<Interfaces >
</Interfaces>
<Members >
<Member MemberName= "Foreground" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Foreground (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Gets the foreground color for a particular state</summary>
2004-10-28 19:26:15 +00:00
<param name= "state" > A <see cref= "T:Gtk.StateType" /> , the state being considered</param>
<returns > A <see cref= "T:Gdk.Color" /> </returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Background" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Background (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-01-13 01:30:01 +00:00
<summary > Sets the background of <paramref name= "window" /> to the background color or pixmap specified by style for the state.</summary>
2004-10-28 19:26:15 +00:00
<param name= "state" > A <see cref= "T:Gtk.StateType" /> , the state being considered</param>
2004-01-13 01:30:01 +00:00
<returns > A color to be used for the background.</returns>
2004-02-26 18:46:28 +00:00
<remarks >
</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "BackgroundGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC BackgroundGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Gets the graphics context for the background of <paramref name= "state" /> .</summary>
<param name= "state" > a <see cref= "T:Gtk.StateType" /> </param>
<returns > a <see cref= "T:Gdk.GC" /> , the graphics context</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ForegroundGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC ForegroundGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Gets the graphics context for the foreground of <paramref name= "state" /> .</summary>
<param name= "state" > a <see cref= "T:Gtk.StateType" /> </param>
<returns > a <see cref= "T:Gdk.GC" /> , the graphics context</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ApplyDefaultBackground" >
<MemberSignature Language= "C#" Value= "public void ApplyDefaultBackground (Gdk.Window window, bool set_bg, Gtk.StateType state_type, Gdk.Rectangle area, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "set_bg" Type= "System.Boolean" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 01:45:27 +00:00
<summary > Sets the default background.</summary>
2004-10-28 19:26:15 +00:00
<param name= "window" > A <see cref= "T:Gdk.Window" /> </param>
<param name= "set_bg" > A <see cref= "T:System.Boolean" /> (TODO: explain)</param>
<param name= "state_type" > A <see cref= "T:Gtk.StateType" /> </param>
<param name= "area" > A <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "x" > A <see cref= "T:System.Int32" /> , X coordinate of the upper left corner</param>
<param name= "y" > A <see cref= "T:System.Int32" /> , Y coordinate of the upper left corner</param>
<param name= "width" > A <see cref= "T:System.Int32" /> , width of the area</param>
<param name= "height" > A <see cref= "T:System.Int32" /> , height of the area</param>
2004-08-28 01:45:27 +00:00
<remarks > TODO: explain this, as the underlying GTK+ isn't very well-commented either</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "SetBackground" >
<MemberSignature Language= "C#" Value= "public void SetBackground (Gdk.Window window, Gtk.StateType state_type);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Set the background of <paramref name= "window" /> to the
color or pixmap specified by this style for <paramref name= "state" /> .</summary>
<param name= "window" > A <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > A <see cref= "T:Gtk.StateType" /> </param>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Detach" >
<MemberSignature Language= "C#" Value= "public void Detach ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-28 01:45:27 +00:00
<summary > Detaches this style from the window it's attached to.</summary>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "RenderIcon" >
<MemberSignature Language= "C#" Value= "public Gdk.Pixbuf RenderIcon (Gtk.IconSource source, Gtk.TextDirection direction, Gtk.StateType state, Gtk.IconSize size, Gtk.Widget widget, string detail);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixbuf</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "source" Type= "Gtk.IconSource" />
<Parameter Name= "direction" Type= "Gtk.TextDirection" />
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "size" Type= "Gtk.IconSize" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Renders the icon specified by <paramref name= "source" /> at the given <paramref name= "size" /> according to the given parameters and returns the result in a pixbuf.</summary>
<param name= "source" > A <see cref= "T:Gtk.IconSource" /> </param>
<param name= "direction" > A <see cref= "T:Gtk.TextDirection" /> </param>
<param name= "state" > A <see cref= "T:Gtk.StateType" /> </param>
<param name= "size" > A <see cref= "T:Gtk.IconSize" /> </param>
<param name= "widget" > A <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > A <see cref= "T:System.String" /> </param>
<returns > A <see cref= "T:Gdk.Pixbuf" /> </returns>
2004-08-28 01:45:27 +00:00
<remarks > TODO: needs an example.</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Copy" >
<MemberSignature Language= "C#" Value= "public Gtk.Style Copy ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Style</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Copy this style object to a new style object.</summary>
<returns > A <see cref= "T:Gtk.Style" /> , a duplicate of this style.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "LookupIconSet" >
<MemberSignature Language= "C#" Value= "public Gtk.IconSet LookupIconSet (string stock_id);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.IconSet</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "stock_id" Type= "System.String" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Gets the icon set for the given <paramref name= "stock_id" /> .</summary>
<param name= "stock_id" > A <see cref= "T:System.String" /> </param>
<returns > A <see cref= "T:Gtk.IconSet" /> </returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Attach" >
<MemberSignature Language= "C#" Value= "public Gtk.Style Attach (Gdk.Window window);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Style</ReturnType>
</ReturnValue>
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "window" Type= "Gdk.Window" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Attaches a style to a window; this process allocates the colors and creates the GCs (graphics components) for the style - it specializes it to a particular visual and colormap. The process may involve the creation of a new style if the style has already been attached to a window with a different style and colormap.</summary>
2004-08-17 20:43:49 +00:00
<param name= "window" >
<see cref= "T:Gdk.Window" /> , the window to attach the style to</param>
2004-08-06 13:18:10 +00:00
<returns > Either <paramref name= "style" /> , or a newly-created <see cref= "T:Gtk.Style" /> . If the style is newly created, the style parameter will be dereferenced, and the new style will have a reference count belonging to the caller.</returns>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Style (IntPtr raw);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
2003-09-17 21:56:59 +00:00
<Parameter Name= "raw" Type= "System.IntPtr" />
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2003-02-23 07:26:30 +00:00
<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>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "public Style ();" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs >
2004-08-06 13:18:10 +00:00
<summary > Public constructor</summary>
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "FontDescription" >
<MemberSignature Language= "C#" Value= "public Pango.FontDescription FontDescription { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.FontDescription</ReturnType>
</ReturnValue>
<Docs >
2004-08-06 13:18:10 +00:00
<summary > The font description used for a widget.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Pango.FontDescription" /> </value>
2004-08-06 13:18:10 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "YThickness" >
<MemberSignature Language= "C#" Value= "public int YThickness { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-28 01:45:27 +00:00
<summary > The Y thickness, which is used for vertical padding.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:System.Int32" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "XThickness" >
<MemberSignature Language= "C#" Value= "public int XThickness { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
2003-12-24 01:35:30 +00:00
<Parameters >
</Parameters>
2003-02-12 02:00:12 +00:00
<Docs >
2004-08-06 13:18:10 +00:00
<summary > The X thickness, which is used for horizontal padding.</summary>
2005-05-23 20:41:51 +00:00
<value > An integer.</value>
2004-08-06 13:18:10 +00:00
<remarks > (FIXME: xthickness and ythickness could be better documented.)</remarks>
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Foregrounds" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] Foregrounds { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2005-05-23 20:41:51 +00:00
<ReturnType > Gdk.Color[]</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
<Docs >
2004-08-06 13:18:10 +00:00
<summary > The foreground colors</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.Color []" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Backgrounds" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] Backgrounds { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2005-05-23 20:41:51 +00:00
<ReturnType > Gdk.Color[]</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
<Docs >
2004-08-28 01:45:27 +00:00
<summary > The background colors.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.Color []" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "Black" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Black { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Docs >
2004-08-28 01:45:27 +00:00
<summary > Black.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.Color" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "White" >
<MemberSignature Language= "C#" Value= "public Gdk.Color White { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Docs >
2004-08-28 01:45:27 +00:00
<summary > White.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.Color" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "BackgroundGCs" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.GC[] BackgroundGCs { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2005-05-23 20:41:51 +00:00
<ReturnType > Gdk.GC[]</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
<Docs >
2004-08-28 02:40:04 +00:00
<summary > Gets the graphics context objects for the background.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.GC []" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "ForegroundGCs" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.GC[] ForegroundGCs { get; };" />
2003-02-12 02:00:12 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
2005-05-23 20:41:51 +00:00
<ReturnType > Gdk.GC[]</ReturnType>
2003-02-12 02:00:12 +00:00
</ReturnValue>
<Docs >
2004-08-28 02:40:04 +00:00
<summary > Gets the graphics context objects for the foreground.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.GC []" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "BlackGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC BlackGC { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Docs >
2004-08-28 02:40:04 +00:00
<summary > Gets a white graphics context.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.GC" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
<Member MemberName= "WhiteGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC WhiteGC { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Docs >
2004-08-28 02:40:04 +00:00
<summary > Gets a black graphics context.</summary>
2005-05-23 20:41:51 +00:00
<value > A <see cref= "T:Gdk.GC" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2003-02-12 02:00:12 +00:00
</Docs>
</Member>
2003-09-17 21:56:59 +00:00
<Member MemberName= "SetForegroundGC" >
<MemberSignature Language= "C#" Value= "public void SetForegroundGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Sets the graphics context for the foreground.</summary>
<param name= "state" > a <see cref= "T:Gtk.StateType" /> , the state of the widget to set the style for</param>
2003-09-17 21:56:59 +00:00
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "SetBackgroundGC" >
<MemberSignature Language= "C#" Value= "public void SetBackgroundGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Sets the graphics context for the background.</summary>
<param name= "state" > a <see cref= "T:Gtk.StateType" /> , the state of the widget to set the style for</param>
2003-09-17 21:56:59 +00:00
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "BaseGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC BaseGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Returns the base graphics context for the widget.</summary>
2004-10-28 19:26:15 +00:00
<param name= "state" > a <see cref= "T:Gtk.StateType" /> , the state of the widget to get the GC for</param>
2003-09-17 21:56:59 +00:00
<returns > a <see cref= "T:Gdk.GC" /> </returns>
2004-10-28 19:26:15 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "SetBaseGC" >
<MemberSignature Language= "C#" Value= "public void SetBaseGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Sets the graphics context for the background.</summary>
2004-10-28 19:26:15 +00:00
<param name= "state" > a <see cref= "T:Gtk.StateType" /> , the state of the widget to set the GC for</param>
2003-09-17 21:56:59 +00:00
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "TextGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC TextGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Returns the graphics context for the widget's text.</summary>
2004-10-28 19:26:15 +00:00
<param name= "state" > a <see cref= "T:Gtk.StateType" /> , the state of the widget to get the GC for</param>
2003-09-17 21:56:59 +00:00
<returns > a <see cref= "T:Gdk.GC" /> </returns>
2004-10-28 19:26:15 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
<Member MemberName= "SetTextGC" >
<MemberSignature Language= "C#" Value= "public void SetTextGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Sets the graphics context for text.</summary>
2004-10-28 19:26:15 +00:00
<param name= "state" > a <see cref= "T:Gtk.StateType" /> , the state of the widget to set the GC for</param>
2003-09-17 21:56:59 +00:00
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-09-17 21:56:59 +00:00
</Docs>
</Member>
2003-10-28 00:48:23 +00:00
<Member MemberName= "PaintBox" >
<MemberSignature Language= "C#" Value= "public static void PaintBox (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draws a box on the screen with the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintCheck" >
<MemberSignature Language= "C#" Value= "public static void PaintCheck (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a check button indicator in the given rectangle on <paramref name= "window" /> with the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintResizeGrip" >
<MemberSignature Language= "C#" Value= "public static void PaintResizeGrip (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gdk.WindowEdge edge, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "edge" Type= "Gdk.WindowEdge" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-18 04:11:16 +00:00
<summary > Draws a resize grip in the given rectangle on <paramref name= "window" /> using the given parameters. </summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "edge" > a <see cref= "T:Gdk.WindowEdge" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintLayout" >
<MemberSignature Language= "C#" Value= "public static void PaintLayout (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, bool use_text, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, Pango.Layout layout);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "use_text" Type= "System.Boolean" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "layout" Type= "Pango.Layout" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draws a layout on the screen using the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "use_text" > a <see cref= "T:System.Boolean" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "layout" > a <see cref= "T:Pango.Layout" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintOption" >
<MemberSignature Language= "C#" Value= "public static void PaintOption (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-18 04:11:16 +00:00
<summary > Draws a radio button indicator in the given rectangle on <paramref name= "window" /> with the given parameters.
2004-09-06 14:47:48 +00:00
</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintSlider" >
<MemberSignature Language= "C#" Value= "public static void PaintSlider (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "orientation" Type= "Gtk.Orientation" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draws a slider widget with the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
<param name= "orientation" > a <see cref= "T:Gtk.Orientation" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintDiamond" >
<MemberSignature Language= "C#" Value= "public static void PaintDiamond (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a diamond in the given rectangle on <paramref name= "window" /> using the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintShadow" >
<MemberSignature Language= "C#" Value= "public static void PaintShadow (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a shadow around the given rectangle in <paramref name= "window" /> using the given style and state and shadow type.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintVline" >
<MemberSignature Language= "C#" Value= "public static void PaintVline (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int y1_, int y2_, int x);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "y1_" Type= "System.Int32" />
<Parameter Name= "y2_" Type= "System.Int32" />
<Parameter Name= "x" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a vertical line from (<paramref name= "x" /> , <paramref name= "y1_" /> ) to (<paramref name= "x" /> , <paramref name= "y2_" /> ) in <paramref name= "window" /> using the given style and state.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "y1_" > a <see cref= "T:System.Int32" /> </param>
<param name= "y2_" > a <see cref= "T:System.Int32" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintTab" >
<MemberSignature Language= "C#" Value= "public static void PaintTab (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2005-01-18 04:11:16 +00:00
<summary > Draws an option menu tab (i.e. the up and down pointing arrows) in the given rectangle on <paramref name= "window" /> using the given parameters.
2004-09-06 14:47:48 +00:00
</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintFocus" >
<MemberSignature Language= "C#" Value= "public static void PaintFocus (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a focus indicator around the given rectangle on <paramref name= "window" /> using the given style.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintShadowGap" >
<MemberSignature Language= "C#" Value= "public static void PaintShadowGap (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "gap_side" Type= "Gtk.PositionType" />
<Parameter Name= "gap_x" Type= "System.Int32" />
<Parameter Name= "gap_width" Type= "System.Int32" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draws a shadow gap around the given widget using the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
<param name= "gap_side" > a <see cref= "T:Gtk.PositionType" /> </param>
<param name= "gap_x" > a <see cref= "T:System.Int32" /> </param>
<param name= "gap_width" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintExtension" >
<MemberSignature Language= "C#" Value= "public static void PaintExtension (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "gap_side" Type= "Gtk.PositionType" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draws an extension for the given widget in the given style.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
<param name= "gap_side" > a <see cref= "T:Gtk.PositionType" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintFlatBox" >
<MemberSignature Language= "C#" Value= "public static void PaintFlatBox (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a flat box on <paramref name= "window" /> with the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintHandle" >
<MemberSignature Language= "C#" Value= "public static void PaintHandle (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.Orientation orientation);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "orientation" Type= "Gtk.Orientation" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draw a handle graphic for the given widget using the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
<param name= "orientation" > a <see cref= "T:Gtk.Orientation" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintArrow" >
<MemberSignature Language= "C#" Value= "public static void PaintArrow (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gtk.ArrowType arrow_type, bool fill, int x, int y, int width, int height);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "arrow_type" Type= "Gtk.ArrowType" />
<Parameter Name= "fill" Type= "System.Boolean" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draw an arrow at (<paramref name= "x" /> , <paramref name= "y" /> ) using the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "arrow_type" > a <see cref= "T:Gtk.ArrowType" /> </param>
<param name= "fill" > a <see cref= "T:System.Boolean" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintHline" >
<MemberSignature Language= "C#" Value= "public static void PaintHline (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x1, int x2, int y);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x1" Type= "System.Int32" />
<Parameter Name= "x2" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
</Parameters>
<Docs >
2004-10-28 19:26:15 +00:00
<summary > Draws a horizontal line from (<paramref name= "x1" /> , <paramref name= "y" /> ) to (<paramref name= "x2" /> , <paramref name= "y" /> ) in <paramref name= "window" /> using the given style and state.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x1" > a <see cref= "T:System.Int32" /> </param>
<param name= "x2" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
<Member MemberName= "PaintBoxGap" >
<MemberSignature Language= "C#" Value= "public static void PaintBoxGap (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, int width, int height, Gtk.PositionType gap_side, int gap_x, int gap_width);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "width" Type= "System.Int32" />
<Parameter Name= "height" Type= "System.Int32" />
<Parameter Name= "gap_side" Type= "Gtk.PositionType" />
<Parameter Name= "gap_x" Type= "System.Int32" />
<Parameter Name= "gap_width" Type= "System.Int32" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Draws a gap around a box using the given parameters.</summary>
2003-10-28 00:48:23 +00:00
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:Gtk.StateType" /> </param>
<param name= "shadow_type" > a <see cref= "T:Gtk.ShadowType" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "width" > a <see cref= "T:System.Int32" /> </param>
<param name= "height" > a <see cref= "T:System.Int32" /> </param>
<param name= "gap_side" > a <see cref= "T:Gtk.PositionType" /> </param>
<param name= "gap_x" > a <see cref= "T:System.Int32" /> </param>
<param name= "gap_width" > a <see cref= "T:System.Int32" /> </param>
2004-10-28 19:26:15 +00:00
<remarks />
2003-10-28 00:48:23 +00:00
</Docs>
</Member>
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:Gtk.Style" /> .</remarks>
2003-12-24 01:35:30 +00:00
</Docs>
</Member>
<Member MemberName= ".ctor" >
<MemberSignature Language= "C#" Value= "protected Style (GLib.GType gtype);" />
<MemberType > Constructor</MemberType>
<ReturnValue />
<Parameters >
<Parameter Name= "gtype" Type= "GLib.GType" />
</Parameters>
<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-12-24 01:35:30 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-05-27 19:02:19 +00:00
<Member MemberName= "TextColors" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] TextColors { get; };" />
2004-05-27 19:02:19 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > The colors to use for text.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color[]" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
<Member MemberName= "BaseColors" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] BaseColors { get; };" />
2004-05-27 19:02:19 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-09-06 14:47:48 +00:00
<summary > The base color set.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color[]" /> </value>
2004-10-28 19:26:15 +00:00
<remarks />
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
<Member MemberName= "Text" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Text (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Returns the color for text in the given state.</summary>
2004-05-27 19:02:19 +00:00
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Color" /> </returns>
2004-10-28 19:26:15 +00:00
<remarks />
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
<Member MemberName= "Base" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Base (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
2004-09-06 14:47:48 +00:00
<summary > Returns the base color for the given state.</summary>
2004-05-27 19:02:19 +00:00
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Color" /> </returns>
2004-10-28 19:26:15 +00:00
<remarks />
2004-05-27 19:02:19 +00:00
</Docs>
</Member>
2004-08-18 16:08:02 +00:00
<Member MemberName= "PaintExpander" >
<MemberSignature Language= "C#" Value= "public static void PaintExpander (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, int x, int y, Gtk.ExpanderStyle expander_style);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "x" Type= "System.Int32" />
<Parameter Name= "y" Type= "System.Int32" />
<Parameter Name= "expander_style" Type= "Gtk.ExpanderStyle" />
</Parameters>
<Docs >
<summary > Paints an expander using the style specified.</summary>
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:System.Int32" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "x" > a <see cref= "T:System.Int32" /> </param>
<param name= "y" > a <see cref= "T:System.Int32" /> </param>
<param name= "expander_style" > a <see cref= "T:System.Int32" /> </param>
<remarks >
</remarks>
</Docs>
</Member>
2004-08-24 21:03:57 +00:00
<Member MemberName= "PaintPolygon" >
<MemberSignature Language= "C#" Value= "public static void PaintPolygon (Gtk.Style style, Gdk.Window window, Gtk.StateType state_type, Gtk.ShadowType shadow_type, Gdk.Rectangle area, Gtk.Widget widget, string detail, Gdk.Point[] points, bool fill);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "style" Type= "Gtk.Style" />
<Parameter Name= "window" Type= "Gdk.Window" />
<Parameter Name= "state_type" Type= "Gtk.StateType" />
<Parameter Name= "shadow_type" Type= "Gtk.ShadowType" />
<Parameter Name= "area" Type= "Gdk.Rectangle" />
<Parameter Name= "widget" Type= "Gtk.Widget" />
<Parameter Name= "detail" Type= "System.String" />
<Parameter Name= "points" Type= "Gdk.Point[]" />
<Parameter Name= "fill" Type= "System.Boolean" />
</Parameters>
<Docs >
<summary > Paint a polygon.</summary>
<param name= "style" > a <see cref= "T:Gtk.Style" /> </param>
<param name= "window" > a <see cref= "T:Gdk.Window" /> </param>
<param name= "state_type" > a <see cref= "T:System.Int32" /> </param>
<param name= "shadow_type" > a <see cref= "T:System.Int32" /> </param>
<param name= "area" > a <see cref= "T:Gdk.Rectangle" /> </param>
<param name= "widget" > a <see cref= "T:Gtk.Widget" /> </param>
<param name= "detail" > a <see cref= "T:System.String" /> </param>
<param name= "points" > a <see cref= "T:Gdk.Point" /> </param>
<param name= "fill" > a <see cref= "T:System.Boolean" /> </param>
<remarks >
</remarks>
</Docs>
</Member>
2004-10-28 19:26:15 +00:00
<Member MemberName= "TextAAGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC TextAAGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Returns the graphics context for anti-aliased text.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to get the GC for</param>
<returns > a <see cref= "T:Gdk.GC" /> </returns>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "SetTextAAGC" >
<MemberSignature Language= "C#" Value= "public void SetTextAAGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
<summary > Set the graphics context for anti-aliased text.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to set the GC for</param>
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "LightGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC LightGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Returns a graphics context for light-colored drawing</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to get the GC for</param>
<returns > a <see cref= "T:Gdk.GC" /> </returns>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "SetLightGC" >
<MemberSignature Language= "C#" Value= "public void SetLightGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
<summary > Set the graphics context for light-colored drawing</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to set the GC for</param>
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "DarkGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC DarkGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Returns a graphics context for dark-colored drawing</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to get the GC for</param>
<returns > a <see cref= "T:Gdk.GC" /> </returns>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "SetDarkGC" >
<MemberSignature Language= "C#" Value= "public void SetDarkGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
<summary > Set the graphics context for dark-colored drawing</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to set the GC for</param>
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "MidGC" >
<MemberSignature Language= "C#" Value= "public Gdk.GC MidGC (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.GC</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Returns a graphics context for medium-colored drawing</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to get the GC for</param>
<returns > a <see cref= "T:Gdk.GC" /> </returns>
2004-11-05 21:25:40 +00:00
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
<Member MemberName= "SetMidGC" >
<MemberSignature Language= "C#" Value= "public void SetMidGC (Gtk.StateType state, Gdk.GC gc);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "gc" Type= "Gdk.GC" />
</Parameters>
<Docs >
<summary > Set the graphics context for medium-colored drawing</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> , the state of the widget to set the GC for</param>
<param name= "gc" > a <see cref= "T:Gdk.GC" /> </param>
2004-11-05 21:25:40 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "Font" >
<MemberSignature Language= "C#" Value= "public Gdk.Font Font { set; get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Font</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-05 22:40:29 +00:00
<summary > Deprecated.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Font" /> </value>
2005-01-05 22:40:29 +00:00
<remarks >
2005-01-18 04:11:16 +00:00
The <see cref= "T:Gdk.Font" /> to use for a given style. This
2005-01-05 22:40:29 +00:00
is deprecated and should not be used in new code. New code
2005-01-18 04:11:16 +00:00
should use <see cref= "P:Gtk.Style.FontDescription" />
2005-01-05 22:40:29 +00:00
instead.
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > System.Obsolete(Message=null, IsError=False)</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Unrealize" >
<MemberSignature Language= "C#" Value= "public event EventHandler Unrealize;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-05 22:40:29 +00:00
<summary >
Event fired when the aspects of the style specific to a
particular colormap and depth are being cleaned up.
</summary>
<remarks >
A connection to this signal can be useful if a widget wants
2005-01-18 04:11:16 +00:00
to cache objects like a <see cref= "T:Gdk.GC" /> as object
data on <see cref= "T:Gtk.Style" /> . This signal provides a
2005-01-05 22:40:29 +00:00
convenient place to free such cached objects.
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="unrealize")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "Realize" >
<MemberSignature Language= "C#" Value= "public event EventHandler Realize;" />
<MemberType > Event</MemberType>
<ReturnValue >
<ReturnType > System.EventHandler</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-05 22:40:29 +00:00
<summary >
Event triggered when the style has been initialized for a particular
colormap and depth.
</summary>
<remarks >
Connecting to this signal is probably seldom
useful since most of the time applications and widgets only
deal with styles that have been already realized.
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
2005-06-16 18:56:42 +00:00
<Attributes >
2005-05-23 20:41:51 +00:00
<Attribute >
<AttributeName > GLib.Signal(CName="realize")</AttributeName>
</Attribute>
2005-06-16 18:56:42 +00:00
</Attributes>
</Member>
2004-11-05 21:25:40 +00:00
<Member MemberName= "OnUnrealize" >
<MemberSignature Language= "C#" Value= "protected virtual void OnUnrealize ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Style.Unrealize" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Style.Unrealize" /> event.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "OnRealize" >
<MemberSignature Language= "C#" Value= "protected virtual void OnRealize ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2004-12-08 02:37:02 +00:00
<summary > Default handler for the <see cref= "M:Gtk.Style.Realize" /> event.</summary>
<remarks > Override this method in a subclass to provide a default handler for the <see cref= "M:Gtk.Style.Realize" /> event.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Ref" >
<MemberSignature Language= "C#" Value= "public Gtk.Style Ref ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gtk.Style</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-05 22:40:29 +00:00
<summary > Deprecated. Do not use.</summary>
2004-11-05 21:25:40 +00:00
<returns > a <see cref= "T:Gtk.Style" /> </returns>
2005-01-18 04:11:16 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2004-11-05 21:25:40 +00:00
</Docs>
</Member>
<Member MemberName= "Unref" >
<MemberSignature Language= "C#" Value= "public void Unref ();" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
2005-01-05 22:40:29 +00:00
<summary > Deprecated. Do not use.</summary>
2005-01-18 04:11:16 +00:00
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
2005-01-18 04:11:16 +00:00
</Docs>
</Member>
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
<Member MemberName= "Xthickness" >
<MemberSignature Language= "C#" Value= "public int Xthickness { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > The "xthickness" value of the style.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
<remarks > This value is used for various horizontal padding values in Gtk.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
</Docs>
</Member>
<Member MemberName= "Ythickness" >
<MemberSignature Language= "C#" Value= "public int Ythickness { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > The "ythickness" value of the style.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:System.Int32" /> </value>
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
<remarks > This value is used for various vertical padding values in Gtk.</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
</Docs>
</Member>
<Member MemberName= "FontDesc" >
<MemberSignature Language= "C#" Value= "public Pango.FontDescription FontDesc { get; };" />
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Pango.FontDescription</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > The <see cref= "T:Pango.FontDescription" /> value for the style.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Pango.FontDescription" /> </value>
<remarks >
</remarks>
2005-06-16 18:56:42 +00:00
<since version= "Gtk# 2.4" />
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
svn path=/trunk/gtk-sharp/; revision=44563
2005-05-16 14:28:55 +00:00
</Docs>
</Member>
2005-01-18 04:11:16 +00:00
<Member MemberName= "LightColors" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] LightColors { get; };" />
2005-01-18 04:11:16 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Light colors indexed by state.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color[]" /> </value>
2005-01-18 04:11:16 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "MidColors" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] MidColors { get; };" />
2005-01-18 04:11:16 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Mid colors indexed by state.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color[]" /> </value>
2005-01-18 04:11:16 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "DarkColors" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Color[] DarkColors { get; };" />
2005-01-18 04:11:16 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Dark colors indexed by state.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Color[]" /> </value>
2005-01-18 04:11:16 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "Light" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Light (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Gets the light color for a given state.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Color" /> </returns>
<remarks />
</Docs>
</Member>
<Member MemberName= "Mid" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Mid (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Gets the mid color for a given state.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Color" /> </returns>
<remarks />
</Docs>
</Member>
<Member MemberName= "Dark" >
<MemberSignature Language= "C#" Value= "public Gdk.Color Dark (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Color</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Gets the dark color for a given state.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Color" /> </returns>
<remarks />
2004-10-28 19:26:15 +00:00
</Docs>
</Member>
2005-03-10 22:15:07 +00:00
<Member MemberName= "BgPixmaps" >
2005-05-23 20:41:51 +00:00
<MemberSignature Language= "C#" Value= "public Gdk.Pixmap[] BgPixmaps { get; };" />
2005-03-10 22:15:07 +00:00
<MemberType > Property</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap[]</ReturnType>
</ReturnValue>
<Parameters />
<Docs >
<summary > Gets an array of background pixmaps.</summary>
2005-05-23 20:41:51 +00:00
<value > a <see cref= "T:Gdk.Pixmap[]" /> </value>
2005-03-10 22:15:07 +00:00
<remarks />
</Docs>
</Member>
<Member MemberName= "BgPixmap" >
<MemberSignature Language= "C#" Value= "public Gdk.Pixmap BgPixmap (Gtk.StateType state);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > Gdk.Pixmap</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
</Parameters>
<Docs >
<summary > Get the background pixmap for a given state.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<returns > a <see cref= "T:Gdk.Pixmap" /> </returns>
<remarks />
</Docs>
</Member>
<Member MemberName= "SetBgPixmap" >
<MemberSignature Language= "C#" Value= "public void SetBgPixmap (Gtk.StateType state, Gdk.Pixmap pixmap);" />
<MemberType > Method</MemberType>
<ReturnValue >
<ReturnType > System.Void</ReturnType>
</ReturnValue>
<Parameters >
<Parameter Name= "state" Type= "Gtk.StateType" />
<Parameter Name= "pixmap" Type= "Gdk.Pixmap" />
</Parameters>
<Docs >
<summary > Sets the background pixmap for a given state.</summary>
<param name= "state" > a <see cref= "T:System.Int32" /> </param>
<param name= "pixmap" > a <see cref= "T:Gdk.Pixmap" /> </param>
<remarks />
</Docs>
</Member>
2003-02-12 02:00:12 +00:00
</Members>
2005-06-17 18:43:30 +00:00
</Type>