hi,
what gtkmm version do you use...?
this function exists since gtkmm 2.10...
not sure, but are you looking for Gdk::Screen::get_width() and get_height(), aren't you ?
regards,
Alex
-----Ursprüngliche Nachricht-----
Von: gtkmm-list-bounces gnome org im Auftrag von sundaresh venugopal
Gesendet: Mi 08.08.2007 11:12
An: gtkmm-list gnome org
Betreff: get_resolution
For the below program I get the error get_resolution is not a member of
Gdk::Screen.
What is the error ?
int main(int argc, char *argv[]) {
Gtk::Main kit(argc, argv);
mywindow window;
Glib::RefPtr<Gdk::Screen> ptr;
Gdk::Screen *screen;
double resolution;
window.set_decorated(true);
ptr = window.get_screen();
resolution = ptr->get_resolution();
window.fullscreen();
Gtk::Main::run(window);
return 0;
}
--
We've Got Your Name at http://www.mail.com !
Get a FREE E-mail Account Today - Choose From 100+ Domains