Re: Disabling Button/Window focus



Michal Porzuczek wrote:
I was wondering if it is possible to temporary disable focus on
buttons so they  don't work and they do not light up when the mouse
hovers over them.
gtk_widget_set_sensitive() is the common way.

Is it also possible to disable the movement and resizeablilty of a
window temporariliy.
gtk_window_set_resizable()

Furthermore, is it possible to set where we want a window to pop up
when we 'show' it?
gtk_window_set_position(). You probably want to use it with GTK_WIN_POS_MOUSE hint. Also take a look at gtk_window_move(), but this one can be tricky.

        Olexiy



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