Re: Howto set maximum window size ?
- From: Paul Davis <paul linuxaudiosystems com>
- To: Nil Gradisnik <ghaefbgtk gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: Howto set maximum window size ?
- Date: Wed, 01 Jun 2005 11:57:32 -0400
>set_geometry_hints(???, geometry, Gdk::HINT_MAX_SIZE);
>.
>.
>.
>
>Now I don't know what to use here, the "window.gobj()" is clearly not=20
>working.
you can't do this until the widget (main window) has been
realized. until that time, its just a data structure in your program -
the X server doesn't know anything about it and no window actually
exists.
add a handler for the realize event, and do this there.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]