[Gtk-sharp-list] Gtk.Property.Change

Kyku kyku at os.pl
Wed Jun 15 13:18:12 EDT 2005


Hello, thanks for your answer.

> Just set the WindowTypeHint on the Gtk.Window to an appropriate value
> (probably Gdk.WindowType.Utility), and gtk/gdk will take care of doing
> the right Xlib magic.
> 
> -- Dan


If I try setting TypeHint property on a Gtk.Window I get the following
error:

(<unknown>:17826): Gtk-CRITICAL **: gtk_window_set_type_hint: assertion
`!GTK_WIDGET_VISIBLE (window)' failed

(I think I don't have to add that the window is visible)
However, the approach seems to work if I change hint of an underlying
Gdk.Window (accessed with Gtk.Window.GdkWindow property). The window
stays on top if I set this property to Gdk.WindowTypeHint.Dock but then
I cannot move and resize it. Please help me.


------------------------------
      Radio internetowe
   http://www.radioparty.pl
w kazdy piatek i sobote transmisje
   na zywo z klubu energy 2000
       od 22 do 4 rano



More information about the Gtk-sharp-list mailing list