> Gesendet: Mittwoch, 18. Februar 2015 um 00:01 Uhr
> Von: "Phil Wolff" <[email protected]>
> An: [email protected]
> Betreff: Re: how to shrink a window
>
> In most cases, Gtk::Window::set_default_size()
I tried to set also to call set_default_size for the main window without any
effect. The function set_default_size is also not available for
Gtk::ScrolledWindow.
Is there any chance to directly call the WindowManager or something else to
shrink the window? Or can it be done by simulating mouse events? I am wondering
that this is a seldom used feature :-)
What I tried and also fails:
bool Do( const Glib::RefPtr<Goocanvas::Item>& item, GdkEventButton* ev)
{
std::cout << "Do" << std::endl;
//sw->set_size_request( 400,400); // make the window bigger works
sw->set_size_request( 100,100); // shrink the window fails! why? Whats to
do?
winptr->set_default_size(100,100); // no effect!
return true;
}
Regards
Klaus
_______________________________________________
gtkmm-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtkmm-list