Re: Removing Widgets From Gtk::Table



> Murray Cumming wrote:
>
>>>>I've had a similar problem.  IIRC, I fixed it by removing things from
>>>>the
>>>>Gtk::Table object directly, via Gtk::Table::remove, rather than from
>>>> the
>>>>auxiliary Table_Helpers::TableList one.  Try it.
>>>>
>>>>
>>>That did the trick, thanks!
>>>
>>>Having said that though, does that mean that the
>>>Table_Helpers::TableList interface just doesn't work?
>>>
>>>
>>
>>All API is meant to work.
>>
>>
>>
>>>Or was it just
>>>never intended to be used in the manner I was attempting (using the
>>>Table_Helpers::TableList::iterator to remove specific widgets from a
>>>table).
>>>
>>>
>>>
>>
>>Probably, yes. A very simple compileable test case would be helpful.
>>
>>
> I'm gonna disagree on this one.  After doing a couple minutes of
> reading, I don't think that child modifications are meant to be done on
> the list returned by children.  Very few api's that I know of present
> live lists like that.

If that part of the API can not work then it should be documented as
broken, and deprecated. A bug report would help us to figure that out.


Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]