Re: New to GTK+ and a question about Combo boxes.

2009-09-04 Thread Kevin Ryde
Steve Manes g...@magpie.com writes: $E is a global hash I'm using for the time being to keep track of all the elements -- at least until I get more expert with GTK. The hash for each widget is a good place to hold child widgets you want to use again later. 2) How come the pulldown lists

Re: New to GTK+ and a question about Combo boxes.

2009-09-04 Thread Steve Manes
Kevin Ryde wrote: 2) How come the pulldown lists appear (for lack of a better term) double spaced? Is there a fix for that? If it's not the newlines muppet said then there's also a small amout of y padding in CellRendererText which annoyed me (over the plain GtkCList). Force it down with

Re: New to GTK+ and a question about Combo boxes.

2009-09-02 Thread Peter Juhasz
On Tue, Sep 1, 2009 at 4:29 AM, Steve Manesg...@magpie.com wrote: I'm building a Perk-GTK application on Windows which includes a date element, which is three ComboBoxes clustered together in an Hbox: month, day, year. Since there are several places in the application where a date is added, I

Re: New to GTK+ and a question about Combo boxes.

2009-09-02 Thread Peter Juhasz
On Wed, Sep 2, 2009 at 9:31 PM, Peter Juhaszpeter.juhas...@gmail.com wrote: One more thing... instead of  $E{${element}_year}{'data'}, you could simply write $E{${element}_year}{data}. Sorry, I didn't pay attention, that's not entirely true. Still, $E{${element}._year}{data} would be better in

Re: New to GTK+ and a question about Combo boxes.

2009-09-02 Thread muppet
On Aug 31, 2009, at 10:29 PM, Steve Manes wrote: I'm building a Perk-GTK application on Windows which includes a date element, which is three ComboBoxes clustered together in an Hbox: month, day, year. Since there are several places in the application where a date is added, I built a

New to GTK+ and a question about Combo boxes.

2009-08-31 Thread Steve Manes
I'm building a Perk-GTK application on Windows which includes a date element, which is three ComboBoxes clustered together in an Hbox: month, day, year. Since there are several places in the application where a date is added, I built a function to return an Hbox containing those three combo