get_resolution
- From: "sundaresh venugopal" <sundaresh mail com>
- To: gtkmm-list gnome org
- Subject: get_resolution
- Date: Wed, 8 Aug 2007 04:12:43 -0500
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
Mail.com
Get a
FREE E-mail Account Today - Choose From 100+ Domains
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]