Using custom images in Gtk::Action
- From: SMART_n <the smart n gmail com>
- To: gtkmm-list gnome org
- Subject: Using custom images in Gtk::Action
- Date: Sun, 29 Oct 2006 12:09:32 +0300
Hello.
Is it possible to use a custom image as the icon in Gtk::Action? I have
tried this way:
Glib::RefPtr<Action> someAction = Action::create("SomeAction",
"Caption");
someAction->create_icon(IconSize())->set("<path to the image>");
But when I use this action with UIManager, the icon doesn't show. Is
there any other ways?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]