[Gtk-sharp-list] default empty protected constructors

Radek Doulk rodo@ximian.com
12 Jul 2002 15:18:03 -0400


--=-/hLoGMqIIWNQdm59JFUx
Content-Type: text/plain; charset=ISO-8859-2
Content-Transfer-Encoding: quoted-printable


Hi,

why do we have constructors like this one?

        protected ScrolledWindow() : base(){}
       =20
I would like to add new constructor to ScrolledWindow, but I can't do it
yet because of mentioned protected one.

        public ScrolledWindow () : this (new Adjustment (IntPtr.Zero), new =
Adjustment (IntPtr.Zero)) {}
       =20
I don't see any purpose to have the protected ones. Is it possible to
disable their generation?

Cheers
Radek
--=20
Radek Doul=EDk <rodo@ximian.com>
Ximian, Inc.

--=-/hLoGMqIIWNQdm59JFUx
Content-Type: text/html; charset=utf-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/1.1.1.1">
</HEAD>
<BODY>
<BR>
<!--+GtkHTML:<DATA class="ClueFlow" key="orig" value="0">Hi,<BR>
<BR>
why do we have constructors like this one?
<>
<PRE><B>protected ScrolledWindow() : base(){}</B></PRE>
</OL>
I would like to add new constructor to ScrolledWindow, but I can't do it yet because of mentioned protected one.
<>
<PRE><B>public ScrolledWindow () : this (new Adjustment (IntPtr.Zero), new Adjustment (IntPtr.Zero)) {}</B></PRE>
</OL>
I don't see any purpose to have the protected ones. Is it possible to disable their generation?<BR>
<BR>
Cheers<BR>
Radek<BR>
<!--+GtkHTML:<DATA class="ClueFlow" key="signature" value="1"><TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<!--+GtkHTML:<DATA class="ClueFlow" clear="orig"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="$`"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="xt: ' '"><!--+GtkHTML:<DATA class="ClueFlow" clear=" "><!--+GtkHTML:<DATA class="ClueFlow" clear="$="><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="Jxl՘"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="#"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=";"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="ext"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="ext"><!--+GtkHTML:<DATA class="ClueFlow" clear="J"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="FontSizeNegTwo"><!--+GtkHTML:<DATA class="ClueFlow" clear=":"><!--+GtkHTML:<DATA class="ClueFlow" clear="Y"><!--+GtkHTML:<DATA class="ClueFlow" clear="J"><!--+GtkHTML:<DATA class="ClueFlow" clear="Jp"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="ޭ"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="x"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="z"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="IDL:Bonobo/PersistFile:1.0"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="!W"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="
x"><!--+GtkHTML:<DATA class="ClueFlow" clear="R"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="!V"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="Insert"><!--+GtkHTML:<DATA class="ClueFlow" clear=" "><!--+GtkHTML:<DATA class="ClueFlow" clear=" "><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="Pedformtovan"><!--+GtkHTML:<DATA class="ClueFlow" clear="3t-paragraph"><!--+GtkHTML:<DATA class="ClueFlow" clear="3t-paragraph"><!--+GtkHTML:<DATA class="ClueFlow" clear="Delete object"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=" "><!--+GtkHTML:<DATA class="ClueFlow" clear="@."><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=" class="ClueFlow" clear="DATA class="ClueFlow" key="orig" value="1">--><font color="737373">
<blockquote type=cite><i><PRE>No, drivery lze ziskat i k jinym znackam, byt je tohle velmi prijemna ukazka, ze se patricny modul dodava primo se zarizenim. Nicmene, je to porad softmodem :-( Snad ten na USB by mohl byt chytrejsi...

J.

&gt; -----Original Message-----
&gt; From: Radek Doul&#237;k [mailto:rodo@ximian.com]
&gt; Sent: Thursday, July 11, 2002 8:53 PM
&gt; To: Bezdrat
&gt; Subject: interni modem pro linux
&gt; 
&gt; 
&gt; 
&gt; Nedavno nekdo shanel interni modem do linuxu, tady snad jeden je:
&gt; 
&gt; http://root.cz/clanek.phtml?id=1235
&gt; 
&gt; Radek
&gt; -- 
&gt; Radek Doul&#237;k &lt;rodo@ximian.com&gt;
&gt; Ximian, Inc.
&gt; 
</PRE></i></blockquote></font><!--+GtkHTML:<DATA class="ClueFlow" clear="orig">-->13">>">"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@Zn"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="ڈ"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@^n"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="c8e0f06"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@_wn"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@_en"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="odo/"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@^n"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="p%"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="en_gb"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="ext"><!--+GtkHTML:<DATA class="ClueFlow" clear="k"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="2f2175_62c3876c"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@_n"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="e"><!--+GtkHTML:<DATA class="ClueFlow" clear="#h"><!--+GtkHTML:<DATA class="ClueFlow" clear="P"><!--+GtkHTML:<DATA class="ClueFlow" clear=" "><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="RX"><!--+GtkHTML:<DATA class="ClueFlow" clear="it-rodo/orb-1766660743792446900"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@A	n"><!--+GtkHTML:<DATA class="ClueFlow" clear="odstavec doleva"><!--+GtkHTML:<DATA class="ClueFlow" clear="p%"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear="@in"><!--+GtkHTML:<DATA class="ClueFlow" clear="xt: 'c'"><!--+GtkHTML:<DATA class="ClueFlow" clear="ext"><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""><!--+GtkHTML:<DATA class="ClueFlow" clear=""D<䥭"><!--+GtkHTML:<DATA class="ClueFlow" clear="
"><!--+GtkHTML:<DATA class="ClueFlow" clear="@^n">-- <BR>
Radek Doul&#237;k &lt;<A HREF="mailto:rodo@ximian.com">rodo@ximian.com</A>&gt;<BR>
Ximian, Inc.
</TD>
</TR>
</TABLE>

</BODY>
</HTML>

--=-/hLoGMqIIWNQdm59JFUx--