/* Things filled in by the caller: */
+ /** @brief Name for this tab */
+ const char *name;
+
/** @brief Initialization function */
void (*init)(void);
/** @brief The popup menu */
GtkWidget *menu;
+
+ /** @brief Menu callbacks */
+ struct tabtype tabtype;
};
extern struct queuelike ql_queue;
const char *data);
const char *column_length(const struct queue_entry *q,
const char *data);
+struct tabtype *ql_tabtype(struct queuelike *ql);
+struct queue_entry *ql_iter_to_q(GtkTreeModel *model,
+ GtkTreeIter *iter);
#endif /* QUEUE_GENERIC_H */