On 2008-March-20 , at 20:48 , David Christian Berg wrote:
Hey everybody!
I do very much like the idea! Actually there is a control very similar to it for volume controls (its name is also something like that). It's a button and when you press it you get the slider, just like you want it. This probably could be used.
On Mar 20, 2008, at 20:21 , Anthony Walter wrote:
I wrote a lot custom code and custom controls, but am familiar mostly with the windows api.
The route I choose to create any control I imagine (and I am limited only by my imagination) is I take a window (a rectangle which can receive user input, aka key presses and mouse clicks). I divide that rectangle into regions and write code to paint those regions, and i write code to handle mouse clicks and key presses.
I am pretty sure the process is the same for Linux/GTK. Someone familiar with programming against GTK ought to know how to define their own controls and not be forced to use only the existing ones. I'm sure it can be done and shouldn't be too difficult for a GTK programmer, but like I said ... all my knowledge is in the windows api.
On Thu, Mar 20, 2008 at 3:04 PM, Bill Baxter <wbaxter@...155...> wrote: That's great. I agree Inkscape really needs a control like this. Not even so much for saving real-estate, but just to make it easier to tweak the values that are spinner-only right now. Using such a control (as can be seen is in Photoshop, Blender, etc.) was discussed before and I believe the response was all positive.
The problem was just that no one had a GTK control that fit the bill that could be put in place of the current spinners. Is your demo using a GTK control?
On Fri, Mar 21, 2008 at 3:54 AM, Anthony Walter <sysrpl@...155...> wrote:
Here is a feature I think would make inkscape MUCH more
streamlined,
eliminating a LOT of wasted screen real estate (especially in the fill/stroke screen). This is a diagram of my request:
http://codebot.org/popslide.jpg
Also, a demo of the concept for windows is available here:
There is indeed a GTK control called GtkVolumeButton that does kind of that http://library.gnome.org/devel/gtk/2.12/GtkVolumeButton.html or rather http://library.gnome.org/devel/gtk/2.12/GtkScaleButton.html but it is only in GTK 2.12, which is above what Inkscape currently requires. One of the conditions for upgrading the requirements are the version that is available in older distros. I am afraid GTK 2.12 is pretty new and won't be available widely.
JiHO --- http://jo.irisson.free.fr/