## Documentation

Table of Contents
Class Inheritance Tree
Widget Screenshots
Package groups

1.     -----------------------------------------------------------------------

2.     --               GtkAda - Ada95 binding for Gtk+/Gnome               --

3.     --                                                                   --

4.     --   Copyright (C) 1998-2000 E. Briot, J. Brobecker and A. Charlet   --

5.     --                Copyright (C) 2000-2013, AdaCore                   --

6.     --                                                                   --

7.     -- This library is free software; you can redistribute it and/or     --

8.     -- modify it under the terms of the GNU General Public               --

9.     -- License as published by the Free Software Foundation; either      --

10.     -- version 2 of the License, or (at your option) any later version.  --

11.     --                                                                   --

12.     -- This library is distributed in the hope that it will be useful,   --

13.     -- but WITHOUT ANY WARRANTY; without even the implied warranty of    --

14.     -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU --

15.     -- General Public License for more details.                          --

16.     --                                                                   --

17.     -- You should have received a copy of the GNU General Public         --

18.     -- License along with this library; if not, write to the             --

19.     -- Free Software Foundation, Inc., 59 Temple Place - Suite 330,      --

20.     -- Boston, MA 02111-1307, USA.                                       --

21.     --                                                                   --

22.     -- As a special exception, if other files instantiate generics from  --

23.     -- this unit, or you link this unit with other files to produce an   --

24.     -- executable, this  unit  does not  by itself cause  the resulting  --

25.     -- executable to be covered by the GNU General Public License. This  --

26.     -- exception does not however invalidate any other reasons why the   --

27.     -- executable file  might be covered by the  GNU Public License.     --

28.     -----------------------------------------------------------------------

30.     --  <description>

31.     --  A toolbar groups a number of items (buttons, combo boxes,...), generally

32.     --  at the top of the application window, just below the menu bar. It provides

33.     --  quick access to the most commonly used features of your application.

34.     --  It is common for an application to have multiple toolbars.

35.     --  </description>

36.     --  <c_version>2.8.17</c_version>

37.     --  <group>Menus and Toolbars</group>

38.     --  <testgtk>create_toolbar.adb</testgtk>

39.     --  <screenshot>gtk-toolbar</screenshot>

41.     with GlibTo API docTo specTo body;

42.     with Glib.PropertiesTo API docTo specTo body;

43.     with Gtk.ButtonTo API docTo specTo body;

44.     with Gtk.ContainerTo API docTo specTo body;

45.     with Gtk.EnumsTo API docTo specTo body; use Gtk.EnumsTo API docTo specTo body;

46.     with Gtk.Tool_ItemTo API docTo specTo body;

47.     with Gtk.WidgetTo API docTo specTo body;

49.     package Gtk.ToolbarTo API docTo specTo body is

51.        type Gtk_Toolbar_RecordTo API docTo body is new

52.          Gtk.Container.Gtk_Container_RecordTo API docTo specTo body with private;

53.        type Gtk_Toolbar is access all Gtk_Toolbar_RecordTo API docTo specTo body'Class;

55.        procedure Gtk_NewTo API docTo body (Widget : out Gtk_ToolbarTo API docTo spec);

56.        procedure InitializeTo API docTo body (Widget : access Gtk_Toolbar_RecordTo API docTo specTo body'Class);

57.        --  Create or initialize a new toolbar

59.        function Get_TypeTo API docTo body return Glib.GTypeTo API docTo spec;

60.        --  Return the internal value associated with a Gtk_Toolbar.

62.        -----------

63.        -- Items --

64.        -----------

66.        procedure InsertTo API docTo body

67.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body;

68.           Item    : access Gtk.Tool_Item.Gtk_Tool_Item_RecordTo API docTo spec'Class;

69.           Pos     : GintTo API docTo spec := -1);

70.        --  Insert a new item anywhere in the toolbar.

71.        --  If Pos is negative, the item is inserted at the end.

72.        --  If Pos is 0, the item is inserted first in the toolbar

74.        function Get_Item_IndexTo API docTo body

75.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body;

