1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
/* -*- C -*- */ 
class GTK2.Object; 
require gtk210; 
inherit G.InitiallyUnowned; 
endrequire; 
 
not gtk210; 
inherit G.Object; 
endnot; 
 
//! The basic GTK class. 
//! All other GTK classes inherit this class. 
//! The only user-callable functions are the signal related ones. 
 
//! Properties: 
//! gpointer user-data 
 
signal destroy; 
 
void _destruct() 
{ 
  if (THIS->obj) { 
    gtk_object_destroy(GTK_OBJECT(THIS->obj)); 
    THIS->obj=NULL; 
  } 
  pgtk2_pop_n_elems(args); 
  push_int(0); 
}