Gtk value types



Hi,

how can I add property to my widget with value of type 'GdkColor'?

class MyWidet : public Gtk::EventBox
{
	Gllib::Property<GdkColor> my_color;
	MyWidget() : my_color(*this, "my-color") {}
	~MyWidget();
};

This works, but i get property of type 'glibmm__CustomBoxed_9_GdkColor'
Is there any solution?

Thanks!

Larik Ishkulov.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]