#ifndef GHELPERS_H
#define GHELPERS_H
+#include "lengthcommon.h"
+
+#include <gtkmm.h>
+
#include <string>
#include <vector>
+class FuncRequest;
+
namespace lyx {
namespace frontend {
+// Get a GTK stockID from a lyx function id.
+// Return Gtk::Stock::MISSING_IMAGE if no suitable stock found
+Gtk::BuiltinStockID getGTKStockIcon(FuncRequest const & func);
+
+std::string const getDefaultUnit();
+
+void unitsComboFromLength(Gtk::ComboBox * combo,
+ Gtk::TreeModelColumn<Glib::ustring> const & stringcol,
+ LyXLength const & len,
+ std::string defunit);
+
std::vector<std::string> const buildLengthUnitList();
+std::vector<std::string> const buildLengthNoRelUnitList();
+
/** name is the name of the glade file, without path or extension.
* Eg, "aboutlyx", "tableCreate".
*/