76.           Item    : access Gtk.Tool_Item.Gtk_Tool_Item_RecordTo API docTo spec'Class)

77.           return GintTo API docTo spec;

78.        --  Get the position of Item within the toolbar

80.        function Get_N_ItemsTo API docTo body

81.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body) return GintTo API docTo spec;

82.        --  Return the number of items in the toolbar

84.        function Get_Nth_ItemTo API docTo body

85.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body;

86.           N       : GintTo API docTo spec)

87.           return Gtk.Tool_Item.Gtk_Tool_ItemTo API docTo spec;

88.        --  Return the n-th item in the toolbar

90.        procedure Set_Drop_Highlight_ItemTo API docTo body

91.          (Toolbar   : access Gtk_Toolbar_RecordTo API docTo specTo body;

92.           Tool_Item : access Gtk.Tool_Item.Gtk_Tool_Item_RecordTo API docTo spec'Class;

93.           Index     : GintTo API docTo spec);

94.        --  Highlights Toolbar to give an idea of what it would look like

95.        --  if Item was added at the position indicated by Index.

96.        --  If Item is %NULL, highlighting is turned off. In that case Index is

97.        --  ignored.

98.        --

99.        --  The item passed to this function must not be part of any widget

100.        --  hierarchy. When an item is set as drop highlight item it can not

101.        --  be added to any widget hierarchy or used as highlight item for another

102.        --  toolbar.

104.        ---------------------

105.        -- Style functions --

106.        ---------------------

108.        procedure Set_OrientationTo API docTo body

109.          (Toolbar     : access Gtk_Toolbar_RecordTo API docTo specTo body;

110.           OrientationTo API docTo body : Gtk_OrientationTo API docTo spec);

111.        function Get_OrientationTo API docTo body

112.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body) return Gtk_OrientationTo API docTo spec;

113.        --  Set or get the orientation (horizontal, vertical) for the toolbar

115.        procedure Set_StyleTo API docTo body

116.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body;

117.           StyleTo API docTo body   : Gtk_Toolbar_StyleTo API docTo spec);

118.        function Get_StyleTo API docTo body

119.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body) return Gtk_Toolbar_StyleTo API docTo spec;

120.        --  Set the style of the toolbar: text only, images only, or both

122.        procedure Unset_StyleTo API docTo body (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body);

123.        --  Unsets a toolbar style set with Set_Style, so that user preferences

124.        --  will be used to determine the toolbar style. These user preferences are

125.        --  defined through the current gtk+ theme

127.        procedure Set_TooltipsTo API docTo body

128.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body;

129.           Enable  : Boolean);

130.        function Get_TooltipsTo API docTo body

131.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body) return Boolean;

132.        --  Sets whether tooltips should be enabled for items in the toolbar

134.        function Get_Relief_StyleTo API docTo body

135.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body)

136.           return Gtk_Relief_StyleTo API docTo spec;

137.        --  Returns the relief style of buttons on Toolbar. See

138.        --  Gtk.Button.Set_Relief for more information on reliefs.

140.        procedure Set_Show_ArrowTo API docTo body

141.          (Toolbar    : access Gtk_Toolbar_RecordTo API docTo specTo body;

142.           Show_Arrow : Boolean := True);

143.        function Get_Show_ArrowTo API docTo body

144.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body)

145.           return Boolean;

146.        --  Sets or Gets whether to show an overflow arrow when the toolbar doesn't

147.        --  have room for all items on it. If True, the items that have no room are

148.        --  still available to the user.

150.        function Get_Icon_SizeTo API docTo body

151.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body) return Gtk_Icon_SizeTo API docTo spec;

152.        --  Returns the icon size used in this toolbar

154.        ----------

155.        -- Misc --

156.        ----------

158.        function Get_Drop_IndexTo API docTo body

159.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body;

160.           X       : GintTo API docTo spec;

161.           Y       : GintTo API docTo spec)

162.           return GintTo API docTo spec;

163.        --  Returns the position corresponding to the indicated point on

164.        --  Toolbar. This is useful when dragging items to the toolbar:

165.        --  this function returns the position a new item should be

166.        --  inserted.

