Custom Buttons

2007-08-16 Thread Diego A. Fons
Hi, I have to render a custom button, i mean, a button with particular shape, so my question is what's the correct way to render a custom button? can i use the pixbuf engine for displaying pressed and no pressed images? Do i need to build an engine? Regards, Diego A. Fons.

Re: Custom Buttons

2007-08-16 Thread katsanqat
On Mon, 13 Aug 2007 13:20:25 -0300 Diego A. Fons [EMAIL PROTECTED] wrote: Hi, I have to render a custom button, i mean, a button with particular shape, so my question is what's the correct way to render a custom button? can i use the pixbuf engine for displaying pressed and no pressed

Adding custom buttons to a scrolled window

2006-12-06 Thread Michael 'Mickey' Lauer
Dear developers, I need to implement a version of a GtkScrolledWindow that features a custom button as part of the scrollbar. Please find a mockup attached. What do you think is the most simple way to implement that (i.e. by using most of the logics that's already there in GtkScrolledWindow and

Re: Adding custom buttons to a scrolled window

2006-12-06 Thread Michael 'Mickey' Lauer
Michael 'Mickey' Lauer wrote: I need to implement a version of a GtkScrolledWindow that features a custom button as part of the scrollbar. Please find a mockup attached. What do you think is the most simple way to implement that (i.e. by using most of the logics that's already there in

Re: Adding custom buttons to a scrolled window

2006-12-06 Thread John Cupitt
On 12/6/06, Michael 'Mickey' Lauer [EMAIL PROTECTED] wrote: I need to implement a version of a GtkScrolledWindow that features a custom button as part of the scrollbar. Please find a Your graphic got lost (put it on a webpage and post a link), but the usual answer to these questions is to use a

Re[2]: Adding custom buttons to a scrolled window

2006-12-06 Thread Michael 'Mickey' Lauer
John Cupitt wrote: On 12/6/06, Michael 'Mickey' Lauer [EMAIL PROTECTED] wrote: I need to implement a version of a GtkScrolledWindow that features a custom button as part of the scrollbar. Please find a Your graphic got lost (put it on a webpage and post a link), but the usual answer to these

Re: Re[2]: Adding custom buttons to a scrolled window

2006-12-06 Thread John Cupitt
On 12/6/06, Michael 'Mickey' Lauer [EMAIL PROTECTED] wrote: Put two scrollbars plus a viewport in a table and add any other buttons you need. Make your work area the child of the viewport. Connect the scrollbar adjustments to the viewport. Will that do everything that embedding a child

Re: Adding custom buttons to a scrolled window

2006-12-06 Thread Michael 'Mickey' Lauer
Basically what I'd need is to get a GtkScrolledWindow but make it talk to my scrollbars, not to its. That's (almost) exactly what happens if you put two scrollbars and a viewport into a table. I see. Last question then... what if I have widgets that are scrollable on their own like e.g. a

Re: Adding custom buttons to a scrolled window

2006-12-06 Thread John Cupitt
On 12/6/06, Michael 'Mickey' Lauer [EMAIL PROTECTED] wrote: Basically what I'd need is to get a GtkScrolledWindow but make it talk to my scrollbars, not to its. That's (almost) exactly what happens if you put two scrollbars and a viewport into a table. I see. Last question then... what

Re: Adding custom buttons to a scrolled window

2006-12-06 Thread Michael 'Mickey' Lauer
Just want to say thanks to John! Your suggestions brought me into the right direction -- everything works fine now. Regards, :M: -- Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de ___ gtk-app-devel-list mailing list