[Gtk-sharp-list] I need "custom" layout manager functionality...
Michael Hutchinson
m.j.hutchinson at gmail.com
Wed Apr 19 04:19:54 EDT 2006
On 4/19/06, Crucius, Wesley <WCrucius at sandc.com> wrote:
>
> I've asked this question on this list before, but I'm going to ask again
> because there seems to be some new "faces" and a bit more traffic lately:
>
> What I need would be best described as an "Alignment" that can act as a
> container for mutiple child widgets and would allow unique scaled placment
> for each child widget. Another way to say it would be a "Fixed" layout
> container where coordinates are specified in % of height/width instead of
> absolute pixels.
>
> Any suggestions where to start? I'm certainly happy/willing to do it
> myself, I just don't have a clue how to get off dead-center on this.
I don't know of any, nor am I a GTK# expert, but I've found that it
can be useful to look at the GTK+ source:
http://cvs.gnome.org/viewcvs/gtk%2B/gtk/. You can usually get quite a
good idea of how the original widgets do things, even if it in in C.
The multi-item layout widgets in GTK# all seem to be derived from
Gtk.Box or Gtk.Container, so I'd start with that, and use the GTK+
Table source to work out what to override.
Michael
More information about the Gtk-sharp-list
mailing list