167.        --  (X, Y) are the coordinates, in pixels, within the toolbar

169.        -----------------

170.        -- Obsolescent --

171.        -----------------

172.        --  All subprograms below are now obsolescent in gtk+. They might be removed

173.        --  from future versions of gtk+ (and therefore GtkAda).

174.        --  To find out whether your code uses any of these, we recommend compiling

175.        --  with the -gnatwj switch

176.        --  <doc_ignore>

178.        procedure Gtk_NewTo API docTo body

179.          (Widget      : out Gtk_ToolbarTo API docTo spec;

180.           OrientationTo API docTo body : Gtk_OrientationTo API docTo spec;

181.           StyleTo API docTo body       : Gtk_Toolbar_StyleTo API docTo spec);

182.        pragma Obsolescent;

184.        procedure InitializeTo API docTo body

185.          (Widget      : access Gtk_Toolbar_RecordTo API docTo specTo body'Class;

186.           OrientationTo API docTo body : Gtk_OrientationTo API docTo spec;

187.           StyleTo API docTo body       : Gtk_Toolbar_StyleTo API docTo spec);

188.        pragma Obsolescent;

190.        type Gtk_Toolbar_Child_Type is

191.          (Toolbar_Child_Space,

192.           Toolbar_Child_Button,

193.           Toolbar_Child_Togglebutton,

194.           Toolbar_Child_Radiobutton,

195.           Toolbar_Child_Widget);

196.        --  This type used to be in Gtk.Enums, but is no longer used outside of the

197.        --  obsolescent subprograms in this package. We strongly encourage you to

198.        --  move your code to the new Insert API.

200.        pragma Convention (C, Gtk_Toolbar_Child_TypeTo API docTo spec);

202.        function Append_ElementTo API docTo body

203.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

204.           The_TypeTo API docTo body             : Gtk_Toolbar_Child_TypeTo API docTo spec;

205.           Widget               : Gtk.Widget.Gtk_WidgetTo API docTo spec := null;

206.           Text                 : UTF8_StringTo API docTo spec := "";

207.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

208.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

209.           Icon                 : Gtk.Widget.Gtk_WidgetTo API docTo spec := null)

210.           return Gtk.Widget.Gtk_WidgetTo API docTo spec;

211.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead"); --  Append_Element

213.        function Prepend_ElementTo API docTo body

214.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

215.           The_TypeTo API docTo body             : Gtk_Toolbar_Child_TypeTo API docTo spec;

216.           Widget               : access Gtk.Widget.Gtk_Widget_RecordTo API docTo specTo body'Class;

217.           Text                 : UTF8_StringTo API docTo spec := "";

218.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

219.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

220.           Icon                 : Gtk.Widget.Gtk_WidgetTo API docTo spec := null)

221.           return Gtk.Widget.Gtk_WidgetTo API docTo spec;

222.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Prepend_Element

224.        function Insert_ElementTo API docTo body

225.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

226.           The_TypeTo API docTo body             : Gtk_Toolbar_Child_TypeTo API docTo spec;

227.           Widget               : access Gtk.Widget.Gtk_Widget_RecordTo API docTo specTo body'Class;

228.           Text                 : UTF8_StringTo API docTo spec := "";

229.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

230.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

231.           Icon                 : Gtk.Widget.Gtk_WidgetTo API docTo spec := null;

232.           Position             : GintTo API docTo spec)

233.           return Gtk.Widget.Gtk_WidgetTo API docTo spec;

234.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Insert_Element

236.        function Append_ItemTo API docTo body

237.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

238.           Text                 : UTF8_StringTo API docTo spec := "";

239.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

240.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

241.           Icon                 : Gtk.Widget.Gtk_WidgetTo API docTo spec := null)

242.           return Gtk.Button.Gtk_ButtonTo API docTo spec;

243.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Append_Item

245.        function Prepend_ItemTo API docTo body

246.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

247.           Text                 : UTF8_StringTo API docTo spec := "";

248.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

249.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

250.           Icon                 : Gtk.Widget.Gtk_WidgetTo API docTo spec := null)

