Re: EuGTK: GtkBox vs GtkHBox, GtkVBox
- Posted by irv Jan 23, 2012
- 1117 views
That kind of change was done on several of the GTK widgets; instead of having separate horiz and vert objects, they now make them a part of the GtkOrientable class, where a 1 = vert, 0 = horiz.
Since EuGTK defaults undeclared parameters to 0, if you don't specify anything, you'll get the horiz version of whatever control you are creating. I suppose it is a bit confusing when you don't see the parameter. Perhaps I should add the GTK_ORIENTATION_HORIZONTAL or GTK_ORIENTATION_VERTICAL parameter to the demos to make this more apparent. But that's a lot of extra typing. I hate cluttered code. When it begins to look like C, I start over...