[Gtk-sharp-list] Text input in drawing area
brad at getcoded.net
Tue Jan 19 09:48:58 EST 2010
On Mon, 2010-01-18 at 10:09 +1300, Piotr Zurek wrote:
> On Sun, Jan 17, 2010 at 19:43, Michael Hutchinson
> <m.j.hutchinson at gmail.com> wrote:
> > On Mon, Jan 11, 2010 at 6:51 PM, Piotr Zurek <p.zurek at gmail.com> wrote:
> > Because you're only using the child in a very limited way, you can
> > probably just subclass Bin and stuff the child in that, so it does the
> > bulk of work of propagating mapping, realization, destroying, etc. to
> > the child. Then, on the expose event of your widget, you have to check
> > the child state depending on the state of your widget. You may have to
> > set its visible state, or give it a requisition if its position has
> > changed, then propagate the expose.
> That sounds like what I had in mind, because this approach means that
> I can pretty much bolt it on what I already have.
> > I think the Medsphere GTK# widget have some containers written in
> > managed code you could look at.
> I'll definitely have a look at those widgets.
In particular, Medsphere Widgets' FBox (written by famed hacker Anthony
Taranto) should be helpful:
Here's a screenshot: http://medsphere.org/docs/DOC-1657
More information about the Gtk-sharp-list