Ardour  9.0-pre0-582-g084a23a80d
Gtk::Notebook_Helpers::PageList Class Reference

#include <notebook.h>

Public Types

typedef Page value_type
 
typedef Pagereference
 
typedef const Pageconst_reference
 
typedef PageIterator iterator
 
typedef Glib::List_ConstIterator< iteratorconst_iterator
 
typedef Glib::List_ReverseIterator< iteratorreverse_iterator
 
typedef Glib::List_ConstIterator< reverse_iteratorconst_reverse_iterator
 
typedef const Element element_type
 
typedef size_t difference_type
 
typedef size_t size_type
 

Public Member Functions

 PageList ()
 
 PageList (GtkNotebook *gparent)
 
 PageList (const PageList &src)
 
PageListoperator= (const PageList &src)
 
GtkNotebookgparent ()
 
const GtkNotebookgparent () const
 
size_type size () const
 
size_type max_size () const
 
bool empty () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
reverse_iterator rend ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
value_type front () const
 
value_type back () const
 
value_type operator[] (size_type l) const
 
iterator insert (iterator position, element_type &e)
 
template<class InputIterator >
void insert (iterator position, InputIterator first, InputIterator last)
 
void push_front (element_type &e)
 
void push_back (element_type &e)
 
void erase (iterator start, iterator stop)
 
iterator erase (iterator)
 
void remove (const_reference child)
 
void remove (Widget &w)
 
void reorder (iterator loc, iterator page)
 
iterator find (int num)
 
iterator find (const_reference c)
 
iterator find (Widget &w)
 
iterator find (GtkNotebookPage *t)
 
void pop_front ()
 
void pop_back ()
 
void clear ()
 

Protected Member Functions

iterator begin_ () const
 
iterator end_ () const
 

Protected Attributes

GtkNotebookgparent_
 

Detailed Description

An STL-style container for pages in a Gtk::Notebook.

Definition at line 248 of file notebook.h.

Member Typedef Documentation

◆ const_iterator

typedef Glib::List_ConstIterator<iterator> Gtk::Notebook_Helpers::PageList::const_iterator

Definition at line 264 of file notebook.h.

◆ const_reference

Definition at line 259 of file notebook.h.

◆ const_reverse_iterator

Definition at line 266 of file notebook.h.

◆ difference_type

Definition at line 270 of file notebook.h.

◆ element_type

Definition at line 268 of file notebook.h.

◆ iterator

◆ reference

Definition at line 258 of file notebook.h.

◆ reverse_iterator

typedef Glib::List_ReverseIterator<iterator> Gtk::Notebook_Helpers::PageList::reverse_iterator

Definition at line 265 of file notebook.h.

◆ size_type

Definition at line 271 of file notebook.h.

◆ value_type

Definition at line 257 of file notebook.h.

Constructor & Destructor Documentation

◆ PageList() [1/3]

Gtk::Notebook_Helpers::PageList::PageList ( )

◆ PageList() [2/3]

Gtk::Notebook_Helpers::PageList::PageList ( GtkNotebook gparent)
explicit

◆ PageList() [3/3]

Gtk::Notebook_Helpers::PageList::PageList ( const PageList src)

Member Function Documentation

◆ back()

value_type Gtk::Notebook_Helpers::PageList::back ( ) const

◆ begin() [1/2]

iterator Gtk::Notebook_Helpers::PageList::begin ( )
inline

Definition at line 283 of file notebook.h.

◆ begin() [2/2]

const_iterator Gtk::Notebook_Helpers::PageList::begin ( ) const
inline

Definition at line 288 of file notebook.h.

◆ begin_()

iterator Gtk::Notebook_Helpers::PageList::begin_ ( ) const
protected

◆ clear()

void Gtk::Notebook_Helpers::PageList::clear ( )

◆ empty()

bool Gtk::Notebook_Helpers::PageList::empty ( ) const

◆ end() [1/2]

iterator Gtk::Notebook_Helpers::PageList::end ( )
inline

