|
ObjectivelyMVC 0.1.0
Object oriented MVC framework for OpenGL, SDL2 and GNU C
|
TabViewItems embed Views in a TabView. More...
#include <TabViewItem.h>
Public Member Functions | |
| Class * | _TabViewItem (void) |
| The TabViewItem archetype. More... | |
| TabViewItem * | initWithIdentifier (TabViewItem *self, const char *identifier) |
| Initializes this TabViewItem with the specified identifier. More... | |
| TabViewItem * | initWithView (TabViewItem *self, View *view) |
| Initializes this TabViewItem with the specified View. More... | |
| setState (TabViewItem *self, int state) | |
| Sets this TabViewItem's state, which may alter its appearance. More... | |
Data Fields | |
| char * | identifier |
| The identifier. More... | |
| Label * | label |
| The Label used to select this tab. More... | |
| Object | object |
| The superclass. More... | |
| int | state |
| The bit mask of TabState. More... | |
| View * | view |
| The View this TabViewItem embeds. More... | |
Protected Attributes | |
| TabViewItemInterface * | interface |
| The interface. More... | |
TabViewItems embed Views in a TabView.
Definition at line 51 of file TabViewItem.h.
| Class * _TabViewItem | ( | void | ) |
The TabViewItem archetype.
Definition at line 121 of file TabViewItem.c.
| TabViewItem * initWithIdentifier | ( | TabViewItem * | self, |
| const char * | identifier | ||
| ) |
Initializes this TabViewItem with the specified identifier.
| self | The TabViewItem. |
| identifier | The identifier. |
NULL on error. Definition at line 54 of file TabViewItem.c.
| TabViewItem * initWithView | ( | TabViewItem * | self, |
| View * | view | ||
| ) |
Initializes this TabViewItem with the specified View.
| self | The TabViewItem. |
| view | The View to embed. |
NULL on error. Definition at line 77 of file TabViewItem.c.
| setState | ( | TabViewItem * | self, |
| int | state | ||
| ) |
Sets this TabViewItem's state, which may alter its appearance.
| self | The TabViewItem. |
| state | The state. |
Definition at line 92 of file TabViewItem.c.
| char* TabViewItem::identifier |
The identifier.
Definition at line 67 of file TabViewItem.h.
|
protected |
The interface.
Definition at line 62 of file TabViewItem.h.
| Label* TabViewItem::label |
The Label used to select this tab.
Definition at line 72 of file TabViewItem.h.
| Object TabViewItem::object |
The superclass.
Definition at line 56 of file TabViewItem.h.
| int TabViewItem::state |
The bit mask of TabState.
Definition at line 77 of file TabViewItem.h.
| View* TabViewItem::view |
The View this TabViewItem embeds.
Definition at line 82 of file TabViewItem.h.