1. EuGTK - set(Win,"maximize")

global constant Win = create(GtkWindow) 
 
-- bunch of widgets on Win 
 
set(Win,"maximize") 
show_all(Win) 

This is supposed to make Win fit the screen. But it makes Win about 1/3 bigger in both dimensions. What can cause the too big size?

new topic     » topic index » view message » categorize

2. Re: EuGTK - set(Win,"maximize")

I don't know, I can't reproduce the error. At any rate, this just does the same thing as clicking the + (maximize) button on the title bar. There's no EuGTK code involved. What does manually maximizing the window (via the title bar button) do?

new topic     » goto parent     » topic index » view message » categorize

3. Re: EuGTK - set(Win,"maximize")

irv said...

What does manually maximizing the window (via the title bar button) do?

It does makes no difference.

I tried to isolate the problem, but I still don't have a clue.

new topic     » goto parent     » topic index » view message » categorize

4. Re: EuGTK - set(Win,"maximize")

I got it working correctly. Some widgets were made too big with "set_size_request".

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu