[Gtk-sharp-list] Notebook

Ahmed Bouagja ahmed.bouagja@eurecom.fr
Wed, 23 Apr 2003 19:06:15 +0200


Charles Iliya Krempeaux wrote:

>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
>
>  
>
Ok, then I'll use the code abouve ni my application, and wait for the 
Notebook.custom file proposed by Steinar Herland to be commited to CVS.

thanks

-- 
Ahmed