
Also a question: if we want to restore the drop-down button lists for some tools, as were used for e.g. shape tools in SP, can we do that with the standard widget?
From: MenTaLguY <mental@...3...> To: Inkscape ML inkscape-devel@lists.sourceforge.net Subject: [Inkscape-devel] Gtk Buttons Date: Sat, 06 Dec 2003 01:30:33 -0500
It turns out that SPIcons weren't equipped to deal gracefully with situations where they were allocated less space than they were requested. I fixed this, as well as adjusting the buttons' requested size slightly.
While I was mucking around in there, I also removed the code that drew random garbage in icons that weren't present (it turns out to have been a deliberate decision in Sodipodi).
Anyway, CVS HEAD now has standard Gtk buttons.
-mental << signature.asc >>
_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...

bulia byak wrote:
Also a question: if we want to restore the drop-down button lists for some tools, as were used for e.g. shape tools in SP, can we do that with the standard widget?
Isn't that just an optionmenu with icons in the menuitems?
njh

On Sat, 2003-12-06 at 03:48, Nathan Hurst wrote:
bulia byak wrote:
Also a question: if we want to restore the drop-down button lists for some tools, as were used for e.g. shape tools in SP, can we do that with the standard widget?
Isn't that just an optionmenu with icons in the menuitems?
Didn't used to be. SPButton had reimplemented most of the GtkButton class hierarchy in a single widget (badly, I might add).
If we need that menuish behavior again, a subclass of GtkOptionMenu would be most appropriate though.
-mental

On Sat, 6 Dec 2003, MenTaLguY wrote:
Date: Sat, 06 Dec 2003 14:23:16 -0500 From: MenTaLguY <mental@...3...> To: Nathan Hurst <njh@...5...> Cc: Inkscape ML inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Gtk Buttons
On Sat, 2003-12-06 at 03:48, Nathan Hurst wrote:
bulia byak wrote:
Also a question: if we want to restore the drop-down button lists for some tools, as were used for e.g. shape tools in SP, can we do that with the standard widget?
Isn't that just an optionmenu with icons in the menuitems?
Didn't used to be. SPButton had reimplemented most of the GtkButton class hierarchy in a single widget (badly, I might add).
If we need that menuish behavior again, a subclass of GtkOptionMenu would be most appropriate though.
Although I quite like them (entirely personal bias from using a little Adobe software) I have been beaten with a cluestick by usability people for even suggesting button submenus like Sodipodi/AdobeIllustrator because of the extreme difficulty for new users of ever finding out about the submenu.
Click and hold is just not something that many ordinary users are familiar with (many users dont even know about Right Click but that is a whole other story) and generally it is not a good idea to push things into submenus if you can avoid it.
Sincerely
Alan Horkan http://advogato.org/person/AlanHorkan/
participants (4)
-
Alan Horkan
-
bulia byak
-
MenTaLguY
-
Nathan Hurst