251.           return Gtk.Button.Gtk_ButtonTo API docTo spec;

252.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Prepend_Item

254.        function Insert_ItemTo API docTo body

255.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

256.           Text                 : UTF8_StringTo API docTo spec := "";

257.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

258.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

259.           Icon                 : Gtk.Widget.Gtk_WidgetTo API docTo spec := null;

260.           Position             : GintTo API docTo spec)

261.           return Gtk.Button.Gtk_ButtonTo API docTo spec;

262.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Insert_Item

264.        function Insert_StockTo API docTo body

265.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

266.           Stock_Id             : UTF8_StringTo API docTo spec;

267.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

268.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

269.           Position             : GintTo API docTo spec := -1) return Gtk.Button.Gtk_ButtonTo API docTo spec;

270.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Insert_Stock

272.        procedure Append_SpaceTo API docTo body (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body);

273.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Append_Space

275.        procedure Prepend_SpaceTo API docTo body (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body);

276.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Prepend_Space

278.        procedure Insert_SpaceTo API docTo body

279.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body; Position : GintTo API docTo spec);

280.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Insert_Space

282.        procedure Remove_SpaceTo API docTo body

283.          (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body; Position : GintTo API docTo spec);

284.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Remove_Space

286.        procedure Append_WidgetTo API docTo body

287.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

288.           Widget               : access Gtk.Widget.Gtk_Widget_RecordTo API docTo specTo body'Class;

289.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

290.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "");

291.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Append_Widget

293.        procedure Prepend_WidgetTo API docTo body

294.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

295.           Widget               : access Gtk.Widget.Gtk_Widget_RecordTo API docTo specTo body'Class;

296.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

297.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "");

298.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Prepend_Widget

300.        procedure Insert_WidgetTo API docTo body

301.          (Toolbar              : access Gtk_Toolbar_RecordTo API docTo specTo body;

302.           Widget               : access Gtk.Widget.Gtk_Widget_RecordTo API docTo specTo body'Class;

303.           Tooltip_Text         : UTF8_StringTo API docTo spec := "";

304.           Tooltip_Private_Text : UTF8_StringTo API docTo spec := "";

305.           Position             : GintTo API docTo spec);

306.        pragma Obsolescent ("Use Gtk.Toolbar.Insert instead");  --  Insert_Widget

308.        procedure Set_Icon_SizeTo API docTo body

309.          (Toolbar   : access Gtk_Toolbar_RecordTo API docTo specTo body;

310.           Icon_Size : Gtk_Icon_SizeTo API docTo spec);

311.        pragma Obsolescent  --  Set_Icon_Size

312.          ("Applications should respect user preferences (gtk+ themes)");

314.        procedure Unset_Icon_SizeTo API docTo body (Toolbar : access Gtk_Toolbar_RecordTo API docTo specTo body);

315.        pragma Obsolescent;  --  Unset_Icon_Size

316.        --  Unsets icon sizes set through Set_Icon_Size, so that user preferences

317.        --  set through the gtk+ theme are used

319.        --  </doc_ignore>

321.        ----------------

322.        -- Properties --

323.        ----------------

324.        --  The following properties are defined for this widget. See

325.        --  Glib.Properties for more information on properties.

327.        --  <properties>

328.        --  Name: Orientation_Property

329.        --  Type: Gtk_Orientation

330.        --  See:  Set_Orientation / Get_Orientation

331.        --

332.        --  Name: Toolbar_Style_Property

333.        --  Type: Gtk_Toolbar_Style

334.        --  See:  Set_Style / Get_Style

335.        --

336.        --  Name: Show_Arrow_Property

337.        --  Type: Boolean

338.        --  See:  Set_Show_Arrow / Get_Show_Arrow

339.        --

340.        --  Name: Tooltips_Property

341.        --  Type: Boolean

342.        --  See : Set_Tooltips / Get_Tooltips

343.        --  </properties>

345.        Orientation_Property   : constant Gtk.Enums.Property_Gtk_OrientationTo API docTo spec;

346.        Toolbar_Style_Property : constant Gtk.Enums.Property_Gtk_Toolbar_StyleTo API docTo spec;

