AW: AW: get_resolution



Title: AW: AW: get_resolution

hi,

gtkmm-2.4 is just the api version,

2.10 (ten) is the current stable version...!

so far I don't see an error...

regards,

Alex




-----Ursprüngliche Nachricht-----
Von: gtkmm-list-bounces gnome org im Auftrag von sundaresh
Gesendet: Mi 08.08.2007 12:22
An: gtkmm-list gnome org
Betreff: Re: AW: get_resolution


I use gtkmm-2.4, so this function should be available.Is there any syntax
error ?


Alexander Gehlert-2 wrote:
>
>
>
> 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
>
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
>

--
View this message in context: http://www.nabble.com/get_resolution-tf4235086.html#a12050493
Sent from the Gtkmm mailing list archive at Nabble.com.

_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list



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