[Gtk-sharp-list] Notebook

Charles Iliya Krempeaux charles@reptile.ca
23 Apr 2003 09:59:57 -0700


Hello,

On Wed, 2003-04-23 at 08:28, Ahmed Bouagja wrote:
> Steinar Herland wrote:
> 
> >(Sorry, sent the previous one using wrong mail-account.)
> >Steinar
> >
> >-----Opprinnelig melding-----
> >Fra: Steinar Herland 
> >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?
> >Like:
> >
> >public int Pages
> >{
> >	get{
> >		//TODO: Call something to prevent drawing to display?
> >		int currentPage = CurrentPage;
> >		CurrentPage = -1;
> >		int numPages = CurrentPage;
> >		CurrentPage = currentPage;
> >		//TODO: Call something to restore drawing to display?
> >		return numPages;
> >	}
> >}
> >
> >Steinar
> >
> >  
> >
> Sorry, but I dont know how to use a .custome file, is it explained some 
> where ?

A .custom file is generally used to add a something "extra" to a class.
In this case, it is proposed that a new property be added to the class.

The .custom file comes into play when you are building and compiling
Gtk#.  (It's not something an end-developer would use.  It is something
a Gtk# hacker would use to extend the Gtk# API.)


See ya

-- 
     Charles Iliya Krempeaux, BSc
     charles@reptile.ca

________________________________________________________________________
 Reptile Consulting & Services    604-REPTILE    http://www.reptile.ca/