## GeditNotebook

GeditNotebook —

## Synopsis

                GeditNotebookPrivate;
                GeditNotebook;
    GtkWidget*  gedit_notebook_new              (void);
    void        gedit_notebook_add_tab          (GeditNotebook *nb,
                                                 GeditTab *tab,
                                                 gint position,
                                                 gboolean jump_to);
    void        gedit_notebook_remove_tab       (GeditNotebook *nb,
                                                 GeditTab *tab);
    void        gedit_notebook_remove_all_tabs  (GeditNotebook *nb);
    void        gedit_notebook_reorder_tab      (GeditNotebook *src,
                                                 GeditTab *tab,
                                                 gint dest_position);
    void        gedit_notebook_move_tab         (GeditNotebook *src,
                                                 GeditNotebook *dest,
                                                 GeditTab *tab,
                                                 gint dest_position);
    void        gedit_notebook_set_always_show_tabs
                                                (GeditNotebook *nb,
                                                 gboolean show_tabs);
    void        gedit_notebook_set_close_buttons_sensitive
                                                (GeditNotebook *nb,
                                                 gboolean sensitive);
    gboolean    gedit_notebook_get_close_buttons_sensitive
                                                (GeditNotebook *nb);
    void        gedit_notebook_set_tab_drag_and_drop_enabled
                                                (GeditNotebook *nb,
                                                 gboolean enable);
    gboolean    gedit_notebook_get_tab_drag_and_drop_enabled
                                                (GeditNotebook *nb);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkNotebook
                                     +----GeditNotebook

## Implemented Interfaces

GeditNotebook implements AtkImplementorIface.

## Signals

    "tab-added" void        user_function      (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run first
    "tab-close-request"
                void        user_function      (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run last
    "tab-detached"
                void        user_function      (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run first
    "tab-removed"
                void        user_function      (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run first
    "tabs-reordered"
                void        user_function      (GeditNotebook *geditnotebook,
                                                gpointer       user_data)          : Run first

## Description

## Details

### GeditNotebookPrivate

    typedef struct _GeditNotebookPrivate GeditNotebookPrivate;

### GeditNotebook

    typedef struct _GeditNotebook GeditNotebook;

### gedit_notebook_new ()

    GtkWidget*  gedit_notebook_new              (void);

Returns : |

### gedit_notebook_add_tab ()

    void        gedit_notebook_add_tab          (GeditNotebook *nb,
                                                 GeditTab *tab,
                                                 gint position,
                                                 gboolean jump_to);

`nb` : |
`tab` : |
`position` : |
`jump_to` : |

### gedit_notebook_remove_tab ()

    void        gedit_notebook_remove_tab       (GeditNotebook *nb,
                                                 GeditTab *tab);

`nb` : |
`tab` : |

### gedit_notebook_remove_all_tabs ()

    void        gedit_notebook_remove_all_tabs  (GeditNotebook *nb);

`nb` : |

### gedit_notebook_reorder_tab ()

    void        gedit_notebook_reorder_tab      (GeditNotebook *src,
                                                 GeditTab *tab,
                                                 gint dest_position);

`src` : |
`tab` : |
`dest_position` : |

### gedit_notebook_move_tab ()

    void        gedit_notebook_move_tab         (GeditNotebook *src,
                                                 GeditNotebook *dest,
                                                 GeditTab *tab,
                                                 gint dest_position);

`src` : |
`dest` : |
`tab` : |
`dest_position` : |

### gedit_notebook_set_always_show_tabs ()

    void        gedit_notebook_set_always_show_tabs
                                                (GeditNotebook *nb,
                                                 gboolean show_tabs);

`nb` : |
`show_tabs` : |

### gedit_notebook_set_close_buttons_sensitive ()

    void        gedit_notebook_set_close_buttons_sensitive
                                                (GeditNotebook *nb,
                                                 gboolean sensitive);

`nb` : |
`sensitive` : |

### gedit_notebook_get_close_buttons_sensitive ()

    gboolean    gedit_notebook_get_close_buttons_sensitive
                                                (GeditNotebook *nb);

`nb` : |
Returns : |

### gedit_notebook_set_tab_drag_and_drop_enabled ()

    void        gedit_notebook_set_tab_drag_and_drop_enabled
                                                (GeditNotebook *nb,
                                                 gboolean enable);

`nb` : |
`enable` : |

### gedit_notebook_get_tab_drag_and_drop_enabled ()

    gboolean    gedit_notebook_get_tab_drag_and_drop_enabled
                                                (GeditNotebook *nb);

`nb` : |
Returns : |

## Signal Details

### The "tab-added" signal

    void        user_function                  (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run first

`geditnotebook` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The "tab-close-request" signal

    void        user_function                  (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run last

`geditnotebook` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The "tab-detached" signal

    void        user_function                  (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run first

`geditnotebook` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The "tab-removed" signal

    void        user_function                  (GeditNotebook *geditnotebook,
                                                GeditTab      *arg1,
                                                gpointer       user_data)          : Run first

`geditnotebook` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.

### The "tabs-reordered" signal

    void        user_function                  (GeditNotebook *geditnotebook,
                                                gpointer       user_data)          : Run first

`geditnotebook` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.