347.        Show_Arrow_Property    : constant Glib.Properties.Property_BooleanTo API docTo spec;

348.        Tooltips_Property      : constant Glib.Properties.Property_BooleanTo API docTo spec;

350.        ----------------------

351.        -- Child Properties --

352.        ----------------------

353.        --  The following properties can be set on children of this widget. See

354.        --  in particular Gtk.Containers.Child_Set_Property.

356.        --  <child_properties>

357.        --  Name:  Expand_Property

358.        --  Type:  Boolean

359.        --  Descr: Whether the item should receive extra space when the toolbar

360.        --        grows

361.        --

362.        --  Name:  Homogeneous_Property

363.        --  Type:  Boolean

364.        --  Descr: Whether the item should be the same size as other homogeneous

365.        --        items

366.        --  </child_properties>

368.        Expand_Property      : constant Glib.Properties.Property_BooleanTo API docTo spec;

369.        Homogeneous_Property : constant Glib.Properties.Property_BooleanTo API docTo spec;

371.        ----------------------

372.        -- Style Properties --

373.        ----------------------

374.        --  The following properties can be changed through the gtk theme and

375.        --  configuration files, and retrieved through Gtk.Widget.Style_Get_Property

377.        --  <style_properties>

378.        --  Name:  Button_Relief_Property

379.        --  Type:  Enum

380.        --  Descr: Type of bevel around toolbar buttons

381.        --

382.        --  Name:  Internal_Padding_Property

383.        --  Type:  Int

384.        --  Descr: Amount of border space between the toolbar shadow and the buttons

385.        --

386.        --  Name:  Shadow_Type_Property

387.        --  Type:  Enum

388.        --  Descr: Style of bevel around the toolbar

389.        --

390.        --  Name:  Space_Size_Property

391.        --  Type:  Int

392.        --  Descr: Size of spacers

393.        --

394.        --  Name:  Space_Style_Property

395.        --  Type:  Enum

396.        --  Descr: Whether spacers are vertical lines or just blank

397.        --  </style_properties>

399.        Button_Relief_Property    : constant Gtk.Enums.Property_Gtk_Relief_StyleTo API docTo spec;

400.        Internal_Padding_Property : constant Glib.Properties.Property_IntTo API docTo spec;

401.        Shadow_Type_Property      : constant Gtk.Enums.Property_Gtk_Shadow_TypeTo API docTo spec;

402.        Space_Size_Property       : constant Glib.Properties.Property_IntTo API docTo spec;

403.        Space_Style_Property      : constant Gtk.Enums.Property_Toolbar_Space_StyleTo API docTo spec;

404.        Icon_Size_Property        : constant Gtk.Enums.Property_Gtk_Icon_SizeTo API docTo spec;

406.        -------------

407.        -- Signals --

408.        -------------

410.        --  <signals>

411.        --  The following new signals are defined for this widget:

412.        --

413.        --  - "orientation-changed"

414.        --    procedure Handler

415.        --      (Toolbar     : access Gtk_Toolbar_Record'Class;

416.        --       Orientation : Gtk_Orientation);

417.        --    Emitted when the orientation of the toolbar changes

418.        --

419.        --  - "style-changed"

420.        --    procedure Handler

421.        --      (Toolbar     : access Gtk_Toolbar_Record'Class;

422.        --       Style       : Gtk_Toolbar_Style);

423.        --    Emitted when the style of the toolbar changes

424.        --

425.        --  - "popup_context_menu"

426.        --    function Handler

427.        --      (Toolbar      : access Gtk_Toolbar_Record'Class;

428.        --       X, Y, Button : Gint) return Boolean;

429.        --    Emitted when the user right-clicks the toolbar or uses the keybinding

430.        --    to display a popup menu.

431.        --    Application developers should handle this signal if they want to

432.        --    display a context menu on the toolbar. The context-menu should appear

433.        --    at the coordinates given by (x, y). The mouse button number is given

434.        --    by the Button parameter (set to -1 if popped up with the keyboard).

435.        --    Return value is True if the signal was handled.

436.        --

437.        --  - "move_focus"

