Index

Package: Notebook

Description

package Gtk.Notebook is

The Gtk.Notebook.Gtk_Notebook widget is a Gtk.Container.Gtk_Container whose children are pages that can be switched between using tab labels along one edge.

There are many configuration options for GtkNotebook. Among other things, you can choose on which edge the tabs appear (see Gtk.Notebook.Set_Tab_Pos), whether, if there are too many tabs to fit the notebook should be made bigger or scrolling arrows added (see Gtk.Notebook.Set_Scrollable), and whether there will be a popup menu allowing the users to switch pages. (see Gtk.Notebook.Popup_Enable, Gtk.Notebook.Popup_Disable) == GtkNotebook as GtkBuildable == The GtkNotebook implementation of the Gtk.Buildable.Gtk_Buildable interface supports placing children into tabs by specifying "tab" as the "type" attribute of a <child> element. Note that the content of the tab must be created before the tab can be filled. A tab child can be specified without specifying a <child> type attribute.

To add a child widget in the notebooks action area, specify "action-start" or "action-end" as the "type" attribute of the <child> element. == A UI definition fragment with GtkNotebook == <object class="GtkNotebook"> <child> <object class="GtkLabel" id="notebook-content"> <property name="label">Content</property> </object> </child> <child type="tab"> <object class="GtkLabel" id="notebook-tab"> <property name="label">Tab</property> </object> </child> </object>

Screenshot

gtk-notebook.png
<testgtk>create_notebook.adb</testgtk>

Packages

Gtk_Notebook_Tab_Properties (new Glib.Generic_Properties.Generic_Internal_Discrete_Property)

package Gtk_Notebook_Tab_Properties is
      new Generic_Internal_Discrete_Property (Gtk_Notebook_Tab);

Implements_Gtk_Buildable (new Glib.Types.Implements)

Classes

Gtk_Notebook_Record

type Gtk_Notebook_Record is new Gtk_Container_Record with null record;

Ancestors:

Immediate Children:

Gtkada.MDI.MDI_Notebook_Record

Primitive operations:

Append_Page_Menu
Get_Action_Widget
Get_Current_Page
Get_Group_Name
Get_Menu_Label
Get_Menu_Label_Text
Get_Nth_Page
Get_Scrollable
Get_Show_Border
Get_Show_Tabs
Get_Tab_Detachable
Get_Tab_Hborder
Get_Tab_Label
Get_Tab_Label_Text
Get_Tab_Reorderable
Get_Tab_Vborder
Glib.Object.Deallocate (Inherited)
Glib.Object.Get_Type (Inherited)
Glib.Object.Notify (Inherited)
Glib.Object.Ref (Inherited)
Glib.Object.Ref_Sink (Inherited)
Glib.Object.Unref (Inherited)
Gtk.Container.Add (Inherited)
Gtk.Container.Check_Resize (Inherited)
Gtk.Container.Child_Get_Property (Inherited)
Gtk.Container.Child_Notify (Inherited)
Gtk.Container.Child_Set_Property (Inherited)
Gtk.Container.Child_Type (Inherited)
Gtk.Container.Forall (Inherited)
Gtk.Container.Foreach (Inherited)
Gtk.Container.Get_Border_Width (Inherited)
Gtk.Container.Get_Children (Inherited)
Gtk.Container.Get_Focus_Child (Inherited)
Gtk.Container.Get_Focus_Hadjustment (Inherited)
Gtk.Container.Get_Focus_Vadjustment (Inherited)
Gtk.Container.Get_Path_For_Child (Inherited)
Gtk.Container.Get_Resize_Mode (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Add (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Check_Resize (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Remove (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.On_Set_Focus_Child (Inherited)
Gtk.Container.Propagate_Draw (Inherited)
Gtk.Container.Remove (Inherited)
Gtk.Container.Resize_Children (Inherited)
Gtk.Container.Set_Border_Width (Inherited)
Gtk.Container.Set_Focus_Chain (Inherited)
Gtk.Container.Set_Focus_Child (Inherited)
Gtk.Container.Set_Focus_Hadjustment (Inherited)
Gtk.Container.Set_Focus_Vadjustment (Inherited)
Gtk.Container.Set_Reallocate_Redraws (Inherited)
Gtk.Container.Set_Resize_Mode (Inherited)
Gtk.Container.Unset_Focus_Chain (Inherited)
Gtk.Widget.Activate (Inherited)
Gtk.Widget.Add_Accelerator (Inherited)
Gtk.Widget.Add_Device_Events (Inherited)
Gtk.Widget.Add_Events (Inherited)
Gtk.Widget.Add_Mnemonic_Label (Inherited)
Gtk.Widget.Add_Tick_Callback (Inherited)
Gtk.Widget.Can_Activate_Accel (Inherited)
Gtk.Widget.Child_Focus (Inherited)
Gtk.Widget.Child_Notify (Inherited)
Gtk.Widget.Compute_Expand (Inherited)
Gtk.Widget.Create_Pango_Context (Inherited)
Gtk.Widget.Create_Pango_Layout (Inherited)
Gtk.Widget.Destroy (Inherited)
Gtk.Widget.Destroyed (Inherited)
Gtk.Widget.Device_Is_Shadowed (Inherited)
Gtk.Widget.Drag_Check_Threshold (Inherited)
Gtk.Widget.Drag_Dest_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Text_Targets (Inherited)
Gtk.Widget.Drag_Dest_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Dest_Get_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Set_Proxy (Inherited)
Gtk.Widget.Drag_Dest_Set_Track_Motion (Inherited)
Gtk.Widget.Drag_Dest_Unset (Inherited)
Gtk.Widget.Drag_Get_Data (Inherited)
Gtk.Widget.Drag_Highlight (Inherited)
Gtk.Widget.Drag_Source_Add_Image_Targets (Inherited)
Gtk.Widget.Drag_Source_Add_Uri_Targets (Inherited)
Gtk.Widget.Drag_Source_Set_Icon_Pixbuf (Inherited)
Gtk.Widget.Drag_Source_Unset (Inherited)
Gtk.Widget.Drag_Unhighlight (Inherited)
Gtk.Widget.Draw (Inherited)
Gtk.Widget.Ensure_Style (Inherited)
Gtk.Widget.Error_Bell (Inherited)
Gtk.Widget.Event (Inherited)
Gtk.Widget.Freeze_Child_Notify (Inherited)
Gtk.Widget.Get_Allocated_Height (Inherited)
Gtk.Widget.Get_Allocated_Width (Inherited)
Gtk.Widget.Get_Allocation (Inherited)
Gtk.Widget.Get_Ancestor (Inherited)
Gtk.Widget.Get_App_Paintable (Inherited)
Gtk.Widget.Get_Can_Default (Inherited)
Gtk.Widget.Get_Can_Focus (Inherited)
Gtk.Widget.Get_Child_Requisition (Inherited)
Gtk.Widget.Get_Child_Visible (Inherited)
Gtk.Widget.Get_Composite_Name (Inherited)
Gtk.Widget.Get_Device_Enabled (Inherited)
Gtk.Widget.Get_Device_Events (Inherited)
Gtk.Widget.Get_Direction (Inherited)
Gtk.Widget.Get_Display (Inherited)
Gtk.Widget.Get_Double_Buffered (Inherited)
Gtk.Widget.Get_Events (Inherited)
Gtk.Widget.Get_Frame_Clock (Inherited)
Gtk.Widget.Get_Halign (Inherited)
Gtk.Widget.Get_Has_Tooltip (Inherited)
Gtk.Widget.Get_Has_Window (Inherited)
Gtk.Widget.Get_Hexpand (Inherited)
Gtk.Widget.Get_Hexpand_Set (Inherited)
Gtk.Widget.Get_Mapped (Inherited)
Gtk.Widget.Get_Margin_Bottom (Inherited)
Gtk.Widget.Get_Margin_Left (Inherited)
Gtk.Widget.Get_Margin_Right (Inherited)
Gtk.Widget.Get_Margin_Top (Inherited)
Gtk.Widget.Get_Modifier_Mask (Inherited)
Gtk.Widget.Get_Name (Inherited)
Gtk.Widget.Get_No_Show_All (Inherited)
Gtk.Widget.Get_Opacity (Inherited)
Gtk.Widget.Get_Pango_Context (Inherited)
Gtk.Widget.Get_Parent (Inherited)
Gtk.Widget.Get_Parent_Window (Inherited)
Gtk.Widget.Get_Path (Inherited)
Gtk.Widget.Get_Pointer (Inherited)
Gtk.Widget.Get_Preferred_Height (Inherited)
Gtk.Widget.Get_Preferred_Height_For_Width (Inherited)
Gtk.Widget.Get_Preferred_Size (Inherited)
Gtk.Widget.Get_Preferred_Width (Inherited)
Gtk.Widget.Get_Preferred_Width_For_Height (Inherited)
Gtk.Widget.Get_Realized (Inherited)
Gtk.Widget.Get_Receives_Default (Inherited)
Gtk.Widget.Get_Request_Mode (Inherited)
Gtk.Widget.Get_Requisition (Inherited)
Gtk.Widget.Get_Root_Window (Inherited)
Gtk.Widget.Get_Screen (Inherited)
Gtk.Widget.Get_Sensitive (Inherited)
Gtk.Widget.Get_Size_Request (Inherited)
Gtk.Widget.Get_State (Inherited)
Gtk.Widget.Get_State_Flags (Inherited)
Gtk.Widget.Get_Style (Inherited)
Gtk.Widget.Get_Support_Multidevice (Inherited)
Gtk.Widget.Get_Tooltip_Markup (Inherited)
Gtk.Widget.Get_Tooltip_Text (Inherited)
Gtk.Widget.Get_Tooltip_Window (Inherited)
Gtk.Widget.Get_Toplevel (Inherited)
Gtk.Widget.Get_Valign (Inherited)
Gtk.Widget.Get_Vexpand (Inherited)
Gtk.Widget.Get_Vexpand_Set (Inherited)
Gtk.Widget.Get_Visible (Inherited)
Gtk.Widget.Get_Visual (Inherited)
Gtk.Widget.Get_Window (Inherited)
Gtk.Widget.Grab_Add (Inherited)
Gtk.Widget.Grab_Default (Inherited)
Gtk.Widget.Grab_Focus (Inherited)
Gtk.Widget.Grab_Remove (Inherited)
Gtk.Widget.Has_Default (Inherited)
Gtk.Widget.Has_Focus (Inherited)
Gtk.Widget.Has_Grab (Inherited)
Gtk.Widget.Has_Rc_Style (Inherited)
Gtk.Widget.Has_Screen (Inherited)
Gtk.Widget.Has_Visible_Focus (Inherited)
Gtk.Widget.Hide (Inherited)
Gtk.Widget.Hide_On_Delete (Inherited)
Gtk.Widget.In_Destruction (Inherited)
Gtk.Widget.Input_Shape_Combine_Region (Inherited)
Gtk.Widget.Intersect (Inherited)
Gtk.Widget.Is_Ancestor (Inherited)
Gtk.Widget.Is_Composited (Inherited)
Gtk.Widget.Is_Drawable (Inherited)
Gtk.Widget.Is_Focus (Inherited)
Gtk.Widget.Is_Sensitive (Inherited)
Gtk.Widget.Is_Toplevel (Inherited)
Gtk.Widget.Is_Visible (Inherited)
Gtk.Widget.Keynav_Failed (Inherited)
Gtk.Widget.List_Mnemonic_Labels (Inherited)
Gtk.Widget.Map (Inherited)
Gtk.Widget.Mnemonic_Activate (Inherited)
Gtk.Widget.Modify_Base (Inherited)
Gtk.Widget.Modify_Bg (Inherited)
Gtk.Widget.Modify_Cursor (Inherited)
Gtk.Widget.Modify_Fg (Inherited)
Gtk.Widget.Modify_Font (Inherited)
Gtk.Widget.Modify_Text (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Accel_Closures_Changed (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Press_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Button_Release_Event (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Can_Activate_Accel (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Child_Notify (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Composited_Changed (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Configure_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Damage_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Delete_Event (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Destroy_Event (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Direction_Changed (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Begin (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Delete (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Get (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Data_Received (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_Drop (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_End (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Failed (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Leave (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Drag_Motion (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Draw (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Enter_Notify_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Event_After (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_In_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Focus_Out_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Broken_Event (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Focus (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Grab_Notify (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hide (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Hierarchy_Changed (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Press_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Key_Release_Event (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Keynav_Failed (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Leave_Notify_Event (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Map_Event (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Mnemonic_Activate (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Motion_Notify_Event (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Move_Focus (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Parent_Set (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Popup_Menu (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Property_Notify_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_In_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Proximity_Out_Event (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Query_Tooltip (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Realize (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Screen_Changed (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Scroll_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Clear_Event (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Get (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Notify_Event (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Received (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Selection_Request_Event (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Show_Help (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_Size_Allocate (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_State_Flags_Changed (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Set (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Style_Updated (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Touch_Event (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unmap_Event (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Unrealize (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Visibility_Notify_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.On_Window_State_Event (Inherited)
Gtk.Widget.Override_Background_Color (Inherited)
Gtk.Widget.Override_Color (Inherited)
Gtk.Widget.Override_Cursor (Inherited)
Gtk.Widget.Override_Font (Inherited)
Gtk.Widget.Override_Symbolic_Color (Inherited)
Gtk.Widget.Queue_Compute_Expand (Inherited)
Gtk.Widget.Queue_Draw (Inherited)
Gtk.Widget.Queue_Draw_Area (Inherited)
Gtk.Widget.Queue_Draw_Region (Inherited)
Gtk.Widget.Queue_Resize (Inherited)
Gtk.Widget.Queue_Resize_No_Redraw (Inherited)
Gtk.Widget.Realize (Inherited)
Gtk.Widget.Region_Intersect (Inherited)
Gtk.Widget.Register_Window (Inherited)
Gtk.Widget.Remove_Accelerator (Inherited)
Gtk.Widget.Remove_Mnemonic_Label (Inherited)
Gtk.Widget.Remove_Tick_Callback (Inherited)
Gtk.Widget.Render_Icon (Inherited)
Gtk.Widget.Render_Icon_Pixbuf (Inherited)
Gtk.Widget.Reparent (Inherited)
Gtk.Widget.Reset_Rc_Styles (Inherited)
Gtk.Widget.Reset_Style (Inherited)
Gtk.Widget.Send_Expose (Inherited)
Gtk.Widget.Send_Focus_Change (Inherited)
Gtk.Widget.Set_Accel_Path (Inherited)
Gtk.Widget.Set_Allocation (Inherited)
Gtk.Widget.Set_App_Paintable (Inherited)
Gtk.Widget.Set_Can_Default (Inherited)
Gtk.Widget.Set_Can_Focus (Inherited)
Gtk.Widget.Set_Child_Visible (Inherited)
Gtk.Widget.Set_Composite_Name (Inherited)
Gtk.Widget.Set_Device_Enabled (Inherited)
Gtk.Widget.Set_Device_Events (Inherited)
Gtk.Widget.Set_Direction (Inherited)
Gtk.Widget.Set_Double_Buffered (Inherited)
Gtk.Widget.Set_Events (Inherited)
Gtk.Widget.Set_Halign (Inherited)
Gtk.Widget.Set_Has_Tooltip (Inherited)
Gtk.Widget.Set_Has_Window (Inherited)
Gtk.Widget.Set_Hexpand (Inherited)
Gtk.Widget.Set_Hexpand_Set (Inherited)
Gtk.Widget.Set_Mapped (Inherited)
Gtk.Widget.Set_Margin_Bottom (Inherited)
Gtk.Widget.Set_Margin_Left (Inherited)
Gtk.Widget.Set_Margin_Right (Inherited)
Gtk.Widget.Set_Margin_Top (Inherited)
Gtk.Widget.Set_Name (Inherited)
Gtk.Widget.Set_No_Show_All (Inherited)
Gtk.Widget.Set_Opacity (Inherited)
Gtk.Widget.Set_Parent (Inherited)
Gtk.Widget.Set_Parent_Window (Inherited)
Gtk.Widget.Set_Realized (Inherited)
Gtk.Widget.Set_Receives_Default (Inherited)
Gtk.Widget.Set_Redraw_On_Allocate (Inherited)
Gtk.Widget.Set_Sensitive (Inherited)
Gtk.Widget.Set_Size_Request (Inherited)
Gtk.Widget.Set_State (Inherited)
Gtk.Widget.Set_State_Flags (Inherited)
Gtk.Widget.Set_Style (Inherited)
Gtk.Widget.Set_Support_Multidevice (Inherited)
Gtk.Widget.Set_Tooltip_Markup (Inherited)
Gtk.Widget.Set_Tooltip_Text (Inherited)
Gtk.Widget.Set_Tooltip_Window (Inherited)
Gtk.Widget.Set_Valign (Inherited)
Gtk.Widget.Set_Vexpand (Inherited)
Gtk.Widget.Set_Vexpand_Set (Inherited)
Gtk.Widget.Set_Visible (Inherited)
Gtk.Widget.Set_Visual (Inherited)
Gtk.Widget.Set_Window (Inherited)
Gtk.Widget.Shape_Combine_Region (Inherited)
Gtk.Widget.Show (Inherited)
Gtk.Widget.Show_All (Inherited)
Gtk.Widget.Show_Now (Inherited)
Gtk.Widget.Size_Allocate (Inherited)
Gtk.Widget.Size_Request (Inherited)
Gtk.Widget.Style_Attach (Inherited)
Gtk.Widget.Style_Get_Property (Inherited)
Gtk.Widget.Thaw_Child_Notify (Inherited)
Gtk.Widget.Translate_Coordinates (Inherited)
Gtk.Widget.Trigger_Tooltip_Query (Inherited)
Gtk.Widget.Unmap (Inherited)
Gtk.Widget.Unparent (Inherited)
Gtk.Widget.Unrealize (Inherited)
Gtk.Widget.Unregister_Window (Inherited)
Gtk.Widget.Unset_State_Flags (Inherited)
Insert_Page_Menu
On_Change_Current_Page
On_Change_Current_Page
On_Create_Window
On_Create_Window
On_Focus_Tab
On_Focus_Tab
On_Move_Focus_Out
On_Move_Focus_Out
On_Page_Added
On_Page_Added
On_Page_Removed
On_Page_Removed
On_Page_Reordered
On_Page_Reordered
On_Reorder_Tab
On_Reorder_Tab
On_Select_Page
On_Select_Page
On_Switch_Page
On_Switch_Page
Popup_Disable
Popup_Enable
Prepend_Page
Prepend_Page
Prepend_Page_Menu
Reorder_Child
Set_Action_Widget
Set_Current_Page
Set_Group_Name
Set_Menu_Label
Set_Menu_Label_Text
Set_Scrollable
Set_Show_Border
Set_Show_Tabs
Set_Tab_Detachable
Set_Tab_Label
Set_Tab_Label_Text
Set_Tab_Reorderable

Types

Gtk_Notebook

type Gtk_Notebook is access all Gtk_Notebook_Record'Class;

Gtk_Notebook_Tab

type Gtk_Notebook_Tab is (
      Notebook_Tab_First,
      Notebook_Tab_Last);

Property_Gtk_Notebook_Tab

type Property_Gtk_Notebook_Tab is new Gtk_Notebook_Tab_Properties.Property;

Cb_Gtk_Notebook_Gint_Boolean

type Cb_Gtk_Notebook_Gint_Boolean is not null access function
     (Self   : access Gtk_Notebook_Record'Class;
      Object : Gint) return Boolean;

Cb_GObject_Gint_Boolean

type Cb_GObject_Gint_Boolean is not null access function
     (Self   : access Glib.Object.GObject_Record'Class;
      Object : Gint) return Boolean;

Cb_Gtk_Notebook_Gtk_Widget_Gint_Gint_Gtk_Notebook

type Cb_Gtk_Notebook_Gtk_Widget_Gint_Gint_Gtk_Notebook is not null access function
     (Self : access Gtk_Notebook_Record'Class;
      Page : not null access Gtk.Widget.Gtk_Widget_Record'Class;
      X    : Gint;
      Y    : Gint) return Gtk_Notebook;

Cb_GObject_Gtk_Widget_Gint_Gint_Gtk_Notebook

type Cb_GObject_Gtk_Widget_Gint_Gint_Gtk_Notebook is not null access function
     (Self : access Glib.Object.GObject_Record'Class;
      Page : not null access Gtk.Widget.Gtk_Widget_Record'Class;
      X    : Gint;
      Y    : Gint) return Gtk_Notebook;

Cb_Gtk_Notebook_Gtk_Notebook_Tab_Boolean

type Cb_Gtk_Notebook_Gtk_Notebook_Tab_Boolean is not null access function
     (Self   : access Gtk_Notebook_Record'Class;
      Object : Gtk_Notebook_Tab) return Boolean;

Cb_GObject_Gtk_Notebook_Tab_Boolean

type Cb_GObject_Gtk_Notebook_Tab_Boolean is not null access function
     (Self   : access Glib.Object.GObject_Record'Class;
      Object : Gtk_Notebook_Tab) return Boolean;

Cb_Gtk_Notebook_Gtk_Direction_Type_Void

type Cb_Gtk_Notebook_Gtk_Direction_Type_Void is not null access procedure
     (Self   : access Gtk_Notebook_Record'Class;
      Object : Gtk.Enums.Gtk_Direction_Type);

Cb_GObject_Gtk_Direction_Type_Void

type Cb_GObject_Gtk_Direction_Type_Void is not null access procedure
     (Self   : access Glib.Object.GObject_Record'Class;
      Object : Gtk.Enums.Gtk_Direction_Type);

Cb_Gtk_Notebook_Gtk_Widget_Guint_Void

type Cb_Gtk_Notebook_Gtk_Widget_Guint_Void is not null access procedure
     (Self     : access Gtk_Notebook_Record'Class;
      Child    : not null access Gtk.Widget.Gtk_Widget_Record'Class;
      Page_Num : Guint);

Cb_GObject_Gtk_Widget_Guint_Void

type Cb_GObject_Gtk_Widget_Guint_Void is not null access procedure
     (Self     : access Glib.Object.GObject_Record'Class;
      Child    : not null access Gtk.Widget.Gtk_Widget_Record'Class;
      Page_Num : Guint);

Cb_Gtk_Notebook_Gtk_Direction_Type_Boolean_Boolean

type Cb_Gtk_Notebook_Gtk_Direction_Type_Boolean_Boolean is not null access function
     (Self   : access Gtk_Notebook_Record'Class;
      Object : Gtk.Enums.Gtk_Direction_Type;
      P0     : Boolean) return Boolean;

Cb_GObject_Gtk_Direction_Type_Boolean_Boolean

type Cb_GObject_Gtk_Direction_Type_Boolean_Boolean is not null access function
     (Self   : access Glib.Object.GObject_Record'Class;
      Object : Gtk.Enums.Gtk_Direction_Type;
      P0     : Boolean) return Boolean;

Cb_Gtk_Notebook_Boolean_Boolean

type Cb_Gtk_Notebook_Boolean_Boolean is not null access function
     (Self   : access Gtk_Notebook_Record'Class;
      Object : Boolean) return Boolean;

Cb_GObject_Boolean_Boolean

type Cb_GObject_Boolean_Boolean is not null access function
     (Self   : access Glib.Object.GObject_Record'Class;
      Object : Boolean) return Boolean;

Constants & Global variables

Enable_Popup_Property (Glib.Properties.Property_Boolean)

Enable_Popup_Property : constant Glib.Properties.Property_Boolean;

Group_Name_Property (Glib.Properties.Property_String)

Group_Name_Property : constant Glib.Properties.Property_String;
Group name for tab drag and drop.

Show_Border_Property (Glib.Properties.Property_Boolean)

Show_Border_Property : constant Glib.Properties.Property_Boolean;

Signal_Change_Current_Page (Glib.Signal_Name)

Signal_Change_Current_Page : constant Glib.Signal_Name := "change-current-page";

Signal_Create_Window (Glib.Signal_Name)

Signal_Create_Window : constant Glib.Signal_Name := "create-window";

Signal_Focus_Tab (Glib.Signal_Name)

Signal_Focus_Tab : constant Glib.Signal_Name := "focus-tab";

Signal_Move_Focus_Out (Glib.Signal_Name)

Signal_Move_Focus_Out : constant Glib.Signal_Name := "move-focus-out";

Signal_Page_Added (Glib.Signal_Name)

Signal_Page_Added : constant Glib.Signal_Name := "page-added";

Signal_Page_Removed (Glib.Signal_Name)

Signal_Page_Removed : constant Glib.Signal_Name := "page-removed";

Signal_Page_Reordered (Glib.Signal_Name)

Signal_Page_Reordered : constant Glib.Signal_Name := "page-reordered";

Signal_Reorder_Tab (Glib.Signal_Name)

Signal_Reorder_Tab : constant Glib.Signal_Name := "reorder-tab";

Signal_Select_Page (Glib.Signal_Name)

Signal_Select_Page : constant Glib.Signal_Name := "select-page";

Signal_Switch_Page (Glib.Signal_Name)

Signal_Switch_Page : constant Glib.Signal_Name := "switch-page";

Subprograms & Entries

Gtk_New

procedure Gtk_New 
(Notebook: out Gtk_Notebook);

Initialize

procedure Initialize 
(Notebook: not null access Gtk_Notebook_Record'Class);
Creates a new Gtk.Notebook.Gtk_Notebook widget with no pages.

Gtk_Notebook_New

function Gtk_Notebook_New return Gtk_Notebook;
Creates a new Gtk.Notebook.Gtk_Notebook widget with no pages.

Get_Type

function Get_Type return Glib.GType;

Append_Page

function Append_Page 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class) return Gint;
Appends a page to Notebook. "child": the Gtk.Widget.Gtk_Widget to use as the contents of the page "tab_label": the Gtk.Widget.Gtk_Widget to be used as the label for the page, or null to use the default label, 'page N'

Append_Page_Menu

procedure Append_Page_Menu 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class;
Menu_Label: access Gtk.Widget.Gtk_Widget_Record'Class);
Appends a page to Notebook, specifying the widget to use as the label in the popup menu. "child": the Gtk.Widget.Gtk_Widget to use as the contents of the page "tab_label": the Gtk.Widget.Gtk_Widget to be used as the label for the page, or null to use the default label, 'page N' "menu_label": the widget to use as a label for the page-switch menu, if that is enabled. If null, and Tab_Label is a Gtk.Label.Gtk_Label or null, then the menu label will be a newly created label with the same text as Tab_Label; if Tab_Label is not a Gtk.Label.Gtk_Label, Menu_Label must be specified if the page-switch menu is to be used.

Get_Action_Widget

function Get_Action_Widget 
(Notebook: not null access Gtk_Notebook_Record;
Pack_Type: Gtk.Enums.Gtk_Pack_Type) return Gtk.Widget.Gtk_Widget;
Gets one of the action widgets. See Gtk.Notebook.Set_Action_Widget. Since: gtk+ 2.20 "pack_type": pack type of the action widget to receive

Set_Action_Widget

procedure Set_Action_Widget 
(Notebook: not null access Gtk_Notebook_Record;
Widget: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Pack_Type: Gtk.Enums.Gtk_Pack_Type);
Sets Widget as one of the action widgets. Depending on the pack type the widget will be placed before or after the tabs. You can use a Gtk.Box.Gtk_Box if you need to pack more than one widget on the same side. Note that action widgets are "internal" children of the notebook and thus not included in the list returned from Gtk.Container.Foreach. Since: gtk+ 2.20 "widget": a Gtk.Widget.Gtk_Widget "pack_type": pack type of the action widget

Get_Current_Page

function Get_Current_Page 
(Notebook: not null access Gtk_Notebook_Record) return Gint;
Returns the page number of the current page.

Set_Current_Page

procedure Set_Current_Page 
(Notebook: not null access Gtk_Notebook_Record;
Page_Num: Gint := -1);
Switches to the page number Page_Num. Note that due to historical reasons, GtkNotebook refuses to switch to a page unless the child widget is visible. Therefore, it is recommended to show child widgets before adding them to a notebook. "page_num": index of the page to switch to, starting from 0. If negative, the last page will be used. If greater than the number of pages in the notebook, nothing will be done.

Get_Group_Name

function Get_Group_Name 
(Notebook: not null access Gtk_Notebook_Record) return UTF8_String;
Gets the current group name for Notebook. Since: gtk+ 2.24

Set_Group_Name

procedure Set_Group_Name 
(Notebook: not null access Gtk_Notebook_Record;
Group_Name: UTF8_String := "");
Sets a group name for Notebook. Notebooks with the same name will be able to exchange tabs via drag and drop. A notebook with a null group name will not be able to exchange tabs with any other notebook. Since: gtk+ 2.24 "group_name": the name of the notebook group, or null to unset it

Get_Menu_Label

function Get_Menu_Label 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return Gtk.Widget.Gtk_Widget;
Retrieves the menu label widget of the page containing Child. "child": a widget contained in a page of Notebook

Set_Menu_Label

procedure Set_Menu_Label 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Menu_Label: access Gtk.Widget.Gtk_Widget_Record'Class);
Changes the menu label for the page containing Child. "child": the child widget "menu_label": the menu label, or null for default

Get_Menu_Label_Text

function Get_Menu_Label_Text 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return UTF8_String;
Retrieves the text of the menu label for the page containing Child. "child": the child widget of a page of the notebook.

Set_Menu_Label_Text

procedure Set_Menu_Label_Text 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Menu_Text: UTF8_String);
Creates a new label and sets it as the menu label of Child. "child": the child widget "menu_text": the label text

Get_N_Pages

function Get_N_Pages 
(Notebook: not null access Gtk_Notebook_Record) return Gint;
Gets the number of pages in a notebook. Since: gtk+ 2.2

Get_Nth_Page

function Get_Nth_Page 
(Notebook: not null access Gtk_Notebook_Record;
Page_Num: Gint) return Gtk.Widget.Gtk_Widget;
Returns the child widget contained in page number Page_Num. "page_num": the index of a page in the notebook, or -1 to get the last page

Get_Scrollable

function Get_Scrollable 
(Notebook: not null access Gtk_Notebook_Record) return Boolean;
Returns whether the tab label area has arrows for scrolling. See Gtk.Notebook.Set_Scrollable.

Set_Scrollable

procedure Set_Scrollable 
(Notebook: not null access Gtk_Notebook_Record;
Scrollable: Boolean := True);
Sets whether the tab label area will have arrows for scrolling if there are too many tabs to fit in the area. "scrollable": True if scroll arrows should be added

Get_Show_Border

function Get_Show_Border 
(Notebook: not null access Gtk_Notebook_Record) return Boolean;
Returns whether a bevel will be drawn around the notebook pages. See Gtk.Notebook.Set_Show_Border.

Set_Show_Border

procedure Set_Show_Border 
(Notebook: not null access Gtk_Notebook_Record;
Show_Border: Boolean := True);
Sets whether a bevel will be drawn around the notebook pages. This only has a visual effect when the tabs are not shown. See Gtk.Notebook.Set_Show_Tabs. "show_border": True if a bevel should be drawn around the notebook

Get_Show_Tabs

function Get_Show_Tabs 
(Notebook: not null access Gtk_Notebook_Record) return Boolean;
Returns whether the tabs of the notebook are shown. See Gtk.Notebook.Set_Show_Tabs.

Set_Show_Tabs

procedure Set_Show_Tabs 
(Notebook: not null access Gtk_Notebook_Record;
Show_Tabs: Boolean := True);
Sets whether to show the tabs for the notebook or not. "show_tabs": True if the tabs should be shown

Get_Tab_Detachable

function Get_Tab_Detachable 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return Boolean;
Returns whether the tab contents can be detached from Notebook. Since: gtk+ 2.10 "child": a child Gtk.Widget.Gtk_Widget

Set_Tab_Detachable

procedure Set_Tab_Detachable 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Detachable: Boolean := True);
Sets whether the tab can be detached from Notebook to another notebook or widget. Note that 2 notebooks must share a common group identificator (see Gtk.Notebook.Set_Group_Name) to allow automatic tabs interchange between them. If you want a widget to interact with a notebook through DnD (i.e.: accept dragged tabs from it) it must be set as a drop destination and accept the target "GTK_NOTEBOOK_TAB". The notebook will fill the selection with a GtkWidget** pointing to the child widget that corresponds to the dropped tab. |[ static void on_drop_zone_drag_data_received (GtkWidget *widget, GdkDragContext *context, gint x, gint y, GtkSelectionData *selection_data, guint info, guint time, gpointer user_data) { GtkWidget *notebook; GtkWidget **child; notebook = gtk_drag_get_source_widget (context); child = (void*) gtk_selection_data_get_data (selection_data); process_widget (*child); gtk_container_remove (GTK_CONTAINER (notebook), *child); } ]| If you want a notebook to accept drags from other widgets, you will have to set your own DnD code to do it. Since: gtk+ 2.10 "child": a child Gtk.Widget.Gtk_Widget "detachable": whether the tab is detachable or not

Get_Tab_Hborder

function Get_Tab_Hborder 
(Notebook: not null access Gtk_Notebook_Record) return Guint16;

Get_Tab_Label

function Get_Tab_Label 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return Gtk.Widget.Gtk_Widget;
Returns the tab label widget for the page Child. null is returned if Child is not in Notebook or if no tab label has specifically been set for Child. "child": the page

Set_Tab_Label

procedure Set_Tab_Label 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class);
Changes the tab label for Child. If null is specified for Tab_Label, then the page will have the label 'page N'. "child": the page "tab_label": the tab label widget to use, or null for default tab label

Get_Tab_Label_Text

function Get_Tab_Label_Text 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return UTF8_String;
Retrieves the text of the tab label for the page containing Child. "child": a widget contained in a page of Notebook

Set_Tab_Label_Text

procedure Set_Tab_Label_Text 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Text: UTF8_String);
Creates a new label and sets it as the tab label for the page containing Child. "child": the page "tab_text": the label text

Get_Tab_Pos

function Get_Tab_Pos 
(Notebook: not null access Gtk_Notebook_Record) return Gtk.Enums.Gtk_Position_Type;
Gets the edge at which the tabs for switching pages in the notebook are drawn.

Set_Tab_Pos

procedure Set_Tab_Pos 
(Notebook: not null access Gtk_Notebook_Record;
Pos: Gtk.Enums.Gtk_Position_Type);
Sets the edge at which the tabs for switching pages in the notebook are drawn. "pos": the edge to draw the tabs at

Get_Tab_Reorderable

function Get_Tab_Reorderable 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return Boolean;
Gets whether the tab can be reordered via drag and drop or not. Since: gtk+ 2.10 "child": a child Gtk.Widget.Gtk_Widget

Set_Tab_Reorderable

procedure Set_Tab_Reorderable 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Reorderable: Boolean := True);
Sets whether the notebook tab can be reordered via drag and drop or not. Since: gtk+ 2.10 "child": a child Gtk.Widget.Gtk_Widget "reorderable": whether the tab is reorderable or not

Get_Tab_Vborder

function Get_Tab_Vborder 
(Notebook: not null access Gtk_Notebook_Record) return Guint16;

Insert_Page

function Insert_Page 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class;
Position: Gint) return Gint;
Insert a page into Notebook at the given position. "child": the Gtk.Widget.Gtk_Widget to use as the contents of the page "tab_label": the Gtk.Widget.Gtk_Widget to be used as the label for the page, or null to use the default label, 'page N' "position": the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages

Insert_Page_Menu

function Insert_Page_Menu 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class;
Menu_Label: access Gtk.Widget.Gtk_Widget_Record'Class;
Position: Gint) return Gint;
Insert a page into Notebook at the given position, specifying the widget to use as the label in the popup menu. "child": the Gtk.Widget.Gtk_Widget to use as the contents of the page "tab_label": the Gtk.Widget.Gtk_Widget to be used as the label for the page, or null to use the default label, 'page N' "menu_label": the widget to use as a label for the page-switch menu, if that is enabled. If null, and Tab_Label is a Gtk.Label.Gtk_Label or null, then the menu label will be a newly created label with the same text as Tab_Label; if Tab_Label is not a Gtk.Label.Gtk_Label, Menu_Label must be specified if the page-switch menu is to be used. "position": the index (starting at 0) at which to insert the page, or -1 to append the page after all other pages.

Next_Page

procedure Next_Page 
(Notebook: not null access Gtk_Notebook_Record);
Switches to the next page. Nothing happens if the current page is the last page.

Page_Num

function Page_Num 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class) return Gint;
Finds the index of the page which contains the given child widget. "child": a Gtk.Widget.Gtk_Widget

Popup_Disable

procedure Popup_Disable 
(Notebook: not null access Gtk_Notebook_Record);
Disables the popup menu.

Popup_Enable

procedure Popup_Enable 
(Notebook: not null access Gtk_Notebook_Record);
Enables the popup menu: if the user clicks with the right mouse button on the tab labels, a menu with all the pages will be popped up.

Prepend_Page

function Prepend_Page 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class) return Gint;
Prepends a page to Notebook. "child": the Gtk.Widget.Gtk_Widget to use as the contents of the page "tab_label": the Gtk.Widget.Gtk_Widget to be used as the label for the page, or null to use the default label, 'page N'

Prepend_Page_Menu

function Prepend_Page_Menu 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class;
Menu_Label: access Gtk.Widget.Gtk_Widget_Record'Class) return Gint;
Prepends a page to Notebook, specifying the widget to use as the label in the popup menu. "child": the Gtk.Widget.Gtk_Widget to use as the contents of the page "tab_label": the Gtk.Widget.Gtk_Widget to be used as the label for the page, or null to use the default label, 'page N' "menu_label": the widget to use as a label for the page-switch menu, if that is enabled. If null, and Tab_Label is a Gtk.Label.Gtk_Label or null, then the menu label will be a newly created label with the same text as Tab_Label; if Tab_Label is not a Gtk.Label.Gtk_Label, Menu_Label must be specified if the page-switch menu is to be used.

Prev_Page

procedure Prev_Page 
(Notebook: not null access Gtk_Notebook_Record);
Switches to the previous page. Nothing happens if the current page is the first page.

Remove_Page

procedure Remove_Page 
(Notebook: not null access Gtk_Notebook_Record;
Page_Num: Gint);
Removes a page from the notebook given its index in the notebook. "page_num": the index of a notebook page, starting from 0. If -1, the last page will be removed.

Reorder_Child

procedure Reorder_Child 
(Notebook: not null access Gtk_Notebook_Record;
Child: not null access Gtk.Widget.Gtk_Widget_Record'Class;
Position: Gint);
Reorders the page containing Child, so that it appears in position Position. If Position is greater than or equal to the number of children in the list or negative, Child will be moved to the end of the list. "child": the child to move "position": the new position, or -1 to move to the end

Append_Page

procedure Append_Page 
(Notebook: access Gtk_Notebook_Record;
Child: access Gtk.Widget.Gtk_Widget_Record'Class);

Append_Page

procedure Append_Page 
(Notebook: access Gtk_Notebook_Record;
Child: access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class);

Prepend_Page

procedure Prepend_Page 
(Notebook: access Gtk_Notebook_Record;
Child: access Gtk.Widget.Gtk_Widget_Record'Class;
Tab_Label: access Gtk.Widget.Gtk_Widget_Record'Class);
Convenience functions, same as above but discarding the return value.

On_Change_Current_Page

procedure On_Change_Current_Page 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gint_Boolean;
After: Boolean := False);

On_Change_Current_Page

procedure On_Change_Current_Page 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gint_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);

On_Create_Window

procedure On_Create_Window 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Widget_Gint_Gint_Gtk_Notebook;
After: Boolean := False);

On_Create_Window

procedure On_Create_Window 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Widget_Gint_Gint_Gtk_Notebook;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
The ::create-window signal is emitted when a detachable tab is dropped on the root window. A handler for this signal can create a window containing a notebook where the tab will be attached. It is also responsible for moving/resizing the window and adding the necessary properties to the notebook (e.g. the Gtk.Notebook.Gtk_Notebook:group-name ). Callback parameters: -- "page": the tab of Notebook that is being detached -- "x": the X coordinate where the drop happens -- "y": the Y coordinate where the drop happens -- Returns a Gtk.Notebook.Gtk_Notebook that Page should be added to, or null.

On_Focus_Tab

procedure On_Focus_Tab 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Notebook_Tab_Boolean;
After: Boolean := False);

On_Focus_Tab

procedure On_Focus_Tab 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Notebook_Tab_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);

On_Move_Focus_Out

procedure On_Move_Focus_Out 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Direction_Type_Void;
After: Boolean := False);

On_Move_Focus_Out

procedure On_Move_Focus_Out 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Direction_Type_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);

On_Page_Added

procedure On_Page_Added 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Widget_Guint_Void;
After: Boolean := False);

On_Page_Added

procedure On_Page_Added 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Widget_Guint_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
the ::page-added signal is emitted in the notebook right after a page is added to the notebook. Callback parameters: -- "child": the child Gtk.Widget.Gtk_Widget affected -- "page_num": the new page number for Child

On_Page_Removed

procedure On_Page_Removed 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Widget_Guint_Void;
After: Boolean := False);

On_Page_Removed

procedure On_Page_Removed 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Widget_Guint_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
the ::page-removed signal is emitted in the notebook right after a page is removed from the notebook. Callback parameters: -- "child": the child Gtk.Widget.Gtk_Widget affected -- "page_num": the Child page number

On_Page_Reordered

procedure On_Page_Reordered 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Widget_Guint_Void;
After: Boolean := False);

On_Page_Reordered

procedure On_Page_Reordered 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Widget_Guint_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
the ::page-reordered signal is emitted in the notebook right after a page has been reordered. Callback parameters: -- "child": the child Gtk.Widget.Gtk_Widget affected -- "page_num": the new page number for Child

On_Reorder_Tab

procedure On_Reorder_Tab 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Direction_Type_Boolean_Boolean;
After: Boolean := False);

On_Reorder_Tab

procedure On_Reorder_Tab 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Direction_Type_Boolean_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
Callback parameters:

On_Select_Page

procedure On_Select_Page 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Boolean_Boolean;
After: Boolean := False);

On_Select_Page

procedure On_Select_Page 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Boolean_Boolean;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);

On_Switch_Page

procedure On_Switch_Page 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_Gtk_Notebook_Gtk_Widget_Guint_Void;
After: Boolean := False);

On_Switch_Page

procedure On_Switch_Page 
(Self: not null access Gtk_Notebook_Record;
Call: Cb_GObject_Gtk_Widget_Guint_Void;
Slot: not null access Glib.Object.GObject_Record'Class;
After: Boolean := False);
Emitted when the user or a function changes the current page. Callback parameters: -- "page": the new current page -- "page_num": the index of the page