FLTK logo

[fltk.general] Re: determing WM titlebar size; problems with Fl_Window::decorated_w() and Fl_Window::decorated_h()?

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.general  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: determing WM titlebar size; problems with Fl_Window::decorated_w() and Fl_Window::decorated_h()? Manolo Sep 09, 2020  
 
Ian has already explained that Fl_Window::decorated_w/h() are effective only when the window
has been mapped. These 2 calls:
       mywindow->show();    mywindow->wait_for_expose();
make sure the window is mapped.

Furthermore, when FLTK creates a window, it makes sure it's not bigger than the screen and resizes it if it's bigger.
(It's possible to resize a window bigger later on).

--
You received this message because you are subscribed to the Google Groups "fltk.general" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkgeneral+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkgeneral/c94c5856-5004-4ed4-84d3-d72bfa440662n%40googlegroups.com.
Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.