On Oct 1, 2006, at 10:09 AM, MenTaLguY wrote:
On Sun, 2006-10-01 at 11:57 -0500, Aaron Spike wrote:
> Would someone be willing to give me a little more thorough
> description
> of what is involved in creating a spinbuttonmenuitem? Sounds like
> something I might like to try.
ToolItem.
Essentially, we need a subclass of GtkToolItem which can contain a
spin
button.
Aaron,
Let me know how that looks to you. If you're interested, we can
hammer it out together, as Mental is right that it is critical and
really needs to get addressed now.
There's some other work shifting more to use Gtk::Action which can be
started if we know the spin button won't be blocking things. Also,
it's a good chance to get more hands-on with Gtk and GTKMM.
The base GTK+ GtkToolItem is referenced at
http://developer.gnome.org/doc/API/2.0/gtk/GtkToolItem.html
GTKMM's Gtk::ToolItem is referenced at
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/
classGtk_1_1ToolItem.html
I'm not sure if we can implement it well by only subclassing
Gtk::ToolItem and staying in C++ and GTKMM, or if we should drop to
do a bare GTK+ subclass and then wrap that in GTKMM C++ wrappers.
Then there is a general item that lots of people can help with. As we
add a new base widget, it would be good to ensure it performs well
with different themes. So others could contribute by just running
things and listing out any problems they see.