ocarina/include/ocarina/page.h
Bryan Schumaker 882f917c8f ocarina: Add a reference to the footer before moving
Calling the remove() function will destroy the footer if it has no other
references.  To prevent this, I need to call g_object_ref() add a
reference to the widget.
2011-10-21 14:51:22 -04:00

22 lines
316 B
C++

#ifndef OCARINA_PAGE_H
#define OCARINA_PAGE_H
#include <ocarina/gtk.h>
class Page
{
private:
GtkWidget *table;
void add_content(GtkWidget *);
public:
Page(GtkWidget *);
~Page();
GtkWidget *get_page();
void add_footer(GtkWidget *);
void remove_footer(GtkWidget *);
};
#endif /* OCARINA_PAGE_H */