[Gtk-sharp-list] Notebook

Steinar Herland steinar.herland@gecko.no
Wed, 23 Apr 2003 17:56:30 +0200

Sometimes outlook can be _realy_ anoying. This should of course go to
the list...


-----Opprinnelig melding-----
Fra: Steinar Herland=20
Sendt: 23. april 2003 17:55
Til: 'Ahmed Bouagja'
Emne: SV: [Gtk-sharp-list] Notebook

.custom - files are used to extend the auto-generated classes.

I have included Notebook.custom which hopefully does what I suggested.
However, I can't compile gtk# on my box, so I have no idea if it's

If it _is_ working and the solution is acceptable, can somebody please
commit the file to cvs in gtk-sharp/gtk?


-----Opprinnelig melding-----
Fra: Ahmed Bouagja [mailto:ahmed.bouagja@eurecom.fr]=20
Sendt: 23. april 2003 17:29
Til: gtk-sharp-list@lists.ximian.com
Emne: Re: [Gtk-sharp-list] Notebook

Steinar Herland wrote:

>(Sorry, sent the previous one using wrong mail-account.)
>-----Opprinnelig melding-----
>Fra: Steinar Herland=20
>Sendt: 23. april 2003 16:59
>Til: 'gtk-sharp-list@lists.ximian.com'
>Emne: SV: [Gtk-sharp-list] Notebook
>How about a .custom file to define Pages on the notebook object?
>public int Pages
>	get{
>		//TODO: Call something to prevent drawing to display?
>		int currentPage =3D CurrentPage;
>		CurrentPage =3D -1;
>		int numPages =3D CurrentPage;
>		CurrentPage =3D currentPage;
>		//TODO: Call something to restore drawing to display?
>		return numPages;
>	}
> =20
Sorry, but I dont know how to use a .custome file, is it explained some=20
where ?


Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com