/** @brief Passed to value() */
const char *data;
- /** @brief TODO */
- gfloat xalign;
+ /** @brief Flags word */
+ unsigned flags;
};
+/** @brief Ellipsize column if too wide */
+#define COL_ELLIPSIZE 0x0001
+
+/** @brief Set expand property */
+#define COL_EXPAND 0x0002
+
+/** @brief Right-algin column */
+#define COL_RIGHT 0x0004
+
/** @brief An item in the queue's popup menu */
struct queue_menuitem {
/** @brief Menu item name */
/* Things filled in by the caller: */
+ /** @brief Name for this tab */
+ const char *name;
+
/** @brief Initialization function */
void (*init)(void);
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 */