Re: Howto set maximum window size ?
- From: Nil Gradisnik <ghaefbgtk gmail com>
- To: Paul Davis <paul linuxaudiosystems com>
- Cc: gtkmm-list gnome org
- Subject: Re: Howto set maximum window size ?
- Date: Wed, 1 Jun 2005 18:12:54 +0200
"add a handler for the realize event, and do this there."
hmm... how ? :)
How do I fix this, how do I realize window.
I really need some example code to get this.. I'm still learning gtkmm.
On 6/1/05, Paul Davis <paul linuxaudiosystems com
> wrote:>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]