Definition at line 285 of file notebook.h.

◆ end() [2/2]

const_iterator Gtk::Notebook_Helpers::PageList::end ( ) const
inline

Definition at line 290 of file notebook.h.

◆ end_()

iterator Gtk::Notebook_Helpers::PageList::end_ ( ) const
protected

◆ erase() [1/2]

void Gtk::Notebook_Helpers::PageList::erase ( iterator  start,
iterator  stop 
)

◆ erase() [2/2]

iterator Gtk::Notebook_Helpers::PageList::erase ( iterator  )

◆ find() [1/4]

iterator Gtk::Notebook_Helpers::PageList::find ( const_reference  c)

◆ find() [2/4]

iterator Gtk::Notebook_Helpers::PageList::find ( GtkNotebookPage t)

◆ find() [3/4]

iterator Gtk::Notebook_Helpers::PageList::find ( int  num)

◆ find() [4/4]

iterator Gtk::Notebook_Helpers::PageList::find ( Widget w)

◆ front()

value_type Gtk::Notebook_Helpers::PageList::front ( ) const

◆ gparent() [1/2]

GtkNotebook* Gtk::Notebook_Helpers::PageList::gparent ( )
inline

Definition at line 273 of file notebook.h.

◆ gparent() [2/2]

const GtkNotebook* Gtk::Notebook_Helpers::PageList::gparent ( ) const
inline

Definition at line 275 of file notebook.h.

◆ insert() [1/2]

iterator Gtk::Notebook_Helpers::PageList::insert ( iterator  position,
element_type e 
)

◆ insert() [2/2]

template<class InputIterator >
void Gtk::Notebook_Helpers::PageList::insert ( iterator  position,
InputIterator  first,
InputIterator  last 
)
inline

Definition at line 311 of file notebook.h.

◆ max_size()

size_type Gtk::Notebook_Helpers::PageList::max_size ( ) const

◆ operator=()

PageList& Gtk::Notebook_Helpers::PageList::operator= ( const PageList src)

◆ operator[]()

value_type Gtk::Notebook_Helpers::PageList::operator[] ( size_type  l) const

◆ pop_back()

void Gtk::Notebook_Helpers::PageList::pop_back ( )
inline

Definition at line 336 of file notebook.h.

◆ pop_front()

void Gtk::Notebook_Helpers::PageList::pop_front ( )
inline

Definition at line 334 of file notebook.h.

◆ push_back()

void Gtk::Notebook_Helpers::PageList::push_back ( element_type e)
inline

Definition at line 319 of file notebook.h.

◆ push_front()

void Gtk::Notebook_Helpers::PageList::push_front ( element_type e)
inline

Definition at line 317 of file notebook.h.

◆ rbegin() [1/2]

reverse_iterator Gtk::Notebook_Helpers::PageList::rbegin ( )
inline

Definition at line 293 of file notebook.h.

◆ rbegin() [2/2]

const_reverse_iterator Gtk::Notebook_Helpers::PageList::rbegin ( ) const
inline

Definition at line 298 of file notebook.h.

◆ remove() [1/2]

void Gtk::Notebook_Helpers::PageList::remove ( const_reference  child)

◆ remove() [2/2]

void Gtk::Notebook_Helpers::PageList::remove ( Widget w)

◆ rend() [1/2]

reverse_iterator Gtk::Notebook_Helpers::PageList::rend ( )
inline

Definition at line 295 of file notebook.h.

◆ rend() [2/2]

const_reverse_iterator Gtk::Notebook_Helpers::PageList::rend ( ) const
inline

Definition at line 300 of file notebook.h.

◆ reorder()

void Gtk::Notebook_Helpers::PageList::reorder ( iterator  loc,
iterator  page 
)

◆ size()

size_type Gtk::Notebook_Helpers::PageList::size ( ) const

Member Data Documentation

◆ gparent_

GtkNotebook* Gtk::Notebook_Helpers::PageList::gparent_
protected

Definition at line 347 of file notebook.h.


The documentation for this class was generated from the following file: