Re: kit vs. app

On 01/14/2009 01:58 PM, Hubert Figuiere wrote:
On Wed, 2009-01-14 at 13:37 -0600, inbox_pub earthlink net wrote:
In most of the examples, main contains:
Gtk::Main kit(argc, argv);
. . .;

However, in Chapter 21. Timeouts, I/O and Idle Functions:
Gtk::Main app(argc, argv[]);
. . .

Just the name of the variable.


Also, the is a bit misleading because run() is actually a static function, so the second example is probably more semantically 'correct'. But as hub said, the name of the variable (kit vs. app) doesn't matter.


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