Re: [gtkmm] Gtk::Main::input



On Fri, Jan 24, 2003 at 01:34:01PM -0600, Liza Klerck wrote:
> Hi,
> I am converting an application from Gtk1.2 to Gtk2 and am unable to find 
> the Gtk::Main::input function in Gtk2.
> The example in the tutorial - Chapter 17. Timeouts, I/O and Idle 
> Functions uses Gtk::Main::input in the example.
> Has this function been replaced or should I be looking in a different 
> spot for it ?
> Thanks,

It's in Glib.

Use something like e.g.

Glib::signal_io().connect (<someslot>, <somefd>, Glib::IO_IN)

-- 
--Kjell



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