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); . . . kit.run(); However, in Chapter 21. Timeouts, I/O and Idle Functions: Gtk::Main app(argc, argv[]); . . . Gtk::Main::run(example);Just the name of the variable. Hub
Also, the kit.run() 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.
jonner