Re: Get Main Application Window pointer



Mickael DREAN wrote:
I've got a small problem, is there a function like AfxGetApp() with visual? I need to get a pointer on the main application.

GTKmm doesn't have much of a sense of the root application object, like CApp in MFC. What I've done is create an application class and write my own get_app() function to manage its creation and access.

- Michael



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