438.        --    This signal can't be used in application code, it is internal to GTK

439.        --

440.        --  - "focus_home_or_end"

441.        --    function Handler

442.        --       (Toolbar    : access Gtk_Toolbar_Record'Class;

443.        --        Focus_Home : Boolean) return Boolean;

444.        --    A keybinding signal used internally by GTK+. This signal can't be used

445.        --    in application code

446.        --

447.        --  </signals>

449.        Signal_Orientation_Changed : constant Glib.Signal_NameTo API docTo spec :=

450.                                       "orientation-changed";

451.        Signal_Style_Changed       : constant Glib.Signal_NameTo API docTo spec :=

452.                                       "style-changed";

453.        Signal_Popup_Context_Menu  : constant Glib.Signal_NameTo API docTo spec :=

454.                                       "popup_context_menu";

455.        Signal_Focus_Home_Or_End   : constant Glib.Signal_NameTo API docTo spec :=

456.                                       "focus_home_or_end";

457.        Signal_Move_Focus          : constant Glib.Signal_NameTo API docTo spec :=

458.                                       "move_focus";

460.     private

461.        type Gtk_Toolbar_RecordTo API docTo spec is

462.          new Gtk.Container.Gtk_Container_RecordTo API docTo specTo body with null record;

464.        Orientation_PropertyTo API docTo spec   : constant Gtk.Enums.Property_Gtk_OrientationTo API docTo spec :=

465.          Gtk.Enums.BuildTo API docTo specTo body ("orientation");

466.        Toolbar_Style_PropertyTo API docTo spec : constant Gtk.Enums.Property_Gtk_Toolbar_StyleTo API docTo spec :=

467.          Gtk.Enums.BuildTo API docTo specTo body ("toolbar-style");

468.        Show_Arrow_PropertyTo API docTo spec    : constant Glib.Properties.Property_BooleanTo API docTo spec :=

469.          Glib.Properties.BuildTo API docTo specTo body ("show-arrow");

470.        Tooltips_PropertyTo API docTo spec : constant Glib.Properties.Property_BooleanTo API docTo spec :=

471.          Glib.Properties.BuildTo API docTo specTo body ("tooltips");

473.        Expand_PropertyTo API docTo spec : constant Glib.Properties.Property_BooleanTo API docTo spec :=

474.          Glib.Properties.BuildTo API docTo specTo body ("expand");

475.        Homogeneous_PropertyTo API docTo spec : constant Glib.Properties.Property_BooleanTo API docTo spec :=

476.          Glib.Properties.BuildTo API docTo specTo body ("homogeneous");

478.        Button_Relief_PropertyTo API docTo spec : constant Gtk.Enums.Property_Gtk_Relief_StyleTo API docTo spec :=

479.          Gtk.Enums.BuildTo API docTo specTo body ("button-relief");

480.        Internal_Padding_PropertyTo API docTo spec : constant Glib.Properties.Property_IntTo API docTo spec :=

481.          Glib.Properties.BuildTo API docTo specTo body ("internal-padding");

482.        Shadow_Type_PropertyTo API docTo spec : constant Gtk.Enums.Property_Gtk_Shadow_TypeTo API docTo spec :=

483.          Gtk.Enums.BuildTo API docTo specTo body ("shadow-type");

484.        Icon_Size_PropertyTo API docTo spec : constant Gtk.Enums.Property_Gtk_Icon_SizeTo API docTo spec :=

485.          Gtk.Enums.BuildTo API docTo specTo body ("icon-size");

486.        Space_Size_PropertyTo API docTo spec : constant Glib.Properties.Property_IntTo API docTo spec :=

487.          Glib.Properties.BuildTo API docTo specTo body ("space-size");

488.        Space_Style_PropertyTo API docTo spec : constant Gtk.Enums.Property_Toolbar_Space_StyleTo API docTo spec :=

489.          Gtk.Enums.BuildTo API docTo specTo body ("space-style");

491.        pragma Import (C, Get_TypeTo API docTo spec, "gtk_toolbar_get_type");

492.     end Gtk.ToolbarTo API docTo specTo body;