* Licence details can be found in the file COPYING.
*
* \author Angus Leeming
+ * \author John Spray
*
* Full author contact details are available in file CREDITS.
*/
namespace lyx {
namespace frontend {
-std::string const getLengthFromWidgets(
- Gtk::Adjustment const & adj,
- Gtk::ComboBoxText const & combo);
-
-void setWidgetsFromLength(
- Gtk::Adjustment & adj,
- Gtk::ComboBoxText & combo,
- LyXLength const & length);
-
-int comboBoxTextSet(Gtk::ComboBoxText & combo, Glib::ustring target);
-
-void populateUnitCombo(Gtk::ComboBoxText & combo, bool userelative);
-
-// 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);
+// Load an icon from GTK icon theme
+// Return NULL if no suitable icon found
+Gtk::Image *getGTKIcon(FuncRequest const & func, Gtk::IconSize const & size);
std::string const getDefaultUnit();