Re: How to put the GtkWidget to max screen size?



"alan" <alan ielinux com> writes:
> I set GtkWidget to max size of screen by use gtk_widget_set_usize() and
> gtk_widget_set_uposition().
> If I running in kde environmentis is ok.
> but if I set widget position to (0,0), and running program in afterstop.
> The title bar of afterstep will hide over screen.

The problem is that window managers are broken in this respect. The
new window manager spec clarifies the correct behavior; window
managers should unbreak themselves eventually.

> Have any other way to set GtkWidget to max size of screen.
> And, How to know the border size and title bar height of window manager?
> 

You can't really know this. There are some scary hacks to try to
figure it out, but you'd have to know a lot about X.

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]