Looking at The GIMP

View: New views
5 Messages — Rating Filter:   Alert me  

Looking at The GIMP

by Jamiil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was looking at The GIMP and I really like the way the small window
with all the tools are displayed; it makes even beginners like myself
feel like a pro.

I like it so much that I would like to use the same concept in an
application I am developing, but I don't know how to create those small
buttons, like "Rectangle Select Tool" or "Scissors Select Tool".

Does anyone know?


--
     ___   _____    _____   _____   _       _____   __   _   _____  
    /   | |  _  \  |  _  \ /  _  \ | |     /  _  \ |  \ | | | ____|
   / /| | | |_| |  | |_| | | | | | | |     | | | | |   \| | | |__  
  / / | | |  _  /  |  _  { | | | | | |     | | | | | |\   | |  __|  
 / /  | | | | \ \  | |_| | | |_| | | |___  | |_| | | | \  | | |___  
/_/   |_| |_|  \_\ |_____/ \_____/ |_____| \_____/ |_|  \_| |_____|


ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more.



"O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”

_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

RE: Looking at The GIMP

by sledge hammer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
I don't know exactly what window you are talking about. (screenshot maybe?)
But I think this is how you create the same thing. Put Gtk::Buttons and use "set_image()" to set an image. Also use "set_relief(Gtk::RELIEF_NONE)" on the buttons to make them look flat(ie not like a button).

> Date: Wed, 14 Oct 2009 15:06:13 -0400
> From: arbolone@...
> To: gtkmm-list@...
> Subject: Looking at The GIMP
>
> I was looking at The GIMP and I really like the way the small window
> with all the tools are displayed; it makes even beginners like myself
> feel like a pro.
>
> I like it so much that I would like to use the same concept in an
> application I am developing, but I don't know how to create those small
> buttons, like "Rectangle Select Tool" or "Scissors Select Tool".
>
> Does anyone know?
>
>
> --
> ___ _____ _____ _____ _ _____ __ _ _____
> / | | _ \ | _ \ / _ \ | | / _ \ | \ | | | ____|
> / /| | | |_| | | |_| | | | | | | | | | | | | \| | | |__
> / / | | | _ / | _ { | | | | | | | | | | | |\ | | __|
> / / | | | | \ \ | |_| | | |_| | | |___ | |_| | | | \ | | |___
> /_/ |_| |_| \_\ |_____/ \_____/ |_____| \_____/ |_| \_| |_____|
>
>
> ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more.
>
>
>
> "O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You."
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list@...
> http://mail.gnome.org/mailman/listinfo/gtkmm-list


Κατεβάστε τη συλλογή Crazy Creatures για το Messenger Κάντε κλικ εδώ!
_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

RE: Looking at The GIMP

by Murray Cumming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-10-14 at 22:20 +0300, sledge hammer wrote:
> I don't know exactly what window you are talking about. (screenshot
> maybe?)
> But I think this is how you create the same thing. Put Gtk::Buttons
> and use "set_image()" to set an image. Also use
> "set_relief(Gtk::RELIEF_NONE)" on the buttons to make them look
> flat(ie not like a button).

The GtkToolPallete widget should do offer this soon in a future version
of GTK+ and gtkmm. In the meantime, you can use the EggToolpallete code
in libegg. There's a demo there too.
http://git.gnome.org/cgit/libegg/tree/

I use it in Glom. It's a C API (until it goes into GTK+), but that's OK.

--
murrayc@...
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Looking at The GIMP

by Jamiil :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey, thanks Murray, I will give this egg some time to cook and crack it
then. By that I mean that I will study it and see it if is applicable to
what I want and if so add it to my application.
However, is there a place where I can get some living examples of this
'libegg'? or a MailingList I could write to?
Thanks in advance

Murray Cumming wrote:

> On Wed, 2009-10-14 at 22:20 +0300, sledge hammer wrote:
>  
>> I don't know exactly what window you are talking about. (screenshot
>> maybe?)
>> But I think this is how you create the same thing. Put Gtk::Buttons
>> and use "set_image()" to set an image. Also use
>> "set_relief(Gtk::RELIEF_NONE)" on the buttons to make them look
>> flat(ie not like a button).
>>    
>
> The GtkToolPallete widget should do offer this soon in a future version
> of GTK+ and gtkmm. In the meantime, you can use the EggToolpallete code
> in libegg. There's a demo there too.
> http://git.gnome.org/cgit/libegg/tree/
>
> I use it in Glom. It's a C API (until it goes into GTK+), but that's OK.
>
>  

--
     ___   _____    _____   _____   _       _____   __   _   _____  
    /   | |  _  \  |  _  \ /  _  \ | |     /  _  \ |  \ | | | ____|
   / /| | | |_| |  | |_| | | | | | | |     | | | | |   \| | | |__  
  / / | | |  _  /  |  _  { | | | | | |     | | | | | |\   | |  __|  
 / /  | | | | \ \  | |_| | | |_| | | |___  | |_| | | | \  | | |___  
/_/   |_| |_|  \_\ |_____/ \_____/ |_____| \_____/ |_|  \_| |_____|


ArbolOne.org specializes in Custom Web Site Design, Web Site Re Design, Web Site Template Modifications, Web Site Maintenance, Integration of Payment Gateways (API's), Database Applications, Custom Applications and much more.



"O Allah, make my love for You the most beloved thing to me, and my fear for You the most fearful thing to me, and remove from me all worldly needs and wants by instilling a passion for meeting You, make the coolness of my eyes to worshipping You.”

_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list

Re: Looking at The GIMP

by Murray Cumming :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-16 at 11:28 -0400, ArbolOne wrote:
> Hey, thanks Murray, I will give this egg some time to cook and crack it
> then. By that I mean that I will study it and see it if is applicable to
> what I want and if so add it to my application.
> However, is there a place where I can get some living examples of this
> 'libegg'? or a MailingList I could write to?

As I said, there's a demo in libegg, and I use it in Glom.

> Thanks in advance
>
> Murray Cumming wrote:
> > On Wed, 2009-10-14 at 22:20 +0300, sledge hammer wrote:
> >  
> >> I don't know exactly what window you are talking about. (screenshot
> >> maybe?)
> >> But I think this is how you create the same thing. Put Gtk::Buttons
> >> and use "set_image()" to set an image. Also use
> >> "set_relief(Gtk::RELIEF_NONE)" on the buttons to make them look
> >> flat(ie not like a button).
> >>    
> >
> > The GtkToolPallete widget should do offer this soon in a future version
> > of GTK+ and gtkmm. In the meantime, you can use the EggToolpallete code
> > in libegg. There's a demo there too.
> > http://git.gnome.org/cgit/libegg/tree/
> >
> > I use it in Glom. It's a C API (until it goes into GTK+), but that's OK.
> >
> >  
>


--
murrayc@...
www.murrayc.com
www.openismus.com

_______________________________________________
gtkmm-list mailing list
gtkmm-list@...
http://mail.gnome.org/mailman/listinfo/gtkmm-list