[glade--]Re: [[gtkmm] glademm plans for deprecated widgets (2.0)]

Christof Petig <[email protected]>
Newsgroups gmane.comp.gnome.glademm
Organization Adolf Petig GmbH & Co. KG
Message-ID <[email protected]>
Murray Cumming wrote:

> I don't understand why you would do this. If the user puts a GtkPixmap on a
> glade UI (probably not possible with glade-2) then glademm should
> a) Use a GtkPixmap for gtkmm 1.2
> b) Fail for gtkmm 2
> 
> And vice-versa with a GtkImage. The simple solutions are the best.

Oh, since it's about 5 lines of code (well put apart), I'd prefer to 
output compilable code. And this way I can use my old example files to 
test the generated code.

Outputting a warning is a different thing.

> Are there really so many existing glademm users to support? I get the
> impression that lots of people are starting to use it but that they could
> start to use a glademm2 instead. It seems like you'd have to do a lot of work
> to support both versions at once, and the 2 APIs might not be clearly
> differentiated. 

There will be no glademm2. Simply a new glademm version which 
additionally supports glade2 and gtkmm2 (at minimal overhead).

Oh, everything besides some different widget properties (not output no 
longer existing properties) and additional widget (capabilities) is 
already done.

And supporting both really does not hurt (thanks to C++s abstraction), 
but makes my life easier (I can more easily port applications, can use 
existing tests).

     Christof
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.