PyGObject and glade send window to the front

后端 未结 1 1006
野趣味
野趣味 2021-01-25 12:08

im having some problems to send to the front a GTK window.

I have a main window (window_root) with a button that launches another window (window_progr

1条回答
  •  清酒与你
    2021-01-25 12:30

    You are looking for the transient-for property of the modal window (which should be available in Glade). If the modal window needs to be transient to either of the two other windows, then you need to use gtk_window_set_transient_for() as needed since the modal can only be transient for one window at a time.

    0 讨论(0)
提交回复
热议问题