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
  
31
  
32
  
33
  
34
  
35
  
36
  
37
  
38
  
39
  
40
  
41
  
42
  
43
  
44
  
45
  
46
  
47
  
//! Basically a horizontal W(Menu). 
//! The menu image cannot be 
//! grabbed automatically, but this is how you would create a menu all 
//! in one line. This is not the recommended coding style. 
//!@expr{ GTK2.MenuBar()->add(GTK2.MenuItem("Menu")->set_submenu(GTK2.Menu()->add(GTK2.MenuItem("Sub")))->select()->activate())->add(GTK2.MenuItem("Bar"))@} 
//!@xml{<image>../images/gtk2_menubar.png</image>@} 
//! 
//!  
//! Properties: 
//! int child-pack-direction 
//! int pack-direction 
//!  
//! Style properties: 
//! int internal-padding 
//! int shadow-type 
//! 
//! 
 
inherit GTK2.MenuShell; 
 
protected GTK2.MenuBar create( mapping|void props ); 
//! Create a new menu bar. 
//! 
//! 
 
int get_child_pack_direction( ); 
//! Retrieves the current child pack direction. 
//! 
//! 
 
int get_pack_direction( ); 
//! Retrieves the current pack direction of the menubar. 
//! 
//! 
 
GTK2.MenuBar set_child_pack_direction( int setting ); 
//! Sets how widgets should be packed inside the children of a menubar. 
//! 
//! 
 
GTK2.MenuBar set_pack_direction( int setting ); 
//! Sets how items should be packed inside a menubar.  One of 
//! @[PACK_DIRECTION_BTT], @[PACK_DIRECTION_LTR], @[PACK_DIRECTION_RTL] and @[PACK_DIRECTION_TTB]. 
//! 
//!