Good morning,
Do anyone knows how to minimze a window with pb for linux ?
I don't find any API in I-Net.
It's enough to drive a person mad.
How to minimize a Window ?
- Hroudtwolf
- Addict

- Posts: 803
- Joined: Sat Feb 12, 2005 3:35 am
- Location: Germany(Hessen)
- Contact:
I am not at my Linux box right now, but I think you are looking for this:
gdk_window_iconify_(WindowID(#MyWindow))
to restore:
gdk_window_deiconify_(WindowID(#MyWindow))
Or you may need to use the "gtk" variant.
More info here.
gdk_window_iconify_(WindowID(#MyWindow))
to restore:
gdk_window_deiconify_(WindowID(#MyWindow))
Or you may need to use the "gtk" variant.
More info here.
the commands seems good but WIndowID() returns a GtkWindow, so you will have to get the GdkWindow out of it:
Code: Select all
*Window.GtkWidget = WindowID() ; Well yes, GtkWindow is a subclass of GtkWidget.
gdk_window_iconify_(*Window\window)

