Aw: Re: how to shrink a window
- From: "Klaus Rudolph" <lts-rudolph gmx de>
- To: "Phil Wolff" <adiabat centurylink net>
- Cc: gtkmm-list gnome org
- Subject: Aw: Re: how to shrink a window
- Date: Wed, 18 Feb 2015 08:51:43 +0100
Gesendet: Mittwoch, 18. Februar 2015 um 00:01 Uhr
Von: "Phil Wolff" <adiabat centurylink net>
An: gtkmm-list gnome org
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]